Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-01-30 00:00:05.098394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 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-30 00:00:16.236517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/12/image_28012025_20_12_45_9847.jpg', '/home/pi/Desktop/images/28012025/20/12/image_28012025_20_12_55_10352.jpg', '/home/pi/Desktop/images/28012025/20/12/image_28012025_20_13_05_9333.jpg', '/home/pi/Desktop/images/28012025/20/13/image_28012025_20_13_15_10344.jpg', '/home/pi/Desktop/images/28012025/20/13/image_28012025_20_13_24_9433.jpg', '/home/pi/Desktop/images/28012025/20/13/image_28012025_20_13_35_10342.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/12/image_28012025_20_12_45_9847.jpg
/home/pi/Desktop/images/28012025/20/12/image_28012025_20_12_55_10352.jpg
/home/pi/Desktop/images/28012025/20/12/image_28012025_20_13_05_9333.jpg
/home/pi/Desktop/images/28012025/20/13/image_28012025_20_13_15_10344.jpg
/home/pi/Desktop/images/28012025/20/13/image_28012025_20_13_24_9433.jpg
/home/pi/Desktop/images/28012025/20/13/image_28012025_20_13_35_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":["1332792614","1332792608","1332792792","1332792708","1332792749","1332792743"],"photo_ids_order":["1332792608","1332792614","1332792708","1332792743","1332792749","1332792792"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bac8e665d654ba50ecbc9c93d0c1e310.jpg","text":"TemporaryFile(/tmp/multipartBody6274973117033700576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191681258,"filename":"image_28012025_20_12_55_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a15f57d8f7d1d45249930bcb8c7d5e9d.jpg","text":"TemporaryFile(/tmp/multipartBody7547698762713835007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191681258,"filename":"image_28012025_20_12_45_9847.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2107be2b7ef519f93647835924ff4fb9.jpg","text":"TemporaryFile(/tmp/multipartBody5861847830311569949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191681258,"filename":"image_28012025_20_13_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/30/d2d3a78f0687c137dcf67863c4b605f0.jpg","text":"TemporaryFile(/tmp/multipartBody4656397035347677614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191681258,"filename":"image_28012025_20_13_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/30/341a01fce5c7021a9ca59a98197f5bb6.jpg","text":"TemporaryFile(/tmp/multipartBody3317794684496606752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191681258,"filename":"image_28012025_20_13_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/30/e5da08cc5a4dcf4c43080b0ad11d0777.jpg","text":"TemporaryFile(/tmp/multipartBody1073071215392900346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191681258,"filename":"image_28012025_20_13_15_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332792708","file1":"1332792614","file0":"1332792608","file4":"1332792749","file5":"1332792792","file3":"1332792743"},"map_files_photo_id_array":[{"photo_id":"1332792792","filename":"file5"},{"photo_id":"1332792708","filename":"file2"},{"photo_id":"1332792749","filename":"file4"},{"photo_id":"1332792614","filename":"file1"},{"photo_id":"1332792608","filename":"file0"},{"photo_id":"1332792743","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332792614":["hashtag1","hashtag2"]},{"1332792608":["hashtag1","hashtag2"]},{"1332792792":["hashtag1","hashtag2"]},{"1332792708":["hashtag1","hashtag2"]},{"1332792749":["hashtag1","hashtag2"]},{"1332792743":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332792614, 1332792608, 1332792792, 1332792708, 1332792749, 1332792743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.9192111492157 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-30 00:01:12.361372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/13/image_28012025_20_13_45_10483.jpg', '/home/pi/Desktop/images/28012025/20/13/image_28012025_20_13_55_9420.jpg', '/home/pi/Desktop/images/28012025/20/13/image_28012025_20_14_05_10354.jpg', '/home/pi/Desktop/images/28012025/20/14/image_28012025_20_14_15_9426.jpg', '/home/pi/Desktop/images/28012025/20/14/image_28012025_20_14_25_10362.jpg', '/home/pi/Desktop/images/28012025/20/14/image_28012025_20_14_35_10372.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/13/image_28012025_20_13_45_10483.jpg
/home/pi/Desktop/images/28012025/20/13/image_28012025_20_13_55_9420.jpg
/home/pi/Desktop/images/28012025/20/13/image_28012025_20_14_05_10354.jpg
/home/pi/Desktop/images/28012025/20/14/image_28012025_20_14_15_9426.jpg
/home/pi/Desktop/images/28012025/20/14/image_28012025_20_14_25_10362.jpg
/home/pi/Desktop/images/28012025/20/14/image_28012025_20_14_35_10372.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332792827","1332792843","1332792846","1332792840","1332792834","1332792822"],"photo_ids_order":["1332792822","1332792827","1332792834","1332792840","1332792843","1332792846"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7078210816389896970070ca95dfa61c.jpg","text":"TemporaryFile(/tmp/multipartBody5467493493762306871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191735460,"filename":"image_28012025_20_13_55_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a2f20c56736143d6ea3e976449881eb8.jpg","text":"TemporaryFile(/tmp/multipartBody7387277765865406103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191735460,"filename":"image_28012025_20_14_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/30/8a32bfe4cd95f4d3e4dccc626661a30a.jpg","text":"TemporaryFile(/tmp/multipartBody4872600724366453910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191735460,"filename":"image_28012025_20_14_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/30/ebb7fa1164c29033adeb10760a8b7485.jpg","text":"TemporaryFile(/tmp/multipartBody440714172322250831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191735460,"filename":"image_28012025_20_14_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/30/520ff626cc7547cb8d9b80cef1a11c91.jpg","text":"TemporaryFile(/tmp/multipartBody1444206226551318392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191735460,"filename":"image_28012025_20_14_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1739115ff35bd114028e42ee2d4ebe28.jpg","text":"TemporaryFile(/tmp/multipartBody3156637886099609364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191735460,"filename":"image_28012025_20_13_45_10483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332792834","file1":"1332792827","file0":"1332792822","file4":"1332792843","file5":"1332792846","file3":"1332792840"},"map_files_photo_id_array":[{"photo_id":"1332792846","filename":"file5"},{"photo_id":"1332792834","filename":"file2"},{"photo_id":"1332792843","filename":"file4"},{"photo_id":"1332792827","filename":"file1"},{"photo_id":"1332792822","filename":"file0"},{"photo_id":"1332792840","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332792827":["hashtag1","hashtag2"]},{"1332792843":["hashtag1","hashtag2"]},{"1332792846":["hashtag1","hashtag2"]},{"1332792840":["hashtag1","hashtag2"]},{"1332792834":["hashtag1","hashtag2"]},{"1332792822":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332792827, 1332792843, 1332792846, 1332792840, 1332792834, 1332792822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.215123653411865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:02:03.179672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/14/image_28012025_20_14_45_9345.jpg', '/home/pi/Desktop/images/28012025/20/14/image_28012025_20_14_55_10349.jpg', '/home/pi/Desktop/images/28012025/20/14/image_28012025_20_15_05_10349.jpg', '/home/pi/Desktop/images/28012025/20/15/image_28012025_20_15_15_9343.jpg', '/home/pi/Desktop/images/28012025/20/15/image_28012025_20_15_25_10377.jpg', '/home/pi/Desktop/images/28012025/20/15/image_28012025_20_15_35_10399.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/14/image_28012025_20_14_45_9345.jpg
/home/pi/Desktop/images/28012025/20/14/image_28012025_20_14_55_10349.jpg
/home/pi/Desktop/images/28012025/20/14/image_28012025_20_15_05_10349.jpg
/home/pi/Desktop/images/28012025/20/15/image_28012025_20_15_15_9343.jpg
/home/pi/Desktop/images/28012025/20/15/image_28012025_20_15_25_10377.jpg
/home/pi/Desktop/images/28012025/20/15/image_28012025_20_15_35_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332792898","1332792871","1332792874","1332792916","1332792882","1332792876"],"photo_ids_order":["1332792871","1332792874","1332792876","1332792882","1332792898","1332792916"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/693b99376e3c89aa48a3186ef48ccfdb.jpg","text":"TemporaryFile(/tmp/multipartBody2653105766342669109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191784890,"filename":"image_28012025_20_15_25_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/30/4dacd865208738c275b673055bada2ad.jpg","text":"TemporaryFile(/tmp/multipartBody4037993293024651340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191784890,"filename":"image_28012025_20_14_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/30/54008d997076f72679dcb953cbe39725.jpg","text":"TemporaryFile(/tmp/multipartBody7562705309783939723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191784890,"filename":"image_28012025_20_14_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/30/b58b72bf049d6d7684f3308c6da36600.jpg","text":"TemporaryFile(/tmp/multipartBody4908053449926182422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191784890,"filename":"image_28012025_20_15_35_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/754caf90cf6b247fa348ed86a6255655.jpg","text":"TemporaryFile(/tmp/multipartBody1711843350211953645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191784890,"filename":"image_28012025_20_15_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/30/94d770ca25f51ad4e0892320528beac8.jpg","text":"TemporaryFile(/tmp/multipartBody6466745077394854026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191784890,"filename":"image_28012025_20_15_05_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332792876","file1":"1332792874","file0":"1332792871","file4":"1332792898","file5":"1332792916","file3":"1332792882"},"map_files_photo_id_array":[{"photo_id":"1332792916","filename":"file5"},{"photo_id":"1332792876","filename":"file2"},{"photo_id":"1332792898","filename":"file4"},{"photo_id":"1332792874","filename":"file1"},{"photo_id":"1332792871","filename":"file0"},{"photo_id":"1332792882","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332792898":["hashtag1","hashtag2"]},{"1332792871":["hashtag1","hashtag2"]},{"1332792874":["hashtag1","hashtag2"]},{"1332792916":["hashtag1","hashtag2"]},{"1332792882":["hashtag1","hashtag2"]},{"1332792876":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332792898, 1332792871, 1332792874, 1332792916, 1332792882, 1332792876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.487671852111816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:03:04.390905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 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_30012025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
{'portfolio_id': 20052290, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1738191845000}
4310
2527160
4310
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/02/image_30012025_00_02_15_10242.jpg', '/home/pi/Desktop/images/30012025/00/02/image_30012025_00_02_26_10374.jpg', '/home/pi/Desktop/images/30012025/00/02/image_30012025_00_02_35_9440.jpg', '/home/pi/Desktop/images/30012025/00/02/image_30012025_00_02_45_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/02/image_30012025_00_02_15_10242.jpg
/home/pi/Desktop/images/30012025/00/02/image_30012025_00_02_26_10374.jpg
/home/pi/Desktop/images/30012025/00/02/image_30012025_00_02_35_9440.jpg
/home/pi/Desktop/images/30012025/00/02/image_30012025_00_02_45_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332793304","1332794097","1332793785","1332793448"],"photo_ids_order":["1332793304","1332793448","1332793785","1332794097"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d67f13aae5d49c458fb9970d80825af8.jpg","text":"TemporaryFile(/tmp/multipartBody778009096327026702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191848465,"filename":"image_30012025_00_02_15_10242.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4308d6edb5958e4811c15469cf35cad8.jpg","text":"TemporaryFile(/tmp/multipartBody7142645680760857401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191848465,"filename":"image_30012025_00_02_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/30/4730b42e4279400e881321b4c27ebfaf.jpg","text":"TemporaryFile(/tmp/multipartBody8565695138421035356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191848465,"filename":"image_30012025_00_02_35_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f098b278de4efac5f2018a39c7440d5e.jpg","text":"TemporaryFile(/tmp/multipartBody4463792976083475810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191848465,"filename":"image_30012025_00_02_26_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332793785","file1":"1332793448","file0":"1332793304","file3":"1332794097"},"map_files_photo_id_array":[{"photo_id":"1332793785","filename":"file2"},{"photo_id":"1332793448","filename":"file1"},{"photo_id":"1332793304","filename":"file0"},{"photo_id":"1332794097","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332793304":["hashtag1","hashtag2"]},{"1332794097":["hashtag1","hashtag2"]},{"1332793785":["hashtag1","hashtag2"]},{"1332793448":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332793304, 1332794097, 1332793785, 1332793448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.593323945999146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:04:03.564103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/02/image_30012025_00_02_56_10379.jpg', '/home/pi/Desktop/images/30012025/00/02/image_30012025_00_03_05_9400.jpg', '/home/pi/Desktop/images/30012025/00/03/image_30012025_00_03_16_10340.jpg', '/home/pi/Desktop/images/30012025/00/03/image_30012025_00_03_26_10426.jpg', '/home/pi/Desktop/images/30012025/00/03/image_30012025_00_03_35_9369.jpg', '/home/pi/Desktop/images/30012025/00/03/image_30012025_00_03_46_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/02/image_30012025_00_02_56_10379.jpg
/home/pi/Desktop/images/30012025/00/02/image_30012025_00_03_05_9400.jpg
/home/pi/Desktop/images/30012025/00/03/image_30012025_00_03_16_10340.jpg
/home/pi/Desktop/images/30012025/00/03/image_30012025_00_03_26_10426.jpg
/home/pi/Desktop/images/30012025/00/03/image_30012025_00_03_35_9369.jpg
/home/pi/Desktop/images/30012025/00/03/image_30012025_00_03_46_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332794137","1332794119","1332794130","1332794124","1332794117","1332794146"],"photo_ids_order":["1332794117","1332794119","1332794124","1332794130","1332794137","1332794146"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c788858c84e89f825cfba98980d46abb.jpg","text":"TemporaryFile(/tmp/multipartBody7573220225853295807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191904500,"filename":"image_30012025_00_03_35_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/30/c9d45a30816dc8a2afd72b7389c3ffd8.jpg","text":"TemporaryFile(/tmp/multipartBody4645123052348666186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191904500,"filename":"image_30012025_00_03_05_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/30/1547804b493ac1c318b76916d5fae417.jpg","text":"TemporaryFile(/tmp/multipartBody9119964850810898223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191904500,"filename":"image_30012025_00_03_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/30/534fa48a832e24043236b891594518a0.jpg","text":"TemporaryFile(/tmp/multipartBody6094346886101742870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191904500,"filename":"image_30012025_00_03_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/30/80121dd778639b911e90029671021fe2.jpg","text":"TemporaryFile(/tmp/multipartBody7750012082769227143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191904500,"filename":"image_30012025_00_02_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/30/3a93e38fa1e2460bd7083598de5bb633.jpg","text":"TemporaryFile(/tmp/multipartBody5313579932622508626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191904500,"filename":"image_30012025_00_03_46_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332794124","file1":"1332794119","file0":"1332794117","file4":"1332794137","file5":"1332794146","file3":"1332794130"},"map_files_photo_id_array":[{"photo_id":"1332794146","filename":"file5"},{"photo_id":"1332794124","filename":"file2"},{"photo_id":"1332794137","filename":"file4"},{"photo_id":"1332794119","filename":"file1"},{"photo_id":"1332794117","filename":"file0"},{"photo_id":"1332794130","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332794137":["hashtag1","hashtag2"]},{"1332794119":["hashtag1","hashtag2"]},{"1332794130":["hashtag1","hashtag2"]},{"1332794124":["hashtag1","hashtag2"]},{"1332794117":["hashtag1","hashtag2"]},{"1332794146":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332794137, 1332794119, 1332794130, 1332794124, 1332794117, 1332794146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.3929705619812 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:05:03.904891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/03/image_30012025_00_03_55_9448.jpg', '/home/pi/Desktop/images/30012025/00/03/image_30012025_00_04_06_10376.jpg', '/home/pi/Desktop/images/30012025/00/04/image_30012025_00_04_16_10479.jpg', '/home/pi/Desktop/images/30012025/00/04/image_30012025_00_04_25_9364.jpg', '/home/pi/Desktop/images/30012025/00/04/image_30012025_00_04_36_10469.jpg', '/home/pi/Desktop/images/30012025/00/04/image_30012025_00_04_45_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/03/image_30012025_00_03_55_9448.jpg
/home/pi/Desktop/images/30012025/00/03/image_30012025_00_04_06_10376.jpg
/home/pi/Desktop/images/30012025/00/04/image_30012025_00_04_16_10479.jpg
/home/pi/Desktop/images/30012025/00/04/image_30012025_00_04_25_9364.jpg
/home/pi/Desktop/images/30012025/00/04/image_30012025_00_04_36_10469.jpg
/home/pi/Desktop/images/30012025/00/04/image_30012025_00_04_45_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":["1332794454","1332794304","1332794684","1332794599","1332794191","1332794371"],"photo_ids_order":["1332794191","1332794304","1332794371","1332794454","1332794599","1332794684"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2f9cb1312affa228ff0490dddfa3ccbe.jpg","text":"TemporaryFile(/tmp/multipartBody4030169969884793008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191964901,"filename":"image_30012025_00_04_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/30/1af5699011cf911663a811b2de62798b.jpg","text":"TemporaryFile(/tmp/multipartBody8514609340390093651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191964901,"filename":"image_30012025_00_04_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/30/f0664df03cbac03dbee0d21176f394ed.jpg","text":"TemporaryFile(/tmp/multipartBody7543330224718104322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191964901,"filename":"image_30012025_00_04_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/30/d07f2ce77d4f9f5c78f2eb49fce28bcf.jpg","text":"TemporaryFile(/tmp/multipartBody6317647315112129161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191964901,"filename":"image_30012025_00_04_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/30/6337f462a5fa4d207b2439c6ffbbd2fd.jpg","text":"TemporaryFile(/tmp/multipartBody5909000353779616236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191964901,"filename":"image_30012025_00_03_55_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ecbd82cd264bbba8c4c2254d04f69133.jpg","text":"TemporaryFile(/tmp/multipartBody8341645034609360651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191964901,"filename":"image_30012025_00_04_16_10479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332794371","file1":"1332794304","file0":"1332794191","file4":"1332794599","file5":"1332794684","file3":"1332794454"},"map_files_photo_id_array":[{"photo_id":"1332794684","filename":"file5"},{"photo_id":"1332794371","filename":"file2"},{"photo_id":"1332794599","filename":"file4"},{"photo_id":"1332794304","filename":"file1"},{"photo_id":"1332794191","filename":"file0"},{"photo_id":"1332794454","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332794454":["hashtag1","hashtag2"]},{"1332794304":["hashtag1","hashtag2"]},{"1332794684":["hashtag1","hashtag2"]},{"1332794599":["hashtag1","hashtag2"]},{"1332794191":["hashtag1","hashtag2"]},{"1332794371":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332794454, 1332794304, 1332794684, 1332794599, 1332794191, 1332794371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.35681748390198 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:06:03.033128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/04/image_30012025_00_04_56_10349.jpg', '/home/pi/Desktop/images/30012025/00/04/image_30012025_00_05_06_10409.jpg', '/home/pi/Desktop/images/30012025/00/05/image_30012025_00_05_15_9352.jpg', '/home/pi/Desktop/images/30012025/00/05/image_30012025_00_05_26_10364.jpg', '/home/pi/Desktop/images/30012025/00/05/image_30012025_00_05_35_9354.jpg', '/home/pi/Desktop/images/30012025/00/05/image_30012025_00_05_45_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/04/image_30012025_00_04_56_10349.jpg
/home/pi/Desktop/images/30012025/00/04/image_30012025_00_05_06_10409.jpg
/home/pi/Desktop/images/30012025/00/05/image_30012025_00_05_15_9352.jpg
/home/pi/Desktop/images/30012025/00/05/image_30012025_00_05_26_10364.jpg
/home/pi/Desktop/images/30012025/00/05/image_30012025_00_05_35_9354.jpg
/home/pi/Desktop/images/30012025/00/05/image_30012025_00_05_45_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":["1332795948","1332795738","1332795819","1332795813","1332795410","1332795883"],"photo_ids_order":["1332795410","1332795738","1332795813","1332795819","1332795883","1332795948"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/702bf61fe70fa55aca5d4c7e2af09406.jpg","text":"TemporaryFile(/tmp/multipartBody204759548086896656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192023973,"filename":"image_30012025_00_05_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/30/2976295e578a3b2f092710220d543f99.jpg","text":"TemporaryFile(/tmp/multipartBody6984021812693990959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192023973,"filename":"image_30012025_00_05_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/30/eb09134b162d34df16cece460a425f74.jpg","text":"TemporaryFile(/tmp/multipartBody1732421853968892532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192023973,"filename":"image_30012025_00_05_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/30/94eb5566bccdecc17f23029683fd3bc6.jpg","text":"TemporaryFile(/tmp/multipartBody6547016701316063863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192023973,"filename":"image_30012025_00_05_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/30/3c0c1a94e8e3c089bea77049a21e88ed.jpg","text":"TemporaryFile(/tmp/multipartBody9006072017273431780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192023973,"filename":"image_30012025_00_04_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/30/f05edd412a53e6500861d9b395259407.jpg","text":"TemporaryFile(/tmp/multipartBody2812816414023650761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192023973,"filename":"image_30012025_00_05_35_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332795813","file1":"1332795738","file0":"1332795410","file4":"1332795883","file5":"1332795948","file3":"1332795819"},"map_files_photo_id_array":[{"photo_id":"1332795948","filename":"file5"},{"photo_id":"1332795813","filename":"file2"},{"photo_id":"1332795883","filename":"file4"},{"photo_id":"1332795738","filename":"file1"},{"photo_id":"1332795410","filename":"file0"},{"photo_id":"1332795819","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332795948":["hashtag1","hashtag2"]},{"1332795738":["hashtag1","hashtag2"]},{"1332795819":["hashtag1","hashtag2"]},{"1332795813":["hashtag1","hashtag2"]},{"1332795410":["hashtag1","hashtag2"]},{"1332795883":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332795948, 1332795738, 1332795819, 1332795813, 1332795410, 1332795883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.675559282302856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:07:04.093599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/05/image_30012025_00_05_56_10354.jpg', '/home/pi/Desktop/images/30012025/00/05/image_30012025_00_06_05_9421.jpg', '/home/pi/Desktop/images/30012025/00/06/image_30012025_00_06_16_10338.jpg', '/home/pi/Desktop/images/30012025/00/06/image_30012025_00_06_26_10440.jpg', '/home/pi/Desktop/images/30012025/00/06/image_30012025_00_06_35_9437.jpg', '/home/pi/Desktop/images/30012025/00/06/image_30012025_00_06_46_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/05/image_30012025_00_05_56_10354.jpg
/home/pi/Desktop/images/30012025/00/05/image_30012025_00_06_05_9421.jpg
/home/pi/Desktop/images/30012025/00/06/image_30012025_00_06_16_10338.jpg
/home/pi/Desktop/images/30012025/00/06/image_30012025_00_06_26_10440.jpg
/home/pi/Desktop/images/30012025/00/06/image_30012025_00_06_35_9437.jpg
/home/pi/Desktop/images/30012025/00/06/image_30012025_00_06_46_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":["1332796314","1332796361","1332796316","1332796357","1332796389","1332796155"],"photo_ids_order":["1332796155","1332796314","1332796316","1332796357","1332796361","1332796389"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/20f8b9b4217f5392ba60a2ee56521ed5.jpg","text":"TemporaryFile(/tmp/multipartBody6203544927787924177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192085153,"filename":"image_30012025_00_06_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/30/38e8a9ae1f88ada3b677e421d61aec0c.jpg","text":"TemporaryFile(/tmp/multipartBody2763161442030499059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192085153,"filename":"image_30012025_00_06_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/30/13916f4c386e7a755c13f4059d5701d2.jpg","text":"TemporaryFile(/tmp/multipartBody5196616121177187622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192085153,"filename":"image_30012025_00_06_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/30/dc4be8337658e06ad2c988d337fb017a.jpg","text":"TemporaryFile(/tmp/multipartBody568489995970244738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192085153,"filename":"image_30012025_00_06_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/30/4c5280e77944f7606b7259ec91909046.jpg","text":"TemporaryFile(/tmp/multipartBody7334918207447630726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192085153,"filename":"image_30012025_00_06_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/30/178da9a21dce81ddd69be714ae4d1df4.jpg","text":"TemporaryFile(/tmp/multipartBody6506560581165983099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192085153,"filename":"image_30012025_00_05_56_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332796316","file1":"1332796314","file0":"1332796155","file4":"1332796361","file5":"1332796389","file3":"1332796357"},"map_files_photo_id_array":[{"photo_id":"1332796389","filename":"file5"},{"photo_id":"1332796316","filename":"file2"},{"photo_id":"1332796361","filename":"file4"},{"photo_id":"1332796314","filename":"file1"},{"photo_id":"1332796155","filename":"file0"},{"photo_id":"1332796357","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332796314":["hashtag1","hashtag2"]},{"1332796361":["hashtag1","hashtag2"]},{"1332796316":["hashtag1","hashtag2"]},{"1332796357":["hashtag1","hashtag2"]},{"1332796389":["hashtag1","hashtag2"]},{"1332796155":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332796314, 1332796361, 1332796316, 1332796357, 1332796389, 1332796155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.20171761512756 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:08:03.643738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/06/image_30012025_00_06_55_9446.jpg', '/home/pi/Desktop/images/30012025/00/06/image_30012025_00_07_06_10345.jpg', '/home/pi/Desktop/images/30012025/00/07/image_30012025_00_07_16_10468.jpg', '/home/pi/Desktop/images/30012025/00/07/image_30012025_00_07_25_9364.jpg', '/home/pi/Desktop/images/30012025/00/07/image_30012025_00_07_36_10460.jpg', '/home/pi/Desktop/images/30012025/00/07/image_30012025_00_07_45_9369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/06/image_30012025_00_06_55_9446.jpg
/home/pi/Desktop/images/30012025/00/06/image_30012025_00_07_06_10345.jpg
/home/pi/Desktop/images/30012025/00/07/image_30012025_00_07_16_10468.jpg
/home/pi/Desktop/images/30012025/00/07/image_30012025_00_07_25_9364.jpg
/home/pi/Desktop/images/30012025/00/07/image_30012025_00_07_36_10460.jpg
/home/pi/Desktop/images/30012025/00/07/image_30012025_00_07_45_9369.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0956718921661377 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-30 00:08:12.937289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/15/image_28012025_20_15_45_9439.jpg', '/home/pi/Desktop/images/28012025/20/15/image_28012025_20_15_55_10574.jpg', '/home/pi/Desktop/images/28012025/20/15/image_28012025_20_16_05_9336.jpg', '/home/pi/Desktop/images/28012025/20/16/image_28012025_20_16_15_10493.jpg', '/home/pi/Desktop/images/28012025/20/16/image_28012025_20_16_25_9355.jpg', '/home/pi/Desktop/images/28012025/20/16/image_28012025_20_16_35_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/20/15/image_28012025_20_15_45_9439.jpg
/home/pi/Desktop/images/28012025/20/15/image_28012025_20_15_55_10574.jpg
/home/pi/Desktop/images/28012025/20/15/image_28012025_20_16_05_9336.jpg
/home/pi/Desktop/images/28012025/20/16/image_28012025_20_16_15_10493.jpg
/home/pi/Desktop/images/28012025/20/16/image_28012025_20_16_25_9355.jpg
/home/pi/Desktop/images/28012025/20/16/image_28012025_20_16_35_10356.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332796512","1332796509","1332796503","1332796495","1332796507","1332796488"],"photo_ids_order":["1332796488","1332796495","1332796503","1332796507","1332796509","1332796512"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fa4ab86ba07a3be595d062b0abd4399c.jpg","text":"TemporaryFile(/tmp/multipartBody8838960923073504664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192155388,"filename":"image_28012025_20_16_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/30/ae1409a08117317421c9a6a5ab1addae.jpg","text":"TemporaryFile(/tmp/multipartBody2467771094502173813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192155388,"filename":"image_28012025_20_16_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/30/c799b74e437d384f86a413c6b59ae07d.jpg","text":"TemporaryFile(/tmp/multipartBody3585262870058491797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192155388,"filename":"image_28012025_20_16_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/30/f2ce69dcc9871e9464ddfc4c8dd35f18.jpg","text":"TemporaryFile(/tmp/multipartBody3513611208027381633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192155388,"filename":"image_28012025_20_15_55_10574.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/34639a8164efcf3823c0ece7f9fd2775.jpg","text":"TemporaryFile(/tmp/multipartBody6878468751708777649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192155388,"filename":"image_28012025_20_16_15_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7dbc0798a8d50c1d23525374cc6e38d0.jpg","text":"TemporaryFile(/tmp/multipartBody2460212114062122371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192155388,"filename":"image_28012025_20_15_45_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332796503","file1":"1332796495","file0":"1332796488","file4":"1332796509","file5":"1332796512","file3":"1332796507"},"map_files_photo_id_array":[{"photo_id":"1332796512","filename":"file5"},{"photo_id":"1332796503","filename":"file2"},{"photo_id":"1332796509","filename":"file4"},{"photo_id":"1332796495","filename":"file1"},{"photo_id":"1332796488","filename":"file0"},{"photo_id":"1332796507","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332796512":["hashtag1","hashtag2"]},{"1332796509":["hashtag1","hashtag2"]},{"1332796503":["hashtag1","hashtag2"]},{"1332796495":["hashtag1","hashtag2"]},{"1332796507":["hashtag1","hashtag2"]},{"1332796488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332796512, 1332796509, 1332796503, 1332796495, 1332796507, 1332796488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.004554986953735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:09:03.715360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/06/image_30012025_00_06_55_9446.jpg', '/home/pi/Desktop/images/30012025/00/06/image_30012025_00_07_06_10345.jpg', '/home/pi/Desktop/images/30012025/00/07/image_30012025_00_07_16_10468.jpg', '/home/pi/Desktop/images/30012025/00/07/image_30012025_00_07_25_9364.jpg', '/home/pi/Desktop/images/30012025/00/07/image_30012025_00_07_36_10460.jpg', '/home/pi/Desktop/images/30012025/00/07/image_30012025_00_07_45_9369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/06/image_30012025_00_06_55_9446.jpg
/home/pi/Desktop/images/30012025/00/06/image_30012025_00_07_06_10345.jpg
/home/pi/Desktop/images/30012025/00/07/image_30012025_00_07_16_10468.jpg
/home/pi/Desktop/images/30012025/00/07/image_30012025_00_07_25_9364.jpg
/home/pi/Desktop/images/30012025/00/07/image_30012025_00_07_36_10460.jpg
/home/pi/Desktop/images/30012025/00/07/image_30012025_00_07_45_9369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332796547","1332796535","1332796525","1332796542","1332796539","1332796530"],"photo_ids_order":["1332796525","1332796530","1332796535","1332796539","1332796542","1332796547"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b2c9e223749e10a1dceeca26b5e8166c.jpg","text":"TemporaryFile(/tmp/multipartBody4411675573939420596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192204889,"filename":"image_30012025_00_07_45_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/30/2e0fc2f3d20e5b7073e54a8bdbaa7595.jpg","text":"TemporaryFile(/tmp/multipartBody7581087392807863194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192204889,"filename":"image_30012025_00_07_16_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/30/d9763a77a41bdb1ce59ae989adc9b761.jpg","text":"TemporaryFile(/tmp/multipartBody2867092899102557966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192204889,"filename":"image_30012025_00_06_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/30/5da6c3eaf76621e32846df656e49f95a.jpg","text":"TemporaryFile(/tmp/multipartBody2663660435832654547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192204889,"filename":"image_30012025_00_07_36_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/30/b9489aefa58cb427cf37426cc203710a.jpg","text":"TemporaryFile(/tmp/multipartBody2513849095230631512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192204889,"filename":"image_30012025_00_07_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/30/adcfaf3b990c924ca8d13d76fc6b3001.jpg","text":"TemporaryFile(/tmp/multipartBody3392549197585114621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192204889,"filename":"image_30012025_00_07_06_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332796535","file1":"1332796530","file0":"1332796525","file4":"1332796542","file5":"1332796547","file3":"1332796539"},"map_files_photo_id_array":[{"photo_id":"1332796547","filename":"file5"},{"photo_id":"1332796535","filename":"file2"},{"photo_id":"1332796542","filename":"file4"},{"photo_id":"1332796530","filename":"file1"},{"photo_id":"1332796525","filename":"file0"},{"photo_id":"1332796539","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332796547":["hashtag1","hashtag2"]},{"1332796535":["hashtag1","hashtag2"]},{"1332796525":["hashtag1","hashtag2"]},{"1332796542":["hashtag1","hashtag2"]},{"1332796539":["hashtag1","hashtag2"]},{"1332796530":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332796547, 1332796535, 1332796525, 1332796542, 1332796539, 1332796530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.672163009643555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:10:03.094579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/07/image_30012025_00_07_56_10415.jpg', '/home/pi/Desktop/images/30012025/00/07/image_30012025_00_08_05_9436.jpg', '/home/pi/Desktop/images/30012025/00/08/image_30012025_00_08_15_10347.jpg', '/home/pi/Desktop/images/30012025/00/08/image_30012025_00_08_25_9707.jpg', '/home/pi/Desktop/images/30012025/00/08/image_30012025_00_08_36_10358.jpg', '/home/pi/Desktop/images/30012025/00/08/image_30012025_00_08_46_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/07/image_30012025_00_07_56_10415.jpg
/home/pi/Desktop/images/30012025/00/07/image_30012025_00_08_05_9436.jpg
/home/pi/Desktop/images/30012025/00/08/image_30012025_00_08_15_10347.jpg
/home/pi/Desktop/images/30012025/00/08/image_30012025_00_08_25_9707.jpg
/home/pi/Desktop/images/30012025/00/08/image_30012025_00_08_36_10358.jpg
/home/pi/Desktop/images/30012025/00/08/image_30012025_00_08_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":["1332796583","1332796571","1332796574","1332796562","1332796579","1332796567"],"photo_ids_order":["1332796562","1332796567","1332796571","1332796574","1332796579","1332796583"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/59ba74db1f7b3f8ae01bba4eafc1c903.jpg","text":"TemporaryFile(/tmp/multipartBody7710178898103435478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192264027,"filename":"image_30012025_00_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/30/bcf2ddface75846c37db606f81aad69a.jpg","text":"TemporaryFile(/tmp/multipartBody163410212677532398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192264027,"filename":"image_30012025_00_08_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/30/c3ebcdee14f16898eb201f52a495e702.jpg","text":"TemporaryFile(/tmp/multipartBody4203516458070787530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192264027,"filename":"image_30012025_00_08_25_9707.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4bc584611dfa9178b7a5692a1627bf1a.jpg","text":"TemporaryFile(/tmp/multipartBody7754204286822373992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192264027,"filename":"image_30012025_00_07_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/30/f6d9a1adaf39856c7e1bfbd355efa77b.jpg","text":"TemporaryFile(/tmp/multipartBody3038433861874208369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192264027,"filename":"image_30012025_00_08_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/30/918eff333ad31fe63c1cf46925177b49.jpg","text":"TemporaryFile(/tmp/multipartBody7620958850244992215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192264027,"filename":"image_30012025_00_08_05_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332796571","file1":"1332796567","file0":"1332796562","file4":"1332796579","file5":"1332796583","file3":"1332796574"},"map_files_photo_id_array":[{"photo_id":"1332796583","filename":"file5"},{"photo_id":"1332796571","filename":"file2"},{"photo_id":"1332796579","filename":"file4"},{"photo_id":"1332796567","filename":"file1"},{"photo_id":"1332796562","filename":"file0"},{"photo_id":"1332796574","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332796583":["hashtag1","hashtag2"]},{"1332796571":["hashtag1","hashtag2"]},{"1332796574":["hashtag1","hashtag2"]},{"1332796562":["hashtag1","hashtag2"]},{"1332796579":["hashtag1","hashtag2"]},{"1332796567":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332796583, 1332796571, 1332796574, 1332796562, 1332796579, 1332796567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.77046513557434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:11:04.146683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/08/image_30012025_00_08_55_9438.jpg', '/home/pi/Desktop/images/30012025/00/08/image_30012025_00_09_06_10350.jpg', '/home/pi/Desktop/images/30012025/00/09/image_30012025_00_09_16_10388.jpg', '/home/pi/Desktop/images/30012025/00/09/image_30012025_00_09_25_9353.jpg', '/home/pi/Desktop/images/30012025/00/09/image_30012025_00_09_36_10362.jpg', '/home/pi/Desktop/images/30012025/00/09/image_30012025_00_09_45_9373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/08/image_30012025_00_08_55_9438.jpg
/home/pi/Desktop/images/30012025/00/08/image_30012025_00_09_06_10350.jpg
/home/pi/Desktop/images/30012025/00/09/image_30012025_00_09_16_10388.jpg
/home/pi/Desktop/images/30012025/00/09/image_30012025_00_09_25_9353.jpg
/home/pi/Desktop/images/30012025/00/09/image_30012025_00_09_36_10362.jpg
/home/pi/Desktop/images/30012025/00/09/image_30012025_00_09_45_9373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332796693","1332796687","1332796669","1332796699","1332796705","1332796627"],"photo_ids_order":["1332796627","1332796669","1332796687","1332796693","1332796699","1332796705"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bd2532e110a0e3bbb8236b86cc43b419.jpg","text":"TemporaryFile(/tmp/multipartBody8082155617020507855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192325198,"filename":"image_30012025_00_09_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/30/b74cc530612ad6c44b9b55e965051ba9.jpg","text":"TemporaryFile(/tmp/multipartBody8583165797153782089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192325198,"filename":"image_30012025_00_09_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/30/4e2296aa8f20a9eb2b5815560f545014.jpg","text":"TemporaryFile(/tmp/multipartBody2849212415397721177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192325198,"filename":"image_30012025_00_09_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/30/b129291f42adab485ebfeeb117dd0686.jpg","text":"TemporaryFile(/tmp/multipartBody7091850923234498974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192325198,"filename":"image_30012025_00_09_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/30/60f967833fbe7cf5d70637ab45054fc2.jpg","text":"TemporaryFile(/tmp/multipartBody3544979151304461321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192325198,"filename":"image_30012025_00_09_45_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/30/e12fd66f49ea34cd4c4d2b9eecf35f5b.jpg","text":"TemporaryFile(/tmp/multipartBody8206876487495510738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192325198,"filename":"image_30012025_00_08_55_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332796687","file1":"1332796669","file0":"1332796627","file4":"1332796699","file5":"1332796705","file3":"1332796693"},"map_files_photo_id_array":[{"photo_id":"1332796705","filename":"file5"},{"photo_id":"1332796687","filename":"file2"},{"photo_id":"1332796699","filename":"file4"},{"photo_id":"1332796669","filename":"file1"},{"photo_id":"1332796627","filename":"file0"},{"photo_id":"1332796693","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332796693":["hashtag1","hashtag2"]},{"1332796687":["hashtag1","hashtag2"]},{"1332796669":["hashtag1","hashtag2"]},{"1332796699":["hashtag1","hashtag2"]},{"1332796705":["hashtag1","hashtag2"]},{"1332796627":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332796693, 1332796687, 1332796669, 1332796699, 1332796705, 1332796627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50699973106384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:12:03.400797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/09/image_30012025_00_09_56_10415.jpg', '/home/pi/Desktop/images/30012025/00/09/image_30012025_00_10_06_10448.jpg', '/home/pi/Desktop/images/30012025/00/10/image_30012025_00_10_15_9340.jpg', '/home/pi/Desktop/images/30012025/00/10/image_30012025_00_10_26_10365.jpg', '/home/pi/Desktop/images/30012025/00/10/image_30012025_00_10_35_9433.jpg', '/home/pi/Desktop/images/30012025/00/10/image_30012025_00_10_46_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/09/image_30012025_00_09_56_10415.jpg
/home/pi/Desktop/images/30012025/00/09/image_30012025_00_10_06_10448.jpg
/home/pi/Desktop/images/30012025/00/10/image_30012025_00_10_15_9340.jpg
/home/pi/Desktop/images/30012025/00/10/image_30012025_00_10_26_10365.jpg
/home/pi/Desktop/images/30012025/00/10/image_30012025_00_10_35_9433.jpg
/home/pi/Desktop/images/30012025/00/10/image_30012025_00_10_46_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":["1332797168","1332797234","1332797296","1332797290","1332797239","1332797203"],"photo_ids_order":["1332797168","1332797203","1332797234","1332797239","1332797290","1332797296"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3c3e2f89e5ce6ed018eaa6280756156b.jpg","text":"TemporaryFile(/tmp/multipartBody8011836534145980688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192384346,"filename":"image_30012025_00_09_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/30/30e9df838eb4db89fe6f96ea4d3e735c.jpg","text":"TemporaryFile(/tmp/multipartBody8685974796507443683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192384346,"filename":"image_30012025_00_10_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/30/ddbde27b864571d34c279b9153bb60c5.jpg","text":"TemporaryFile(/tmp/multipartBody3390033039801083850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192384346,"filename":"image_30012025_00_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/30/f4123a2911340503d86dcd4302d67366.jpg","text":"TemporaryFile(/tmp/multipartBody3743908493567827450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192384346,"filename":"image_30012025_00_10_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/30/acf8f49e2fa26d118bfacb6593634732.jpg","text":"TemporaryFile(/tmp/multipartBody4364281103237548298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192384346,"filename":"image_30012025_00_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/30/d9bbcacf430d2b73a60458e0eb5fcba5.jpg","text":"TemporaryFile(/tmp/multipartBody4804159663550894481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192384346,"filename":"image_30012025_00_10_06_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332797234","file1":"1332797203","file0":"1332797168","file4":"1332797290","file5":"1332797296","file3":"1332797239"},"map_files_photo_id_array":[{"photo_id":"1332797296","filename":"file5"},{"photo_id":"1332797234","filename":"file2"},{"photo_id":"1332797290","filename":"file4"},{"photo_id":"1332797203","filename":"file1"},{"photo_id":"1332797168","filename":"file0"},{"photo_id":"1332797239","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332797168":["hashtag1","hashtag2"]},{"1332797234":["hashtag1","hashtag2"]},{"1332797296":["hashtag1","hashtag2"]},{"1332797290":["hashtag1","hashtag2"]},{"1332797239":["hashtag1","hashtag2"]},{"1332797203":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332797168, 1332797234, 1332797296, 1332797290, 1332797239, 1332797203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09875273704529 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:13:04.277116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/10/image_30012025_00_10_56_10363.jpg', '/home/pi/Desktop/images/30012025/00/10/image_30012025_00_11_05_9340.jpg', '/home/pi/Desktop/images/30012025/00/11/image_30012025_00_11_16_10414.jpg', '/home/pi/Desktop/images/30012025/00/11/image_30012025_00_11_25_9472.jpg', '/home/pi/Desktop/images/30012025/00/11/image_30012025_00_11_35_10353.jpg', '/home/pi/Desktop/images/30012025/00/11/image_30012025_00_11_46_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/10/image_30012025_00_10_56_10363.jpg
/home/pi/Desktop/images/30012025/00/10/image_30012025_00_11_05_9340.jpg
/home/pi/Desktop/images/30012025/00/11/image_30012025_00_11_16_10414.jpg
/home/pi/Desktop/images/30012025/00/11/image_30012025_00_11_25_9472.jpg
/home/pi/Desktop/images/30012025/00/11/image_30012025_00_11_35_10353.jpg
/home/pi/Desktop/images/30012025/00/11/image_30012025_00_11_46_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332797339","1332797330","1332797344","1332797323","1332797317","1332797319"],"photo_ids_order":["1332797317","1332797319","1332797323","1332797330","1332797339","1332797344"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8ba49a3f9142913354ae5c0d55516029.jpg","text":"TemporaryFile(/tmp/multipartBody7172845673885112023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192445363,"filename":"image_30012025_00_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/30/1d034b75ddd3adc704e774178e63587d.jpg","text":"TemporaryFile(/tmp/multipartBody7159810664782100059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192445363,"filename":"image_30012025_00_11_25_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0743a3b8bd0125998d5d23f572452ad3.jpg","text":"TemporaryFile(/tmp/multipartBody976788039804167667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192445363,"filename":"image_30012025_00_11_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/30/92de2e64ac5f9478dbaeadd4f90aed64.jpg","text":"TemporaryFile(/tmp/multipartBody8097426593847641361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192445363,"filename":"image_30012025_00_11_16_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/305612439216171d48205c1dbfc948e5.jpg","text":"TemporaryFile(/tmp/multipartBody6197018496774515407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192445363,"filename":"image_30012025_00_10_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/30/567d7906c761a3bab91e8a199a9a211b.jpg","text":"TemporaryFile(/tmp/multipartBody7582324537080043869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192445363,"filename":"image_30012025_00_11_05_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332797323","file1":"1332797319","file0":"1332797317","file4":"1332797339","file5":"1332797344","file3":"1332797330"},"map_files_photo_id_array":[{"photo_id":"1332797344","filename":"file5"},{"photo_id":"1332797323","filename":"file2"},{"photo_id":"1332797339","filename":"file4"},{"photo_id":"1332797319","filename":"file1"},{"photo_id":"1332797317","filename":"file0"},{"photo_id":"1332797330","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332797339":["hashtag1","hashtag2"]},{"1332797330":["hashtag1","hashtag2"]},{"1332797344":["hashtag1","hashtag2"]},{"1332797323":["hashtag1","hashtag2"]},{"1332797317":["hashtag1","hashtag2"]},{"1332797319":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332797339, 1332797330, 1332797344, 1332797323, 1332797317, 1332797319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.61743974685669 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:14:03.851852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/11/image_30012025_00_11_55_9441.jpg', '/home/pi/Desktop/images/30012025/00/11/image_30012025_00_12_06_10378.jpg', '/home/pi/Desktop/images/30012025/00/12/image_30012025_00_12_25_9349.jpg', '/home/pi/Desktop/images/30012025/00/12/image_30012025_00_12_36_10406.jpg', '/home/pi/Desktop/images/30012025/00/12/image_30012025_00_12_45_9364.jpg', '/home/pi/Desktop/images/30012025/00/12/image_30012025_00_12_56_10430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/11/image_30012025_00_11_55_9441.jpg
/home/pi/Desktop/images/30012025/00/11/image_30012025_00_12_06_10378.jpg
/home/pi/Desktop/images/30012025/00/12/image_30012025_00_12_25_9349.jpg
/home/pi/Desktop/images/30012025/00/12/image_30012025_00_12_36_10406.jpg
/home/pi/Desktop/images/30012025/00/12/image_30012025_00_12_45_9364.jpg
/home/pi/Desktop/images/30012025/00/12/image_30012025_00_12_56_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332797405","1332797380","1332797419","1332797410","1332797415","1332797399"],"photo_ids_order":["1332797380","1332797399","1332797405","1332797410","1332797415","1332797419"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6f81f12a2fbd07fb026570e41168d793.jpg","text":"TemporaryFile(/tmp/multipartBody1515042908027500064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192504827,"filename":"image_30012025_00_12_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/30/0cf3806a34d66d5e4601d204a5d1c6c0.jpg","text":"TemporaryFile(/tmp/multipartBody6221129342566848302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192504827,"filename":"image_30012025_00_11_55_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/30/8e73a8a9f20bc2064730e03296a7bb70.jpg","text":"TemporaryFile(/tmp/multipartBody1275332739647960549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192504827,"filename":"image_30012025_00_12_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/30/8cd57e725c3f0f0262acd236e076e312.jpg","text":"TemporaryFile(/tmp/multipartBody525969341858991660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192504827,"filename":"image_30012025_00_12_36_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/30/d902edc00c19390f0c1dc317a217a33d.jpg","text":"TemporaryFile(/tmp/multipartBody5058406648574878575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192504827,"filename":"image_30012025_00_12_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/30/149cbeb6d00ffc3a128db4a2478a6336.jpg","text":"TemporaryFile(/tmp/multipartBody2140112967966093596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192504827,"filename":"image_30012025_00_12_06_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332797405","file1":"1332797399","file0":"1332797380","file4":"1332797415","file5":"1332797419","file3":"1332797410"},"map_files_photo_id_array":[{"photo_id":"1332797419","filename":"file5"},{"photo_id":"1332797405","filename":"file2"},{"photo_id":"1332797415","filename":"file4"},{"photo_id":"1332797399","filename":"file1"},{"photo_id":"1332797380","filename":"file0"},{"photo_id":"1332797410","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332797405":["hashtag1","hashtag2"]},{"1332797380":["hashtag1","hashtag2"]},{"1332797419":["hashtag1","hashtag2"]},{"1332797410":["hashtag1","hashtag2"]},{"1332797415":["hashtag1","hashtag2"]},{"1332797399":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332797405, 1332797380, 1332797419, 1332797410, 1332797415, 1332797399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45752692222595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:15:03.944431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/12/image_30012025_00_13_05_9470.jpg', '/home/pi/Desktop/images/30012025/00/13/image_30012025_00_13_15_10414.jpg', '/home/pi/Desktop/images/30012025/00/13/image_30012025_00_13_26_10356.jpg', '/home/pi/Desktop/images/30012025/00/13/image_30012025_00_13_35_9350.jpg', '/home/pi/Desktop/images/30012025/00/13/image_30012025_00_13_46_10410.jpg', '/home/pi/Desktop/images/30012025/00/13/image_30012025_00_13_56_10453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/12/image_30012025_00_13_05_9470.jpg
/home/pi/Desktop/images/30012025/00/13/image_30012025_00_13_15_10414.jpg
/home/pi/Desktop/images/30012025/00/13/image_30012025_00_13_26_10356.jpg
/home/pi/Desktop/images/30012025/00/13/image_30012025_00_13_35_9350.jpg
/home/pi/Desktop/images/30012025/00/13/image_30012025_00_13_46_10410.jpg
/home/pi/Desktop/images/30012025/00/13/image_30012025_00_13_56_10453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332797534","1332797528","1332797456","1332797631","1332797460","1332797661"],"photo_ids_order":["1332797456","1332797460","1332797528","1332797534","1332797631","1332797661"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0b60945cf0f9d056a3fa409c6231dedb.jpg","text":"TemporaryFile(/tmp/multipartBody3437878330011598286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192565048,"filename":"image_30012025_00_13_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/30/fa164a710f7e658590085f65aa8a9f13.jpg","text":"TemporaryFile(/tmp/multipartBody327196130992188319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192565048,"filename":"image_30012025_00_13_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/30/3fdccd1a27a9d1a4b1ca98bc092547c6.jpg","text":"TemporaryFile(/tmp/multipartBody3794166114031211607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192565048,"filename":"image_30012025_00_13_05_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/30/1f8086034ce27386fc3f66313ac77cae.jpg","text":"TemporaryFile(/tmp/multipartBody759307285157613481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192565048,"filename":"image_30012025_00_13_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/30/f7751bd4ee2532f8872b87a1ec31ecc1.jpg","text":"TemporaryFile(/tmp/multipartBody3990505916162320511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192565048,"filename":"image_30012025_00_13_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/30/5525a9ba79d049e238dcb3cd97e44802.jpg","text":"TemporaryFile(/tmp/multipartBody2171066275611096965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192565048,"filename":"image_30012025_00_13_56_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332797528","file1":"1332797460","file0":"1332797456","file4":"1332797631","file5":"1332797661","file3":"1332797534"},"map_files_photo_id_array":[{"photo_id":"1332797661","filename":"file5"},{"photo_id":"1332797528","filename":"file2"},{"photo_id":"1332797631","filename":"file4"},{"photo_id":"1332797460","filename":"file1"},{"photo_id":"1332797456","filename":"file0"},{"photo_id":"1332797534","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332797534":["hashtag1","hashtag2"]},{"1332797528":["hashtag1","hashtag2"]},{"1332797456":["hashtag1","hashtag2"]},{"1332797631":["hashtag1","hashtag2"]},{"1332797460":["hashtag1","hashtag2"]},{"1332797661":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332797534, 1332797528, 1332797456, 1332797631, 1332797460, 1332797661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.074806213378906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:16:03.346607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/13/image_30012025_00_14_05_9339.jpg', '/home/pi/Desktop/images/30012025/00/14/image_30012025_00_14_16_10405.jpg', '/home/pi/Desktop/images/30012025/00/14/image_30012025_00_14_25_9358.jpg', '/home/pi/Desktop/images/30012025/00/14/image_30012025_00_14_46_10371.jpg', '/home/pi/Desktop/images/30012025/00/14/image_30012025_00_14_55_9423.jpg', '/home/pi/Desktop/images/30012025/00/14/image_30012025_00_15_06_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/13/image_30012025_00_14_05_9339.jpg
/home/pi/Desktop/images/30012025/00/14/image_30012025_00_14_16_10405.jpg
/home/pi/Desktop/images/30012025/00/14/image_30012025_00_14_25_9358.jpg
/home/pi/Desktop/images/30012025/00/14/image_30012025_00_14_46_10371.jpg
/home/pi/Desktop/images/30012025/00/14/image_30012025_00_14_55_9423.jpg
/home/pi/Desktop/images/30012025/00/14/image_30012025_00_15_06_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":["1332797750","1332797717","1332798008","1332797740","1332797800","1332797724"],"photo_ids_order":["1332797717","1332797724","1332797740","1332797750","1332797800","1332798008"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ff1aea97f213fdd6a21771f9840251f8.jpg","text":"TemporaryFile(/tmp/multipartBody2491627070283209909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192624320,"filename":"image_30012025_00_14_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/30/f84b41acd0901384c4e442a0bb10a513.jpg","text":"TemporaryFile(/tmp/multipartBody1966921827361201543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192624320,"filename":"image_30012025_00_14_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/30/4abbf67837856f8aaa0ac61ea40191b8.jpg","text":"TemporaryFile(/tmp/multipartBody826405153947492923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192624320,"filename":"image_30012025_00_15_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/30/e7917e8061b0b554510b960cec098cfa.jpg","text":"TemporaryFile(/tmp/multipartBody1547608781072892296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192624320,"filename":"image_30012025_00_14_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/30/dffb7c9a97c848209ed9ee6c78011ba0.jpg","text":"TemporaryFile(/tmp/multipartBody8923285122163171867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192624320,"filename":"image_30012025_00_14_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/30/513886c33485d358836638f89dba1ef2.jpg","text":"TemporaryFile(/tmp/multipartBody4469993625355270189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192624320,"filename":"image_30012025_00_14_16_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332797740","file1":"1332797724","file0":"1332797717","file4":"1332797800","file5":"1332798008","file3":"1332797750"},"map_files_photo_id_array":[{"photo_id":"1332798008","filename":"file5"},{"photo_id":"1332797740","filename":"file2"},{"photo_id":"1332797800","filename":"file4"},{"photo_id":"1332797724","filename":"file1"},{"photo_id":"1332797717","filename":"file0"},{"photo_id":"1332797750","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332797750":["hashtag1","hashtag2"]},{"1332797717":["hashtag1","hashtag2"]},{"1332798008":["hashtag1","hashtag2"]},{"1332797740":["hashtag1","hashtag2"]},{"1332797800":["hashtag1","hashtag2"]},{"1332797724":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332797750, 1332797717, 1332798008, 1332797740, 1332797800, 1332797724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.82360553741455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:17:04.375055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/15/image_30012025_00_15_15_9425.jpg', '/home/pi/Desktop/images/30012025/00/15/image_30012025_00_15_26_10421.jpg', '/home/pi/Desktop/images/30012025/00/15/image_30012025_00_15_36_10373.jpg', '/home/pi/Desktop/images/30012025/00/15/image_30012025_00_15_56_10332.jpg', '/home/pi/Desktop/images/30012025/00/15/image_30012025_00_16_06_10417.jpg', '/home/pi/Desktop/images/30012025/00/16/image_30012025_00_16_26_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/15/image_30012025_00_15_15_9425.jpg
/home/pi/Desktop/images/30012025/00/15/image_30012025_00_15_26_10421.jpg
/home/pi/Desktop/images/30012025/00/15/image_30012025_00_15_36_10373.jpg
/home/pi/Desktop/images/30012025/00/15/image_30012025_00_15_56_10332.jpg
/home/pi/Desktop/images/30012025/00/15/image_30012025_00_16_06_10417.jpg
/home/pi/Desktop/images/30012025/00/16/image_30012025_00_16_26_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":["1332798148","1332798081","1332798141","1332798117","1332798102","1332798131"],"photo_ids_order":["1332798081","1332798102","1332798117","1332798131","1332798141","1332798148"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7969b8f4ef9b1452ebddd480253cc2cf.jpg","text":"TemporaryFile(/tmp/multipartBody376509241008574024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192686728,"filename":"image_30012025_00_16_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/30/7f5bc2253bf6630a713da3fe3b5743c0.jpg","text":"TemporaryFile(/tmp/multipartBody1760641280631337142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192686728,"filename":"image_30012025_00_15_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/30/c4dcb00df7fe907e5b7671653477b099.jpg","text":"TemporaryFile(/tmp/multipartBody1058752715391390393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192686728,"filename":"image_30012025_00_16_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/30/39688cb3bad3ab323d7dad8bbe045b76.jpg","text":"TemporaryFile(/tmp/multipartBody1350399765961261810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192686728,"filename":"image_30012025_00_15_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/30/27946ccc2ca2863325e07f64396fe686.jpg","text":"TemporaryFile(/tmp/multipartBody5005665279738865319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192686728,"filename":"image_30012025_00_15_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/30/255cd16cc1d5ff50f36a18e6907fd014.jpg","text":"TemporaryFile(/tmp/multipartBody5858386758663152515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192686728,"filename":"image_30012025_00_15_56_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332798117","file1":"1332798102","file0":"1332798081","file4":"1332798141","file5":"1332798148","file3":"1332798131"},"map_files_photo_id_array":[{"photo_id":"1332798148","filename":"file5"},{"photo_id":"1332798117","filename":"file2"},{"photo_id":"1332798141","filename":"file4"},{"photo_id":"1332798102","filename":"file1"},{"photo_id":"1332798081","filename":"file0"},{"photo_id":"1332798131","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332798148":["hashtag1","hashtag2"]},{"1332798081":["hashtag1","hashtag2"]},{"1332798141":["hashtag1","hashtag2"]},{"1332798117":["hashtag1","hashtag2"]},{"1332798102":["hashtag1","hashtag2"]},{"1332798131":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332798148, 1332798081, 1332798141, 1332798117, 1332798102, 1332798131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.10365581512451 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:18:02.773839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/16/image_30012025_00_16_45_10355.jpg', '/home/pi/Desktop/images/30012025/00/16/image_30012025_00_16_56_10358.jpg', '/home/pi/Desktop/images/30012025/00/17/image_30012025_00_17_16_10343.jpg', '/home/pi/Desktop/images/30012025/00/17/image_30012025_00_17_26_10386.jpg', '/home/pi/Desktop/images/30012025/00/17/image_30012025_00_17_35_9395.jpg', '/home/pi/Desktop/images/30012025/00/17/image_30012025_00_17_46_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/16/image_30012025_00_16_45_10355.jpg
/home/pi/Desktop/images/30012025/00/16/image_30012025_00_16_56_10358.jpg
/home/pi/Desktop/images/30012025/00/17/image_30012025_00_17_16_10343.jpg
/home/pi/Desktop/images/30012025/00/17/image_30012025_00_17_26_10386.jpg
/home/pi/Desktop/images/30012025/00/17/image_30012025_00_17_35_9395.jpg
/home/pi/Desktop/images/30012025/00/17/image_30012025_00_17_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":["1332798193","1332798196","1332798238","1332798243","1332798201","1332798210"],"photo_ids_order":["1332798193","1332798196","1332798201","1332798210","1332798238","1332798243"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/818dea3d7c1d206e821e785287013d64.jpg","text":"TemporaryFile(/tmp/multipartBody8368477024310398553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192744114,"filename":"image_30012025_00_16_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/30/90e1d8eba3b1a6c71012baa54073838e.jpg","text":"TemporaryFile(/tmp/multipartBody774436642519457386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192744114,"filename":"image_30012025_00_16_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/30/b3b421aa4ba240753a09030f19c944f5.jpg","text":"TemporaryFile(/tmp/multipartBody7903932044532031114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192744114,"filename":"image_30012025_00_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/30/e6dbce6ee718368dfe1841828869f183.jpg","text":"TemporaryFile(/tmp/multipartBody4410317052155585826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192744114,"filename":"image_30012025_00_17_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/30/6a9a5c22b832af8e996f6e0037c823f4.jpg","text":"TemporaryFile(/tmp/multipartBody4477180202022115387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192744114,"filename":"image_30012025_00_17_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/30/548154b5efe87724dad182c56db1beac.jpg","text":"TemporaryFile(/tmp/multipartBody3016896484024796700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192744114,"filename":"image_30012025_00_17_26_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332798201","file1":"1332798196","file0":"1332798193","file4":"1332798238","file5":"1332798243","file3":"1332798210"},"map_files_photo_id_array":[{"photo_id":"1332798243","filename":"file5"},{"photo_id":"1332798201","filename":"file2"},{"photo_id":"1332798238","filename":"file4"},{"photo_id":"1332798196","filename":"file1"},{"photo_id":"1332798193","filename":"file0"},{"photo_id":"1332798210","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332798193":["hashtag1","hashtag2"]},{"1332798196":["hashtag1","hashtag2"]},{"1332798238":["hashtag1","hashtag2"]},{"1332798243":["hashtag1","hashtag2"]},{"1332798201":["hashtag1","hashtag2"]},{"1332798210":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332798193, 1332798196, 1332798238, 1332798243, 1332798201, 1332798210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.714839458465576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:19:03.985619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/17/image_30012025_00_17_56_10395.jpg', '/home/pi/Desktop/images/30012025/00/17/image_30012025_00_18_05_9353.jpg', '/home/pi/Desktop/images/30012025/00/18/image_30012025_00_18_16_10348.jpg', '/home/pi/Desktop/images/30012025/00/18/image_30012025_00_18_25_9362.jpg', '/home/pi/Desktop/images/30012025/00/18/image_30012025_00_18_35_10368.jpg', '/home/pi/Desktop/images/30012025/00/18/image_30012025_00_18_46_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/17/image_30012025_00_17_56_10395.jpg
/home/pi/Desktop/images/30012025/00/17/image_30012025_00_18_05_9353.jpg
/home/pi/Desktop/images/30012025/00/18/image_30012025_00_18_16_10348.jpg
/home/pi/Desktop/images/30012025/00/18/image_30012025_00_18_25_9362.jpg
/home/pi/Desktop/images/30012025/00/18/image_30012025_00_18_35_10368.jpg
/home/pi/Desktop/images/30012025/00/18/image_30012025_00_18_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: 0.6670105457305908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-30 00:19:12.472521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/16/image_28012025_20_16_45_10447.jpg', '/home/pi/Desktop/images/28012025/20/16/image_28012025_20_16_55_9342.jpg', '/home/pi/Desktop/images/28012025/20/16/image_28012025_20_17_05_10442.jpg', '/home/pi/Desktop/images/28012025/20/17/image_28012025_20_17_15_9339.jpg', '/home/pi/Desktop/images/28012025/20/17/image_28012025_20_17_25_10441.jpg', '/home/pi/Desktop/images/28012025/20/17/image_28012025_20_17_35_10355.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/16/image_28012025_20_16_45_10447.jpg
/home/pi/Desktop/images/28012025/20/16/image_28012025_20_16_55_9342.jpg
/home/pi/Desktop/images/28012025/20/16/image_28012025_20_17_05_10442.jpg
/home/pi/Desktop/images/28012025/20/17/image_28012025_20_17_15_9339.jpg
/home/pi/Desktop/images/28012025/20/17/image_28012025_20_17_25_10441.jpg
/home/pi/Desktop/images/28012025/20/17/image_28012025_20_17_35_10355.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332798302","1332798364","1332798445","1332798495","1332798300","1332798470"],"photo_ids_order":["1332798300","1332798302","1332798364","1332798445","1332798470","1332798495"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ba477ddfc3c6c864f0fd7755ec7cf52d.jpg","text":"TemporaryFile(/tmp/multipartBody5560104513019937008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192814950,"filename":"image_28012025_20_16_55_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d9ca4bb86b8d97fb7add7a1e84ff8539.jpg","text":"TemporaryFile(/tmp/multipartBody6508614242265632366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192814950,"filename":"image_28012025_20_17_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/30/07a983ceaa654fedb04078cdd32b4946.jpg","text":"TemporaryFile(/tmp/multipartBody5600162593442889695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192814950,"filename":"image_28012025_20_17_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/30/c6043f8454e7e38240b677364ad45bb1.jpg","text":"TemporaryFile(/tmp/multipartBody8161647470253182900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192814950,"filename":"image_28012025_20_17_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/30/1220a6dd3e92cce4d9ccbefa87d663c2.jpg","text":"TemporaryFile(/tmp/multipartBody1162190919319820794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192814950,"filename":"image_28012025_20_16_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/30/bf075d1ce8f4f0e381fa748b3bcb1c96.jpg","text":"TemporaryFile(/tmp/multipartBody934896365928126293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192814950,"filename":"image_28012025_20_17_25_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332798364","file1":"1332798302","file0":"1332798300","file4":"1332798470","file5":"1332798495","file3":"1332798445"},"map_files_photo_id_array":[{"photo_id":"1332798495","filename":"file5"},{"photo_id":"1332798364","filename":"file2"},{"photo_id":"1332798470","filename":"file4"},{"photo_id":"1332798302","filename":"file1"},{"photo_id":"1332798300","filename":"file0"},{"photo_id":"1332798445","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332798302":["hashtag1","hashtag2"]},{"1332798364":["hashtag1","hashtag2"]},{"1332798445":["hashtag1","hashtag2"]},{"1332798495":["hashtag1","hashtag2"]},{"1332798300":["hashtag1","hashtag2"]},{"1332798470":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332798302, 1332798364, 1332798445, 1332798495, 1332798300, 1332798470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.085716247558594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:20:03.439018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/17/image_30012025_00_17_56_10395.jpg', '/home/pi/Desktop/images/30012025/00/17/image_30012025_00_18_05_9353.jpg', '/home/pi/Desktop/images/30012025/00/18/image_30012025_00_18_16_10348.jpg', '/home/pi/Desktop/images/30012025/00/18/image_30012025_00_18_25_9362.jpg', '/home/pi/Desktop/images/30012025/00/18/image_30012025_00_18_35_10368.jpg', '/home/pi/Desktop/images/30012025/00/18/image_30012025_00_18_46_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/17/image_30012025_00_17_56_10395.jpg
/home/pi/Desktop/images/30012025/00/17/image_30012025_00_18_05_9353.jpg
/home/pi/Desktop/images/30012025/00/18/image_30012025_00_18_16_10348.jpg
/home/pi/Desktop/images/30012025/00/18/image_30012025_00_18_25_9362.jpg
/home/pi/Desktop/images/30012025/00/18/image_30012025_00_18_35_10368.jpg
/home/pi/Desktop/images/30012025/00/18/image_30012025_00_18_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":["1332798664","1332798690","1332798684","1332798585","1332798543","1332798552"],"photo_ids_order":["1332798543","1332798552","1332798585","1332798664","1332798684","1332798690"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7f1ccb8b07fb2f4431df49ba75834c6e.jpg","text":"TemporaryFile(/tmp/multipartBody3832508913235936035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192864398,"filename":"image_30012025_00_18_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/30/1de0115a2f693ff3d7da703483c9f311.jpg","text":"TemporaryFile(/tmp/multipartBody4780144587997174453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192864398,"filename":"image_30012025_00_18_46_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1b1162f4362313657032b290152417c5.jpg","text":"TemporaryFile(/tmp/multipartBody5785479816141645024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192864398,"filename":"image_30012025_00_18_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/30/ff42f00f21e9240cbc2158113b761002.jpg","text":"TemporaryFile(/tmp/multipartBody5370355285089296273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192864398,"filename":"image_30012025_00_18_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/30/8c3cfa748d30b13030c8d7fb591df4e5.jpg","text":"TemporaryFile(/tmp/multipartBody7957794563823732695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192864398,"filename":"image_30012025_00_17_56_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a163eda78a64e4c470d5d6a258713149.jpg","text":"TemporaryFile(/tmp/multipartBody6716570992928072246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192864398,"filename":"image_30012025_00_18_05_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332798585","file1":"1332798552","file0":"1332798543","file4":"1332798684","file5":"1332798690","file3":"1332798664"},"map_files_photo_id_array":[{"photo_id":"1332798690","filename":"file5"},{"photo_id":"1332798585","filename":"file2"},{"photo_id":"1332798684","filename":"file4"},{"photo_id":"1332798552","filename":"file1"},{"photo_id":"1332798543","filename":"file0"},{"photo_id":"1332798664","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332798664":["hashtag1","hashtag2"]},{"1332798690":["hashtag1","hashtag2"]},{"1332798684":["hashtag1","hashtag2"]},{"1332798585":["hashtag1","hashtag2"]},{"1332798543":["hashtag1","hashtag2"]},{"1332798552":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332798664, 1332798690, 1332798684, 1332798585, 1332798543, 1332798552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.771326541900635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:21:04.330347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/18/image_30012025_00_18_55_9425.jpg', '/home/pi/Desktop/images/30012025/00/18/image_30012025_00_19_06_10356.jpg', '/home/pi/Desktop/images/30012025/00/19/image_30012025_00_19_15_9468.jpg', '/home/pi/Desktop/images/30012025/00/19/image_30012025_00_19_25_10348.jpg', '/home/pi/Desktop/images/30012025/00/19/image_30012025_00_19_36_10384.jpg', '/home/pi/Desktop/images/30012025/00/19/image_30012025_00_19_45_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/18/image_30012025_00_18_55_9425.jpg
/home/pi/Desktop/images/30012025/00/18/image_30012025_00_19_06_10356.jpg
/home/pi/Desktop/images/30012025/00/19/image_30012025_00_19_15_9468.jpg
/home/pi/Desktop/images/30012025/00/19/image_30012025_00_19_25_10348.jpg
/home/pi/Desktop/images/30012025/00/19/image_30012025_00_19_36_10384.jpg
/home/pi/Desktop/images/30012025/00/19/image_30012025_00_19_45_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":["1332798742","1332798750","1332798738","1332798729","1332798746","1332798734"],"photo_ids_order":["1332798729","1332798734","1332798738","1332798742","1332798746","1332798750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/80423c95d003ca18bc18c3a97c31fb96.jpg","text":"TemporaryFile(/tmp/multipartBody2823760943488166500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192925359,"filename":"image_30012025_00_19_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/30/5101edbae72ca630140fa2d674c75d99.jpg","text":"TemporaryFile(/tmp/multipartBody7834481670045706832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192925359,"filename":"image_30012025_00_19_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/30/6afc136de939c39ab9729730407fd7f3.jpg","text":"TemporaryFile(/tmp/multipartBody6517272556596971541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192925359,"filename":"image_30012025_00_19_15_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/30/d2e4b21e4768c35d69a232af9117e677.jpg","text":"TemporaryFile(/tmp/multipartBody4484305039583988019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192925359,"filename":"image_30012025_00_18_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/30/f1d27a8108f542aa8df3a5272c17c8a2.jpg","text":"TemporaryFile(/tmp/multipartBody2308629779000817403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192925359,"filename":"image_30012025_00_19_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/30/0c2294abae9c1f789fa1b6e6b8abbc15.jpg","text":"TemporaryFile(/tmp/multipartBody2623485295172123026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192925359,"filename":"image_30012025_00_19_06_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332798738","file1":"1332798734","file0":"1332798729","file4":"1332798746","file5":"1332798750","file3":"1332798742"},"map_files_photo_id_array":[{"photo_id":"1332798750","filename":"file5"},{"photo_id":"1332798738","filename":"file2"},{"photo_id":"1332798746","filename":"file4"},{"photo_id":"1332798734","filename":"file1"},{"photo_id":"1332798729","filename":"file0"},{"photo_id":"1332798742","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332798742":["hashtag1","hashtag2"]},{"1332798750":["hashtag1","hashtag2"]},{"1332798738":["hashtag1","hashtag2"]},{"1332798729":["hashtag1","hashtag2"]},{"1332798746":["hashtag1","hashtag2"]},{"1332798734":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332798742, 1332798750, 1332798738, 1332798729, 1332798746, 1332798734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.56123995780945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:22:03.012527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/19/image_30012025_00_19_56_10354.jpg', '/home/pi/Desktop/images/30012025/00/19/image_30012025_00_20_06_10351.jpg', '/home/pi/Desktop/images/30012025/00/20/image_30012025_00_20_15_9411.jpg', '/home/pi/Desktop/images/30012025/00/20/image_30012025_00_20_26_10348.jpg', '/home/pi/Desktop/images/30012025/00/20/image_30012025_00_20_35_9488.jpg', '/home/pi/Desktop/images/30012025/00/20/image_30012025_00_20_45_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/19/image_30012025_00_19_56_10354.jpg
/home/pi/Desktop/images/30012025/00/19/image_30012025_00_20_06_10351.jpg
/home/pi/Desktop/images/30012025/00/20/image_30012025_00_20_15_9411.jpg
/home/pi/Desktop/images/30012025/00/20/image_30012025_00_20_26_10348.jpg
/home/pi/Desktop/images/30012025/00/20/image_30012025_00_20_35_9488.jpg
/home/pi/Desktop/images/30012025/00/20/image_30012025_00_20_45_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332798793","1332798787","1332798808","1332798789","1332798801","1332798815"],"photo_ids_order":["1332798787","1332798789","1332798793","1332798801","1332798808","1332798815"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5d23489b475f299a20b0933fedc24949.jpg","text":"TemporaryFile(/tmp/multipartBody5621189450804286879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192983952,"filename":"image_30012025_00_20_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/30/767abedffda4e7c0fbb96166719ea4e1.jpg","text":"TemporaryFile(/tmp/multipartBody4759245687845574356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192983952,"filename":"image_30012025_00_19_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/30/f8123e564e0567d9e9920287197716f2.jpg","text":"TemporaryFile(/tmp/multipartBody5545961995117200046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192983952,"filename":"image_30012025_00_20_35_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/30/955a5d8922eccec1eb8edaf7282404cf.jpg","text":"TemporaryFile(/tmp/multipartBody2083606579913303701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192983952,"filename":"image_30012025_00_20_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/30/43ece1e0198b6ce52954941f722971c3.jpg","text":"TemporaryFile(/tmp/multipartBody4783953110286228802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192983952,"filename":"image_30012025_00_20_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/30/716e2183fb32ddc5378735a625380b76.jpg","text":"TemporaryFile(/tmp/multipartBody136548734778066109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738192983952,"filename":"image_30012025_00_20_45_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332798793","file1":"1332798789","file0":"1332798787","file4":"1332798808","file5":"1332798815","file3":"1332798801"},"map_files_photo_id_array":[{"photo_id":"1332798815","filename":"file5"},{"photo_id":"1332798793","filename":"file2"},{"photo_id":"1332798808","filename":"file4"},{"photo_id":"1332798789","filename":"file1"},{"photo_id":"1332798787","filename":"file0"},{"photo_id":"1332798801","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332798793":["hashtag1","hashtag2"]},{"1332798787":["hashtag1","hashtag2"]},{"1332798808":["hashtag1","hashtag2"]},{"1332798789":["hashtag1","hashtag2"]},{"1332798801":["hashtag1","hashtag2"]},{"1332798815":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332798793, 1332798787, 1332798808, 1332798789, 1332798801, 1332798815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.013516664505005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:23:03.705559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/20/image_30012025_00_21_05_9361.jpg', '/home/pi/Desktop/images/30012025/00/21/image_30012025_00_21_16_10362.jpg', '/home/pi/Desktop/images/30012025/00/21/image_30012025_00_21_55_9347.jpg', '/home/pi/Desktop/images/30012025/00/21/image_30012025_00_22_05_10342.jpg', '/home/pi/Desktop/images/30012025/00/22/image_30012025_00_22_16_10350.jpg', '/home/pi/Desktop/images/30012025/00/22/image_30012025_00_22_25_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/20/image_30012025_00_21_05_9361.jpg
/home/pi/Desktop/images/30012025/00/21/image_30012025_00_21_16_10362.jpg
/home/pi/Desktop/images/30012025/00/21/image_30012025_00_21_55_9347.jpg
/home/pi/Desktop/images/30012025/00/21/image_30012025_00_22_05_10342.jpg
/home/pi/Desktop/images/30012025/00/22/image_30012025_00_22_16_10350.jpg
/home/pi/Desktop/images/30012025/00/22/image_30012025_00_22_25_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":["1332798991","1332798844","1332798837","1332798930","1332798995","1332798848"],"photo_ids_order":["1332798837","1332798844","1332798848","1332798930","1332798991","1332798995"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ebeffc3065c55cdd019e263cb9059129.jpg","text":"TemporaryFile(/tmp/multipartBody6228144953647515770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193044791,"filename":"image_30012025_00_22_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/30/492d028ceace50471f90e5d5637263ae.jpg","text":"TemporaryFile(/tmp/multipartBody8242013365850214458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193044791,"filename":"image_30012025_00_21_16_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f6dd3d3210057f7b4c7bf4f8cbe4bb89.jpg","text":"TemporaryFile(/tmp/multipartBody5424539001801366809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193044791,"filename":"image_30012025_00_21_05_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/699c0cb63bff12f81e34deb2251fcbc4.jpg","text":"TemporaryFile(/tmp/multipartBody1957687574092274118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193044791,"filename":"image_30012025_00_22_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/30/cb0dd80deeabb1dc2f1bb5ade4b3e442.jpg","text":"TemporaryFile(/tmp/multipartBody3680309822634015854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193044791,"filename":"image_30012025_00_22_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/30/8cdc813d2d4b59f41273929f2f81c94c.jpg","text":"TemporaryFile(/tmp/multipartBody1483505992407354757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193044791,"filename":"image_30012025_00_21_55_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332798848","file1":"1332798844","file0":"1332798837","file4":"1332798991","file5":"1332798995","file3":"1332798930"},"map_files_photo_id_array":[{"photo_id":"1332798995","filename":"file5"},{"photo_id":"1332798848","filename":"file2"},{"photo_id":"1332798991","filename":"file4"},{"photo_id":"1332798844","filename":"file1"},{"photo_id":"1332798837","filename":"file0"},{"photo_id":"1332798930","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332798991":["hashtag1","hashtag2"]},{"1332798844":["hashtag1","hashtag2"]},{"1332798837":["hashtag1","hashtag2"]},{"1332798930":["hashtag1","hashtag2"]},{"1332798995":["hashtag1","hashtag2"]},{"1332798848":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332798991, 1332798844, 1332798837, 1332798930, 1332798995, 1332798848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04212141036987 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:24:03.218161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/22/image_30012025_00_22_46_10475.jpg', '/home/pi/Desktop/images/30012025/00/22/image_30012025_00_22_55_9385.jpg', '/home/pi/Desktop/images/30012025/00/22/image_30012025_00_23_06_10409.jpg', '/home/pi/Desktop/images/30012025/00/23/image_30012025_00_23_26_10358.jpg', '/home/pi/Desktop/images/30012025/00/23/image_30012025_00_23_36_10469.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/22/image_30012025_00_22_46_10475.jpg
/home/pi/Desktop/images/30012025/00/22/image_30012025_00_22_55_9385.jpg
/home/pi/Desktop/images/30012025/00/22/image_30012025_00_23_06_10409.jpg
/home/pi/Desktop/images/30012025/00/23/image_30012025_00_23_26_10358.jpg
/home/pi/Desktop/images/30012025/00/23/image_30012025_00_23_36_10469.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332799216","1332799210","1332799212","1332799221","1332799226"],"photo_ids_order":["1332799210","1332799212","1332799216","1332799221","1332799226"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ed3c09b16426d8cdf21c1c710f968171.jpg","text":"TemporaryFile(/tmp/multipartBody1109197836348800114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193104149,"filename":"image_30012025_00_23_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/30/bd74bd4b2638b43710c1d949849ff986.jpg","text":"TemporaryFile(/tmp/multipartBody1736576688111556262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193104149,"filename":"image_30012025_00_22_46_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e9703c134d3d77cc6d89bd8f1b8bb601.jpg","text":"TemporaryFile(/tmp/multipartBody7408028977063916098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193104149,"filename":"image_30012025_00_22_55_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/30/cd00e37676b89d889595d7ab0d26ef41.jpg","text":"TemporaryFile(/tmp/multipartBody9165656465552812362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193104149,"filename":"image_30012025_00_23_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/30/f1cd7609a38e28a5ec37d3b3964e0db9.jpg","text":"TemporaryFile(/tmp/multipartBody757856525360031235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193104149,"filename":"image_30012025_00_23_36_10469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332799216","file1":"1332799212","file0":"1332799210","file4":"1332799226","file3":"1332799221"},"map_files_photo_id_array":[{"photo_id":"1332799216","filename":"file2"},{"photo_id":"1332799226","filename":"file4"},{"photo_id":"1332799212","filename":"file1"},{"photo_id":"1332799210","filename":"file0"},{"photo_id":"1332799221","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332799216":["hashtag1","hashtag2"]},{"1332799210":["hashtag1","hashtag2"]},{"1332799212":["hashtag1","hashtag2"]},{"1332799221":["hashtag1","hashtag2"]},{"1332799226":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332799216, 1332799210, 1332799212, 1332799221, 1332799226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.80180382728577 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-30 00:24:42.613848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/17/image_28012025_20_17_45_9357.jpg', '/home/pi/Desktop/images/28012025/20/17/image_28012025_20_17_55_10360.jpg', '/home/pi/Desktop/images/28012025/20/17/image_28012025_20_18_04_9431.jpg', '/home/pi/Desktop/images/28012025/20/18/image_28012025_20_18_15_10453.jpg', '/home/pi/Desktop/images/28012025/20/18/image_28012025_20_18_25_10350.jpg', '/home/pi/Desktop/images/28012025/20/18/image_28012025_20_18_35_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/20/17/image_28012025_20_17_45_9357.jpg
/home/pi/Desktop/images/28012025/20/17/image_28012025_20_17_55_10360.jpg
/home/pi/Desktop/images/28012025/20/17/image_28012025_20_18_04_9431.jpg
/home/pi/Desktop/images/28012025/20/18/image_28012025_20_18_15_10453.jpg
/home/pi/Desktop/images/28012025/20/18/image_28012025_20_18_25_10350.jpg
/home/pi/Desktop/images/28012025/20/18/image_28012025_20_18_35_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":["1332799246","1332799243","1332799239","1332799253","1332799256","1332799250"],"photo_ids_order":["1332799239","1332799243","1332799246","1332799250","1332799253","1332799256"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/49e464198f006da10da558915b8593a6.jpg","text":"TemporaryFile(/tmp/multipartBody5304687999147760927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193145052,"filename":"image_28012025_20_18_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/30/307e4e6baae101f7e6ef1e5a0b39f888.jpg","text":"TemporaryFile(/tmp/multipartBody3854727248091588033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193145052,"filename":"image_28012025_20_17_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/30/8b5d0e6066c252d2602f43a7ef900ab5.jpg","text":"TemporaryFile(/tmp/multipartBody3402910131401573032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193145052,"filename":"image_28012025_20_17_45_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/acb3cc3eccb84d760c16d6b204edd62a.jpg","text":"TemporaryFile(/tmp/multipartBody322631296549238769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193145052,"filename":"image_28012025_20_18_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/30/e2315276dd354f9eae41f6f8b32f2099.jpg","text":"TemporaryFile(/tmp/multipartBody1068986882167141064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193145052,"filename":"image_28012025_20_18_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/30/c53ad6a9c003d254d36e8e470670ea18.jpg","text":"TemporaryFile(/tmp/multipartBody347465809968393246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193145052,"filename":"image_28012025_20_18_15_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332799246","file1":"1332799243","file0":"1332799239","file4":"1332799253","file5":"1332799256","file3":"1332799250"},"map_files_photo_id_array":[{"photo_id":"1332799256","filename":"file5"},{"photo_id":"1332799246","filename":"file2"},{"photo_id":"1332799253","filename":"file4"},{"photo_id":"1332799243","filename":"file1"},{"photo_id":"1332799239","filename":"file0"},{"photo_id":"1332799250","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332799246":["hashtag1","hashtag2"]},{"1332799243":["hashtag1","hashtag2"]},{"1332799239":["hashtag1","hashtag2"]},{"1332799253":["hashtag1","hashtag2"]},{"1332799256":["hashtag1","hashtag2"]},{"1332799250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332799246, 1332799243, 1332799239, 1332799253, 1332799256, 1332799250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.86724638938904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-30 00:25:42.773156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/18/image_28012025_20_18_45_10383.jpg', '/home/pi/Desktop/images/28012025/20/18/image_28012025_20_18_54_9454.jpg', '/home/pi/Desktop/images/28012025/20/18/image_28012025_20_19_05_10403.jpg', '/home/pi/Desktop/images/28012025/20/19/image_28012025_20_19_15_10390.jpg', '/home/pi/Desktop/images/28012025/20/19/image_28012025_20_19_35_10396.jpg', '/home/pi/Desktop/images/28012025/20/19/image_28012025_20_19_44_9418.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/18/image_28012025_20_18_45_10383.jpg
/home/pi/Desktop/images/28012025/20/18/image_28012025_20_18_54_9454.jpg
/home/pi/Desktop/images/28012025/20/18/image_28012025_20_19_05_10403.jpg
/home/pi/Desktop/images/28012025/20/19/image_28012025_20_19_15_10390.jpg
/home/pi/Desktop/images/28012025/20/19/image_28012025_20_19_35_10396.jpg
/home/pi/Desktop/images/28012025/20/19/image_28012025_20_19_44_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":["1332799393","1332799348","1332799336","1332799321","1332799343","1332799390"],"photo_ids_order":["1332799321","1332799336","1332799343","1332799348","1332799390","1332799393"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4b28856a3ccda7a83ae2535383c49c58.jpg","text":"TemporaryFile(/tmp/multipartBody8952518761660365888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193205252,"filename":"image_28012025_20_19_44_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/30/a48d22e72dd2aa196c2b70f41668c096.jpg","text":"TemporaryFile(/tmp/multipartBody1214143328045164052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193205252,"filename":"image_28012025_20_19_15_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/30/d73905051149f87720961a268d2b3ddb.jpg","text":"TemporaryFile(/tmp/multipartBody6405947640195425170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193205252,"filename":"image_28012025_20_18_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/30/ff45f817ea1143bbfa10d5116f736c6d.jpg","text":"TemporaryFile(/tmp/multipartBody4759595646363394317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193205252,"filename":"image_28012025_20_18_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/30/c61cbb09156c423de2e511817a31acf5.jpg","text":"TemporaryFile(/tmp/multipartBody6605883447461508261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193205252,"filename":"image_28012025_20_19_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/30/871185b780b4012d1ca6d8950fd9c328.jpg","text":"TemporaryFile(/tmp/multipartBody5741430448989977532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193205252,"filename":"image_28012025_20_19_35_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332799343","file1":"1332799336","file0":"1332799321","file4":"1332799390","file5":"1332799393","file3":"1332799348"},"map_files_photo_id_array":[{"photo_id":"1332799393","filename":"file5"},{"photo_id":"1332799343","filename":"file2"},{"photo_id":"1332799390","filename":"file4"},{"photo_id":"1332799336","filename":"file1"},{"photo_id":"1332799321","filename":"file0"},{"photo_id":"1332799348","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332799393":["hashtag1","hashtag2"]},{"1332799348":["hashtag1","hashtag2"]},{"1332799336":["hashtag1","hashtag2"]},{"1332799321":["hashtag1","hashtag2"]},{"1332799343":["hashtag1","hashtag2"]},{"1332799390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332799393, 1332799348, 1332799336, 1332799321, 1332799343, 1332799390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.87407302856445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-30 00:26:42.989636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/19/image_28012025_20_19_55_10369.jpg', '/home/pi/Desktop/images/28012025/20/19/image_28012025_20_20_05_10424.jpg', '/home/pi/Desktop/images/28012025/20/20/image_28012025_20_20_15_9403.jpg', '/home/pi/Desktop/images/28012025/20/20/image_28012025_20_20_25_10414.jpg', '/home/pi/Desktop/images/28012025/20/20/image_28012025_20_20_35_10373.jpg', '/home/pi/Desktop/images/28012025/20/20/image_28012025_20_20_45_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/20/19/image_28012025_20_19_55_10369.jpg
/home/pi/Desktop/images/28012025/20/19/image_28012025_20_20_05_10424.jpg
/home/pi/Desktop/images/28012025/20/20/image_28012025_20_20_15_9403.jpg
/home/pi/Desktop/images/28012025/20/20/image_28012025_20_20_25_10414.jpg
/home/pi/Desktop/images/28012025/20/20/image_28012025_20_20_35_10373.jpg
/home/pi/Desktop/images/28012025/20/20/image_28012025_20_20_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":["1332799615","1332799449","1332799749","1332799536","1332799713","1332799415"],"photo_ids_order":["1332799415","1332799449","1332799536","1332799615","1332799713","1332799749"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/86bc9b74a80a2d86447388f8aaf266a8.jpg","text":"TemporaryFile(/tmp/multipartBody3485691632119761267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193265429,"filename":"image_28012025_20_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/30/510ccf4427e8f2ebbf15a1e0ea7370fe.jpg","text":"TemporaryFile(/tmp/multipartBody6196144174139286714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193265429,"filename":"image_28012025_20_20_05_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8c53c884003484bc3bdccc93fcf3588d.jpg","text":"TemporaryFile(/tmp/multipartBody7123504087357515396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193265429,"filename":"image_28012025_20_20_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/30/42e20e8d3c34497a0d66fdc792ecdbb6.jpg","text":"TemporaryFile(/tmp/multipartBody2613412636688573474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193265429,"filename":"image_28012025_20_20_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/30/f97aaa76ec85b1597e60a3a8dfa2e515.jpg","text":"TemporaryFile(/tmp/multipartBody8338246227486655330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193265429,"filename":"image_28012025_20_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/30/cf700c7d5af54558fc06966801a3cc4d.jpg","text":"TemporaryFile(/tmp/multipartBody3465632647178009799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193265429,"filename":"image_28012025_20_19_55_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332799536","file1":"1332799449","file0":"1332799415","file4":"1332799713","file5":"1332799749","file3":"1332799615"},"map_files_photo_id_array":[{"photo_id":"1332799749","filename":"file5"},{"photo_id":"1332799536","filename":"file2"},{"photo_id":"1332799713","filename":"file4"},{"photo_id":"1332799449","filename":"file1"},{"photo_id":"1332799415","filename":"file0"},{"photo_id":"1332799615","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332799615":["hashtag1","hashtag2"]},{"1332799449":["hashtag1","hashtag2"]},{"1332799749":["hashtag1","hashtag2"]},{"1332799536":["hashtag1","hashtag2"]},{"1332799713":["hashtag1","hashtag2"]},{"1332799415":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332799615, 1332799449, 1332799749, 1332799536, 1332799713, 1332799415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.57340741157532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-30 00:27:42.153373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/20/image_28012025_20_21_05_9368.jpg', '/home/pi/Desktop/images/28012025/20/21/image_28012025_20_21_15_10372.jpg', '/home/pi/Desktop/images/28012025/20/21/image_28012025_20_21_35_9339.jpg', '/home/pi/Desktop/images/28012025/20/21/image_28012025_20_21_45_10353.jpg', '/home/pi/Desktop/images/28012025/20/21/image_28012025_20_21_54_9418.jpg', '/home/pi/Desktop/images/28012025/20/21/image_28012025_20_22_05_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/20/20/image_28012025_20_21_05_9368.jpg
/home/pi/Desktop/images/28012025/20/21/image_28012025_20_21_15_10372.jpg
/home/pi/Desktop/images/28012025/20/21/image_28012025_20_21_35_9339.jpg
/home/pi/Desktop/images/28012025/20/21/image_28012025_20_21_45_10353.jpg
/home/pi/Desktop/images/28012025/20/21/image_28012025_20_21_54_9418.jpg
/home/pi/Desktop/images/28012025/20/21/image_28012025_20_22_05_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.058159112930298 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:28:02.998301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/23/image_30012025_00_23_45_9346.jpg', '/home/pi/Desktop/images/30012025/00/23/image_30012025_00_24_05_9360.jpg', '/home/pi/Desktop/images/30012025/00/24/image_30012025_00_24_16_10333.jpg', '/home/pi/Desktop/images/30012025/00/24/image_30012025_00_24_26_10364.jpg', '/home/pi/Desktop/images/30012025/00/24/image_30012025_00_24_35_9367.jpg', '/home/pi/Desktop/images/30012025/00/24/image_30012025_00_24_46_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/23/image_30012025_00_23_45_9346.jpg
/home/pi/Desktop/images/30012025/00/23/image_30012025_00_24_05_9360.jpg
/home/pi/Desktop/images/30012025/00/24/image_30012025_00_24_16_10333.jpg
/home/pi/Desktop/images/30012025/00/24/image_30012025_00_24_26_10364.jpg
/home/pi/Desktop/images/30012025/00/24/image_30012025_00_24_35_9367.jpg
/home/pi/Desktop/images/30012025/00/24/image_30012025_00_24_46_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":["1332800166","1332800132","1332800191","1332800056","1332800152","1332800113"],"photo_ids_order":["1332800056","1332800113","1332800132","1332800152","1332800166","1332800191"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/796c4330b867c49bed2bd3d8dd9886fe.jpg","text":"TemporaryFile(/tmp/multipartBody5659338166507772627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193343932,"filename":"image_30012025_00_24_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/30/5f558996627f35781c5cd134f55a041d.jpg","text":"TemporaryFile(/tmp/multipartBody7259563292747969413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193343932,"filename":"image_30012025_00_24_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/30/42fa35fb2d31df770fda9899adb47144.jpg","text":"TemporaryFile(/tmp/multipartBody1365777587287174613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193343932,"filename":"image_30012025_00_24_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/30/d75cb3214da6d5fea43fcad4ab31e6c3.jpg","text":"TemporaryFile(/tmp/multipartBody4647828539152323243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193343932,"filename":"image_30012025_00_23_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/30/46de7e532465d3aabf0ddbddd7359523.jpg","text":"TemporaryFile(/tmp/multipartBody1298713651536370271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193343932,"filename":"image_30012025_00_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/30/099d0341d55300c5af705ee4abd22173.jpg","text":"TemporaryFile(/tmp/multipartBody2327303232888092568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193343932,"filename":"image_30012025_00_24_05_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332800132","file1":"1332800113","file0":"1332800056","file4":"1332800166","file5":"1332800191","file3":"1332800152"},"map_files_photo_id_array":[{"photo_id":"1332800191","filename":"file5"},{"photo_id":"1332800132","filename":"file2"},{"photo_id":"1332800166","filename":"file4"},{"photo_id":"1332800113","filename":"file1"},{"photo_id":"1332800056","filename":"file0"},{"photo_id":"1332800152","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332800166":["hashtag1","hashtag2"]},{"1332800132":["hashtag1","hashtag2"]},{"1332800191":["hashtag1","hashtag2"]},{"1332800056":["hashtag1","hashtag2"]},{"1332800152":["hashtag1","hashtag2"]},{"1332800113":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332800166, 1332800132, 1332800191, 1332800056, 1332800152, 1332800113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.97226595878601 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:29:03.915400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/24/image_30012025_00_24_56_10445.jpg', '/home/pi/Desktop/images/30012025/00/24/image_30012025_00_25_05_9343.jpg', '/home/pi/Desktop/images/30012025/00/25/image_30012025_00_25_16_10355.jpg', '/home/pi/Desktop/images/30012025/00/25/image_30012025_00_25_25_9411.jpg', '/home/pi/Desktop/images/30012025/00/25/image_30012025_00_25_36_10358.jpg', '/home/pi/Desktop/images/30012025/00/25/image_30012025_00_25_46_10468.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/24/image_30012025_00_24_56_10445.jpg
/home/pi/Desktop/images/30012025/00/24/image_30012025_00_25_05_9343.jpg
/home/pi/Desktop/images/30012025/00/25/image_30012025_00_25_16_10355.jpg
/home/pi/Desktop/images/30012025/00/25/image_30012025_00_25_25_9411.jpg
/home/pi/Desktop/images/30012025/00/25/image_30012025_00_25_36_10358.jpg
/home/pi/Desktop/images/30012025/00/25/image_30012025_00_25_46_10468.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6375489234924316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:30:02.833134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/24/image_30012025_00_24_56_10445.jpg', '/home/pi/Desktop/images/30012025/00/24/image_30012025_00_25_05_9343.jpg', '/home/pi/Desktop/images/30012025/00/25/image_30012025_00_25_16_10355.jpg', '/home/pi/Desktop/images/30012025/00/25/image_30012025_00_25_25_9411.jpg', '/home/pi/Desktop/images/30012025/00/25/image_30012025_00_25_36_10358.jpg', '/home/pi/Desktop/images/30012025/00/25/image_30012025_00_25_46_10468.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/24/image_30012025_00_24_56_10445.jpg
/home/pi/Desktop/images/30012025/00/24/image_30012025_00_25_05_9343.jpg
/home/pi/Desktop/images/30012025/00/25/image_30012025_00_25_16_10355.jpg
/home/pi/Desktop/images/30012025/00/25/image_30012025_00_25_25_9411.jpg
/home/pi/Desktop/images/30012025/00/25/image_30012025_00_25_36_10358.jpg
/home/pi/Desktop/images/30012025/00/25/image_30012025_00_25_46_10468.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332802154","1332801953","1332801761","1332801578","1332802087","1332801670"],"photo_ids_order":["1332801578","1332801670","1332801761","1332801953","1332802087","1332802154"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/187ce8c4f05b115aefb46c3e6928e2e3.jpg","text":"TemporaryFile(/tmp/multipartBody2413892350262733580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193463797,"filename":"image_30012025_00_25_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/30/a256a21d4db066f4402ce6e37020215c.jpg","text":"TemporaryFile(/tmp/multipartBody74942311845062463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193463797,"filename":"image_30012025_00_25_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/30/ead7243701f2aa6efaaf2d0bc09bf307.jpg","text":"TemporaryFile(/tmp/multipartBody392781166588034168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193463797,"filename":"image_30012025_00_25_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/30/78af1ebc6c1dc7f870138dcc57621086.jpg","text":"TemporaryFile(/tmp/multipartBody3810049758208163358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193463797,"filename":"image_30012025_00_24_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/30/e20c46d5aa352cd3520687bcafa5d68f.jpg","text":"TemporaryFile(/tmp/multipartBody8595552296599778832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193463797,"filename":"image_30012025_00_25_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9b495644037d23f54ec85c4bd4d8ce35.jpg","text":"TemporaryFile(/tmp/multipartBody878501274301803773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193463797,"filename":"image_30012025_00_25_05_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332801761","file1":"1332801670","file0":"1332801578","file4":"1332802087","file5":"1332802154","file3":"1332801953"},"map_files_photo_id_array":[{"photo_id":"1332802154","filename":"file5"},{"photo_id":"1332801761","filename":"file2"},{"photo_id":"1332802087","filename":"file4"},{"photo_id":"1332801670","filename":"file1"},{"photo_id":"1332801578","filename":"file0"},{"photo_id":"1332801953","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332802154":["hashtag1","hashtag2"]},{"1332801953":["hashtag1","hashtag2"]},{"1332801761":["hashtag1","hashtag2"]},{"1332801578":["hashtag1","hashtag2"]},{"1332802087":["hashtag1","hashtag2"]},{"1332801670":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332802154, 1332801953, 1332801761, 1332801578, 1332802087, 1332801670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.424174308776855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:31:04.122211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/25/image_30012025_00_25_55_9381.jpg', '/home/pi/Desktop/images/30012025/00/25/image_30012025_00_26_06_10356.jpg', '/home/pi/Desktop/images/30012025/00/26/image_30012025_00_26_15_9405.jpg', '/home/pi/Desktop/images/30012025/00/26/image_30012025_00_26_26_10351.jpg', '/home/pi/Desktop/images/30012025/00/26/image_30012025_00_26_36_10479.jpg', '/home/pi/Desktop/images/30012025/00/26/image_30012025_00_26_45_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/25/image_30012025_00_25_55_9381.jpg
/home/pi/Desktop/images/30012025/00/25/image_30012025_00_26_06_10356.jpg
/home/pi/Desktop/images/30012025/00/26/image_30012025_00_26_15_9405.jpg
/home/pi/Desktop/images/30012025/00/26/image_30012025_00_26_26_10351.jpg
/home/pi/Desktop/images/30012025/00/26/image_30012025_00_26_36_10479.jpg
/home/pi/Desktop/images/30012025/00/26/image_30012025_00_26_45_9341.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332802541","1332802492","1332802276","1332802261","1332802398","1332802302"],"photo_ids_order":["1332802261","1332802276","1332802302","1332802398","1332802492","1332802541"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/039f897ed866f4dd2c2077d6cf0d8165.jpg","text":"TemporaryFile(/tmp/multipartBody8564695910721413300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193525810,"filename":"image_30012025_00_26_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/30/cdbcc798a20533c7dd0456cf59d11bd8.jpg","text":"TemporaryFile(/tmp/multipartBody6087583909920491064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193525810,"filename":"image_30012025_00_26_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/30/de3e3781810f6c14ebad1d63786c7900.jpg","text":"TemporaryFile(/tmp/multipartBody2400006846042557068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193525810,"filename":"image_30012025_00_26_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/30/fa71d84be86b7da9636e11017a0f46c3.jpg","text":"TemporaryFile(/tmp/multipartBody5954733618666826002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193525810,"filename":"image_30012025_00_25_55_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/30/5c11253adaff3e9a09a0cb623139abe3.jpg","text":"TemporaryFile(/tmp/multipartBody6894757756883984037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193525810,"filename":"image_30012025_00_26_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/30/fcb1ee4a79a3835d987ccbf17c29722b.jpg","text":"TemporaryFile(/tmp/multipartBody7533155034459369331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193525810,"filename":"image_30012025_00_26_15_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332802302","file1":"1332802276","file0":"1332802261","file4":"1332802492","file5":"1332802541","file3":"1332802398"},"map_files_photo_id_array":[{"photo_id":"1332802541","filename":"file5"},{"photo_id":"1332802302","filename":"file2"},{"photo_id":"1332802492","filename":"file4"},{"photo_id":"1332802276","filename":"file1"},{"photo_id":"1332802261","filename":"file0"},{"photo_id":"1332802398","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332802541":["hashtag1","hashtag2"]},{"1332802492":["hashtag1","hashtag2"]},{"1332802276":["hashtag1","hashtag2"]},{"1332802261":["hashtag1","hashtag2"]},{"1332802398":["hashtag1","hashtag2"]},{"1332802302":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332802541, 1332802492, 1332802276, 1332802261, 1332802398, 1332802302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.24133038520813 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:32:03.677018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/26/image_30012025_00_26_56_10352.jpg', '/home/pi/Desktop/images/30012025/00/26/image_30012025_00_27_05_9441.jpg', '/home/pi/Desktop/images/30012025/00/27/image_30012025_00_27_15_10349.jpg', '/home/pi/Desktop/images/30012025/00/27/image_30012025_00_27_26_10347.jpg', '/home/pi/Desktop/images/30012025/00/27/image_30012025_00_27_35_9452.jpg', '/home/pi/Desktop/images/30012025/00/27/image_30012025_00_27_46_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/26/image_30012025_00_26_56_10352.jpg
/home/pi/Desktop/images/30012025/00/26/image_30012025_00_27_05_9441.jpg
/home/pi/Desktop/images/30012025/00/27/image_30012025_00_27_15_10349.jpg
/home/pi/Desktop/images/30012025/00/27/image_30012025_00_27_26_10347.jpg
/home/pi/Desktop/images/30012025/00/27/image_30012025_00_27_35_9452.jpg
/home/pi/Desktop/images/30012025/00/27/image_30012025_00_27_46_10340.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332802978","1332802864","1332803206","1332803093","1332802758","1332802635"],"photo_ids_order":["1332802635","1332802758","1332802864","1332802978","1332803093","1332803206"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a3003d118c627e042431c033f1e29018.jpg","text":"TemporaryFile(/tmp/multipartBody24209622270962039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193584612,"filename":"image_30012025_00_27_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/30/69a6b6500e66417253fa99857d9730c1.jpg","text":"TemporaryFile(/tmp/multipartBody6363736037679867685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193584612,"filename":"image_30012025_00_27_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/30/a95437a39e64d38a239e65d17ed3c9cb.jpg","text":"TemporaryFile(/tmp/multipartBody4359052802213354185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193584612,"filename":"image_30012025_00_27_46_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3065f91bdd899224c8165056e738b205.jpg","text":"TemporaryFile(/tmp/multipartBody8043491238552051061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193584612,"filename":"image_30012025_00_27_35_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/73609a7c4a016eb5d588d14665e9f027.jpg","text":"TemporaryFile(/tmp/multipartBody3209924291935315291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193584612,"filename":"image_30012025_00_27_05_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/30/f49a7dc7053ae4cb3e08760945029085.jpg","text":"TemporaryFile(/tmp/multipartBody7814709585509541998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193584612,"filename":"image_30012025_00_26_56_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332802864","file1":"1332802758","file0":"1332802635","file4":"1332803093","file5":"1332803206","file3":"1332802978"},"map_files_photo_id_array":[{"photo_id":"1332803206","filename":"file5"},{"photo_id":"1332802864","filename":"file2"},{"photo_id":"1332803093","filename":"file4"},{"photo_id":"1332802758","filename":"file1"},{"photo_id":"1332802635","filename":"file0"},{"photo_id":"1332802978","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332802978":["hashtag1","hashtag2"]},{"1332802864":["hashtag1","hashtag2"]},{"1332803206":["hashtag1","hashtag2"]},{"1332803093":["hashtag1","hashtag2"]},{"1332802758":["hashtag1","hashtag2"]},{"1332802635":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332802978, 1332802864, 1332803206, 1332803093, 1332802758, 1332802635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.09665822982788 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:33:03.995483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/27/image_30012025_00_27_56_10454.jpg', '/home/pi/Desktop/images/30012025/00/27/image_30012025_00_28_05_9351.jpg', '/home/pi/Desktop/images/30012025/00/28/image_30012025_00_28_16_10331.jpg', '/home/pi/Desktop/images/30012025/00/28/image_30012025_00_28_25_9387.jpg', '/home/pi/Desktop/images/30012025/00/28/image_30012025_00_28_36_10447.jpg', '/home/pi/Desktop/images/30012025/00/28/image_30012025_00_28_46_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/27/image_30012025_00_27_56_10454.jpg
/home/pi/Desktop/images/30012025/00/27/image_30012025_00_28_05_9351.jpg
/home/pi/Desktop/images/30012025/00/28/image_30012025_00_28_16_10331.jpg
/home/pi/Desktop/images/30012025/00/28/image_30012025_00_28_25_9387.jpg
/home/pi/Desktop/images/30012025/00/28/image_30012025_00_28_36_10447.jpg
/home/pi/Desktop/images/30012025/00/28/image_30012025_00_28_46_10431.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332803299","1332803303","1332803295","1332803532","1332803363","1332803450"],"photo_ids_order":["1332803295","1332803299","1332803303","1332803363","1332803450","1332803532"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7a61ef702998949efd9b1b31b82e8245.jpg","text":"TemporaryFile(/tmp/multipartBody6139391014611291141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193645022,"filename":"image_30012025_00_28_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/30/bd62171e50cc7aa7dd94b0ff0e0b06b9.jpg","text":"TemporaryFile(/tmp/multipartBody6563008034961692289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193645022,"filename":"image_30012025_00_28_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/30/69826caf732156b453e996e6a5a3743b.jpg","text":"TemporaryFile(/tmp/multipartBody5359424521170629229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193645022,"filename":"image_30012025_00_27_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/30/921270d61f1e63aa4a6d549eb09bcbfb.jpg","text":"TemporaryFile(/tmp/multipartBody2644518290046700855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193645022,"filename":"image_30012025_00_28_46_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c8cac4cb4f50288ef7370a972f3bd4df.jpg","text":"TemporaryFile(/tmp/multipartBody1895013687687836080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193645022,"filename":"image_30012025_00_28_25_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/30/aa926d8fdc4c0d3cb053a1733205734f.jpg","text":"TemporaryFile(/tmp/multipartBody1538048923632317882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193645022,"filename":"image_30012025_00_28_36_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332803303","file1":"1332803299","file0":"1332803295","file4":"1332803450","file5":"1332803532","file3":"1332803363"},"map_files_photo_id_array":[{"photo_id":"1332803532","filename":"file5"},{"photo_id":"1332803303","filename":"file2"},{"photo_id":"1332803450","filename":"file4"},{"photo_id":"1332803299","filename":"file1"},{"photo_id":"1332803295","filename":"file0"},{"photo_id":"1332803363","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332803299":["hashtag1","hashtag2"]},{"1332803303":["hashtag1","hashtag2"]},{"1332803295":["hashtag1","hashtag2"]},{"1332803532":["hashtag1","hashtag2"]},{"1332803363":["hashtag1","hashtag2"]},{"1332803450":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332803299, 1332803303, 1332803295, 1332803532, 1332803363, 1332803450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.479846715927124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:34:02.884079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/28/image_30012025_00_28_55_9360.jpg', '/home/pi/Desktop/images/30012025/00/28/image_30012025_00_29_06_10335.jpg', '/home/pi/Desktop/images/30012025/00/29/image_30012025_00_29_15_9377.jpg', '/home/pi/Desktop/images/30012025/00/29/image_30012025_00_29_25_10373.jpg', '/home/pi/Desktop/images/30012025/00/29/image_30012025_00_29_36_10414.jpg', '/home/pi/Desktop/images/30012025/00/29/image_30012025_00_29_45_9410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/28/image_30012025_00_28_55_9360.jpg
/home/pi/Desktop/images/30012025/00/28/image_30012025_00_29_06_10335.jpg
/home/pi/Desktop/images/30012025/00/29/image_30012025_00_29_15_9377.jpg
/home/pi/Desktop/images/30012025/00/29/image_30012025_00_29_25_10373.jpg
/home/pi/Desktop/images/30012025/00/29/image_30012025_00_29_36_10414.jpg
/home/pi/Desktop/images/30012025/00/29/image_30012025_00_29_45_9410.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332803618","1332803662","1332803638","1332803616","1332803627","1332803642"],"photo_ids_order":["1332803616","1332803618","1332803627","1332803638","1332803642","1332803662"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e9b8f1418b9e6edc786e2c607269ba0a.jpg","text":"TemporaryFile(/tmp/multipartBody8079923369362234197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193703816,"filename":"image_30012025_00_29_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/30/a9747e4f2f1c1809e785b02d4a2bd5b2.jpg","text":"TemporaryFile(/tmp/multipartBody8296592510831910392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193703816,"filename":"image_30012025_00_29_45_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d6b51c3fe4b77397a212c7106c2353da.jpg","text":"TemporaryFile(/tmp/multipartBody7079341606043574970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193703816,"filename":"image_30012025_00_29_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/30/fa87dfecffdd93eea7c204a188f0a4a7.jpg","text":"TemporaryFile(/tmp/multipartBody4783122846817017852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193703816,"filename":"image_30012025_00_28_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/30/6707bb6d92c5d7f903413397c1ae9195.jpg","text":"TemporaryFile(/tmp/multipartBody1749998015934703041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193703816,"filename":"image_30012025_00_29_15_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5b40aeb5cddf02cf236035739ebd6251.jpg","text":"TemporaryFile(/tmp/multipartBody1331033699610214100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193703816,"filename":"image_30012025_00_29_36_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332803627","file1":"1332803618","file0":"1332803616","file4":"1332803642","file5":"1332803662","file3":"1332803638"},"map_files_photo_id_array":[{"photo_id":"1332803662","filename":"file5"},{"photo_id":"1332803627","filename":"file2"},{"photo_id":"1332803642","filename":"file4"},{"photo_id":"1332803618","filename":"file1"},{"photo_id":"1332803616","filename":"file0"},{"photo_id":"1332803638","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332803618":["hashtag1","hashtag2"]},{"1332803662":["hashtag1","hashtag2"]},{"1332803638":["hashtag1","hashtag2"]},{"1332803616":["hashtag1","hashtag2"]},{"1332803627":["hashtag1","hashtag2"]},{"1332803642":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332803618, 1332803662, 1332803638, 1332803616, 1332803627, 1332803642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.61247801780701 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:35:04.181388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/29/image_30012025_00_29_56_10412.jpg', '/home/pi/Desktop/images/30012025/00/29/image_30012025_00_30_05_9439.jpg', '/home/pi/Desktop/images/30012025/00/30/image_30012025_00_30_16_10395.jpg', '/home/pi/Desktop/images/30012025/00/30/image_30012025_00_30_26_10449.jpg', '/home/pi/Desktop/images/30012025/00/30/image_30012025_00_30_35_9336.jpg', '/home/pi/Desktop/images/30012025/00/30/image_30012025_00_30_46_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/29/image_30012025_00_29_56_10412.jpg
/home/pi/Desktop/images/30012025/00/29/image_30012025_00_30_05_9439.jpg
/home/pi/Desktop/images/30012025/00/30/image_30012025_00_30_16_10395.jpg
/home/pi/Desktop/images/30012025/00/30/image_30012025_00_30_26_10449.jpg
/home/pi/Desktop/images/30012025/00/30/image_30012025_00_30_35_9336.jpg
/home/pi/Desktop/images/30012025/00/30/image_30012025_00_30_46_10350.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332804151","1332804270","1332803843","1332804035","1332803939","1332804283"],"photo_ids_order":["1332803843","1332803939","1332804035","1332804151","1332804270","1332804283"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/adc139e4bfd69fc644602e78e106d943.jpg","text":"TemporaryFile(/tmp/multipartBody308462835842760722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193765189,"filename":"image_30012025_00_30_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/30/871a9994be1387c639c49264cb402174.jpg","text":"TemporaryFile(/tmp/multipartBody7857528056683257710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193765189,"filename":"image_30012025_00_30_35_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2ad8969a71165f0d0f27276ff02bc6c3.jpg","text":"TemporaryFile(/tmp/multipartBody2959406643504260622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193765189,"filename":"image_30012025_00_29_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/30/b0088da5ad8b830ce961892e25ff7bae.jpg","text":"TemporaryFile(/tmp/multipartBody3840521471069170088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193765189,"filename":"image_30012025_00_30_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/30/bb51a0f8d8b80b9379057c1920fbcefa.jpg","text":"TemporaryFile(/tmp/multipartBody7230473195915181046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193765189,"filename":"image_30012025_00_30_05_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/30/58f5857397ae7b505f4292085a3b4d9e.jpg","text":"TemporaryFile(/tmp/multipartBody2447505086295225853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193765189,"filename":"image_30012025_00_30_46_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332804035","file1":"1332803939","file0":"1332803843","file4":"1332804270","file5":"1332804283","file3":"1332804151"},"map_files_photo_id_array":[{"photo_id":"1332804283","filename":"file5"},{"photo_id":"1332804035","filename":"file2"},{"photo_id":"1332804270","filename":"file4"},{"photo_id":"1332803939","filename":"file1"},{"photo_id":"1332803843","filename":"file0"},{"photo_id":"1332804151","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332804151":["hashtag1","hashtag2"]},{"1332804270":["hashtag1","hashtag2"]},{"1332803843":["hashtag1","hashtag2"]},{"1332804035":["hashtag1","hashtag2"]},{"1332803939":["hashtag1","hashtag2"]},{"1332804283":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332804151, 1332804270, 1332803843, 1332804035, 1332803939, 1332804283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46612548828125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:36:02.760624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/30/image_30012025_00_30_56_10414.jpg', '/home/pi/Desktop/images/30012025/00/30/image_30012025_00_31_05_9321.jpg', '/home/pi/Desktop/images/30012025/00/31/image_30012025_00_31_16_10363.jpg', '/home/pi/Desktop/images/30012025/00/31/image_30012025_00_31_25_9339.jpg', '/home/pi/Desktop/images/30012025/00/31/image_30012025_00_31_35_10380.jpg', '/home/pi/Desktop/images/30012025/00/31/image_30012025_00_31_46_10412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/30/image_30012025_00_30_56_10414.jpg
/home/pi/Desktop/images/30012025/00/30/image_30012025_00_31_05_9321.jpg
/home/pi/Desktop/images/30012025/00/31/image_30012025_00_31_16_10363.jpg
/home/pi/Desktop/images/30012025/00/31/image_30012025_00_31_25_9339.jpg
/home/pi/Desktop/images/30012025/00/31/image_30012025_00_31_35_10380.jpg
/home/pi/Desktop/images/30012025/00/31/image_30012025_00_31_46_10412.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332804490","1332804546","1332804497","1332804347","1332804434","1332804323"],"photo_ids_order":["1332804323","1332804347","1332804434","1332804490","1332804497","1332804546"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3b8e5ac39603d149f4ac6342416c3999.jpg","text":"TemporaryFile(/tmp/multipartBody4529834700743585510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193823977,"filename":"image_30012025_00_31_25_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/59e61c29ca6c8163cb7e7274111e2015.jpg","text":"TemporaryFile(/tmp/multipartBody3985384574935867489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193823977,"filename":"image_30012025_00_31_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/30/c8d1fdf51fd31303511a7306faf86802.jpg","text":"TemporaryFile(/tmp/multipartBody3542808777183234855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193823977,"filename":"image_30012025_00_31_35_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c133952d5a722d665b71cbad8c375dcc.jpg","text":"TemporaryFile(/tmp/multipartBody83079983855589387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193823977,"filename":"image_30012025_00_31_05_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/30/893ceb2d739d0fd644c3e2774cb1a78b.jpg","text":"TemporaryFile(/tmp/multipartBody6934911177140688735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193823977,"filename":"image_30012025_00_31_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/30/ab9bd4cd641dbb82a68291e9a7902d18.jpg","text":"TemporaryFile(/tmp/multipartBody6832682608304727227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193823977,"filename":"image_30012025_00_30_56_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332804434","file1":"1332804347","file0":"1332804323","file4":"1332804497","file5":"1332804546","file3":"1332804490"},"map_files_photo_id_array":[{"photo_id":"1332804546","filename":"file5"},{"photo_id":"1332804434","filename":"file2"},{"photo_id":"1332804497","filename":"file4"},{"photo_id":"1332804347","filename":"file1"},{"photo_id":"1332804323","filename":"file0"},{"photo_id":"1332804490","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332804490":["hashtag1","hashtag2"]},{"1332804546":["hashtag1","hashtag2"]},{"1332804497":["hashtag1","hashtag2"]},{"1332804347":["hashtag1","hashtag2"]},{"1332804434":["hashtag1","hashtag2"]},{"1332804323":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332804490, 1332804546, 1332804497, 1332804347, 1332804434, 1332804323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.569443464279175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:37:04.453290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/31/image_30012025_00_31_55_9353.jpg', '/home/pi/Desktop/images/30012025/00/31/image_30012025_00_32_06_10404.jpg', '/home/pi/Desktop/images/30012025/00/32/image_30012025_00_32_15_9638.jpg', '/home/pi/Desktop/images/30012025/00/32/image_30012025_00_32_26_10348.jpg', '/home/pi/Desktop/images/30012025/00/32/image_30012025_00_32_36_10438.jpg', '/home/pi/Desktop/images/30012025/00/32/image_30012025_00_32_45_9404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/31/image_30012025_00_31_55_9353.jpg
/home/pi/Desktop/images/30012025/00/31/image_30012025_00_32_06_10404.jpg
/home/pi/Desktop/images/30012025/00/32/image_30012025_00_32_15_9638.jpg
/home/pi/Desktop/images/30012025/00/32/image_30012025_00_32_26_10348.jpg
/home/pi/Desktop/images/30012025/00/32/image_30012025_00_32_36_10438.jpg
/home/pi/Desktop/images/30012025/00/32/image_30012025_00_32_45_9404.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332804652","1332804633","1332804615","1332804630","1332804647","1332804611"],"photo_ids_order":["1332804611","1332804615","1332804630","1332804633","1332804647","1332804652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5fff80b14be903cf3af25a0f010f1581.jpg","text":"TemporaryFile(/tmp/multipartBody8338788417393672991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193885472,"filename":"image_30012025_00_32_45_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/30/f974a0e4c32a897927f3d023fd5f52d5.jpg","text":"TemporaryFile(/tmp/multipartBody378197996047690451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193885472,"filename":"image_30012025_00_32_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/30/785662de4cba70cd5f2368f40a0147c8.jpg","text":"TemporaryFile(/tmp/multipartBody8487790697605266646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193885472,"filename":"image_30012025_00_32_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/30/0e9c03927ed11afc5f4a605334d4758b.jpg","text":"TemporaryFile(/tmp/multipartBody5768229385426022600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193885472,"filename":"image_30012025_00_32_15_9638.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5e806def278fb6968b874d45be91a371.jpg","text":"TemporaryFile(/tmp/multipartBody6963007164935313880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193885472,"filename":"image_30012025_00_32_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/30/077e4924b98c3a5e35af0dfb69279d31.jpg","text":"TemporaryFile(/tmp/multipartBody1441172980454859510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193885472,"filename":"image_30012025_00_31_55_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332804630","file1":"1332804615","file0":"1332804611","file4":"1332804647","file5":"1332804652","file3":"1332804633"},"map_files_photo_id_array":[{"photo_id":"1332804652","filename":"file5"},{"photo_id":"1332804630","filename":"file2"},{"photo_id":"1332804647","filename":"file4"},{"photo_id":"1332804615","filename":"file1"},{"photo_id":"1332804611","filename":"file0"},{"photo_id":"1332804633","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332804652":["hashtag1","hashtag2"]},{"1332804633":["hashtag1","hashtag2"]},{"1332804615":["hashtag1","hashtag2"]},{"1332804630":["hashtag1","hashtag2"]},{"1332804647":["hashtag1","hashtag2"]},{"1332804611":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332804652, 1332804633, 1332804615, 1332804630, 1332804647, 1332804611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.928771018981934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:38:03.110079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/32/image_30012025_00_32_56_10477.jpg', '/home/pi/Desktop/images/30012025/00/33/image_30012025_00_33_25_9433.jpg', '/home/pi/Desktop/images/30012025/00/33/image_30012025_00_33_46_10496.jpg', '/home/pi/Desktop/images/30012025/00/33/image_30012025_00_33_55_9367.jpg', '/home/pi/Desktop/images/30012025/00/33/image_30012025_00_34_06_10400.jpg', '/home/pi/Desktop/images/30012025/00/34/image_30012025_00_34_15_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/32/image_30012025_00_32_56_10477.jpg
/home/pi/Desktop/images/30012025/00/33/image_30012025_00_33_25_9433.jpg
/home/pi/Desktop/images/30012025/00/33/image_30012025_00_33_46_10496.jpg
/home/pi/Desktop/images/30012025/00/33/image_30012025_00_33_55_9367.jpg
/home/pi/Desktop/images/30012025/00/33/image_30012025_00_34_06_10400.jpg
/home/pi/Desktop/images/30012025/00/34/image_30012025_00_34_15_9335.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332804676","1332804680","1332804671","1332804685","1332804688","1332804667"],"photo_ids_order":["1332804667","1332804671","1332804676","1332804680","1332804685","1332804688"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a5d5f39b76e872ac84390d5da7a4534d.jpg","text":"TemporaryFile(/tmp/multipartBody3525567580400002087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193944053,"filename":"image_30012025_00_33_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/30/4874a1960d8af1e27a96c4ae9c263751.jpg","text":"TemporaryFile(/tmp/multipartBody3190236631086987270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193944053,"filename":"image_30012025_00_33_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/30/5282b43842b880817adb632a12080fd9.jpg","text":"TemporaryFile(/tmp/multipartBody8545320392915264331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193944053,"filename":"image_30012025_00_33_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/30/d96f6eac104097991b5a9d54018b8710.jpg","text":"TemporaryFile(/tmp/multipartBody534803071475970509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193944053,"filename":"image_30012025_00_34_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/30/39ee0b82c9ca558561997a500560ae10.jpg","text":"TemporaryFile(/tmp/multipartBody7149214351554386358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193944053,"filename":"image_30012025_00_34_15_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/910d10d78eb34e0ba2c583c0c81750d6.jpg","text":"TemporaryFile(/tmp/multipartBody6670311124177314541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738193944053,"filename":"image_30012025_00_32_56_10477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332804676","file1":"1332804671","file0":"1332804667","file4":"1332804685","file5":"1332804688","file3":"1332804680"},"map_files_photo_id_array":[{"photo_id":"1332804688","filename":"file5"},{"photo_id":"1332804676","filename":"file2"},{"photo_id":"1332804685","filename":"file4"},{"photo_id":"1332804671","filename":"file1"},{"photo_id":"1332804667","filename":"file0"},{"photo_id":"1332804680","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332804676":["hashtag1","hashtag2"]},{"1332804680":["hashtag1","hashtag2"]},{"1332804671":["hashtag1","hashtag2"]},{"1332804685":["hashtag1","hashtag2"]},{"1332804688":["hashtag1","hashtag2"]},{"1332804667":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332804676, 1332804680, 1332804671, 1332804685, 1332804688, 1332804667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.09906482696533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:39:03.379515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/34/image_30012025_00_34_26_10339.jpg', '/home/pi/Desktop/images/30012025/00/34/image_30012025_00_34_36_10348.jpg', '/home/pi/Desktop/images/30012025/00/34/image_30012025_00_34_45_9386.jpg', '/home/pi/Desktop/images/30012025/00/34/image_30012025_00_34_56_10386.jpg', '/home/pi/Desktop/images/30012025/00/34/image_30012025_00_35_06_10416.jpg', '/home/pi/Desktop/images/30012025/00/35/image_30012025_00_35_26_10428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/34/image_30012025_00_34_26_10339.jpg
/home/pi/Desktop/images/30012025/00/34/image_30012025_00_34_36_10348.jpg
/home/pi/Desktop/images/30012025/00/34/image_30012025_00_34_45_9386.jpg
/home/pi/Desktop/images/30012025/00/34/image_30012025_00_34_56_10386.jpg
/home/pi/Desktop/images/30012025/00/34/image_30012025_00_35_06_10416.jpg
/home/pi/Desktop/images/30012025/00/35/image_30012025_00_35_26_10428.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332804742","1332804736","1332804730","1332804789","1332804714","1332804725"],"photo_ids_order":["1332804714","1332804725","1332804730","1332804736","1332804742","1332804789"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c9377a620b63d96e62e376e224d3ba76.jpg","text":"TemporaryFile(/tmp/multipartBody8032215098422681359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194004487,"filename":"image_30012025_00_35_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/30/22f7cd2a9e0379dbc5a6369a89f89828.jpg","text":"TemporaryFile(/tmp/multipartBody7355721522981636363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194004487,"filename":"image_30012025_00_34_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/30/0d8468e5b7239c51e49343fff0e2abc4.jpg","text":"TemporaryFile(/tmp/multipartBody6414916170766493144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194004487,"filename":"image_30012025_00_34_45_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c6b7e9715dd1327328260e3d2b7721d2.jpg","text":"TemporaryFile(/tmp/multipartBody5489114821885796440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194004487,"filename":"image_30012025_00_35_26_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/15a3adedb8079496fa64a9badaed9147.jpg","text":"TemporaryFile(/tmp/multipartBody3950185751551360435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194004487,"filename":"image_30012025_00_34_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/30/735a6dbdcf074d49b1383e4f143878e3.jpg","text":"TemporaryFile(/tmp/multipartBody6834823731914797018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194004487,"filename":"image_30012025_00_34_36_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332804730","file1":"1332804725","file0":"1332804714","file4":"1332804742","file5":"1332804789","file3":"1332804736"},"map_files_photo_id_array":[{"photo_id":"1332804789","filename":"file5"},{"photo_id":"1332804730","filename":"file2"},{"photo_id":"1332804742","filename":"file4"},{"photo_id":"1332804725","filename":"file1"},{"photo_id":"1332804714","filename":"file0"},{"photo_id":"1332804736","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332804742":["hashtag1","hashtag2"]},{"1332804736":["hashtag1","hashtag2"]},{"1332804730":["hashtag1","hashtag2"]},{"1332804789":["hashtag1","hashtag2"]},{"1332804714":["hashtag1","hashtag2"]},{"1332804725":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332804742, 1332804736, 1332804730, 1332804789, 1332804714, 1332804725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.695932149887085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:40:03.435895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/35/image_30012025_00_35_35_9360.jpg', '/home/pi/Desktop/images/30012025/00/35/image_30012025_00_35_46_10356.jpg', '/home/pi/Desktop/images/30012025/00/35/image_30012025_00_35_56_10415.jpg', '/home/pi/Desktop/images/30012025/00/35/image_30012025_00_36_05_9333.jpg', '/home/pi/Desktop/images/30012025/00/36/image_30012025_00_36_16_10332.jpg', '/home/pi/Desktop/images/30012025/00/36/image_30012025_00_36_25_9458.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/35/image_30012025_00_35_35_9360.jpg
/home/pi/Desktop/images/30012025/00/35/image_30012025_00_35_46_10356.jpg
/home/pi/Desktop/images/30012025/00/35/image_30012025_00_35_56_10415.jpg
/home/pi/Desktop/images/30012025/00/35/image_30012025_00_36_05_9333.jpg
/home/pi/Desktop/images/30012025/00/36/image_30012025_00_36_16_10332.jpg
/home/pi/Desktop/images/30012025/00/36/image_30012025_00_36_25_9458.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332804817","1332804870","1332804839","1332804824","1332804812","1332804809"],"photo_ids_order":["1332804809","1332804812","1332804817","1332804824","1332804839","1332804870"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b80b980c5a3fc1ca1fccec72061c594b.jpg","text":"TemporaryFile(/tmp/multipartBody7789908649595601259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194066238,"filename":"image_30012025_00_35_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/30/f47476cc777ed9f7e3d9120bec4dc70c.jpg","text":"TemporaryFile(/tmp/multipartBody4729201177041943046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194066238,"filename":"image_30012025_00_36_25_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0a6851759adaef01a1d58e39eac21ac6.jpg","text":"TemporaryFile(/tmp/multipartBody530045781885529283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194066238,"filename":"image_30012025_00_36_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/30/64917f1aef270324a39c20ddeb7b78c4.jpg","text":"TemporaryFile(/tmp/multipartBody8314921034629142600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194066238,"filename":"image_30012025_00_36_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/30/c5370b3efb443c11a2abf6878eaa3ea3.jpg","text":"TemporaryFile(/tmp/multipartBody4378186321427858349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194066238,"filename":"image_30012025_00_35_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/30/119d3e2181b2894e4fb57d0ff7708770.jpg","text":"TemporaryFile(/tmp/multipartBody6858725542219273025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194066238,"filename":"image_30012025_00_35_35_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332804817","file1":"1332804812","file0":"1332804809","file4":"1332804839","file5":"1332804870","file3":"1332804824"},"map_files_photo_id_array":[{"photo_id":"1332804870","filename":"file5"},{"photo_id":"1332804817","filename":"file2"},{"photo_id":"1332804839","filename":"file4"},{"photo_id":"1332804812","filename":"file1"},{"photo_id":"1332804809","filename":"file0"},{"photo_id":"1332804824","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332804817":["hashtag1","hashtag2"]},{"1332804870":["hashtag1","hashtag2"]},{"1332804839":["hashtag1","hashtag2"]},{"1332804824":["hashtag1","hashtag2"]},{"1332804812":["hashtag1","hashtag2"]},{"1332804809":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332804817, 1332804870, 1332804839, 1332804824, 1332804812, 1332804809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.65191054344177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:41:04.047101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/36/image_30012025_00_36_36_10421.jpg', '/home/pi/Desktop/images/30012025/00/36/image_30012025_00_36_46_10341.jpg', '/home/pi/Desktop/images/30012025/00/36/image_30012025_00_36_55_9357.jpg', '/home/pi/Desktop/images/30012025/00/36/image_30012025_00_37_06_10333.jpg', '/home/pi/Desktop/images/30012025/00/37/image_30012025_00_37_15_9516.jpg', '/home/pi/Desktop/images/30012025/00/37/image_30012025_00_37_25_10387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/36/image_30012025_00_36_36_10421.jpg
/home/pi/Desktop/images/30012025/00/36/image_30012025_00_36_46_10341.jpg
/home/pi/Desktop/images/30012025/00/36/image_30012025_00_36_55_9357.jpg
/home/pi/Desktop/images/30012025/00/36/image_30012025_00_37_06_10333.jpg
/home/pi/Desktop/images/30012025/00/37/image_30012025_00_37_15_9516.jpg
/home/pi/Desktop/images/30012025/00/37/image_30012025_00_37_25_10387.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6973690986633301 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:42:03.718178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/36/image_30012025_00_36_36_10421.jpg', '/home/pi/Desktop/images/30012025/00/36/image_30012025_00_36_46_10341.jpg', '/home/pi/Desktop/images/30012025/00/36/image_30012025_00_36_55_9357.jpg', '/home/pi/Desktop/images/30012025/00/36/image_30012025_00_37_06_10333.jpg', '/home/pi/Desktop/images/30012025/00/37/image_30012025_00_37_15_9516.jpg', '/home/pi/Desktop/images/30012025/00/37/image_30012025_00_37_25_10387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/36/image_30012025_00_36_36_10421.jpg
/home/pi/Desktop/images/30012025/00/36/image_30012025_00_36_46_10341.jpg
/home/pi/Desktop/images/30012025/00/36/image_30012025_00_36_55_9357.jpg
/home/pi/Desktop/images/30012025/00/36/image_30012025_00_37_06_10333.jpg
/home/pi/Desktop/images/30012025/00/37/image_30012025_00_37_15_9516.jpg
/home/pi/Desktop/images/30012025/00/37/image_30012025_00_37_25_10387.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332805407","1332805331","1332805412","1332805334","1332805417","1332805339"],"photo_ids_order":["1332805331","1332805334","1332805339","1332805407","1332805412","1332805417"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/70c5455b1f5b340ce0f9683ae48805a7.jpg","text":"TemporaryFile(/tmp/multipartBody2530813921687023827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194184672,"filename":"image_30012025_00_37_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/30/1df1bea60774f1a618e5af76257726fa.jpg","text":"TemporaryFile(/tmp/multipartBody5542556442827303585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194184672,"filename":"image_30012025_00_36_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/30/f246651cced014517d83888e7951057f.jpg","text":"TemporaryFile(/tmp/multipartBody5985791342876553832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194184672,"filename":"image_30012025_00_37_15_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/30/87e1be04fbff6cc98cb238dd5fe9caee.jpg","text":"TemporaryFile(/tmp/multipartBody5157087290629644483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194184672,"filename":"image_30012025_00_36_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/30/a1a807680025d167f01fbaa241de7509.jpg","text":"TemporaryFile(/tmp/multipartBody1900028769657287394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194184672,"filename":"image_30012025_00_37_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/30/5db034d0dea34fcac005c665b9582a26.jpg","text":"TemporaryFile(/tmp/multipartBody8314476073858736958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194184672,"filename":"image_30012025_00_36_55_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332805339","file1":"1332805334","file0":"1332805331","file4":"1332805412","file5":"1332805417","file3":"1332805407"},"map_files_photo_id_array":[{"photo_id":"1332805417","filename":"file5"},{"photo_id":"1332805339","filename":"file2"},{"photo_id":"1332805412","filename":"file4"},{"photo_id":"1332805334","filename":"file1"},{"photo_id":"1332805331","filename":"file0"},{"photo_id":"1332805407","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332805407":["hashtag1","hashtag2"]},{"1332805331":["hashtag1","hashtag2"]},{"1332805412":["hashtag1","hashtag2"]},{"1332805334":["hashtag1","hashtag2"]},{"1332805417":["hashtag1","hashtag2"]},{"1332805339":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332805407, 1332805331, 1332805412, 1332805334, 1332805417, 1332805339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.849812030792236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:43:04.426226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/37/image_30012025_00_37_45_9328.jpg', '/home/pi/Desktop/images/30012025/00/37/image_30012025_00_37_56_10337.jpg', '/home/pi/Desktop/images/30012025/00/37/image_30012025_00_38_06_10449.jpg', '/home/pi/Desktop/images/30012025/00/38/image_30012025_00_38_15_9321.jpg', '/home/pi/Desktop/images/30012025/00/38/image_30012025_00_38_26_10424.jpg', '/home/pi/Desktop/images/30012025/00/38/image_30012025_00_38_35_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/37/image_30012025_00_37_45_9328.jpg
/home/pi/Desktop/images/30012025/00/37/image_30012025_00_37_56_10337.jpg
/home/pi/Desktop/images/30012025/00/37/image_30012025_00_38_06_10449.jpg
/home/pi/Desktop/images/30012025/00/38/image_30012025_00_38_15_9321.jpg
/home/pi/Desktop/images/30012025/00/38/image_30012025_00_38_26_10424.jpg
/home/pi/Desktop/images/30012025/00/38/image_30012025_00_38_35_9358.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332805548","1332805527","1332805582","1332805678","1332805564","1332805534"],"photo_ids_order":["1332805527","1332805534","1332805548","1332805564","1332805582","1332805678"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/840cfd24ad8b4bf2e3fd7c9383075e6c.jpg","text":"TemporaryFile(/tmp/multipartBody7248961807551859989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194245501,"filename":"image_30012025_00_38_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/30/891ee73685c95de080a9928b3e77dc7e.jpg","text":"TemporaryFile(/tmp/multipartBody976516341916414482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194245501,"filename":"image_30012025_00_37_45_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c5d8450267263071544da9e849287902.jpg","text":"TemporaryFile(/tmp/multipartBody6976291373025070181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194245501,"filename":"image_30012025_00_38_26_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d9012aefae841623663d52685bda31e8.jpg","text":"TemporaryFile(/tmp/multipartBody3765754130835304329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194245501,"filename":"image_30012025_00_38_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/30/ce3e7a2b3d117edba028c64fff43e4b4.jpg","text":"TemporaryFile(/tmp/multipartBody3789501317372566074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194245501,"filename":"image_30012025_00_38_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/30/be049faadb1b9a410ffa47609ad3c41c.jpg","text":"TemporaryFile(/tmp/multipartBody431386725828319898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194245501,"filename":"image_30012025_00_37_56_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332805548","file1":"1332805534","file0":"1332805527","file4":"1332805582","file5":"1332805678","file3":"1332805564"},"map_files_photo_id_array":[{"photo_id":"1332805678","filename":"file5"},{"photo_id":"1332805548","filename":"file2"},{"photo_id":"1332805582","filename":"file4"},{"photo_id":"1332805534","filename":"file1"},{"photo_id":"1332805527","filename":"file0"},{"photo_id":"1332805564","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332805548":["hashtag1","hashtag2"]},{"1332805527":["hashtag1","hashtag2"]},{"1332805582":["hashtag1","hashtag2"]},{"1332805678":["hashtag1","hashtag2"]},{"1332805564":["hashtag1","hashtag2"]},{"1332805534":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332805548, 1332805527, 1332805582, 1332805678, 1332805564, 1332805534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.28805112838745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:44:02.902077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/38/image_30012025_00_38_46_10474.jpg', '/home/pi/Desktop/images/30012025/00/38/image_30012025_00_38_56_10416.jpg', '/home/pi/Desktop/images/30012025/00/38/image_30012025_00_39_05_9332.jpg', '/home/pi/Desktop/images/30012025/00/39/image_30012025_00_39_16_10405.jpg', '/home/pi/Desktop/images/30012025/00/39/image_30012025_00_39_36_10384.jpg', '/home/pi/Desktop/images/30012025/00/39/image_30012025_00_39_46_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/38/image_30012025_00_38_46_10474.jpg
/home/pi/Desktop/images/30012025/00/38/image_30012025_00_38_56_10416.jpg
/home/pi/Desktop/images/30012025/00/38/image_30012025_00_39_05_9332.jpg
/home/pi/Desktop/images/30012025/00/39/image_30012025_00_39_16_10405.jpg
/home/pi/Desktop/images/30012025/00/39/image_30012025_00_39_36_10384.jpg
/home/pi/Desktop/images/30012025/00/39/image_30012025_00_39_46_10338.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5500442981719971 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:45:04.068869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/38/image_30012025_00_38_46_10474.jpg', '/home/pi/Desktop/images/30012025/00/38/image_30012025_00_38_56_10416.jpg', '/home/pi/Desktop/images/30012025/00/38/image_30012025_00_39_05_9332.jpg', '/home/pi/Desktop/images/30012025/00/39/image_30012025_00_39_16_10405.jpg', '/home/pi/Desktop/images/30012025/00/39/image_30012025_00_39_36_10384.jpg', '/home/pi/Desktop/images/30012025/00/39/image_30012025_00_39_46_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/38/image_30012025_00_38_46_10474.jpg
/home/pi/Desktop/images/30012025/00/38/image_30012025_00_38_56_10416.jpg
/home/pi/Desktop/images/30012025/00/38/image_30012025_00_39_05_9332.jpg
/home/pi/Desktop/images/30012025/00/39/image_30012025_00_39_16_10405.jpg
/home/pi/Desktop/images/30012025/00/39/image_30012025_00_39_36_10384.jpg
/home/pi/Desktop/images/30012025/00/39/image_30012025_00_39_46_10338.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332805797","1332805812","1332805800","1332805793","1332805789","1332805807"],"photo_ids_order":["1332805789","1332805793","1332805797","1332805800","1332805807","1332805812"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9d8f6be4d309f6fa4db81629a772e1c4.jpg","text":"TemporaryFile(/tmp/multipartBody858326145959767830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194365113,"filename":"image_30012025_00_39_05_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/97937afcc91f43fac64727808b852528.jpg","text":"TemporaryFile(/tmp/multipartBody5454777401887073120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194365113,"filename":"image_30012025_00_39_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/30/b3a5e00d644453bd6a1f41640761770f.jpg","text":"TemporaryFile(/tmp/multipartBody4948838335710458410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194365113,"filename":"image_30012025_00_39_16_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/30/04925529cce371401249c20d59844033.jpg","text":"TemporaryFile(/tmp/multipartBody4297498990692628515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194365113,"filename":"image_30012025_00_38_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/30/7b0ec0b5376d7feb01f8efd624893206.jpg","text":"TemporaryFile(/tmp/multipartBody3543648498811191137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194365113,"filename":"image_30012025_00_38_46_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/30/81bf71c07d7df9fa4c7eb49acc0ddc6a.jpg","text":"TemporaryFile(/tmp/multipartBody825959938797922667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194365113,"filename":"image_30012025_00_39_36_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332805797","file1":"1332805793","file0":"1332805789","file4":"1332805807","file5":"1332805812","file3":"1332805800"},"map_files_photo_id_array":[{"photo_id":"1332805812","filename":"file5"},{"photo_id":"1332805797","filename":"file2"},{"photo_id":"1332805807","filename":"file4"},{"photo_id":"1332805793","filename":"file1"},{"photo_id":"1332805789","filename":"file0"},{"photo_id":"1332805800","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332805797":["hashtag1","hashtag2"]},{"1332805812":["hashtag1","hashtag2"]},{"1332805800":["hashtag1","hashtag2"]},{"1332805793":["hashtag1","hashtag2"]},{"1332805789":["hashtag1","hashtag2"]},{"1332805807":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332805797, 1332805812, 1332805800, 1332805793, 1332805789, 1332805807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.93370175361633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:46:03.245890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/39/image_30012025_00_40_06_10388.jpg', '/home/pi/Desktop/images/30012025/00/40/image_30012025_00_40_16_10397.jpg', '/home/pi/Desktop/images/30012025/00/40/image_30012025_00_40_25_9343.jpg', '/home/pi/Desktop/images/30012025/00/40/image_30012025_00_40_36_10364.jpg', '/home/pi/Desktop/images/30012025/00/41/image_30012025_00_41_15_9344.jpg', '/home/pi/Desktop/images/30012025/00/41/image_30012025_00_41_26_10421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/39/image_30012025_00_40_06_10388.jpg
/home/pi/Desktop/images/30012025/00/40/image_30012025_00_40_16_10397.jpg
/home/pi/Desktop/images/30012025/00/40/image_30012025_00_40_25_9343.jpg
/home/pi/Desktop/images/30012025/00/40/image_30012025_00_40_36_10364.jpg
/home/pi/Desktop/images/30012025/00/41/image_30012025_00_41_15_9344.jpg
/home/pi/Desktop/images/30012025/00/41/image_30012025_00_41_26_10421.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332806463","1332806195","1332806234","1332806398","1332806170","1332806080"],"photo_ids_order":["1332806080","1332806170","1332806195","1332806234","1332806398","1332806463"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0902bcef8706f670fedd5c0e64597ce5.jpg","text":"TemporaryFile(/tmp/multipartBody3792242154040976883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194424187,"filename":"image_30012025_00_41_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/30/bfa13ffcaaddd42e26b36624206682fb.jpg","text":"TemporaryFile(/tmp/multipartBody1385148432706367048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194424187,"filename":"image_30012025_00_40_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/30/ca927bb38d171699893efcb1f910a98d.jpg","text":"TemporaryFile(/tmp/multipartBody5238321959038311148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194424187,"filename":"image_30012025_00_40_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/30/4b1d34326538a47761a24a36e79d8dc7.jpg","text":"TemporaryFile(/tmp/multipartBody7241847905012349304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194424187,"filename":"image_30012025_00_41_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/30/2f4ab3e570b4f85aacb4e289bc889db0.jpg","text":"TemporaryFile(/tmp/multipartBody4722306401066560016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194424187,"filename":"image_30012025_00_40_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/30/ccd2df58cf630d6823ca5d6c4f30ca98.jpg","text":"TemporaryFile(/tmp/multipartBody1678264622414873596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194424187,"filename":"image_30012025_00_40_06_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332806195","file1":"1332806170","file0":"1332806080","file4":"1332806398","file5":"1332806463","file3":"1332806234"},"map_files_photo_id_array":[{"photo_id":"1332806463","filename":"file5"},{"photo_id":"1332806195","filename":"file2"},{"photo_id":"1332806398","filename":"file4"},{"photo_id":"1332806170","filename":"file1"},{"photo_id":"1332806080","filename":"file0"},{"photo_id":"1332806234","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332806463":["hashtag1","hashtag2"]},{"1332806195":["hashtag1","hashtag2"]},{"1332806234":["hashtag1","hashtag2"]},{"1332806398":["hashtag1","hashtag2"]},{"1332806170":["hashtag1","hashtag2"]},{"1332806080":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332806463, 1332806195, 1332806234, 1332806398, 1332806170, 1332806080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.906243085861206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:47:03.565187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/41/image_30012025_00_41_46_10356.jpg', '/home/pi/Desktop/images/30012025/00/41/image_30012025_00_41_56_10456.jpg', '/home/pi/Desktop/images/30012025/00/41/image_30012025_00_42_05_9335.jpg', '/home/pi/Desktop/images/30012025/00/42/image_30012025_00_42_16_10337.jpg', '/home/pi/Desktop/images/30012025/00/42/image_30012025_00_42_25_9433.jpg', '/home/pi/Desktop/images/30012025/00/42/image_30012025_00_42_36_10435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/41/image_30012025_00_41_46_10356.jpg
/home/pi/Desktop/images/30012025/00/41/image_30012025_00_41_56_10456.jpg
/home/pi/Desktop/images/30012025/00/41/image_30012025_00_42_05_9335.jpg
/home/pi/Desktop/images/30012025/00/42/image_30012025_00_42_16_10337.jpg
/home/pi/Desktop/images/30012025/00/42/image_30012025_00_42_25_9433.jpg
/home/pi/Desktop/images/30012025/00/42/image_30012025_00_42_36_10435.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332806769","1332806739","1332806806","1332806796","1332806734","1332806800"],"photo_ids_order":["1332806734","1332806739","1332806769","1332806796","1332806800","1332806806"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/27809b08829fb0dc9d7b64855a66dc2e.jpg","text":"TemporaryFile(/tmp/multipartBody3405462865643423670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194485573,"filename":"image_30012025_00_42_05_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/18b79805354b5629e9f37f7d6a30f0d7.jpg","text":"TemporaryFile(/tmp/multipartBody5580282578867255880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194485573,"filename":"image_30012025_00_41_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/30/217e36282e6c0d0eca898bef1ffafc17.jpg","text":"TemporaryFile(/tmp/multipartBody1113175093435806968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194485573,"filename":"image_30012025_00_42_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/30/0195e282fc7669069c1802cbf97dcfc4.jpg","text":"TemporaryFile(/tmp/multipartBody9062801584581555573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194485573,"filename":"image_30012025_00_42_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/30/053218df4c82cb64ef471308182e939b.jpg","text":"TemporaryFile(/tmp/multipartBody3969999568547438940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194485573,"filename":"image_30012025_00_41_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/30/c21d20cab8fb2120337d3cd28c1cbc5d.jpg","text":"TemporaryFile(/tmp/multipartBody1338124606314726122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194485573,"filename":"image_30012025_00_42_25_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332806769","file1":"1332806739","file0":"1332806734","file4":"1332806800","file5":"1332806806","file3":"1332806796"},"map_files_photo_id_array":[{"photo_id":"1332806806","filename":"file5"},{"photo_id":"1332806769","filename":"file2"},{"photo_id":"1332806800","filename":"file4"},{"photo_id":"1332806739","filename":"file1"},{"photo_id":"1332806734","filename":"file0"},{"photo_id":"1332806796","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332806769":["hashtag1","hashtag2"]},{"1332806739":["hashtag1","hashtag2"]},{"1332806806":["hashtag1","hashtag2"]},{"1332806796":["hashtag1","hashtag2"]},{"1332806734":["hashtag1","hashtag2"]},{"1332806800":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332806769, 1332806739, 1332806806, 1332806796, 1332806734, 1332806800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.98754405975342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:48:03.270333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/42/image_30012025_00_42_46_10358.jpg', '/home/pi/Desktop/images/30012025/00/42/image_30012025_00_42_55_9345.jpg', '/home/pi/Desktop/images/30012025/00/42/image_30012025_00_43_06_10335.jpg', '/home/pi/Desktop/images/30012025/00/43/image_30012025_00_43_16_10433.jpg', '/home/pi/Desktop/images/30012025/00/43/image_30012025_00_43_25_9365.jpg', '/home/pi/Desktop/images/30012025/00/43/image_30012025_00_43_36_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/42/image_30012025_00_42_46_10358.jpg
/home/pi/Desktop/images/30012025/00/42/image_30012025_00_42_55_9345.jpg
/home/pi/Desktop/images/30012025/00/42/image_30012025_00_43_06_10335.jpg
/home/pi/Desktop/images/30012025/00/43/image_30012025_00_43_16_10433.jpg
/home/pi/Desktop/images/30012025/00/43/image_30012025_00_43_25_9365.jpg
/home/pi/Desktop/images/30012025/00/43/image_30012025_00_43_36_10362.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332806832","1332806835","1332806829","1332806844","1332806838","1332806848"],"photo_ids_order":["1332806829","1332806832","1332806835","1332806838","1332806844","1332806848"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0c65a3a7db48c7ef510fa8887900bcdf.jpg","text":"TemporaryFile(/tmp/multipartBody3478413580723350147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194544207,"filename":"image_30012025_00_42_55_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/245057110703d2534b4a6fb0fcfaf7d1.jpg","text":"TemporaryFile(/tmp/multipartBody1146518574142505352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194544207,"filename":"image_30012025_00_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/30/184df9df09e9d7280831f032bc203b5b.jpg","text":"TemporaryFile(/tmp/multipartBody5346185049987990493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194544207,"filename":"image_30012025_00_42_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/30/0fb2f37ae891a70be8ab2b04e8d99af7.jpg","text":"TemporaryFile(/tmp/multipartBody1112433837592147185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194544207,"filename":"image_30012025_00_43_25_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/05de912710cfa9f4fb6d5a4b8ddc71af.jpg","text":"TemporaryFile(/tmp/multipartBody5682498315782146803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194544207,"filename":"image_30012025_00_43_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/30/69146c739cf979d17b5ec5cb55af48f6.jpg","text":"TemporaryFile(/tmp/multipartBody6763879983603295669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194544207,"filename":"image_30012025_00_43_36_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332806835","file1":"1332806832","file0":"1332806829","file4":"1332806844","file5":"1332806848","file3":"1332806838"},"map_files_photo_id_array":[{"photo_id":"1332806848","filename":"file5"},{"photo_id":"1332806835","filename":"file2"},{"photo_id":"1332806844","filename":"file4"},{"photo_id":"1332806832","filename":"file1"},{"photo_id":"1332806829","filename":"file0"},{"photo_id":"1332806838","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332806832":["hashtag1","hashtag2"]},{"1332806835":["hashtag1","hashtag2"]},{"1332806829":["hashtag1","hashtag2"]},{"1332806844":["hashtag1","hashtag2"]},{"1332806838":["hashtag1","hashtag2"]},{"1332806848":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332806832, 1332806835, 1332806829, 1332806844, 1332806838, 1332806848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.62064743041992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:49:03.722566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/43/image_30012025_00_43_45_9402.jpg', '/home/pi/Desktop/images/30012025/00/43/image_30012025_00_43_55_10334.jpg', '/home/pi/Desktop/images/30012025/00/43/image_30012025_00_44_06_10341.jpg', '/home/pi/Desktop/images/30012025/00/44/image_30012025_00_44_15_9394.jpg', '/home/pi/Desktop/images/30012025/00/44/image_30012025_00_44_26_10380.jpg', '/home/pi/Desktop/images/30012025/00/44/image_30012025_00_44_36_10414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/43/image_30012025_00_43_45_9402.jpg
/home/pi/Desktop/images/30012025/00/43/image_30012025_00_43_55_10334.jpg
/home/pi/Desktop/images/30012025/00/43/image_30012025_00_44_06_10341.jpg
/home/pi/Desktop/images/30012025/00/44/image_30012025_00_44_15_9394.jpg
/home/pi/Desktop/images/30012025/00/44/image_30012025_00_44_26_10380.jpg
/home/pi/Desktop/images/30012025/00/44/image_30012025_00_44_36_10414.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332806940","1332806897","1332806942","1332806936","1332806921","1332806932"],"photo_ids_order":["1332806897","1332806921","1332806932","1332806936","1332806940","1332806942"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d7ef2039042b9a9c4c9f81c102ddb1ae.jpg","text":"TemporaryFile(/tmp/multipartBody2284113262624195982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194604753,"filename":"image_30012025_00_44_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/30/12d8d93d0432fbbd8694a3ebfc97289c.jpg","text":"TemporaryFile(/tmp/multipartBody4216477262464594386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194604753,"filename":"image_30012025_00_43_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/30/cece91df5985ef879010aad7dc1308ff.jpg","text":"TemporaryFile(/tmp/multipartBody6705176188265491714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194604753,"filename":"image_30012025_00_44_36_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9df42776728ba6852790acb9d6d6a386.jpg","text":"TemporaryFile(/tmp/multipartBody7968527581658915783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194604753,"filename":"image_30012025_00_44_15_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/50cd52f88ad12964f6db1d802242c891.jpg","text":"TemporaryFile(/tmp/multipartBody7412801790933322089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194604753,"filename":"image_30012025_00_43_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/30/830918cdbdb4a2aab7fb9b70c69f07e1.jpg","text":"TemporaryFile(/tmp/multipartBody8707970889202599064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194604753,"filename":"image_30012025_00_44_06_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332806932","file1":"1332806921","file0":"1332806897","file4":"1332806940","file5":"1332806942","file3":"1332806936"},"map_files_photo_id_array":[{"photo_id":"1332806942","filename":"file5"},{"photo_id":"1332806932","filename":"file2"},{"photo_id":"1332806940","filename":"file4"},{"photo_id":"1332806921","filename":"file1"},{"photo_id":"1332806897","filename":"file0"},{"photo_id":"1332806936","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332806940":["hashtag1","hashtag2"]},{"1332806897":["hashtag1","hashtag2"]},{"1332806942":["hashtag1","hashtag2"]},{"1332806936":["hashtag1","hashtag2"]},{"1332806921":["hashtag1","hashtag2"]},{"1332806932":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332806940, 1332806897, 1332806942, 1332806936, 1332806921, 1332806932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.322232246398926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:50:03.389937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/44/image_30012025_00_44_45_9410.jpg', '/home/pi/Desktop/images/30012025/00/44/image_30012025_00_44_56_10336.jpg', '/home/pi/Desktop/images/30012025/00/44/image_30012025_00_45_05_9342.jpg', '/home/pi/Desktop/images/30012025/00/45/image_30012025_00_45_15_10360.jpg', '/home/pi/Desktop/images/30012025/00/45/image_30012025_00_45_26_10418.jpg', '/home/pi/Desktop/images/30012025/00/45/image_30012025_00_45_35_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/44/image_30012025_00_44_45_9410.jpg
/home/pi/Desktop/images/30012025/00/44/image_30012025_00_44_56_10336.jpg
/home/pi/Desktop/images/30012025/00/44/image_30012025_00_45_05_9342.jpg
/home/pi/Desktop/images/30012025/00/45/image_30012025_00_45_15_10360.jpg
/home/pi/Desktop/images/30012025/00/45/image_30012025_00_45_26_10418.jpg
/home/pi/Desktop/images/30012025/00/45/image_30012025_00_45_35_9353.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332807015","1332807018","1332807041","1332807020","1332807034","1332807019"],"photo_ids_order":["1332807015","1332807018","1332807019","1332807020","1332807034","1332807041"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9058850c01646427b9a529ef7fe3d28b.jpg","text":"TemporaryFile(/tmp/multipartBody2504009425853920442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194664333,"filename":"image_30012025_00_44_45_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ef8d4db606e96fc8d2961dc03941c357.jpg","text":"TemporaryFile(/tmp/multipartBody3381803135291841857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194664333,"filename":"image_30012025_00_44_56_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ceb329c5a76ae097c1ab58aa358853d6.jpg","text":"TemporaryFile(/tmp/multipartBody1831493693040532035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194664333,"filename":"image_30012025_00_45_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/30/288d037b2d35c9f05e2244477433d2d3.jpg","text":"TemporaryFile(/tmp/multipartBody2881245934408875500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194664333,"filename":"image_30012025_00_45_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/25b8ad3f51295b41e4a0244d928606fb.jpg","text":"TemporaryFile(/tmp/multipartBody8291510641186835355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194664333,"filename":"image_30012025_00_45_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/30/8f415c5c794fcd72c2ce2e3d9aad1017.jpg","text":"TemporaryFile(/tmp/multipartBody5561969929519167650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194664333,"filename":"image_30012025_00_45_05_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332807019","file1":"1332807018","file0":"1332807015","file4":"1332807034","file5":"1332807041","file3":"1332807020"},"map_files_photo_id_array":[{"photo_id":"1332807041","filename":"file5"},{"photo_id":"1332807019","filename":"file2"},{"photo_id":"1332807034","filename":"file4"},{"photo_id":"1332807018","filename":"file1"},{"photo_id":"1332807015","filename":"file0"},{"photo_id":"1332807020","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332807015":["hashtag1","hashtag2"]},{"1332807018":["hashtag1","hashtag2"]},{"1332807041":["hashtag1","hashtag2"]},{"1332807020":["hashtag1","hashtag2"]},{"1332807034":["hashtag1","hashtag2"]},{"1332807019":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332807015, 1332807018, 1332807041, 1332807020, 1332807034, 1332807019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.98359394073486 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:51:04.129250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/45/image_30012025_00_45_46_10362.jpg', '/home/pi/Desktop/images/30012025/00/45/image_30012025_00_45_56_10495.jpg', '/home/pi/Desktop/images/30012025/00/45/image_30012025_00_46_06_9411.jpg', '/home/pi/Desktop/images/30012025/00/46/image_30012025_00_46_16_10325.jpg', '/home/pi/Desktop/images/30012025/00/46/image_30012025_00_46_25_9402.jpg', '/home/pi/Desktop/images/30012025/00/46/image_30012025_00_46_36_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/45/image_30012025_00_45_46_10362.jpg
/home/pi/Desktop/images/30012025/00/45/image_30012025_00_45_56_10495.jpg
/home/pi/Desktop/images/30012025/00/45/image_30012025_00_46_06_9411.jpg
/home/pi/Desktop/images/30012025/00/46/image_30012025_00_46_16_10325.jpg
/home/pi/Desktop/images/30012025/00/46/image_30012025_00_46_25_9402.jpg
/home/pi/Desktop/images/30012025/00/46/image_30012025_00_46_36_10359.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332807105","1332807116","1332807101","1332807121","1332807109","1332807093"],"photo_ids_order":["1332807093","1332807101","1332807105","1332807109","1332807116","1332807121"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d27cf6d94c80f5d7520900dabff834af.jpg","text":"TemporaryFile(/tmp/multipartBody7235035057010214114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194725187,"filename":"image_30012025_00_46_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/30/9853aa73f134a8fed157dfc4330f2214.jpg","text":"TemporaryFile(/tmp/multipartBody8429426624916657178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194725187,"filename":"image_30012025_00_46_25_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/30/ec26e3ade88420f07385aed90d47ec4c.jpg","text":"TemporaryFile(/tmp/multipartBody7929232949546978423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194725187,"filename":"image_30012025_00_45_56_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/30/43769cbd49e07e3670828e1111d3d298.jpg","text":"TemporaryFile(/tmp/multipartBody748670628560849465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194725187,"filename":"image_30012025_00_46_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/30/084ce97234a4f520543181909340d612.jpg","text":"TemporaryFile(/tmp/multipartBody6341003499515423261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194725187,"filename":"image_30012025_00_46_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/30/20a21926f91334d59a7fa4ea83ce17da.jpg","text":"TemporaryFile(/tmp/multipartBody5325297128770381013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194725187,"filename":"image_30012025_00_45_46_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332807105","file1":"1332807101","file0":"1332807093","file4":"1332807116","file5":"1332807121","file3":"1332807109"},"map_files_photo_id_array":[{"photo_id":"1332807121","filename":"file5"},{"photo_id":"1332807105","filename":"file2"},{"photo_id":"1332807116","filename":"file4"},{"photo_id":"1332807101","filename":"file1"},{"photo_id":"1332807093","filename":"file0"},{"photo_id":"1332807109","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332807105":["hashtag1","hashtag2"]},{"1332807116":["hashtag1","hashtag2"]},{"1332807101":["hashtag1","hashtag2"]},{"1332807121":["hashtag1","hashtag2"]},{"1332807109":["hashtag1","hashtag2"]},{"1332807093":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332807105, 1332807116, 1332807101, 1332807121, 1332807109, 1332807093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.743295192718506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:52:03.697274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/46/image_30012025_00_46_46_10430.jpg', '/home/pi/Desktop/images/30012025/00/46/image_30012025_00_46_55_9399.jpg', '/home/pi/Desktop/images/30012025/00/46/image_30012025_00_47_06_10337.jpg', '/home/pi/Desktop/images/30012025/00/47/image_30012025_00_47_15_9406.jpg', '/home/pi/Desktop/images/30012025/00/47/image_30012025_00_47_26_10346.jpg', '/home/pi/Desktop/images/30012025/00/47/image_30012025_00_47_36_10449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/46/image_30012025_00_46_46_10430.jpg
/home/pi/Desktop/images/30012025/00/46/image_30012025_00_46_55_9399.jpg
/home/pi/Desktop/images/30012025/00/46/image_30012025_00_47_06_10337.jpg
/home/pi/Desktop/images/30012025/00/47/image_30012025_00_47_15_9406.jpg
/home/pi/Desktop/images/30012025/00/47/image_30012025_00_47_26_10346.jpg
/home/pi/Desktop/images/30012025/00/47/image_30012025_00_47_36_10449.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332807411","1332807416","1332807577","1332807538","1332807514","1332807421"],"photo_ids_order":["1332807411","1332807416","1332807421","1332807514","1332807538","1332807577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b87e7f8ffb85e6330a6efc4c7d133716.jpg","text":"TemporaryFile(/tmp/multipartBody7441373218154331818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194784646,"filename":"image_30012025_00_46_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/30/46d85149fae66f32380d36a68f172b5a.jpg","text":"TemporaryFile(/tmp/multipartBody1903017861423367031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194784646,"filename":"image_30012025_00_46_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/30/cea5a2e199d3c13c85e6068cb758b786.jpg","text":"TemporaryFile(/tmp/multipartBody6464407971256668850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194784646,"filename":"image_30012025_00_47_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/30/9020705c48c286dbc5a7bcab12e5bc5f.jpg","text":"TemporaryFile(/tmp/multipartBody8403785644179526364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194784646,"filename":"image_30012025_00_47_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/30/1f58188179ed1075548fea233c0ed98e.jpg","text":"TemporaryFile(/tmp/multipartBody8088546147450587678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194784646,"filename":"image_30012025_00_47_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/30/bde670e302c6fdcc77d3dc9b9f39be04.jpg","text":"TemporaryFile(/tmp/multipartBody3570114836370984584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194784646,"filename":"image_30012025_00_47_06_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332807421","file1":"1332807416","file0":"1332807411","file4":"1332807538","file5":"1332807577","file3":"1332807514"},"map_files_photo_id_array":[{"photo_id":"1332807577","filename":"file5"},{"photo_id":"1332807421","filename":"file2"},{"photo_id":"1332807538","filename":"file4"},{"photo_id":"1332807416","filename":"file1"},{"photo_id":"1332807411","filename":"file0"},{"photo_id":"1332807514","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332807411":["hashtag1","hashtag2"]},{"1332807416":["hashtag1","hashtag2"]},{"1332807577":["hashtag1","hashtag2"]},{"1332807538":["hashtag1","hashtag2"]},{"1332807514":["hashtag1","hashtag2"]},{"1332807421":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332807411, 1332807416, 1332807577, 1332807538, 1332807514, 1332807421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17450141906738 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:53:04.468339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/47/image_30012025_00_47_45_9348.jpg', '/home/pi/Desktop/images/30012025/00/47/image_30012025_00_47_56_10363.jpg', '/home/pi/Desktop/images/30012025/00/47/image_30012025_00_48_05_9427.jpg', '/home/pi/Desktop/images/30012025/00/48/image_30012025_00_48_15_10336.jpg', '/home/pi/Desktop/images/30012025/00/48/image_30012025_00_48_26_10638.jpg', '/home/pi/Desktop/images/30012025/00/48/image_30012025_00_48_35_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/47/image_30012025_00_47_45_9348.jpg
/home/pi/Desktop/images/30012025/00/47/image_30012025_00_47_56_10363.jpg
/home/pi/Desktop/images/30012025/00/47/image_30012025_00_48_05_9427.jpg
/home/pi/Desktop/images/30012025/00/48/image_30012025_00_48_15_10336.jpg
/home/pi/Desktop/images/30012025/00/48/image_30012025_00_48_26_10638.jpg
/home/pi/Desktop/images/30012025/00/48/image_30012025_00_48_35_9336.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332807723","1332807697","1332807694","1332807730","1332807718","1332807696"],"photo_ids_order":["1332807694","1332807696","1332807697","1332807718","1332807723","1332807730"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8115e67772d0cc1e5cf565f0a438d697.jpg","text":"TemporaryFile(/tmp/multipartBody7836737351269368521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194845549,"filename":"image_30012025_00_48_26_10638.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dbd2cf21350fb956b500bba0903d8b90.jpg","text":"TemporaryFile(/tmp/multipartBody6432889187509484166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194845549,"filename":"image_30012025_00_48_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/30/3b157c8f3ab3a331985330d23c84897f.jpg","text":"TemporaryFile(/tmp/multipartBody379694431895546189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194845549,"filename":"image_30012025_00_47_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/30/4236653a89deda5c53922bbb86fe81d5.jpg","text":"TemporaryFile(/tmp/multipartBody17347930894169121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194845549,"filename":"image_30012025_00_48_35_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f7a4f1838dd562adca60721ff001b442.jpg","text":"TemporaryFile(/tmp/multipartBody5139212153398491998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194845549,"filename":"image_30012025_00_48_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/30/cac896d73fed05997cf4b57b1f42d0eb.jpg","text":"TemporaryFile(/tmp/multipartBody3932859584377477508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194845549,"filename":"image_30012025_00_47_56_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332807697","file1":"1332807696","file0":"1332807694","file4":"1332807723","file5":"1332807730","file3":"1332807718"},"map_files_photo_id_array":[{"photo_id":"1332807730","filename":"file5"},{"photo_id":"1332807697","filename":"file2"},{"photo_id":"1332807723","filename":"file4"},{"photo_id":"1332807696","filename":"file1"},{"photo_id":"1332807694","filename":"file0"},{"photo_id":"1332807718","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332807723":["hashtag1","hashtag2"]},{"1332807697":["hashtag1","hashtag2"]},{"1332807694":["hashtag1","hashtag2"]},{"1332807730":["hashtag1","hashtag2"]},{"1332807718":["hashtag1","hashtag2"]},{"1332807696":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332807723, 1332807697, 1332807694, 1332807730, 1332807718, 1332807696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40345621109009 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:54:03.111337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/48/image_30012025_00_48_46_10394.jpg', '/home/pi/Desktop/images/30012025/00/48/image_30012025_00_48_55_9336.jpg', '/home/pi/Desktop/images/30012025/00/48/image_30012025_00_49_05_10349.jpg', '/home/pi/Desktop/images/30012025/00/49/image_30012025_00_49_16_10331.jpg', '/home/pi/Desktop/images/30012025/00/49/image_30012025_00_49_36_10423.jpg', '/home/pi/Desktop/images/30012025/00/49/image_30012025_00_49_46_10410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/48/image_30012025_00_48_46_10394.jpg
/home/pi/Desktop/images/30012025/00/48/image_30012025_00_48_55_9336.jpg
/home/pi/Desktop/images/30012025/00/48/image_30012025_00_49_05_10349.jpg
/home/pi/Desktop/images/30012025/00/49/image_30012025_00_49_16_10331.jpg
/home/pi/Desktop/images/30012025/00/49/image_30012025_00_49_36_10423.jpg
/home/pi/Desktop/images/30012025/00/49/image_30012025_00_49_46_10410.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332807801","1332807788","1332807803","1332807796","1332807799","1332807792"],"photo_ids_order":["1332807788","1332807792","1332807796","1332807799","1332807801","1332807803"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4534cd87d3f528be8de31ce79e0531fa.jpg","text":"TemporaryFile(/tmp/multipartBody34714692884023761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194904055,"filename":"image_30012025_00_49_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/30/fd1bed3ed3484d8499af065f9d613785.jpg","text":"TemporaryFile(/tmp/multipartBody1847140847831012219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194904055,"filename":"image_30012025_00_48_46_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d8659aef60ba388775908e9a23198317.jpg","text":"TemporaryFile(/tmp/multipartBody5343880097817828311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194904055,"filename":"image_30012025_00_49_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/30/f5ddd89c90fc30e6eaa3790abf1cf51e.jpg","text":"TemporaryFile(/tmp/multipartBody2677322594067380277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194904055,"filename":"image_30012025_00_49_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/30/223baa9682d87025f58ff47e4eec85e0.jpg","text":"TemporaryFile(/tmp/multipartBody1066474042468382576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194904055,"filename":"image_30012025_00_49_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/30/ef38fc5435d12fb014ebcbfb557ae929.jpg","text":"TemporaryFile(/tmp/multipartBody5187870441074667024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194904055,"filename":"image_30012025_00_48_55_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332807796","file1":"1332807792","file0":"1332807788","file4":"1332807801","file5":"1332807803","file3":"1332807799"},"map_files_photo_id_array":[{"photo_id":"1332807803","filename":"file5"},{"photo_id":"1332807796","filename":"file2"},{"photo_id":"1332807801","filename":"file4"},{"photo_id":"1332807792","filename":"file1"},{"photo_id":"1332807788","filename":"file0"},{"photo_id":"1332807799","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332807801":["hashtag1","hashtag2"]},{"1332807788":["hashtag1","hashtag2"]},{"1332807803":["hashtag1","hashtag2"]},{"1332807796":["hashtag1","hashtag2"]},{"1332807799":["hashtag1","hashtag2"]},{"1332807792":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332807801, 1332807788, 1332807803, 1332807796, 1332807799, 1332807792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.0774621963501 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:55:03.588376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/49/image_30012025_00_49_55_9380.jpg', '/home/pi/Desktop/images/30012025/00/49/image_30012025_00_50_06_10348.jpg', '/home/pi/Desktop/images/30012025/00/50/image_30012025_00_50_15_9348.jpg', '/home/pi/Desktop/images/30012025/00/50/image_30012025_00_50_45_9386.jpg', '/home/pi/Desktop/images/30012025/00/50/image_30012025_00_51_06_10445.jpg', '/home/pi/Desktop/images/30012025/00/51/image_30012025_00_51_15_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/49/image_30012025_00_49_55_9380.jpg
/home/pi/Desktop/images/30012025/00/49/image_30012025_00_50_06_10348.jpg
/home/pi/Desktop/images/30012025/00/50/image_30012025_00_50_15_9348.jpg
/home/pi/Desktop/images/30012025/00/50/image_30012025_00_50_45_9386.jpg
/home/pi/Desktop/images/30012025/00/50/image_30012025_00_51_06_10445.jpg
/home/pi/Desktop/images/30012025/00/51/image_30012025_00_51_15_9361.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332807851","1332807880","1332807883","1332807877","1332807835","1332807861"],"photo_ids_order":["1332807835","1332807851","1332807861","1332807877","1332807880","1332807883"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/14752b1e81a0ab444c3ca2a8c19f1fe5.jpg","text":"TemporaryFile(/tmp/multipartBody8854334811747073107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194964685,"filename":"image_30012025_00_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/30/3762e36ee781c4617e318973cae580b1.jpg","text":"TemporaryFile(/tmp/multipartBody3579809962448789026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194964685,"filename":"image_30012025_00_51_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/30/89f65e1c530ef3150933a5169702bca6.jpg","text":"TemporaryFile(/tmp/multipartBody6686668434423561808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194964685,"filename":"image_30012025_00_51_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/30/fc242f9e62df8d5693f691eccc90eafc.jpg","text":"TemporaryFile(/tmp/multipartBody7813645270780555656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194964685,"filename":"image_30012025_00_50_45_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9260e0aa16121a1f52fb832eabae0546.jpg","text":"TemporaryFile(/tmp/multipartBody6927231018853117383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194964685,"filename":"image_30012025_00_49_55_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/30/a6e3a6b69f639cb7cf89a24d0a6d700c.jpg","text":"TemporaryFile(/tmp/multipartBody4837903186258357078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738194964685,"filename":"image_30012025_00_50_15_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332807861","file1":"1332807851","file0":"1332807835","file4":"1332807880","file5":"1332807883","file3":"1332807877"},"map_files_photo_id_array":[{"photo_id":"1332807883","filename":"file5"},{"photo_id":"1332807861","filename":"file2"},{"photo_id":"1332807880","filename":"file4"},{"photo_id":"1332807851","filename":"file1"},{"photo_id":"1332807835","filename":"file0"},{"photo_id":"1332807877","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332807851":["hashtag1","hashtag2"]},{"1332807880":["hashtag1","hashtag2"]},{"1332807883":["hashtag1","hashtag2"]},{"1332807877":["hashtag1","hashtag2"]},{"1332807835":["hashtag1","hashtag2"]},{"1332807861":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332807851, 1332807880, 1332807883, 1332807877, 1332807835, 1332807861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.79103398323059 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:56:03.380178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/51/image_30012025_00_51_35_9428.jpg', '/home/pi/Desktop/images/30012025/00/51/image_30012025_00_51_55_9489.jpg', '/home/pi/Desktop/images/30012025/00/52/image_30012025_00_52_25_9360.jpg', '/home/pi/Desktop/images/30012025/00/52/image_30012025_00_52_36_10407.jpg', '/home/pi/Desktop/images/30012025/00/52/image_30012025_00_52_46_10432.jpg', '/home/pi/Desktop/images/30012025/00/52/image_30012025_00_52_55_9367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/51/image_30012025_00_51_35_9428.jpg
/home/pi/Desktop/images/30012025/00/51/image_30012025_00_51_55_9489.jpg
/home/pi/Desktop/images/30012025/00/52/image_30012025_00_52_25_9360.jpg
/home/pi/Desktop/images/30012025/00/52/image_30012025_00_52_36_10407.jpg
/home/pi/Desktop/images/30012025/00/52/image_30012025_00_52_46_10432.jpg
/home/pi/Desktop/images/30012025/00/52/image_30012025_00_52_55_9367.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332808100","1332808096","1332808078","1332808082","1332808091","1332808085"],"photo_ids_order":["1332808078","1332808082","1332808085","1332808091","1332808096","1332808100"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/df7b3a8ab5540f75057f60d4b6f3c647.jpg","text":"TemporaryFile(/tmp/multipartBody1359264892960764720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195024338,"filename":"image_30012025_00_52_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/30/69f2da714fccf0684972ff09142e9472.jpg","text":"TemporaryFile(/tmp/multipartBody8719267178018207279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195024338,"filename":"image_30012025_00_52_46_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/30/3417e19cf4f28db3b217c069eb3f1243.jpg","text":"TemporaryFile(/tmp/multipartBody6903500122806812516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195024338,"filename":"image_30012025_00_51_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/30/9e0ea2255d3f0ae81be8d67b8eaa28f1.jpg","text":"TemporaryFile(/tmp/multipartBody6020932534965600247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195024338,"filename":"image_30012025_00_51_55_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/30/35aa5f6bd1f64bb93f10ff11724cf21e.jpg","text":"TemporaryFile(/tmp/multipartBody9155732885563400262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195024338,"filename":"image_30012025_00_52_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/30/746b9ca750f6d31d6a1050268f188c1e.jpg","text":"TemporaryFile(/tmp/multipartBody5020992884518415536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195024338,"filename":"image_30012025_00_52_25_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332808085","file1":"1332808082","file0":"1332808078","file4":"1332808096","file5":"1332808100","file3":"1332808091"},"map_files_photo_id_array":[{"photo_id":"1332808100","filename":"file5"},{"photo_id":"1332808085","filename":"file2"},{"photo_id":"1332808096","filename":"file4"},{"photo_id":"1332808082","filename":"file1"},{"photo_id":"1332808078","filename":"file0"},{"photo_id":"1332808091","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332808100":["hashtag1","hashtag2"]},{"1332808096":["hashtag1","hashtag2"]},{"1332808078":["hashtag1","hashtag2"]},{"1332808082":["hashtag1","hashtag2"]},{"1332808091":["hashtag1","hashtag2"]},{"1332808085":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332808100, 1332808096, 1332808078, 1332808082, 1332808091, 1332808085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76219463348389 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:57:04.014160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/52/image_30012025_00_53_06_10425.jpg', '/home/pi/Desktop/images/30012025/00/53/image_30012025_00_53_15_9405.jpg', '/home/pi/Desktop/images/30012025/00/53/image_30012025_00_53_26_10352.jpg', '/home/pi/Desktop/images/30012025/00/53/image_30012025_00_53_36_10447.jpg', '/home/pi/Desktop/images/30012025/00/53/image_30012025_00_53_45_9362.jpg', '/home/pi/Desktop/images/30012025/00/53/image_30012025_00_53_56_10400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/52/image_30012025_00_53_06_10425.jpg
/home/pi/Desktop/images/30012025/00/53/image_30012025_00_53_15_9405.jpg
/home/pi/Desktop/images/30012025/00/53/image_30012025_00_53_26_10352.jpg
/home/pi/Desktop/images/30012025/00/53/image_30012025_00_53_36_10447.jpg
/home/pi/Desktop/images/30012025/00/53/image_30012025_00_53_45_9362.jpg
/home/pi/Desktop/images/30012025/00/53/image_30012025_00_53_56_10400.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332808139","1332808133","1332808136","1332808150","1332808129","1332808146"],"photo_ids_order":["1332808129","1332808133","1332808136","1332808139","1332808146","1332808150"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d972aecb4cbc70b503310524fa082549.jpg","text":"TemporaryFile(/tmp/multipartBody5772806436535909613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195085073,"filename":"image_30012025_00_53_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/30/b870ddcbf4017161bc2e6dcf3b7cf947.jpg","text":"TemporaryFile(/tmp/multipartBody68310676041914391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195085073,"filename":"image_30012025_00_53_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/30/246220530031dab263a74d3eb84439c6.jpg","text":"TemporaryFile(/tmp/multipartBody6053353964231544622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195085073,"filename":"image_30012025_00_53_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/30/85da8802abd6b27743de394e35cea000.jpg","text":"TemporaryFile(/tmp/multipartBody7006689540157083649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195085073,"filename":"image_30012025_00_53_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/30/adecb3a06bab0383475932f83c311781.jpg","text":"TemporaryFile(/tmp/multipartBody238624955318681554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195085073,"filename":"image_30012025_00_53_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/30/51f16a921cbe7112369e519f3140f372.jpg","text":"TemporaryFile(/tmp/multipartBody5423763916049837038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195085073,"filename":"image_30012025_00_53_45_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332808136","file1":"1332808133","file0":"1332808129","file4":"1332808146","file5":"1332808150","file3":"1332808139"},"map_files_photo_id_array":[{"photo_id":"1332808150","filename":"file5"},{"photo_id":"1332808136","filename":"file2"},{"photo_id":"1332808146","filename":"file4"},{"photo_id":"1332808133","filename":"file1"},{"photo_id":"1332808129","filename":"file0"},{"photo_id":"1332808139","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332808139":["hashtag1","hashtag2"]},{"1332808133":["hashtag1","hashtag2"]},{"1332808136":["hashtag1","hashtag2"]},{"1332808150":["hashtag1","hashtag2"]},{"1332808129":["hashtag1","hashtag2"]},{"1332808146":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332808139, 1332808133, 1332808136, 1332808150, 1332808129, 1332808146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.12541127204895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 00:59:03.653845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/53/image_30012025_00_54_05_9346.jpg', '/home/pi/Desktop/images/30012025/00/54/image_30012025_00_54_16_10406.jpg', '/home/pi/Desktop/images/30012025/00/54/image_30012025_00_54_26_10351.jpg', '/home/pi/Desktop/images/30012025/00/54/image_30012025_00_54_46_10343.jpg', '/home/pi/Desktop/images/30012025/00/54/image_30012025_00_54_55_9524.jpg', '/home/pi/Desktop/images/30012025/00/55/image_30012025_00_55_25_9422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/53/image_30012025_00_54_05_9346.jpg
/home/pi/Desktop/images/30012025/00/54/image_30012025_00_54_16_10406.jpg
/home/pi/Desktop/images/30012025/00/54/image_30012025_00_54_26_10351.jpg
/home/pi/Desktop/images/30012025/00/54/image_30012025_00_54_46_10343.jpg
/home/pi/Desktop/images/30012025/00/54/image_30012025_00_54_55_9524.jpg
/home/pi/Desktop/images/30012025/00/55/image_30012025_00_55_25_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":["1332808267","1332808258","1332808252","1332808246","1332808272","1332808263"],"photo_ids_order":["1332808246","1332808252","1332808258","1332808263","1332808267","1332808272"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3fea718d72170091658be57e4f60f9e7.jpg","text":"TemporaryFile(/tmp/multipartBody5944745124706447264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195207434,"filename":"image_30012025_00_54_55_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/30/d04bebee6f964909b928870e46ecafe5.jpg","text":"TemporaryFile(/tmp/multipartBody6714758291715835073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195207434,"filename":"image_30012025_00_54_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/30/d11bb6d4a23a5e505a10c086bee7eb60.jpg","text":"TemporaryFile(/tmp/multipartBody8774978129511632233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195207434,"filename":"image_30012025_00_54_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/30/a2c105e2ae409fceada5f9a96125f093.jpg","text":"TemporaryFile(/tmp/multipartBody7851173433238207870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195207434,"filename":"image_30012025_00_54_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/30/c41ef3055540124ec5127759ed027d4e.jpg","text":"TemporaryFile(/tmp/multipartBody2982102390924677156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195207434,"filename":"image_30012025_00_55_25_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/30/fa5273dc1a99c2ec1c485e8acb9cea59.jpg","text":"TemporaryFile(/tmp/multipartBody1038724479127365749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195207434,"filename":"image_30012025_00_54_46_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332808258","file1":"1332808252","file0":"1332808246","file4":"1332808267","file5":"1332808272","file3":"1332808263"},"map_files_photo_id_array":[{"photo_id":"1332808272","filename":"file5"},{"photo_id":"1332808258","filename":"file2"},{"photo_id":"1332808267","filename":"file4"},{"photo_id":"1332808252","filename":"file1"},{"photo_id":"1332808246","filename":"file0"},{"photo_id":"1332808263","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332808267":["hashtag1","hashtag2"]},{"1332808258":["hashtag1","hashtag2"]},{"1332808252":["hashtag1","hashtag2"]},{"1332808246":["hashtag1","hashtag2"]},{"1332808272":["hashtag1","hashtag2"]},{"1332808263":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332808267, 1332808258, 1332808252, 1332808246, 1332808272, 1332808263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.981459856033325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 00:59:52.708763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/55/image_30012025_00_55_36_10409.jpg', '/home/pi/Desktop/images/30012025/00/55/image_30012025_00_55_46_10470.jpg', '/home/pi/Desktop/images/30012025/00/55/image_30012025_00_55_55_9418.jpg', '/home/pi/Desktop/images/30012025/00/55/image_30012025_00_56_06_10356.jpg', '/home/pi/Desktop/images/30012025/00/56/image_30012025_00_56_15_9328.jpg', '/home/pi/Desktop/images/30012025/00/56/image_30012025_00_56_26_10392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/55/image_30012025_00_55_36_10409.jpg
/home/pi/Desktop/images/30012025/00/55/image_30012025_00_55_46_10470.jpg
/home/pi/Desktop/images/30012025/00/55/image_30012025_00_55_55_9418.jpg
/home/pi/Desktop/images/30012025/00/55/image_30012025_00_56_06_10356.jpg
/home/pi/Desktop/images/30012025/00/56/image_30012025_00_56_15_9328.jpg
/home/pi/Desktop/images/30012025/00/56/image_30012025_00_56_26_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332808285","1332808303","1332808290","1332808284","1332808287","1332808295"],"photo_ids_order":["1332808284","1332808285","1332808287","1332808290","1332808295","1332808303"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/41b4e32665846c5f0fadc76a2a61ac2e.jpg","text":"TemporaryFile(/tmp/multipartBody7058514192679117228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195253648,"filename":"image_30012025_00_55_46_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/30/1846d1ffe02b9f56a87e95228ced7e17.jpg","text":"TemporaryFile(/tmp/multipartBody84709612402127808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195253648,"filename":"image_30012025_00_56_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/30/84572e047b89719cacba610a9a94f748.jpg","text":"TemporaryFile(/tmp/multipartBody8779149487307682041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195253648,"filename":"image_30012025_00_56_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/30/4b37bbd8087be1c5522f8d793c8aab06.jpg","text":"TemporaryFile(/tmp/multipartBody1930941998853112497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195253648,"filename":"image_30012025_00_55_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/30/8124e0fbb422ddb1de4dc8d515f83175.jpg","text":"TemporaryFile(/tmp/multipartBody7110912134746517614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195253648,"filename":"image_30012025_00_55_55_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/30/8f753097e18672a7369ee19da0f675ac.jpg","text":"TemporaryFile(/tmp/multipartBody819512942589324816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195253648,"filename":"image_30012025_00_56_15_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332808287","file1":"1332808285","file0":"1332808284","file4":"1332808295","file5":"1332808303","file3":"1332808290"},"map_files_photo_id_array":[{"photo_id":"1332808303","filename":"file5"},{"photo_id":"1332808287","filename":"file2"},{"photo_id":"1332808295","filename":"file4"},{"photo_id":"1332808285","filename":"file1"},{"photo_id":"1332808284","filename":"file0"},{"photo_id":"1332808290","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332808285":["hashtag1","hashtag2"]},{"1332808303":["hashtag1","hashtag2"]},{"1332808290":["hashtag1","hashtag2"]},{"1332808284":["hashtag1","hashtag2"]},{"1332808287":["hashtag1","hashtag2"]},{"1332808295":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332808285, 1332808303, 1332808290, 1332808284, 1332808287, 1332808295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.599122524261475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 01:00:42.939035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/57/image_30012025_00_57_16_10336.jpg', '/home/pi/Desktop/images/30012025/00/57/image_30012025_00_57_26_10470.jpg', '/home/pi/Desktop/images/30012025/00/57/image_30012025_00_57_55_9365.jpg', '/home/pi/Desktop/images/30012025/00/57/image_30012025_00_58_06_10421.jpg', '/home/pi/Desktop/images/30012025/00/58/image_30012025_00_58_15_9450.jpg', '/home/pi/Desktop/images/30012025/00/58/image_30012025_00_59_06_10453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/57/image_30012025_00_57_16_10336.jpg
/home/pi/Desktop/images/30012025/00/57/image_30012025_00_57_26_10470.jpg
/home/pi/Desktop/images/30012025/00/57/image_30012025_00_57_55_9365.jpg
/home/pi/Desktop/images/30012025/00/57/image_30012025_00_58_06_10421.jpg
/home/pi/Desktop/images/30012025/00/58/image_30012025_00_58_15_9450.jpg
/home/pi/Desktop/images/30012025/00/58/image_30012025_00_59_06_10453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332808520","1332808464","1332808473","1332808515","1332808509","1332808419"],"photo_ids_order":["1332808419","1332808464","1332808473","1332808509","1332808515","1332808520"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6370a2bd3ee23bf01b77fb418565ae3b.jpg","text":"TemporaryFile(/tmp/multipartBody8879442342780570628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195303855,"filename":"image_30012025_00_59_06_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b550b47273855593c039fa3a46c60812.jpg","text":"TemporaryFile(/tmp/multipartBody3123207617075332695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195303855,"filename":"image_30012025_00_57_26_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/30/c0e2b9d43eb10bf91112927cc8ec2286.jpg","text":"TemporaryFile(/tmp/multipartBody6077996108264548854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195303855,"filename":"image_30012025_00_57_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/30/2a1325e1be095914c23f508838ea6a05.jpg","text":"TemporaryFile(/tmp/multipartBody3019847404975845325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195303855,"filename":"image_30012025_00_58_15_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/30/37994ac16b694a31109cb457a05ecae1.jpg","text":"TemporaryFile(/tmp/multipartBody290176445767138961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195303855,"filename":"image_30012025_00_58_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/30/b14728ee138e37465b62018ee7af3f57.jpg","text":"TemporaryFile(/tmp/multipartBody3933746054151962912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195303855,"filename":"image_30012025_00_57_16_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332808473","file1":"1332808464","file0":"1332808419","file4":"1332808515","file5":"1332808520","file3":"1332808509"},"map_files_photo_id_array":[{"photo_id":"1332808520","filename":"file5"},{"photo_id":"1332808473","filename":"file2"},{"photo_id":"1332808515","filename":"file4"},{"photo_id":"1332808464","filename":"file1"},{"photo_id":"1332808419","filename":"file0"},{"photo_id":"1332808509","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332808520":["hashtag1","hashtag2"]},{"1332808464":["hashtag1","hashtag2"]},{"1332808473":["hashtag1","hashtag2"]},{"1332808515":["hashtag1","hashtag2"]},{"1332808509":["hashtag1","hashtag2"]},{"1332808419":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332808520, 1332808464, 1332808473, 1332808515, 1332808509, 1332808419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.59241080284119 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:01:33.183416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/00/59/image_30012025_00_59_15_9418.jpg', '/home/pi/Desktop/images/30012025/00/59/image_30012025_00_59_26_10367.jpg', '/home/pi/Desktop/images/30012025/00/59/image_30012025_00_59_35_9462.jpg', '/home/pi/Desktop/images/30012025/00/59/image_30012025_00_59_46_10635.jpg', '/home/pi/Desktop/images/30012025/00/59/image_30012025_00_59_55_9432.jpg', '/home/pi/Desktop/images/30012025/01/01/image_30012025_01_01_15_10073.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/00/59/image_30012025_00_59_15_9418.jpg
/home/pi/Desktop/images/30012025/00/59/image_30012025_00_59_26_10367.jpg
/home/pi/Desktop/images/30012025/00/59/image_30012025_00_59_35_9462.jpg
/home/pi/Desktop/images/30012025/00/59/image_30012025_00_59_46_10635.jpg
/home/pi/Desktop/images/30012025/00/59/image_30012025_00_59_55_9432.jpg
/home/pi/Desktop/images/30012025/01/01/image_30012025_01_01_15_10073.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332808552","1332808555","1332808549","1332808537","1332808542","1332808553"],"photo_ids_order":["1332808537","1332808542","1332808549","1332808552","1332808553","1332808555"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b20ed21d4bddd4f01122d6c097dffde3.jpg","text":"TemporaryFile(/tmp/multipartBody7500654025614148003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195354103,"filename":"image_30012025_00_59_46_10635.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9ed247f8307fcca1e581d02c327f5087.jpg","text":"TemporaryFile(/tmp/multipartBody7540267264565639759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195354103,"filename":"image_30012025_01_01_15_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/30/064a4a8b09ec778a1a7b32f86394bc4f.jpg","text":"TemporaryFile(/tmp/multipartBody1533940282743559466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195354103,"filename":"image_30012025_00_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/30/889ae286789b563f015fa863bb38b769.jpg","text":"TemporaryFile(/tmp/multipartBody6779969320170588034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195354103,"filename":"image_30012025_00_59_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/30/278f0bb93e6724fc023a741f429079f6.jpg","text":"TemporaryFile(/tmp/multipartBody3891701104601702105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195354103,"filename":"image_30012025_00_59_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/30/3c40f2db91b160fdf674f6506c2ae291.jpg","text":"TemporaryFile(/tmp/multipartBody3151457037195079295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195354103,"filename":"image_30012025_00_59_55_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332808549","file1":"1332808542","file0":"1332808537","file4":"1332808553","file5":"1332808555","file3":"1332808552"},"map_files_photo_id_array":[{"photo_id":"1332808555","filename":"file5"},{"photo_id":"1332808549","filename":"file2"},{"photo_id":"1332808553","filename":"file4"},{"photo_id":"1332808542","filename":"file1"},{"photo_id":"1332808537","filename":"file0"},{"photo_id":"1332808552","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332808552":["hashtag1","hashtag2"]},{"1332808555":["hashtag1","hashtag2"]},{"1332808549":["hashtag1","hashtag2"]},{"1332808537":["hashtag1","hashtag2"]},{"1332808542":["hashtag1","hashtag2"]},{"1332808553":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332808552, 1332808555, 1332808549, 1332808537, 1332808542, 1332808553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.535831928253174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:02:32.508672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/01/image_30012025_01_01_25_10438.jpg', '/home/pi/Desktop/images/30012025/01/01/image_30012025_01_01_45_9373.jpg', '/home/pi/Desktop/images/30012025/01/02/image_30012025_01_02_15_10398.jpg', '/home/pi/Desktop/images/30012025/01/02/image_30012025_01_02_25_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/01/image_30012025_01_01_25_10438.jpg
/home/pi/Desktop/images/30012025/01/01/image_30012025_01_01_45_9373.jpg
/home/pi/Desktop/images/30012025/01/02/image_30012025_01_02_15_10398.jpg
/home/pi/Desktop/images/30012025/01/02/image_30012025_01_02_25_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":["1332808954","1332808803","1332808731","1332808611"],"photo_ids_order":["1332808611","1332808731","1332808803","1332808954"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5bfd13928c09ec753cb2efdb8a542b72.jpg","text":"TemporaryFile(/tmp/multipartBody9156182240787335942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195413397,"filename":"image_30012025_01_02_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/30/9b37f44262168529c727182ca190e7f0.jpg","text":"TemporaryFile(/tmp/multipartBody6576612932976116560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195413397,"filename":"image_30012025_01_02_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/30/42ff032f6a0d1e0587bb50e0b8af6fcc.jpg","text":"TemporaryFile(/tmp/multipartBody4991691636241395768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195413397,"filename":"image_30012025_01_01_45_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/30/446725e4012496c2580679cba5c93a2c.jpg","text":"TemporaryFile(/tmp/multipartBody5811568185544049006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195413397,"filename":"image_30012025_01_01_25_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332808803","file1":"1332808731","file0":"1332808611","file3":"1332808954"},"map_files_photo_id_array":[{"photo_id":"1332808803","filename":"file2"},{"photo_id":"1332808731","filename":"file1"},{"photo_id":"1332808611","filename":"file0"},{"photo_id":"1332808954","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332808954":["hashtag1","hashtag2"]},{"1332808803":["hashtag1","hashtag2"]},{"1332808731":["hashtag1","hashtag2"]},{"1332808611":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332808954, 1332808803, 1332808731, 1332808611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.212230920791626 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-30 01:03:32.647759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/02/image_30012025_01_02_45_10370.jpg', '/home/pi/Desktop/images/30012025/01/02/image_30012025_01_03_05_9448.jpg', '/home/pi/Desktop/images/30012025/01/03/image_30012025_01_03_15_10364.jpg', '/home/pi/Desktop/images/30012025/01/03/image_30012025_01_03_25_9378.jpg', '/home/pi/Desktop/images/30012025/01/03/image_30012025_01_03_35_10461.jpg', '/home/pi/Desktop/images/30012025/01/03/image_30012025_01_03_46_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/02/image_30012025_01_02_45_10370.jpg
/home/pi/Desktop/images/30012025/01/02/image_30012025_01_03_05_9448.jpg
/home/pi/Desktop/images/30012025/01/03/image_30012025_01_03_15_10364.jpg
/home/pi/Desktop/images/30012025/01/03/image_30012025_01_03_25_9378.jpg
/home/pi/Desktop/images/30012025/01/03/image_30012025_01_03_35_10461.jpg
/home/pi/Desktop/images/30012025/01/03/image_30012025_01_03_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":["1332809791","1332809788","1332809792","1332809795","1332809774","1332809783"],"photo_ids_order":["1332809774","1332809783","1332809788","1332809791","1332809792","1332809795"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7e63a3acbc687c45a8f58d5b1da2ec6c.jpg","text":"TemporaryFile(/tmp/multipartBody5234787646769536954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195473572,"filename":"image_30012025_01_03_25_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/30/dd162215df3d6333ba57d99115446eba.jpg","text":"TemporaryFile(/tmp/multipartBody5267653959381147109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195473572,"filename":"image_30012025_01_03_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/30/dc13d2f28040ee707c02c852ef5d8fc7.jpg","text":"TemporaryFile(/tmp/multipartBody79164077389349016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195473572,"filename":"image_30012025_01_03_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/30/20b8073ede8f8ceb8a583a25c70ff2c8.jpg","text":"TemporaryFile(/tmp/multipartBody3017139890744886586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195473572,"filename":"image_30012025_01_03_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/30/4af029bc66675f881ac1edfca1938afb.jpg","text":"TemporaryFile(/tmp/multipartBody6967874012659744182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195473572,"filename":"image_30012025_01_02_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/30/58d3253c51c3afa8922206c87cf8777c.jpg","text":"TemporaryFile(/tmp/multipartBody5026346135009321690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195473572,"filename":"image_30012025_01_03_05_9448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332809788","file1":"1332809783","file0":"1332809774","file4":"1332809792","file5":"1332809795","file3":"1332809791"},"map_files_photo_id_array":[{"photo_id":"1332809795","filename":"file5"},{"photo_id":"1332809788","filename":"file2"},{"photo_id":"1332809792","filename":"file4"},{"photo_id":"1332809783","filename":"file1"},{"photo_id":"1332809774","filename":"file0"},{"photo_id":"1332809791","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332809791":["hashtag1","hashtag2"]},{"1332809788":["hashtag1","hashtag2"]},{"1332809792":["hashtag1","hashtag2"]},{"1332809795":["hashtag1","hashtag2"]},{"1332809774":["hashtag1","hashtag2"]},{"1332809783":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332809791, 1332809788, 1332809792, 1332809795, 1332809774, 1332809783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.91085863113403 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:04:32.991701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/03/image_30012025_01_03_55_9472.jpg', '/home/pi/Desktop/images/30012025/01/03/image_30012025_01_04_05_10337.jpg', '/home/pi/Desktop/images/30012025/01/04/image_30012025_01_04_15_9411.jpg', '/home/pi/Desktop/images/30012025/01/04/image_30012025_01_04_25_10391.jpg', '/home/pi/Desktop/images/30012025/01/04/image_30012025_01_04_36_10359.jpg', '/home/pi/Desktop/images/30012025/01/04/image_30012025_01_04_45_9460.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/03/image_30012025_01_03_55_9472.jpg
/home/pi/Desktop/images/30012025/01/03/image_30012025_01_04_05_10337.jpg
/home/pi/Desktop/images/30012025/01/04/image_30012025_01_04_15_9411.jpg
/home/pi/Desktop/images/30012025/01/04/image_30012025_01_04_25_10391.jpg
/home/pi/Desktop/images/30012025/01/04/image_30012025_01_04_36_10359.jpg
/home/pi/Desktop/images/30012025/01/04/image_30012025_01_04_45_9460.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5405716896057129 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 01:04:43.013182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/03/image_30012025_01_03_55_9472.jpg', '/home/pi/Desktop/images/30012025/01/03/image_30012025_01_04_05_10337.jpg', '/home/pi/Desktop/images/30012025/01/04/image_30012025_01_04_15_9411.jpg', '/home/pi/Desktop/images/30012025/01/04/image_30012025_01_04_25_10391.jpg', '/home/pi/Desktop/images/30012025/01/04/image_30012025_01_04_36_10359.jpg', '/home/pi/Desktop/images/30012025/01/04/image_30012025_01_04_45_9460.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/03/image_30012025_01_03_55_9472.jpg
/home/pi/Desktop/images/30012025/01/03/image_30012025_01_04_05_10337.jpg
/home/pi/Desktop/images/30012025/01/04/image_30012025_01_04_15_9411.jpg
/home/pi/Desktop/images/30012025/01/04/image_30012025_01_04_25_10391.jpg
/home/pi/Desktop/images/30012025/01/04/image_30012025_01_04_36_10359.jpg
/home/pi/Desktop/images/30012025/01/04/image_30012025_01_04_45_9460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332809830","1332810049","1332809856","1332809897","1332809876","1332809846"],"photo_ids_order":["1332809830","1332809846","1332809856","1332809876","1332809897","1332810049"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/de72392fdbbf44a5bb309e2d9b1c09b4.jpg","text":"TemporaryFile(/tmp/multipartBody1817207398902061100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195543940,"filename":"image_30012025_01_03_55_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/30/b4deeaecfef5383ec33eabf7fad639e7.jpg","text":"TemporaryFile(/tmp/multipartBody8247378832891054311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195543940,"filename":"image_30012025_01_04_45_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1668197c46e1a97ddadb29208ec00176.jpg","text":"TemporaryFile(/tmp/multipartBody5435377144314132887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195543940,"filename":"image_30012025_01_04_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/30/75e88b01529b704c6939c030483f4f8b.jpg","text":"TemporaryFile(/tmp/multipartBody4411021421825563638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195543940,"filename":"image_30012025_01_04_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/30/48f8486b8b933e9d16685c17fed719f7.jpg","text":"TemporaryFile(/tmp/multipartBody2198616902941173094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195543940,"filename":"image_30012025_01_04_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/30/1256f3668880cda79b253370a41aaec4.jpg","text":"TemporaryFile(/tmp/multipartBody4284597377445271039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195543940,"filename":"image_30012025_01_04_05_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332809856","file1":"1332809846","file0":"1332809830","file4":"1332809897","file5":"1332810049","file3":"1332809876"},"map_files_photo_id_array":[{"photo_id":"1332810049","filename":"file5"},{"photo_id":"1332809856","filename":"file2"},{"photo_id":"1332809897","filename":"file4"},{"photo_id":"1332809846","filename":"file1"},{"photo_id":"1332809830","filename":"file0"},{"photo_id":"1332809876","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332809830":["hashtag1","hashtag2"]},{"1332810049":["hashtag1","hashtag2"]},{"1332809856":["hashtag1","hashtag2"]},{"1332809897":["hashtag1","hashtag2"]},{"1332809876":["hashtag1","hashtag2"]},{"1332809846":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332809830, 1332810049, 1332809856, 1332809897, 1332809876, 1332809846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.11166024208069 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:05:32.274429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/04/image_30012025_01_04_55_10360.jpg', '/home/pi/Desktop/images/30012025/01/04/image_30012025_01_05_05_9391.jpg', '/home/pi/Desktop/images/30012025/01/05/image_30012025_01_05_15_10329.jpg', '/home/pi/Desktop/images/30012025/01/05/image_30012025_01_05_25_10348.jpg', '/home/pi/Desktop/images/30012025/01/05/image_30012025_01_05_35_9340.jpg', '/home/pi/Desktop/images/30012025/01/05/image_30012025_01_05_45_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/04/image_30012025_01_04_55_10360.jpg
/home/pi/Desktop/images/30012025/01/04/image_30012025_01_05_05_9391.jpg
/home/pi/Desktop/images/30012025/01/05/image_30012025_01_05_15_10329.jpg
/home/pi/Desktop/images/30012025/01/05/image_30012025_01_05_25_10348.jpg
/home/pi/Desktop/images/30012025/01/05/image_30012025_01_05_35_9340.jpg
/home/pi/Desktop/images/30012025/01/05/image_30012025_01_05_45_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332811520","1332810473","1332810892","1332811089","1332811283","1332810674"],"photo_ids_order":["1332810473","1332810674","1332810892","1332811089","1332811283","1332811520"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/011032050c8dcae627c5a8db492cdb50.jpg","text":"TemporaryFile(/tmp/multipartBody1482873178111546083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195593184,"filename":"image_30012025_01_05_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/30/079f5b4bd33445750edcdbf4dac32076.jpg","text":"TemporaryFile(/tmp/multipartBody1151035085917752836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195593184,"filename":"image_30012025_01_04_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/30/b5dee3d8704ab75b17c7d6bfd1152f54.jpg","text":"TemporaryFile(/tmp/multipartBody114745117261047010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195593184,"filename":"image_30012025_01_05_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/30/fdbd44c4256f18d0e53edc44fef5c571.jpg","text":"TemporaryFile(/tmp/multipartBody8917957901558429626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195593184,"filename":"image_30012025_01_05_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/30/ea47d77e615160859732f22c9382e32e.jpg","text":"TemporaryFile(/tmp/multipartBody1054202061665695067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195593184,"filename":"image_30012025_01_05_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/30/17655f447bf457847f29ce851d783fba.jpg","text":"TemporaryFile(/tmp/multipartBody6266380003415378602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195593184,"filename":"image_30012025_01_05_05_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332810892","file1":"1332810674","file0":"1332810473","file4":"1332811283","file5":"1332811520","file3":"1332811089"},"map_files_photo_id_array":[{"photo_id":"1332811520","filename":"file5"},{"photo_id":"1332810892","filename":"file2"},{"photo_id":"1332811283","filename":"file4"},{"photo_id":"1332810674","filename":"file1"},{"photo_id":"1332810473","filename":"file0"},{"photo_id":"1332811089","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332811520":["hashtag1","hashtag2"]},{"1332810473":["hashtag1","hashtag2"]},{"1332810892":["hashtag1","hashtag2"]},{"1332811089":["hashtag1","hashtag2"]},{"1332811283":["hashtag1","hashtag2"]},{"1332810674":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332811520, 1332810473, 1332810892, 1332811089, 1332811283, 1332810674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.48263883590698 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:06:32.440007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/05/image_30012025_01_05_56_10354.jpg', '/home/pi/Desktop/images/30012025/01/05/image_30012025_01_06_05_9346.jpg', '/home/pi/Desktop/images/30012025/01/06/image_30012025_01_06_15_10433.jpg', '/home/pi/Desktop/images/30012025/01/06/image_30012025_01_06_25_9340.jpg', '/home/pi/Desktop/images/30012025/01/06/image_30012025_01_06_35_10453.jpg', '/home/pi/Desktop/images/30012025/01/06/image_30012025_01_06_45_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/05/image_30012025_01_05_56_10354.jpg
/home/pi/Desktop/images/30012025/01/05/image_30012025_01_06_05_9346.jpg
/home/pi/Desktop/images/30012025/01/06/image_30012025_01_06_15_10433.jpg
/home/pi/Desktop/images/30012025/01/06/image_30012025_01_06_25_9340.jpg
/home/pi/Desktop/images/30012025/01/06/image_30012025_01_06_35_10453.jpg
/home/pi/Desktop/images/30012025/01/06/image_30012025_01_06_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":["1332812107","1332812132","1332811979","1332812135","1332812129","1332811967"],"photo_ids_order":["1332811967","1332811979","1332812107","1332812129","1332812132","1332812135"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b0e94621a47c3153f44056ded16596c5.jpg","text":"TemporaryFile(/tmp/multipartBody3424487465585457666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195653379,"filename":"image_30012025_01_06_15_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/30/d10a225ffc23b0211203f33cb4a24f21.jpg","text":"TemporaryFile(/tmp/multipartBody7900386087257550656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195653379,"filename":"image_30012025_01_06_35_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/30/094704e43360b32d2317f0a81e08007d.jpg","text":"TemporaryFile(/tmp/multipartBody5075521029228518089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195653379,"filename":"image_30012025_01_06_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/30/e460e383ef1c789506a8454d10966482.jpg","text":"TemporaryFile(/tmp/multipartBody8433234885041249381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195653379,"filename":"image_30012025_01_06_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/30/8cc9a47b6d5361512e720524e9cb23c2.jpg","text":"TemporaryFile(/tmp/multipartBody8206692279054119083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195653379,"filename":"image_30012025_01_06_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/30/527cb9c2ccfdbd7e2b0fb01c88e7207b.jpg","text":"TemporaryFile(/tmp/multipartBody920401511644828387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195653379,"filename":"image_30012025_01_05_56_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332812107","file1":"1332811979","file0":"1332811967","file4":"1332812132","file5":"1332812135","file3":"1332812129"},"map_files_photo_id_array":[{"photo_id":"1332812135","filename":"file5"},{"photo_id":"1332812107","filename":"file2"},{"photo_id":"1332812132","filename":"file4"},{"photo_id":"1332811979","filename":"file1"},{"photo_id":"1332811967","filename":"file0"},{"photo_id":"1332812129","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332812107":["hashtag1","hashtag2"]},{"1332812132":["hashtag1","hashtag2"]},{"1332811979":["hashtag1","hashtag2"]},{"1332812135":["hashtag1","hashtag2"]},{"1332812129":["hashtag1","hashtag2"]},{"1332811967":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332812107, 1332812132, 1332811979, 1332812135, 1332812129, 1332811967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.88462519645691 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:07:32.776970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/06/image_30012025_01_06_55_9409.jpg', '/home/pi/Desktop/images/30012025/01/07/image_30012025_01_07_15_9323.jpg', '/home/pi/Desktop/images/30012025/01/07/image_30012025_01_07_25_10432.jpg', '/home/pi/Desktop/images/30012025/01/07/image_30012025_01_07_35_10355.jpg', '/home/pi/Desktop/images/30012025/01/07/image_30012025_01_07_45_9325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/06/image_30012025_01_06_55_9409.jpg
/home/pi/Desktop/images/30012025/01/07/image_30012025_01_07_15_9323.jpg
/home/pi/Desktop/images/30012025/01/07/image_30012025_01_07_25_10432.jpg
/home/pi/Desktop/images/30012025/01/07/image_30012025_01_07_35_10355.jpg
/home/pi/Desktop/images/30012025/01/07/image_30012025_01_07_45_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":["1332812521","1332812574","1332812568","1332812447","1332812491"],"photo_ids_order":["1332812447","1332812491","1332812521","1332812568","1332812574"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b8a2e3a526b25b346dafef5bef4b9898.jpg","text":"TemporaryFile(/tmp/multipartBody2276095828270299155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195713675,"filename":"image_30012025_01_07_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/30/16645a03ea376e195d7093b6a5930a80.jpg","text":"TemporaryFile(/tmp/multipartBody2791081736094429536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195713675,"filename":"image_30012025_01_07_45_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/30/f6edb14fb596b51915dab89f84b72c09.jpg","text":"TemporaryFile(/tmp/multipartBody414470014983419500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195713675,"filename":"image_30012025_01_07_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/30/8cbd9f836befd81234ab2a80d1721547.jpg","text":"TemporaryFile(/tmp/multipartBody8876315798170268810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195713675,"filename":"image_30012025_01_06_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/30/79c570936cca377973d0004b6275a782.jpg","text":"TemporaryFile(/tmp/multipartBody3487000664326266948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195713675,"filename":"image_30012025_01_07_15_9323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332812521","file1":"1332812491","file0":"1332812447","file4":"1332812574","file3":"1332812568"},"map_files_photo_id_array":[{"photo_id":"1332812521","filename":"file2"},{"photo_id":"1332812574","filename":"file4"},{"photo_id":"1332812491","filename":"file1"},{"photo_id":"1332812447","filename":"file0"},{"photo_id":"1332812568","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332812521":["hashtag1","hashtag2"]},{"1332812574":["hashtag1","hashtag2"]},{"1332812568":["hashtag1","hashtag2"]},{"1332812447":["hashtag1","hashtag2"]},{"1332812491":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332812521, 1332812574, 1332812568, 1332812447, 1332812491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 40.358540534973145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:08:33.063944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/07/image_30012025_01_07_55_10437.jpg', '/home/pi/Desktop/images/30012025/01/07/image_30012025_01_08_06_10348.jpg', '/home/pi/Desktop/images/30012025/01/08/image_30012025_01_08_15_9386.jpg', '/home/pi/Desktop/images/30012025/01/08/image_30012025_01_08_25_10450.jpg', '/home/pi/Desktop/images/30012025/01/08/image_30012025_01_08_35_9352.jpg', '/home/pi/Desktop/images/30012025/01/08/image_30012025_01_08_45_10436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/07/image_30012025_01_07_55_10437.jpg
/home/pi/Desktop/images/30012025/01/07/image_30012025_01_08_06_10348.jpg
/home/pi/Desktop/images/30012025/01/08/image_30012025_01_08_15_9386.jpg
/home/pi/Desktop/images/30012025/01/08/image_30012025_01_08_25_10450.jpg
/home/pi/Desktop/images/30012025/01/08/image_30012025_01_08_35_9352.jpg
/home/pi/Desktop/images/30012025/01/08/image_30012025_01_08_45_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332812594","1332812613","1332812607","1332812603","1332812596","1332812599"],"photo_ids_order":["1332812594","1332812596","1332812599","1332812603","1332812607","1332812613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f6189d138a4e08697816f4906713e782.jpg","text":"TemporaryFile(/tmp/multipartBody8572349899049154305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195773979,"filename":"image_30012025_01_07_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/30/ffae421f71bbbfc0b6a97301bd2f0427.jpg","text":"TemporaryFile(/tmp/multipartBody7000380495511964305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195773979,"filename":"image_30012025_01_08_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/30/fdae26a6febc1bda138d2d4bc3e255b5.jpg","text":"TemporaryFile(/tmp/multipartBody7172216175205385578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195773979,"filename":"image_30012025_01_08_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/30/784b558f9708fa96afa90b91cde4bc3f.jpg","text":"TemporaryFile(/tmp/multipartBody6067322019911909215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195773979,"filename":"image_30012025_01_08_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/30/89faab20ed752efd2cdf7f38302377fe.jpg","text":"TemporaryFile(/tmp/multipartBody5869111863827733170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195773979,"filename":"image_30012025_01_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/30/d2ba55197e5202c460b77f08454f5f0d.jpg","text":"TemporaryFile(/tmp/multipartBody4195472682390633249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195773979,"filename":"image_30012025_01_08_15_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332812599","file1":"1332812596","file0":"1332812594","file4":"1332812607","file5":"1332812613","file3":"1332812603"},"map_files_photo_id_array":[{"photo_id":"1332812613","filename":"file5"},{"photo_id":"1332812599","filename":"file2"},{"photo_id":"1332812607","filename":"file4"},{"photo_id":"1332812596","filename":"file1"},{"photo_id":"1332812594","filename":"file0"},{"photo_id":"1332812603","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332812594":["hashtag1","hashtag2"]},{"1332812613":["hashtag1","hashtag2"]},{"1332812607":["hashtag1","hashtag2"]},{"1332812603":["hashtag1","hashtag2"]},{"1332812596":["hashtag1","hashtag2"]},{"1332812599":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332812594, 1332812613, 1332812607, 1332812603, 1332812596, 1332812599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.11791014671326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:09:32.273707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/08/image_30012025_01_08_56_10343.jpg', '/home/pi/Desktop/images/30012025/01/08/image_30012025_01_09_05_9453.jpg', '/home/pi/Desktop/images/30012025/01/09/image_30012025_01_09_15_10348.jpg', '/home/pi/Desktop/images/30012025/01/09/image_30012025_01_09_25_9349.jpg', '/home/pi/Desktop/images/30012025/01/09/image_30012025_01_09_35_10403.jpg', '/home/pi/Desktop/images/30012025/01/09/image_30012025_01_09_45_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/08/image_30012025_01_08_56_10343.jpg
/home/pi/Desktop/images/30012025/01/08/image_30012025_01_09_05_9453.jpg
/home/pi/Desktop/images/30012025/01/09/image_30012025_01_09_15_10348.jpg
/home/pi/Desktop/images/30012025/01/09/image_30012025_01_09_25_9349.jpg
/home/pi/Desktop/images/30012025/01/09/image_30012025_01_09_35_10403.jpg
/home/pi/Desktop/images/30012025/01/09/image_30012025_01_09_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":["1332812635","1332812652","1332812643","1332812639","1332812648","1332812656"],"photo_ids_order":["1332812635","1332812639","1332812643","1332812648","1332812652","1332812656"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2cbe17ecd23c192b9176cc206febc94d.jpg","text":"TemporaryFile(/tmp/multipartBody6860409154503064340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195833203,"filename":"image_30012025_01_08_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/30/d41cbfc954d5a5ecedcaa40262db3e8b.jpg","text":"TemporaryFile(/tmp/multipartBody861377256042590970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195833203,"filename":"image_30012025_01_09_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/30/94d08b276a861a0c12bb71c6be7b363e.jpg","text":"TemporaryFile(/tmp/multipartBody2663328583782722006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195833203,"filename":"image_30012025_01_09_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/01d0817ebea7aa03cd72afa9816e7b6f.jpg","text":"TemporaryFile(/tmp/multipartBody5344060723839983812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195833203,"filename":"image_30012025_01_09_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/30/66874dc063225dce9fcafae1c45365ff.jpg","text":"TemporaryFile(/tmp/multipartBody3246683406984769463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195833203,"filename":"image_30012025_01_09_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/30/17d3632ebd8e823dd250b6ec19b58f7f.jpg","text":"TemporaryFile(/tmp/multipartBody94077853149281372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195833203,"filename":"image_30012025_01_09_45_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332812643","file1":"1332812639","file0":"1332812635","file4":"1332812652","file5":"1332812656","file3":"1332812648"},"map_files_photo_id_array":[{"photo_id":"1332812656","filename":"file5"},{"photo_id":"1332812643","filename":"file2"},{"photo_id":"1332812652","filename":"file4"},{"photo_id":"1332812639","filename":"file1"},{"photo_id":"1332812635","filename":"file0"},{"photo_id":"1332812648","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332812635":["hashtag1","hashtag2"]},{"1332812652":["hashtag1","hashtag2"]},{"1332812643":["hashtag1","hashtag2"]},{"1332812639":["hashtag1","hashtag2"]},{"1332812648":["hashtag1","hashtag2"]},{"1332812656":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332812635, 1332812652, 1332812643, 1332812639, 1332812648, 1332812656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.611534118652344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:10:32.434859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/09/image_30012025_01_09_55_9338.jpg', '/home/pi/Desktop/images/30012025/01/09/image_30012025_01_10_05_10355.jpg', '/home/pi/Desktop/images/30012025/01/10/image_30012025_01_10_16_10358.jpg', '/home/pi/Desktop/images/30012025/01/10/image_30012025_01_10_25_9360.jpg', '/home/pi/Desktop/images/30012025/01/10/image_30012025_01_10_35_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/09/image_30012025_01_09_55_9338.jpg
/home/pi/Desktop/images/30012025/01/09/image_30012025_01_10_05_10355.jpg
/home/pi/Desktop/images/30012025/01/10/image_30012025_01_10_16_10358.jpg
/home/pi/Desktop/images/30012025/01/10/image_30012025_01_10_25_9360.jpg
/home/pi/Desktop/images/30012025/01/10/image_30012025_01_10_35_10411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332812737","1332812710","1332812745","1332812748","1332812706"],"photo_ids_order":["1332812706","1332812710","1332812737","1332812745","1332812748"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/15d711364f4083c382c4d03a9fab7430.jpg","text":"TemporaryFile(/tmp/multipartBody8776018978277578485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195893337,"filename":"image_30012025_01_10_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/30/acac4bf758182e2b9552ea80ffa04f4d.jpg","text":"TemporaryFile(/tmp/multipartBody798395584674505431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195893337,"filename":"image_30012025_01_10_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/30/a145d9ea0e035c52cf561bf69edbe035.jpg","text":"TemporaryFile(/tmp/multipartBody3659116153684120375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195893337,"filename":"image_30012025_01_10_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/30/b790d01b1b6acc54afdda9e5a9585568.jpg","text":"TemporaryFile(/tmp/multipartBody4863629434870893649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195893337,"filename":"image_30012025_01_10_35_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c41ec5f8df9f344abb9059eb010e85f3.jpg","text":"TemporaryFile(/tmp/multipartBody8107275179333885950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195893337,"filename":"image_30012025_01_09_55_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332812737","file1":"1332812710","file0":"1332812706","file4":"1332812748","file3":"1332812745"},"map_files_photo_id_array":[{"photo_id":"1332812737","filename":"file2"},{"photo_id":"1332812748","filename":"file4"},{"photo_id":"1332812710","filename":"file1"},{"photo_id":"1332812706","filename":"file0"},{"photo_id":"1332812745","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332812737":["hashtag1","hashtag2"]},{"1332812710":["hashtag1","hashtag2"]},{"1332812745":["hashtag1","hashtag2"]},{"1332812748":["hashtag1","hashtag2"]},{"1332812706":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332812737, 1332812710, 1332812745, 1332812748, 1332812706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.72595763206482 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:11:32.711096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/10/image_30012025_01_10_55_10404.jpg', '/home/pi/Desktop/images/30012025/01/10/image_30012025_01_11_05_10433.jpg', '/home/pi/Desktop/images/30012025/01/11/image_30012025_01_11_15_9346.jpg', '/home/pi/Desktop/images/30012025/01/11/image_30012025_01_11_25_10424.jpg', '/home/pi/Desktop/images/30012025/01/11/image_30012025_01_11_35_9418.jpg', '/home/pi/Desktop/images/30012025/01/11/image_30012025_01_11_45_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/10/image_30012025_01_10_55_10404.jpg
/home/pi/Desktop/images/30012025/01/10/image_30012025_01_11_05_10433.jpg
/home/pi/Desktop/images/30012025/01/11/image_30012025_01_11_15_9346.jpg
/home/pi/Desktop/images/30012025/01/11/image_30012025_01_11_25_10424.jpg
/home/pi/Desktop/images/30012025/01/11/image_30012025_01_11_35_9418.jpg
/home/pi/Desktop/images/30012025/01/11/image_30012025_01_11_45_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":["1332813010","1332812880","1332812778","1332812793","1332812955","1332812774"],"photo_ids_order":["1332812774","1332812778","1332812793","1332812880","1332812955","1332813010"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bb64da11126e7b5c3262155a709ca8ab.jpg","text":"TemporaryFile(/tmp/multipartBody7473718822114703379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195953618,"filename":"image_30012025_01_11_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/30/e87890f892d7991817075190481c42f4.jpg","text":"TemporaryFile(/tmp/multipartBody6896810977362947264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195953618,"filename":"image_30012025_01_11_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/30/fbf78479734975c2aa8bb89decf9f26d.jpg","text":"TemporaryFile(/tmp/multipartBody3468952653263582518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195953618,"filename":"image_30012025_01_11_05_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/12b42b32dc04661ae320dd32dacbe962.jpg","text":"TemporaryFile(/tmp/multipartBody1286675821561012632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195953618,"filename":"image_30012025_01_11_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/30/589263ee85300bcf30080ee8d0ed4e86.jpg","text":"TemporaryFile(/tmp/multipartBody1329683407357157905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195953618,"filename":"image_30012025_01_11_35_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/30/d80106b133cd7782247bfc364e0b9299.jpg","text":"TemporaryFile(/tmp/multipartBody5650904760540800038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738195953618,"filename":"image_30012025_01_10_55_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332812793","file1":"1332812778","file0":"1332812774","file4":"1332812955","file5":"1332813010","file3":"1332812880"},"map_files_photo_id_array":[{"photo_id":"1332813010","filename":"file5"},{"photo_id":"1332812793","filename":"file2"},{"photo_id":"1332812955","filename":"file4"},{"photo_id":"1332812778","filename":"file1"},{"photo_id":"1332812774","filename":"file0"},{"photo_id":"1332812880","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332813010":["hashtag1","hashtag2"]},{"1332812880":["hashtag1","hashtag2"]},{"1332812778":["hashtag1","hashtag2"]},{"1332812793":["hashtag1","hashtag2"]},{"1332812955":["hashtag1","hashtag2"]},{"1332812774":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332813010, 1332812880, 1332812778, 1332812793, 1332812955, 1332812774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62588548660278 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:12:32.895021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/11/image_30012025_01_11_55_10372.jpg', '/home/pi/Desktop/images/30012025/01/11/image_30012025_01_12_05_9429.jpg', '/home/pi/Desktop/images/30012025/01/12/image_30012025_01_12_15_10336.jpg', '/home/pi/Desktop/images/30012025/01/12/image_30012025_01_12_26_10357.jpg', '/home/pi/Desktop/images/30012025/01/12/image_30012025_01_12_35_9489.jpg', '/home/pi/Desktop/images/30012025/01/12/image_30012025_01_12_45_10392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/11/image_30012025_01_11_55_10372.jpg
/home/pi/Desktop/images/30012025/01/11/image_30012025_01_12_05_9429.jpg
/home/pi/Desktop/images/30012025/01/12/image_30012025_01_12_15_10336.jpg
/home/pi/Desktop/images/30012025/01/12/image_30012025_01_12_26_10357.jpg
/home/pi/Desktop/images/30012025/01/12/image_30012025_01_12_35_9489.jpg
/home/pi/Desktop/images/30012025/01/12/image_30012025_01_12_45_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":["1332813186","1332813195","1332813189","1332813174","1332813179","1332813122"],"photo_ids_order":["1332813122","1332813174","1332813179","1332813186","1332813189","1332813195"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/394b2acd6ba1581246fcc064cdf80db4.jpg","text":"TemporaryFile(/tmp/multipartBody6855005167642507001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196013809,"filename":"image_30012025_01_12_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/30/8ebb7a603d9d3b5e8bfd544d6fe7ade1.jpg","text":"TemporaryFile(/tmp/multipartBody1782185913358717167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196013809,"filename":"image_30012025_01_12_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/30/3deb001a0da847d8cc7c049423fc5bd1.jpg","text":"TemporaryFile(/tmp/multipartBody1002720902299501916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196013809,"filename":"image_30012025_01_12_35_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/30/3d2e87099bec1e783f73a8da6b9e5f51.jpg","text":"TemporaryFile(/tmp/multipartBody1976540628851414512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196013809,"filename":"image_30012025_01_12_05_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/30/413c340081ed17fe007e73ff3620f6f1.jpg","text":"TemporaryFile(/tmp/multipartBody7865669680937886793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196013809,"filename":"image_30012025_01_12_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/30/ae638f9f310e53bf36149226f4309d94.jpg","text":"TemporaryFile(/tmp/multipartBody9173442220219527112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196013809,"filename":"image_30012025_01_11_55_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332813179","file1":"1332813174","file0":"1332813122","file4":"1332813189","file5":"1332813195","file3":"1332813186"},"map_files_photo_id_array":[{"photo_id":"1332813195","filename":"file5"},{"photo_id":"1332813179","filename":"file2"},{"photo_id":"1332813189","filename":"file4"},{"photo_id":"1332813174","filename":"file1"},{"photo_id":"1332813122","filename":"file0"},{"photo_id":"1332813186","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332813186":["hashtag1","hashtag2"]},{"1332813195":["hashtag1","hashtag2"]},{"1332813189":["hashtag1","hashtag2"]},{"1332813174":["hashtag1","hashtag2"]},{"1332813179":["hashtag1","hashtag2"]},{"1332813122":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332813186, 1332813195, 1332813189, 1332813174, 1332813179, 1332813122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.035728931427 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:13:33.250535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/12/image_30012025_01_12_55_9485.jpg', '/home/pi/Desktop/images/30012025/01/12/image_30012025_01_13_05_10343.jpg', '/home/pi/Desktop/images/30012025/01/13/image_30012025_01_13_15_9336.jpg', '/home/pi/Desktop/images/30012025/01/13/image_30012025_01_13_25_10392.jpg', '/home/pi/Desktop/images/30012025/01/13/image_30012025_01_13_35_10362.jpg', '/home/pi/Desktop/images/30012025/01/13/image_30012025_01_13_45_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/12/image_30012025_01_12_55_9485.jpg
/home/pi/Desktop/images/30012025/01/12/image_30012025_01_13_05_10343.jpg
/home/pi/Desktop/images/30012025/01/13/image_30012025_01_13_15_9336.jpg
/home/pi/Desktop/images/30012025/01/13/image_30012025_01_13_25_10392.jpg
/home/pi/Desktop/images/30012025/01/13/image_30012025_01_13_35_10362.jpg
/home/pi/Desktop/images/30012025/01/13/image_30012025_01_13_45_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":["1332813217","1332813558","1332813480","1332813234","1332813386","1332813551"],"photo_ids_order":["1332813217","1332813234","1332813386","1332813480","1332813551","1332813558"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/77278206c3f28b26749c173f5b2b6b4b.jpg","text":"TemporaryFile(/tmp/multipartBody1921494618483882424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196074174,"filename":"image_30012025_01_12_55_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/30/8e299e19353ced63a806c17857bbadca.jpg","text":"TemporaryFile(/tmp/multipartBody4630501773465324098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196074174,"filename":"image_30012025_01_13_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/30/61161bdb8d652af320bddb0b72ce0081.jpg","text":"TemporaryFile(/tmp/multipartBody7155600787625122967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196074174,"filename":"image_30012025_01_13_25_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a736536c435f009003af6152145fc053.jpg","text":"TemporaryFile(/tmp/multipartBody680140243537002172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196074174,"filename":"image_30012025_01_13_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/30/0ff4e17000ded9a8eee6d5b1b159283e.jpg","text":"TemporaryFile(/tmp/multipartBody8086254845709514019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196074174,"filename":"image_30012025_01_13_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/30/4d76f50f3c8ffacbf9bcb514409c0298.jpg","text":"TemporaryFile(/tmp/multipartBody7890718012395038885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196074174,"filename":"image_30012025_01_13_35_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332813386","file1":"1332813234","file0":"1332813217","file4":"1332813551","file5":"1332813558","file3":"1332813480"},"map_files_photo_id_array":[{"photo_id":"1332813558","filename":"file5"},{"photo_id":"1332813386","filename":"file2"},{"photo_id":"1332813551","filename":"file4"},{"photo_id":"1332813234","filename":"file1"},{"photo_id":"1332813217","filename":"file0"},{"photo_id":"1332813480","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332813217":["hashtag1","hashtag2"]},{"1332813558":["hashtag1","hashtag2"]},{"1332813480":["hashtag1","hashtag2"]},{"1332813234":["hashtag1","hashtag2"]},{"1332813386":["hashtag1","hashtag2"]},{"1332813551":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332813217, 1332813558, 1332813480, 1332813234, 1332813386, 1332813551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.05781388282776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:14:32.191179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/13/image_30012025_01_13_55_10354.jpg', '/home/pi/Desktop/images/30012025/01/13/image_30012025_01_14_06_10460.jpg', '/home/pi/Desktop/images/30012025/01/14/image_30012025_01_14_35_9420.jpg', '/home/pi/Desktop/images/30012025/01/14/image_30012025_01_14_45_10459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/13/image_30012025_01_13_55_10354.jpg
/home/pi/Desktop/images/30012025/01/13/image_30012025_01_14_06_10460.jpg
/home/pi/Desktop/images/30012025/01/14/image_30012025_01_14_35_9420.jpg
/home/pi/Desktop/images/30012025/01/14/image_30012025_01_14_45_10459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332813663","1332813666","1332813701","1332813691"],"photo_ids_order":["1332813663","1332813666","1332813691","1332813701"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7ea5dfd62d424edd9a968f7cabaefdcb.jpg","text":"TemporaryFile(/tmp/multipartBody7948334458641195970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196133086,"filename":"image_30012025_01_13_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/30/bd99d6b3daa4d1cc4079c52e3e151261.jpg","text":"TemporaryFile(/tmp/multipartBody5600813003038889438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196133086,"filename":"image_30012025_01_14_06_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/30/70563dec3c21dcada613f108e7503b5b.jpg","text":"TemporaryFile(/tmp/multipartBody8682361444679461291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196133086,"filename":"image_30012025_01_14_45_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/30/b3dff14f78b5051a1eeb7160db11c0ad.jpg","text":"TemporaryFile(/tmp/multipartBody8636500446728604991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196133086,"filename":"image_30012025_01_14_35_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332813691","file1":"1332813666","file0":"1332813663","file3":"1332813701"},"map_files_photo_id_array":[{"photo_id":"1332813691","filename":"file2"},{"photo_id":"1332813666","filename":"file1"},{"photo_id":"1332813663","filename":"file0"},{"photo_id":"1332813701","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332813663":["hashtag1","hashtag2"]},{"1332813666":["hashtag1","hashtag2"]},{"1332813701":["hashtag1","hashtag2"]},{"1332813691":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332813663, 1332813666, 1332813701, 1332813691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.606247186660767 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 01:15:04.037245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/20/image_28012025_20_21_05_9368.jpg', '/home/pi/Desktop/images/28012025/20/21/image_28012025_20_21_15_10372.jpg', '/home/pi/Desktop/images/28012025/20/21/image_28012025_20_21_35_9339.jpg', '/home/pi/Desktop/images/28012025/20/21/image_28012025_20_21_45_10353.jpg', '/home/pi/Desktop/images/28012025/20/21/image_28012025_20_21_54_9418.jpg', '/home/pi/Desktop/images/28012025/20/21/image_28012025_20_22_05_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/20/20/image_28012025_20_21_05_9368.jpg
/home/pi/Desktop/images/28012025/20/21/image_28012025_20_21_15_10372.jpg
/home/pi/Desktop/images/28012025/20/21/image_28012025_20_21_35_9339.jpg
/home/pi/Desktop/images/28012025/20/21/image_28012025_20_21_45_10353.jpg
/home/pi/Desktop/images/28012025/20/21/image_28012025_20_21_54_9418.jpg
/home/pi/Desktop/images/28012025/20/21/image_28012025_20_22_05_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":["1332813714","1332813717","1332813737","1332813710","1332813730","1332813724"],"photo_ids_order":["1332813710","1332813714","1332813717","1332813724","1332813730","1332813737"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4f291e6bcdf6e873baf08d943f4955c8.jpg","text":"TemporaryFile(/tmp/multipartBody4417776253307658000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196165849,"filename":"image_28012025_20_21_15_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/30/12ffaac04920fdf300e52c87d5faf7dc.jpg","text":"TemporaryFile(/tmp/multipartBody844905143847521163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196165849,"filename":"image_28012025_20_21_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/30/c2b127462770ead51b66383535ac7e6c.jpg","text":"TemporaryFile(/tmp/multipartBody1148970558449222470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196165849,"filename":"image_28012025_20_22_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/30/fb72c2a493316a8272cc07ef7d10d9ff.jpg","text":"TemporaryFile(/tmp/multipartBody961178339818861211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196165849,"filename":"image_28012025_20_21_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/30/c0c2d9a727e48974c4209d560539f38f.jpg","text":"TemporaryFile(/tmp/multipartBody3695419232866295941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196165849,"filename":"image_28012025_20_21_54_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/30/27d33ebf7a024da6afd70b6518d670a4.jpg","text":"TemporaryFile(/tmp/multipartBody1726828323893793046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196165849,"filename":"image_28012025_20_21_45_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332813717","file1":"1332813714","file0":"1332813710","file4":"1332813730","file5":"1332813737","file3":"1332813724"},"map_files_photo_id_array":[{"photo_id":"1332813737","filename":"file5"},{"photo_id":"1332813717","filename":"file2"},{"photo_id":"1332813730","filename":"file4"},{"photo_id":"1332813714","filename":"file1"},{"photo_id":"1332813710","filename":"file0"},{"photo_id":"1332813724","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332813714":["hashtag1","hashtag2"]},{"1332813717":["hashtag1","hashtag2"]},{"1332813737":["hashtag1","hashtag2"]},{"1332813710":["hashtag1","hashtag2"]},{"1332813730":["hashtag1","hashtag2"]},{"1332813724":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332813714, 1332813717, 1332813737, 1332813710, 1332813730, 1332813724)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.28572201728821 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 01:16:05.850568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/14/image_30012025_01_14_55_9322.jpg', '/home/pi/Desktop/images/30012025/01/14/image_30012025_01_15_05_10494.jpg', '/home/pi/Desktop/images/30012025/01/15/image_30012025_01_15_15_10348.jpg', '/home/pi/Desktop/images/30012025/01/15/image_30012025_01_15_25_9350.jpg', '/home/pi/Desktop/images/30012025/01/15/image_30012025_01_15_35_10359.jpg', '/home/pi/Desktop/images/30012025/01/15/image_30012025_01_15_46_10434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/14/image_30012025_01_14_55_9322.jpg
/home/pi/Desktop/images/30012025/01/14/image_30012025_01_15_05_10494.jpg
/home/pi/Desktop/images/30012025/01/15/image_30012025_01_15_15_10348.jpg
/home/pi/Desktop/images/30012025/01/15/image_30012025_01_15_25_9350.jpg
/home/pi/Desktop/images/30012025/01/15/image_30012025_01_15_35_10359.jpg
/home/pi/Desktop/images/30012025/01/15/image_30012025_01_15_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":["1332813780","1332813765","1332813759","1332813753","1332813770","1332813775"],"photo_ids_order":["1332813753","1332813759","1332813765","1332813770","1332813775","1332813780"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/95b24f4a7341dc9e790579a301305298.jpg","text":"TemporaryFile(/tmp/multipartBody4913859976226440481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196226800,"filename":"image_30012025_01_15_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/30/e02ea75dc470242826779e04e1071589.jpg","text":"TemporaryFile(/tmp/multipartBody702356928876412579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196226800,"filename":"image_30012025_01_15_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/84472419b82609a7bf1d029bed16e246.jpg","text":"TemporaryFile(/tmp/multipartBody2158795354309333807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196226800,"filename":"image_30012025_01_15_05_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/30/d6c9a39bbb28dea51aa864f1a521c665.jpg","text":"TemporaryFile(/tmp/multipartBody1746244512335976525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196226800,"filename":"image_30012025_01_14_55_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c20992795f2814b062144acc89ee8a5a.jpg","text":"TemporaryFile(/tmp/multipartBody6805852262076206652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196226800,"filename":"image_30012025_01_15_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/30/073900a01eaa80415bae670ba0ee25d4.jpg","text":"TemporaryFile(/tmp/multipartBody4925035958287062994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196226800,"filename":"image_30012025_01_15_35_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332813765","file1":"1332813759","file0":"1332813753","file4":"1332813775","file5":"1332813780","file3":"1332813770"},"map_files_photo_id_array":[{"photo_id":"1332813780","filename":"file5"},{"photo_id":"1332813765","filename":"file2"},{"photo_id":"1332813775","filename":"file4"},{"photo_id":"1332813759","filename":"file1"},{"photo_id":"1332813753","filename":"file0"},{"photo_id":"1332813770","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332813780":["hashtag1","hashtag2"]},{"1332813765":["hashtag1","hashtag2"]},{"1332813759":["hashtag1","hashtag2"]},{"1332813753":["hashtag1","hashtag2"]},{"1332813770":["hashtag1","hashtag2"]},{"1332813775":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332813780, 1332813765, 1332813759, 1332813753, 1332813770, 1332813775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.69174242019653 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:16:55.257474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/15/image_30012025_01_15_55_9473.jpg', '/home/pi/Desktop/images/30012025/01/15/image_30012025_01_16_05_10370.jpg', '/home/pi/Desktop/images/30012025/01/16/image_30012025_01_16_15_9339.jpg', '/home/pi/Desktop/images/30012025/01/16/image_30012025_01_16_25_10341.jpg', '/home/pi/Desktop/images/30012025/01/16/image_30012025_01_16_45_9410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/15/image_30012025_01_15_55_9473.jpg
/home/pi/Desktop/images/30012025/01/15/image_30012025_01_16_05_10370.jpg
/home/pi/Desktop/images/30012025/01/16/image_30012025_01_16_15_9339.jpg
/home/pi/Desktop/images/30012025/01/16/image_30012025_01_16_25_10341.jpg
/home/pi/Desktop/images/30012025/01/16/image_30012025_01_16_45_9410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332813795","1332813804","1332813793","1332813808","1332813823"],"photo_ids_order":["1332813793","1332813795","1332813804","1332813808","1332813823"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b385a453abd7381da91e2e9dec6b224a.jpg","text":"TemporaryFile(/tmp/multipartBody8522846782606619102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196276179,"filename":"image_30012025_01_16_05_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/06136c3400a99249a79581703bde3d39.jpg","text":"TemporaryFile(/tmp/multipartBody6224664031346129950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196276179,"filename":"image_30012025_01_16_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/30/99b3549eab47d953d06c1bfb4ff0ccbf.jpg","text":"TemporaryFile(/tmp/multipartBody205025548976668616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196276179,"filename":"image_30012025_01_15_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/30/5eaa3eeb6effe7858c905493d9146960.jpg","text":"TemporaryFile(/tmp/multipartBody8724860793602414275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196276179,"filename":"image_30012025_01_16_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/30/b77bd7b50ca5b4eb60f9b4278ebca1ab.jpg","text":"TemporaryFile(/tmp/multipartBody4237767060181895892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196276179,"filename":"image_30012025_01_16_45_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332813804","file1":"1332813795","file0":"1332813793","file4":"1332813823","file3":"1332813808"},"map_files_photo_id_array":[{"photo_id":"1332813804","filename":"file2"},{"photo_id":"1332813823","filename":"file4"},{"photo_id":"1332813795","filename":"file1"},{"photo_id":"1332813793","filename":"file0"},{"photo_id":"1332813808","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332813795":["hashtag1","hashtag2"]},{"1332813804":["hashtag1","hashtag2"]},{"1332813793":["hashtag1","hashtag2"]},{"1332813808":["hashtag1","hashtag2"]},{"1332813823":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332813795, 1332813804, 1332813793, 1332813808, 1332813823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.36863422393799 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 01:17:42.537180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/16/image_30012025_01_16_55_10357.jpg', '/home/pi/Desktop/images/30012025/01/16/image_30012025_01_17_05_9348.jpg', '/home/pi/Desktop/images/30012025/01/17/image_30012025_01_17_25_10359.jpg', '/home/pi/Desktop/images/30012025/01/17/image_30012025_01_17_35_9388.jpg', '/home/pi/Desktop/images/30012025/01/17/image_30012025_01_17_45_10467.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/16/image_30012025_01_16_55_10357.jpg
/home/pi/Desktop/images/30012025/01/16/image_30012025_01_17_05_9348.jpg
/home/pi/Desktop/images/30012025/01/17/image_30012025_01_17_25_10359.jpg
/home/pi/Desktop/images/30012025/01/17/image_30012025_01_17_35_9388.jpg
/home/pi/Desktop/images/30012025/01/17/image_30012025_01_17_45_10467.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332813873","1332813858","1332813852","1332813877","1332813862"],"photo_ids_order":["1332813852","1332813858","1332813862","1332813873","1332813877"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ee1e155c12d027c60c751c3bb1a03e92.jpg","text":"TemporaryFile(/tmp/multipartBody6436656731945847571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196323462,"filename":"image_30012025_01_17_35_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/30/abced53f8d85f1e2dd5a768fcdf527db.jpg","text":"TemporaryFile(/tmp/multipartBody4324528586070639746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196323462,"filename":"image_30012025_01_17_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/30/551d45871b8f962252526e567716174a.jpg","text":"TemporaryFile(/tmp/multipartBody5945000229187418123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196323462,"filename":"image_30012025_01_16_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/30/468e6603ee360bf0f3bfe3e30c523769.jpg","text":"TemporaryFile(/tmp/multipartBody2121387509894739135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196323462,"filename":"image_30012025_01_17_45_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/30/a80285aa7606e0e25af85c19be369b6e.jpg","text":"TemporaryFile(/tmp/multipartBody8250434686285548804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196323462,"filename":"image_30012025_01_17_25_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332813862","file1":"1332813858","file0":"1332813852","file4":"1332813877","file3":"1332813873"},"map_files_photo_id_array":[{"photo_id":"1332813862","filename":"file2"},{"photo_id":"1332813877","filename":"file4"},{"photo_id":"1332813858","filename":"file1"},{"photo_id":"1332813852","filename":"file0"},{"photo_id":"1332813873","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332813873":["hashtag1","hashtag2"]},{"1332813858":["hashtag1","hashtag2"]},{"1332813852":["hashtag1","hashtag2"]},{"1332813877":["hashtag1","hashtag2"]},{"1332813862":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332813873, 1332813858, 1332813852, 1332813877, 1332813862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.83642792701721 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:18:32.660643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/17/image_30012025_01_17_55_9337.jpg', '/home/pi/Desktop/images/30012025/01/17/image_30012025_01_18_05_10382.jpg', '/home/pi/Desktop/images/30012025/01/18/image_30012025_01_18_15_10372.jpg', '/home/pi/Desktop/images/30012025/01/18/image_30012025_01_18_25_9344.jpg', '/home/pi/Desktop/images/30012025/01/18/image_30012025_01_18_35_10343.jpg', '/home/pi/Desktop/images/30012025/01/18/image_30012025_01_18_46_10391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/17/image_30012025_01_17_55_9337.jpg
/home/pi/Desktop/images/30012025/01/17/image_30012025_01_18_05_10382.jpg
/home/pi/Desktop/images/30012025/01/18/image_30012025_01_18_15_10372.jpg
/home/pi/Desktop/images/30012025/01/18/image_30012025_01_18_25_9344.jpg
/home/pi/Desktop/images/30012025/01/18/image_30012025_01_18_35_10343.jpg
/home/pi/Desktop/images/30012025/01/18/image_30012025_01_18_46_10391.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5290517807006836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 01:18:42.659978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/17/image_30012025_01_17_55_9337.jpg', '/home/pi/Desktop/images/30012025/01/17/image_30012025_01_18_05_10382.jpg', '/home/pi/Desktop/images/30012025/01/18/image_30012025_01_18_15_10372.jpg', '/home/pi/Desktop/images/30012025/01/18/image_30012025_01_18_25_9344.jpg', '/home/pi/Desktop/images/30012025/01/18/image_30012025_01_18_35_10343.jpg', '/home/pi/Desktop/images/30012025/01/18/image_30012025_01_18_46_10391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/17/image_30012025_01_17_55_9337.jpg
/home/pi/Desktop/images/30012025/01/17/image_30012025_01_18_05_10382.jpg
/home/pi/Desktop/images/30012025/01/18/image_30012025_01_18_15_10372.jpg
/home/pi/Desktop/images/30012025/01/18/image_30012025_01_18_25_9344.jpg
/home/pi/Desktop/images/30012025/01/18/image_30012025_01_18_35_10343.jpg
/home/pi/Desktop/images/30012025/01/18/image_30012025_01_18_46_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332813966","1332813919","1332813971","1332813974","1332813953","1332813935"],"photo_ids_order":["1332813919","1332813935","1332813953","1332813966","1332813971","1332813974"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f9410c0f248306efa4476796d63ec8bc.jpg","text":"TemporaryFile(/tmp/multipartBody81601169193948994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196383576,"filename":"image_30012025_01_18_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/30/e9de7811d898d2bf5694ee9fba80509d.jpg","text":"TemporaryFile(/tmp/multipartBody2566345688179853963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196383576,"filename":"image_30012025_01_17_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/30/f690ec38cba78c4eb9fb22bfd006e10b.jpg","text":"TemporaryFile(/tmp/multipartBody8825047491306329173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196383576,"filename":"image_30012025_01_18_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/30/03d008d363d1244dffaae927f6657972.jpg","text":"TemporaryFile(/tmp/multipartBody5190803510152960920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196383576,"filename":"image_30012025_01_18_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/30/ff3740a94fb08fd9891ba92fa7c5475b.jpg","text":"TemporaryFile(/tmp/multipartBody1704854084703475313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196383576,"filename":"image_30012025_01_18_15_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/30/1f3f9b1a1e799c61d94e612e11a4cac1.jpg","text":"TemporaryFile(/tmp/multipartBody3804458232611168220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196383576,"filename":"image_30012025_01_18_05_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332813953","file1":"1332813935","file0":"1332813919","file4":"1332813971","file5":"1332813974","file3":"1332813966"},"map_files_photo_id_array":[{"photo_id":"1332813974","filename":"file5"},{"photo_id":"1332813953","filename":"file2"},{"photo_id":"1332813971","filename":"file4"},{"photo_id":"1332813935","filename":"file1"},{"photo_id":"1332813919","filename":"file0"},{"photo_id":"1332813966","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332813966":["hashtag1","hashtag2"]},{"1332813919":["hashtag1","hashtag2"]},{"1332813971":["hashtag1","hashtag2"]},{"1332813974":["hashtag1","hashtag2"]},{"1332813953":["hashtag1","hashtag2"]},{"1332813935":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332813966, 1332813919, 1332813971, 1332813974, 1332813953, 1332813935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.21141576766968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:19:32.900582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/18/image_30012025_01_18_55_9361.jpg', '/home/pi/Desktop/images/30012025/01/18/image_30012025_01_19_05_10371.jpg', '/home/pi/Desktop/images/30012025/01/19/image_30012025_01_19_25_10407.jpg', '/home/pi/Desktop/images/30012025/01/19/image_30012025_01_19_35_10440.jpg', '/home/pi/Desktop/images/30012025/01/19/image_30012025_01_19_45_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/18/image_30012025_01_18_55_9361.jpg
/home/pi/Desktop/images/30012025/01/18/image_30012025_01_19_05_10371.jpg
/home/pi/Desktop/images/30012025/01/19/image_30012025_01_19_25_10407.jpg
/home/pi/Desktop/images/30012025/01/19/image_30012025_01_19_35_10440.jpg
/home/pi/Desktop/images/30012025/01/19/image_30012025_01_19_45_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":["1332814130","1332814223","1332814546","1332814453","1332814357"],"photo_ids_order":["1332814130","1332814223","1332814357","1332814453","1332814546"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/964cf4301b91835b62fd2456e9b4351d.jpg","text":"TemporaryFile(/tmp/multipartBody4388966336827121662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196433808,"filename":"image_30012025_01_18_55_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9d39b201c29fd7f2e0a8a7da4765138c.jpg","text":"TemporaryFile(/tmp/multipartBody8923238974140882088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196433808,"filename":"image_30012025_01_19_05_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2c30b99fe1e3ecc6e01d155c14aca55b.jpg","text":"TemporaryFile(/tmp/multipartBody8175128607692088442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196433808,"filename":"image_30012025_01_19_45_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/98d6f2a6336ec2019bfeab77770ccaf6.jpg","text":"TemporaryFile(/tmp/multipartBody547941564312951101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196433808,"filename":"image_30012025_01_19_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/30/ace20b1a6204003c14f0e3929acbe072.jpg","text":"TemporaryFile(/tmp/multipartBody7143466423706914411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196433808,"filename":"image_30012025_01_19_25_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332814357","file1":"1332814223","file0":"1332814130","file4":"1332814546","file3":"1332814453"},"map_files_photo_id_array":[{"photo_id":"1332814357","filename":"file2"},{"photo_id":"1332814546","filename":"file4"},{"photo_id":"1332814223","filename":"file1"},{"photo_id":"1332814130","filename":"file0"},{"photo_id":"1332814453","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332814130":["hashtag1","hashtag2"]},{"1332814223":["hashtag1","hashtag2"]},{"1332814546":["hashtag1","hashtag2"]},{"1332814453":["hashtag1","hashtag2"]},{"1332814357":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332814130, 1332814223, 1332814546, 1332814453, 1332814357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.6685049533844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:20:33.066861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/19/image_30012025_01_19_55_10374.jpg', '/home/pi/Desktop/images/30012025/01/19/image_30012025_01_20_06_10348.jpg', '/home/pi/Desktop/images/30012025/01/20/image_30012025_01_20_15_9428.jpg', '/home/pi/Desktop/images/30012025/01/20/image_30012025_01_20_25_10354.jpg', '/home/pi/Desktop/images/30012025/01/20/image_30012025_01_20_35_9420.jpg', '/home/pi/Desktop/images/30012025/01/20/image_30012025_01_20_45_10449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/19/image_30012025_01_19_55_10374.jpg
/home/pi/Desktop/images/30012025/01/19/image_30012025_01_20_06_10348.jpg
/home/pi/Desktop/images/30012025/01/20/image_30012025_01_20_15_9428.jpg
/home/pi/Desktop/images/30012025/01/20/image_30012025_01_20_25_10354.jpg
/home/pi/Desktop/images/30012025/01/20/image_30012025_01_20_35_9420.jpg
/home/pi/Desktop/images/30012025/01/20/image_30012025_01_20_45_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":["1332814914","1332814908","1332814766","1332814762","1332814756","1332814854"],"photo_ids_order":["1332814756","1332814762","1332814766","1332814854","1332814908","1332814914"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/644941499daa91ede44d514659964418.jpg","text":"TemporaryFile(/tmp/multipartBody1161957819397861059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196493980,"filename":"image_30012025_01_20_45_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/30/1e5fcdbf98dd2334b7c41f33cc2d2f2f.jpg","text":"TemporaryFile(/tmp/multipartBody1120203047854880776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196493980,"filename":"image_30012025_01_20_35_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d5ffff724adeb25e977ad3538a477c95.jpg","text":"TemporaryFile(/tmp/multipartBody5115542800852020385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196493980,"filename":"image_30012025_01_20_15_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/30/14e4e05c8dfbe10496686ca62536f1af.jpg","text":"TemporaryFile(/tmp/multipartBody6815291848468861259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196493980,"filename":"image_30012025_01_20_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/30/48f2ddc7ac347d03af50524e75368cac.jpg","text":"TemporaryFile(/tmp/multipartBody7327113863779786818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196493980,"filename":"image_30012025_01_19_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/30/30fc6ab47d2ac6edf5991b06ba6336eb.jpg","text":"TemporaryFile(/tmp/multipartBody8480039788847707214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196493980,"filename":"image_30012025_01_20_25_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332814766","file1":"1332814762","file0":"1332814756","file4":"1332814908","file5":"1332814914","file3":"1332814854"},"map_files_photo_id_array":[{"photo_id":"1332814914","filename":"file5"},{"photo_id":"1332814766","filename":"file2"},{"photo_id":"1332814908","filename":"file4"},{"photo_id":"1332814762","filename":"file1"},{"photo_id":"1332814756","filename":"file0"},{"photo_id":"1332814854","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332814914":["hashtag1","hashtag2"]},{"1332814908":["hashtag1","hashtag2"]},{"1332814766":["hashtag1","hashtag2"]},{"1332814762":["hashtag1","hashtag2"]},{"1332814756":["hashtag1","hashtag2"]},{"1332814854":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332814914, 1332814908, 1332814766, 1332814762, 1332814756, 1332814854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.80263304710388 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:21:32.435035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/20/image_30012025_01_20_56_10346.jpg', '/home/pi/Desktop/images/30012025/01/20/image_30012025_01_21_05_9402.jpg', '/home/pi/Desktop/images/30012025/01/21/image_30012025_01_21_25_9353.jpg', '/home/pi/Desktop/images/30012025/01/21/image_30012025_01_21_35_10430.jpg', '/home/pi/Desktop/images/30012025/01/21/image_30012025_01_21_45_10375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/20/image_30012025_01_20_56_10346.jpg
/home/pi/Desktop/images/30012025/01/20/image_30012025_01_21_05_9402.jpg
/home/pi/Desktop/images/30012025/01/21/image_30012025_01_21_25_9353.jpg
/home/pi/Desktop/images/30012025/01/21/image_30012025_01_21_35_10430.jpg
/home/pi/Desktop/images/30012025/01/21/image_30012025_01_21_45_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":["1332815291","1332815285","1332815246","1332815278","1332815295"],"photo_ids_order":["1332815246","1332815278","1332815285","1332815291","1332815295"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/322faf7a43c29d4b201657afc3b9a6f7.jpg","text":"TemporaryFile(/tmp/multipartBody3299486173337103653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196553335,"filename":"image_30012025_01_21_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/30/3a6932fe448195bee5a80328bb41bcee.jpg","text":"TemporaryFile(/tmp/multipartBody1590582859563778815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196553335,"filename":"image_30012025_01_21_25_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/eb80fddcc6e2f90860d6802be96ee06d.jpg","text":"TemporaryFile(/tmp/multipartBody3668193569701318746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196553335,"filename":"image_30012025_01_20_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/30/8151865bbc698fc11b64a0861eb5d6b3.jpg","text":"TemporaryFile(/tmp/multipartBody2391738335133200072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196553335,"filename":"image_30012025_01_21_05_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7afd7cbff212b7dbd98d495da092b011.jpg","text":"TemporaryFile(/tmp/multipartBody4523057512136411023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196553335,"filename":"image_30012025_01_21_45_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332815285","file1":"1332815278","file0":"1332815246","file4":"1332815295","file3":"1332815291"},"map_files_photo_id_array":[{"photo_id":"1332815285","filename":"file2"},{"photo_id":"1332815295","filename":"file4"},{"photo_id":"1332815278","filename":"file1"},{"photo_id":"1332815246","filename":"file0"},{"photo_id":"1332815291","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332815291":["hashtag1","hashtag2"]},{"1332815285":["hashtag1","hashtag2"]},{"1332815246":["hashtag1","hashtag2"]},{"1332815278":["hashtag1","hashtag2"]},{"1332815295":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332815291, 1332815285, 1332815246, 1332815278, 1332815295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.589722871780396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:22:32.650720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/21/image_30012025_01_21_55_9345.jpg', '/home/pi/Desktop/images/30012025/01/21/image_30012025_01_22_05_10454.jpg', '/home/pi/Desktop/images/30012025/01/22/image_30012025_01_22_15_9401.jpg', '/home/pi/Desktop/images/30012025/01/22/image_30012025_01_22_25_10429.jpg', '/home/pi/Desktop/images/30012025/01/22/image_30012025_01_22_45_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/21/image_30012025_01_21_55_9345.jpg
/home/pi/Desktop/images/30012025/01/21/image_30012025_01_22_05_10454.jpg
/home/pi/Desktop/images/30012025/01/22/image_30012025_01_22_15_9401.jpg
/home/pi/Desktop/images/30012025/01/22/image_30012025_01_22_25_10429.jpg
/home/pi/Desktop/images/30012025/01/22/image_30012025_01_22_45_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":["1332815480","1332815468","1332815456","1332815493","1332815511"],"photo_ids_order":["1332815456","1332815468","1332815480","1332815493","1332815511"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/207f737b71091bb99f21a8f67a56dc8d.jpg","text":"TemporaryFile(/tmp/multipartBody7584400755409110167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196613541,"filename":"image_30012025_01_22_15_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6f32790efbf8e6d1a396e54d1bd02b9e.jpg","text":"TemporaryFile(/tmp/multipartBody326985956139189255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196613541,"filename":"image_30012025_01_22_05_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/30/80a4aeb11611a67989e9cd1bbbb0f479.jpg","text":"TemporaryFile(/tmp/multipartBody4217423178355257621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196613541,"filename":"image_30012025_01_21_55_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3650673a716bda01a4f3b23313d15028.jpg","text":"TemporaryFile(/tmp/multipartBody6499619440156215203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196613541,"filename":"image_30012025_01_22_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/30/6daf599821d68ba777f91b012397eaad.jpg","text":"TemporaryFile(/tmp/multipartBody699675744600320820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196613541,"filename":"image_30012025_01_22_45_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332815480","file1":"1332815468","file0":"1332815456","file4":"1332815511","file3":"1332815493"},"map_files_photo_id_array":[{"photo_id":"1332815480","filename":"file2"},{"photo_id":"1332815511","filename":"file4"},{"photo_id":"1332815468","filename":"file1"},{"photo_id":"1332815456","filename":"file0"},{"photo_id":"1332815493","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332815480":["hashtag1","hashtag2"]},{"1332815468":["hashtag1","hashtag2"]},{"1332815456":["hashtag1","hashtag2"]},{"1332815493":["hashtag1","hashtag2"]},{"1332815511":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332815480, 1332815468, 1332815456, 1332815493, 1332815511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.88762068748474 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:23:32.834142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/22/image_30012025_01_22_55_10454.jpg', '/home/pi/Desktop/images/30012025/01/22/image_30012025_01_23_05_9406.jpg', '/home/pi/Desktop/images/30012025/01/23/image_30012025_01_23_15_10421.jpg', '/home/pi/Desktop/images/30012025/01/23/image_30012025_01_23_25_10352.jpg', '/home/pi/Desktop/images/30012025/01/23/image_30012025_01_23_35_9361.jpg', '/home/pi/Desktop/images/30012025/01/23/image_30012025_01_23_45_10476.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/22/image_30012025_01_22_55_10454.jpg
/home/pi/Desktop/images/30012025/01/22/image_30012025_01_23_05_9406.jpg
/home/pi/Desktop/images/30012025/01/23/image_30012025_01_23_15_10421.jpg
/home/pi/Desktop/images/30012025/01/23/image_30012025_01_23_25_10352.jpg
/home/pi/Desktop/images/30012025/01/23/image_30012025_01_23_35_9361.jpg
/home/pi/Desktop/images/30012025/01/23/image_30012025_01_23_45_10476.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5220263004302979 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 01:23:42.854633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/22/image_30012025_01_22_55_10454.jpg', '/home/pi/Desktop/images/30012025/01/22/image_30012025_01_23_05_9406.jpg', '/home/pi/Desktop/images/30012025/01/23/image_30012025_01_23_15_10421.jpg', '/home/pi/Desktop/images/30012025/01/23/image_30012025_01_23_25_10352.jpg', '/home/pi/Desktop/images/30012025/01/23/image_30012025_01_23_35_9361.jpg', '/home/pi/Desktop/images/30012025/01/23/image_30012025_01_23_45_10476.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/22/image_30012025_01_22_55_10454.jpg
/home/pi/Desktop/images/30012025/01/22/image_30012025_01_23_05_9406.jpg
/home/pi/Desktop/images/30012025/01/23/image_30012025_01_23_15_10421.jpg
/home/pi/Desktop/images/30012025/01/23/image_30012025_01_23_25_10352.jpg
/home/pi/Desktop/images/30012025/01/23/image_30012025_01_23_35_9361.jpg
/home/pi/Desktop/images/30012025/01/23/image_30012025_01_23_45_10476.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332815590","1332816198","1332815583","1332815877","1332815649","1332815577"],"photo_ids_order":["1332815577","1332815583","1332815590","1332815649","1332815877","1332816198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dc4124828733b64ef54d28074526b48a.jpg","text":"TemporaryFile(/tmp/multipartBody9177244213676281979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196683771,"filename":"image_30012025_01_23_15_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/30/b77dfa9127afa91b371e881b708ec3ad.jpg","text":"TemporaryFile(/tmp/multipartBody2123027972250337144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196683771,"filename":"image_30012025_01_23_45_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/30/6cfffbc93493d842bbe08dbdf62b4bd3.jpg","text":"TemporaryFile(/tmp/multipartBody5282836682539704628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196683771,"filename":"image_30012025_01_23_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/30/ab2b75d1146c4fd718964d995e6ad073.jpg","text":"TemporaryFile(/tmp/multipartBody3219193037749943529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196683771,"filename":"image_30012025_01_23_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/30/ce0fa76273ab6afb0beb3f7293f4e2b3.jpg","text":"TemporaryFile(/tmp/multipartBody3490756768170698973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196683771,"filename":"image_30012025_01_23_25_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/aac5d1ebefae12be9c37b629ee7e6b0f.jpg","text":"TemporaryFile(/tmp/multipartBody6700696259698933899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196683771,"filename":"image_30012025_01_22_55_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332815590","file1":"1332815583","file0":"1332815577","file4":"1332815877","file5":"1332816198","file3":"1332815649"},"map_files_photo_id_array":[{"photo_id":"1332816198","filename":"file5"},{"photo_id":"1332815590","filename":"file2"},{"photo_id":"1332815877","filename":"file4"},{"photo_id":"1332815583","filename":"file1"},{"photo_id":"1332815577","filename":"file0"},{"photo_id":"1332815649","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332815590":["hashtag1","hashtag2"]},{"1332816198":["hashtag1","hashtag2"]},{"1332815583":["hashtag1","hashtag2"]},{"1332815877":["hashtag1","hashtag2"]},{"1332815649":["hashtag1","hashtag2"]},{"1332815577":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332815590, 1332816198, 1332815583, 1332815877, 1332815649, 1332815577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.71224331855774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:24:33.113290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/23/image_30012025_01_23_55_9321.jpg', '/home/pi/Desktop/images/30012025/01/23/image_30012025_01_24_05_10396.jpg', '/home/pi/Desktop/images/30012025/01/24/image_30012025_01_24_15_10382.jpg', '/home/pi/Desktop/images/30012025/01/24/image_30012025_01_24_25_9375.jpg', '/home/pi/Desktop/images/30012025/01/24/image_30012025_01_24_35_10356.jpg', '/home/pi/Desktop/images/30012025/01/24/image_30012025_01_24_46_10397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/23/image_30012025_01_23_55_9321.jpg
/home/pi/Desktop/images/30012025/01/23/image_30012025_01_24_05_10396.jpg
/home/pi/Desktop/images/30012025/01/24/image_30012025_01_24_15_10382.jpg
/home/pi/Desktop/images/30012025/01/24/image_30012025_01_24_25_9375.jpg
/home/pi/Desktop/images/30012025/01/24/image_30012025_01_24_35_10356.jpg
/home/pi/Desktop/images/30012025/01/24/image_30012025_01_24_46_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":["1332817415","1332817019","1332816832","1332817191","1332817391","1332817394"],"photo_ids_order":["1332816832","1332817019","1332817191","1332817391","1332817394","1332817415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b8821875d39089b1b85e4ed9042c9227.jpg","text":"TemporaryFile(/tmp/multipartBody7793584089732834234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196734025,"filename":"image_30012025_01_24_46_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/30/961678fc6f131748b7b890a47d494b29.jpg","text":"TemporaryFile(/tmp/multipartBody1641448448962514428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196734025,"filename":"image_30012025_01_24_05_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c261344b8b49096050411116d881aa41.jpg","text":"TemporaryFile(/tmp/multipartBody6277501035177220076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196734025,"filename":"image_30012025_01_23_55_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/30/6203449e5c94bdfcc01d1762887c0a2e.jpg","text":"TemporaryFile(/tmp/multipartBody2048796942679308262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196734025,"filename":"image_30012025_01_24_15_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/30/3b787d13c51b4d4436132e97124590f8.jpg","text":"TemporaryFile(/tmp/multipartBody4387752445684260212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196734025,"filename":"image_30012025_01_24_25_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/30/0dadcb3f8d318e7021db4d0f2fd0ab86.jpg","text":"TemporaryFile(/tmp/multipartBody8676279299696653257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196734025,"filename":"image_30012025_01_24_35_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332817191","file1":"1332817019","file0":"1332816832","file4":"1332817394","file5":"1332817415","file3":"1332817391"},"map_files_photo_id_array":[{"photo_id":"1332817415","filename":"file5"},{"photo_id":"1332817191","filename":"file2"},{"photo_id":"1332817394","filename":"file4"},{"photo_id":"1332817019","filename":"file1"},{"photo_id":"1332816832","filename":"file0"},{"photo_id":"1332817391","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332817415":["hashtag1","hashtag2"]},{"1332817019":["hashtag1","hashtag2"]},{"1332816832":["hashtag1","hashtag2"]},{"1332817191":["hashtag1","hashtag2"]},{"1332817391":["hashtag1","hashtag2"]},{"1332817394":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332817415, 1332817019, 1332816832, 1332817191, 1332817391, 1332817394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.93412232398987 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:25:32.160741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/24/image_30012025_01_24_55_9323.jpg', '/home/pi/Desktop/images/30012025/01/24/image_30012025_01_25_05_10362.jpg', '/home/pi/Desktop/images/30012025/01/25/image_30012025_01_25_16_10354.jpg', '/home/pi/Desktop/images/30012025/01/25/image_30012025_01_25_25_9495.jpg', '/home/pi/Desktop/images/30012025/01/25/image_30012025_01_25_35_10359.jpg', '/home/pi/Desktop/images/30012025/01/25/image_30012025_01_25_45_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/24/image_30012025_01_24_55_9323.jpg
/home/pi/Desktop/images/30012025/01/24/image_30012025_01_25_05_10362.jpg
/home/pi/Desktop/images/30012025/01/25/image_30012025_01_25_16_10354.jpg
/home/pi/Desktop/images/30012025/01/25/image_30012025_01_25_25_9495.jpg
/home/pi/Desktop/images/30012025/01/25/image_30012025_01_25_35_10359.jpg
/home/pi/Desktop/images/30012025/01/25/image_30012025_01_25_45_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":["1332817573","1332817567","1332817552","1332817527","1332817571","1332817559"],"photo_ids_order":["1332817527","1332817552","1332817559","1332817567","1332817571","1332817573"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a52fdddbf7120cc78e211c9952c23964.jpg","text":"TemporaryFile(/tmp/multipartBody4575299920225364491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196793086,"filename":"image_30012025_01_25_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/30/d51e5fd3db5ddecdccc20f68b5e0511c.jpg","text":"TemporaryFile(/tmp/multipartBody8334947294739796095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196793086,"filename":"image_30012025_01_25_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/30/d1a5e1a597effd6a1c18ccbf01e34421.jpg","text":"TemporaryFile(/tmp/multipartBody6282248482681467105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196793086,"filename":"image_30012025_01_25_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/30/ced98f86fbe0dbc690e4db0e6388cee8.jpg","text":"TemporaryFile(/tmp/multipartBody4618309117510054438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196793086,"filename":"image_30012025_01_24_55_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/30/95e61afb527312011d8d294d7b5e1c50.jpg","text":"TemporaryFile(/tmp/multipartBody5357056320720960014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196793086,"filename":"image_30012025_01_25_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/30/4e1aae45031d639eea7ba20c6e00d58c.jpg","text":"TemporaryFile(/tmp/multipartBody6998649493874399239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196793086,"filename":"image_30012025_01_25_16_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332817559","file1":"1332817552","file0":"1332817527","file4":"1332817571","file5":"1332817573","file3":"1332817567"},"map_files_photo_id_array":[{"photo_id":"1332817573","filename":"file5"},{"photo_id":"1332817559","filename":"file2"},{"photo_id":"1332817571","filename":"file4"},{"photo_id":"1332817552","filename":"file1"},{"photo_id":"1332817527","filename":"file0"},{"photo_id":"1332817567","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332817573":["hashtag1","hashtag2"]},{"1332817567":["hashtag1","hashtag2"]},{"1332817552":["hashtag1","hashtag2"]},{"1332817527":["hashtag1","hashtag2"]},{"1332817571":["hashtag1","hashtag2"]},{"1332817559":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332817573, 1332817567, 1332817552, 1332817527, 1332817571, 1332817559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.9308648109436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:26:32.324478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/25/image_30012025_01_25_55_10389.jpg', '/home/pi/Desktop/images/30012025/01/25/image_30012025_01_26_06_10346.jpg', '/home/pi/Desktop/images/30012025/01/26/image_30012025_01_26_15_9330.jpg', '/home/pi/Desktop/images/30012025/01/26/image_30012025_01_26_25_10405.jpg', '/home/pi/Desktop/images/30012025/01/26/image_30012025_01_26_36_10350.jpg', '/home/pi/Desktop/images/30012025/01/26/image_30012025_01_26_45_9416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/25/image_30012025_01_25_55_10389.jpg
/home/pi/Desktop/images/30012025/01/25/image_30012025_01_26_06_10346.jpg
/home/pi/Desktop/images/30012025/01/26/image_30012025_01_26_15_9330.jpg
/home/pi/Desktop/images/30012025/01/26/image_30012025_01_26_25_10405.jpg
/home/pi/Desktop/images/30012025/01/26/image_30012025_01_26_36_10350.jpg
/home/pi/Desktop/images/30012025/01/26/image_30012025_01_26_45_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":["1332818050","1332818058","1332818004","1332818054","1332818047","1332817999"],"photo_ids_order":["1332817999","1332818004","1332818047","1332818050","1332818054","1332818058"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/79d1f251766680983ef9527118ba0a82.jpg","text":"TemporaryFile(/tmp/multipartBody5983112454451297999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196853255,"filename":"image_30012025_01_26_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/30/059f34b1450cd2d7b38d4cd16af83471.jpg","text":"TemporaryFile(/tmp/multipartBody6213213157155626059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196853255,"filename":"image_30012025_01_26_45_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/30/1d23b70827a2288b5a2e3cf009f6346e.jpg","text":"TemporaryFile(/tmp/multipartBody8358885047376124933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196853255,"filename":"image_30012025_01_26_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/30/cf487c8e59efdf72625f80f9f884a038.jpg","text":"TemporaryFile(/tmp/multipartBody173499276537599868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196853255,"filename":"image_30012025_01_26_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/30/6d547a1fdc8b766e5e6465d87d4f1f1a.jpg","text":"TemporaryFile(/tmp/multipartBody3822805954711431481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196853255,"filename":"image_30012025_01_26_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/30/c0c8d66b6314db5bc5cba069724baebb.jpg","text":"TemporaryFile(/tmp/multipartBody4454417722785925404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196853255,"filename":"image_30012025_01_25_55_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332818047","file1":"1332818004","file0":"1332817999","file4":"1332818054","file5":"1332818058","file3":"1332818050"},"map_files_photo_id_array":[{"photo_id":"1332818058","filename":"file5"},{"photo_id":"1332818047","filename":"file2"},{"photo_id":"1332818054","filename":"file4"},{"photo_id":"1332818004","filename":"file1"},{"photo_id":"1332817999","filename":"file0"},{"photo_id":"1332818050","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332818050":["hashtag1","hashtag2"]},{"1332818058":["hashtag1","hashtag2"]},{"1332818004":["hashtag1","hashtag2"]},{"1332818054":["hashtag1","hashtag2"]},{"1332818047":["hashtag1","hashtag2"]},{"1332817999":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332818050, 1332818058, 1332818004, 1332818054, 1332818047, 1332817999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.149409770965576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:27:32.531065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/26/image_30012025_01_26_55_10361.jpg', '/home/pi/Desktop/images/30012025/01/26/image_30012025_01_27_05_9357.jpg', '/home/pi/Desktop/images/30012025/01/27/image_30012025_01_27_15_10433.jpg', '/home/pi/Desktop/images/30012025/01/27/image_30012025_01_27_26_10367.jpg', '/home/pi/Desktop/images/30012025/01/27/image_30012025_01_27_35_9406.jpg', '/home/pi/Desktop/images/30012025/01/27/image_30012025_01_27_45_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/26/image_30012025_01_26_55_10361.jpg
/home/pi/Desktop/images/30012025/01/26/image_30012025_01_27_05_9357.jpg
/home/pi/Desktop/images/30012025/01/27/image_30012025_01_27_15_10433.jpg
/home/pi/Desktop/images/30012025/01/27/image_30012025_01_27_26_10367.jpg
/home/pi/Desktop/images/30012025/01/27/image_30012025_01_27_35_9406.jpg
/home/pi/Desktop/images/30012025/01/27/image_30012025_01_27_45_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332818298","1332818436","1332818208","1332818384","1332818114","1332818102"],"photo_ids_order":["1332818102","1332818114","1332818208","1332818298","1332818384","1332818436"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/16be57124ddc402597b80ec7ecf7d06a.jpg","text":"TemporaryFile(/tmp/multipartBody5735542659843186350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196913452,"filename":"image_30012025_01_27_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/30/082cca946c04d1f276a243748ed76678.jpg","text":"TemporaryFile(/tmp/multipartBody6351060785695291140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196913452,"filename":"image_30012025_01_27_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/30/95fc16a96d0eab760b9b6439ab0e48fa.jpg","text":"TemporaryFile(/tmp/multipartBody527431987245517567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196913452,"filename":"image_30012025_01_27_15_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/30/8549e8aee28bc845272ee84704ecd98c.jpg","text":"TemporaryFile(/tmp/multipartBody675867256910201650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196913452,"filename":"image_30012025_01_27_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/30/7d475680b655069b31d090c4763543d1.jpg","text":"TemporaryFile(/tmp/multipartBody1073993399868606610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196913452,"filename":"image_30012025_01_27_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/30/954a636251125fe59a0225ef0c87ed54.jpg","text":"TemporaryFile(/tmp/multipartBody2993172704331232331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196913452,"filename":"image_30012025_01_26_55_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332818208","file1":"1332818114","file0":"1332818102","file4":"1332818384","file5":"1332818436","file3":"1332818298"},"map_files_photo_id_array":[{"photo_id":"1332818436","filename":"file5"},{"photo_id":"1332818208","filename":"file2"},{"photo_id":"1332818384","filename":"file4"},{"photo_id":"1332818114","filename":"file1"},{"photo_id":"1332818102","filename":"file0"},{"photo_id":"1332818298","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332818298":["hashtag1","hashtag2"]},{"1332818436":["hashtag1","hashtag2"]},{"1332818208":["hashtag1","hashtag2"]},{"1332818384":["hashtag1","hashtag2"]},{"1332818114":["hashtag1","hashtag2"]},{"1332818102":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332818298, 1332818436, 1332818208, 1332818384, 1332818114, 1332818102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.09192228317261 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:28:32.695834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/27/image_30012025_01_27_55_9368.jpg', '/home/pi/Desktop/images/30012025/01/27/image_30012025_01_28_05_10357.jpg', '/home/pi/Desktop/images/30012025/01/28/image_30012025_01_28_15_10353.jpg', '/home/pi/Desktop/images/30012025/01/28/image_30012025_01_28_25_9364.jpg', '/home/pi/Desktop/images/30012025/01/28/image_30012025_01_28_35_10212.jpg', '/home/pi/Desktop/images/30012025/01/28/image_30012025_01_28_45_10458.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/27/image_30012025_01_27_55_9368.jpg
/home/pi/Desktop/images/30012025/01/27/image_30012025_01_28_05_10357.jpg
/home/pi/Desktop/images/30012025/01/28/image_30012025_01_28_15_10353.jpg
/home/pi/Desktop/images/30012025/01/28/image_30012025_01_28_25_9364.jpg
/home/pi/Desktop/images/30012025/01/28/image_30012025_01_28_35_10212.jpg
/home/pi/Desktop/images/30012025/01/28/image_30012025_01_28_45_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":["1332819168","1332819069","1332818987","1332818915","1332819349","1332819259"],"photo_ids_order":["1332818915","1332818987","1332819069","1332819168","1332819259","1332819349"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/40f674bc3e060d57eb751f9778c6352e.jpg","text":"TemporaryFile(/tmp/multipartBody6269472667320052014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196973622,"filename":"image_30012025_01_28_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/30/67810266393399addeba3e187ed65e80.jpg","text":"TemporaryFile(/tmp/multipartBody5724091550863759237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196973622,"filename":"image_30012025_01_28_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/30/0687ebed07bb4e02db328d0fe833195f.jpg","text":"TemporaryFile(/tmp/multipartBody5680598489261507764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196973622,"filename":"image_30012025_01_28_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/30/4a1e2d06266c66b49f8eed3e1a053952.jpg","text":"TemporaryFile(/tmp/multipartBody4628777524318460779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196973622,"filename":"image_30012025_01_27_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/30/bb3f490a15c86f3db671a02846f1cf01.jpg","text":"TemporaryFile(/tmp/multipartBody1867082194720850100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196973622,"filename":"image_30012025_01_28_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/30/6a0fccfd032bd39ce827b9fcb495e7c3.jpg","text":"TemporaryFile(/tmp/multipartBody471645480356823358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738196973622,"filename":"image_30012025_01_28_35_10212.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332819069","file1":"1332818987","file0":"1332818915","file4":"1332819259","file5":"1332819349","file3":"1332819168"},"map_files_photo_id_array":[{"photo_id":"1332819349","filename":"file5"},{"photo_id":"1332819069","filename":"file2"},{"photo_id":"1332819259","filename":"file4"},{"photo_id":"1332818987","filename":"file1"},{"photo_id":"1332818915","filename":"file0"},{"photo_id":"1332819168","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332819168":["hashtag1","hashtag2"]},{"1332819069":["hashtag1","hashtag2"]},{"1332818987":["hashtag1","hashtag2"]},{"1332818915":["hashtag1","hashtag2"]},{"1332819349":["hashtag1","hashtag2"]},{"1332819259":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332819168, 1332819069, 1332818987, 1332818915, 1332819349, 1332819259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29696726799011 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:29:32.952060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/28/image_30012025_01_28_55_9358.jpg', '/home/pi/Desktop/images/30012025/01/28/image_30012025_01_29_05_10407.jpg', '/home/pi/Desktop/images/30012025/01/29/image_30012025_01_29_16_10343.jpg', '/home/pi/Desktop/images/30012025/01/29/image_30012025_01_29_25_9345.jpg', '/home/pi/Desktop/images/30012025/01/29/image_30012025_01_29_35_10418.jpg', '/home/pi/Desktop/images/30012025/01/29/image_30012025_01_29_45_9362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/28/image_30012025_01_28_55_9358.jpg
/home/pi/Desktop/images/30012025/01/28/image_30012025_01_29_05_10407.jpg
/home/pi/Desktop/images/30012025/01/29/image_30012025_01_29_16_10343.jpg
/home/pi/Desktop/images/30012025/01/29/image_30012025_01_29_25_9345.jpg
/home/pi/Desktop/images/30012025/01/29/image_30012025_01_29_35_10418.jpg
/home/pi/Desktop/images/30012025/01/29/image_30012025_01_29_45_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":["1332819765","1332819621","1332819668","1332819868","1332819925","1332819724"],"photo_ids_order":["1332819621","1332819668","1332819724","1332819765","1332819868","1332819925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0245ec97ae144dbd5415f71fc0beeaa4.jpg","text":"TemporaryFile(/tmp/multipartBody8535986442608939985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197033885,"filename":"image_30012025_01_29_25_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e2454327b3068d1cccc82e390f4fb1d2.jpg","text":"TemporaryFile(/tmp/multipartBody939916050651862056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197033885,"filename":"image_30012025_01_28_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/30/a6f98dda6521467482b9ee9fafcf7658.jpg","text":"TemporaryFile(/tmp/multipartBody2443631122537910786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197033885,"filename":"image_30012025_01_29_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/30/cf5deeaae80683d56d394f1b85bef952.jpg","text":"TemporaryFile(/tmp/multipartBody889452200115200696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197033885,"filename":"image_30012025_01_29_35_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/499e21e03d8fb30b676b765f9bde8df6.jpg","text":"TemporaryFile(/tmp/multipartBody3306390368683121971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197033885,"filename":"image_30012025_01_29_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/30/0d077ce8c07bd9104a8a18fbcc452f27.jpg","text":"TemporaryFile(/tmp/multipartBody5585474193157757206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197033885,"filename":"image_30012025_01_29_16_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332819724","file1":"1332819668","file0":"1332819621","file4":"1332819868","file5":"1332819925","file3":"1332819765"},"map_files_photo_id_array":[{"photo_id":"1332819925","filename":"file5"},{"photo_id":"1332819724","filename":"file2"},{"photo_id":"1332819868","filename":"file4"},{"photo_id":"1332819668","filename":"file1"},{"photo_id":"1332819621","filename":"file0"},{"photo_id":"1332819765","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332819765":["hashtag1","hashtag2"]},{"1332819621":["hashtag1","hashtag2"]},{"1332819668":["hashtag1","hashtag2"]},{"1332819868":["hashtag1","hashtag2"]},{"1332819925":["hashtag1","hashtag2"]},{"1332819724":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332819765, 1332819621, 1332819668, 1332819868, 1332819925, 1332819724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.227766275405884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:30:33.181435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/29/image_30012025_01_29_55_10375.jpg', '/home/pi/Desktop/images/30012025/01/29/image_30012025_01_30_05_10425.jpg', '/home/pi/Desktop/images/30012025/01/30/image_30012025_01_30_15_9345.jpg', '/home/pi/Desktop/images/30012025/01/30/image_30012025_01_30_25_10344.jpg', '/home/pi/Desktop/images/30012025/01/30/image_30012025_01_30_36_10358.jpg', '/home/pi/Desktop/images/30012025/01/30/image_30012025_01_30_45_9427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/29/image_30012025_01_29_55_10375.jpg
/home/pi/Desktop/images/30012025/01/29/image_30012025_01_30_05_10425.jpg
/home/pi/Desktop/images/30012025/01/30/image_30012025_01_30_15_9345.jpg
/home/pi/Desktop/images/30012025/01/30/image_30012025_01_30_25_10344.jpg
/home/pi/Desktop/images/30012025/01/30/image_30012025_01_30_36_10358.jpg
/home/pi/Desktop/images/30012025/01/30/image_30012025_01_30_45_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":["1332820318","1332820578","1332820218","1332820436","1332820316","1332820294"],"photo_ids_order":["1332820218","1332820294","1332820316","1332820318","1332820436","1332820578"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f6748684e1bdb89453968238eea91c1f.jpg","text":"TemporaryFile(/tmp/multipartBody2152821452124217493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197094100,"filename":"image_30012025_01_30_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/30/501faf13ff234e295e77a4adc7bdcea2.jpg","text":"TemporaryFile(/tmp/multipartBody4892877156877612939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197094100,"filename":"image_30012025_01_30_45_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/30/dd9d30ed12bab2f09c0eaed6ec92dfa6.jpg","text":"TemporaryFile(/tmp/multipartBody8767322386757948659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197094100,"filename":"image_30012025_01_29_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/30/885b561ead8a42969724860af2b95742.jpg","text":"TemporaryFile(/tmp/multipartBody2998794645197018362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197094100,"filename":"image_30012025_01_30_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/30/c922016d009ef22d9f14e6f824ae20bc.jpg","text":"TemporaryFile(/tmp/multipartBody1855349797595829971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197094100,"filename":"image_30012025_01_30_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/30/05d909574c09a48d3f1b6fce77d01a09.jpg","text":"TemporaryFile(/tmp/multipartBody1967477253754458810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197094100,"filename":"image_30012025_01_30_05_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332820316","file1":"1332820294","file0":"1332820218","file4":"1332820436","file5":"1332820578","file3":"1332820318"},"map_files_photo_id_array":[{"photo_id":"1332820578","filename":"file5"},{"photo_id":"1332820316","filename":"file2"},{"photo_id":"1332820436","filename":"file4"},{"photo_id":"1332820294","filename":"file1"},{"photo_id":"1332820218","filename":"file0"},{"photo_id":"1332820318","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332820318":["hashtag1","hashtag2"]},{"1332820578":["hashtag1","hashtag2"]},{"1332820218":["hashtag1","hashtag2"]},{"1332820436":["hashtag1","hashtag2"]},{"1332820316":["hashtag1","hashtag2"]},{"1332820294":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332820318, 1332820578, 1332820218, 1332820436, 1332820316, 1332820294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.50987768173218 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:31:32.455742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/30/image_30012025_01_30_55_10383.jpg', '/home/pi/Desktop/images/30012025/01/30/image_30012025_01_31_05_9368.jpg', '/home/pi/Desktop/images/30012025/01/31/image_30012025_01_31_15_10401.jpg', '/home/pi/Desktop/images/30012025/01/31/image_30012025_01_31_25_10388.jpg', '/home/pi/Desktop/images/30012025/01/31/image_30012025_01_31_35_9332.jpg', '/home/pi/Desktop/images/30012025/01/31/image_30012025_01_31_45_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/30/image_30012025_01_30_55_10383.jpg
/home/pi/Desktop/images/30012025/01/30/image_30012025_01_31_05_9368.jpg
/home/pi/Desktop/images/30012025/01/31/image_30012025_01_31_15_10401.jpg
/home/pi/Desktop/images/30012025/01/31/image_30012025_01_31_25_10388.jpg
/home/pi/Desktop/images/30012025/01/31/image_30012025_01_31_35_9332.jpg
/home/pi/Desktop/images/30012025/01/31/image_30012025_01_31_45_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332820692","1332820695","1332820635","1332820626","1332820679","1332820631"],"photo_ids_order":["1332820626","1332820631","1332820635","1332820679","1332820692","1332820695"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/738fb44e3e16a206bd5e33766d12e629.jpg","text":"TemporaryFile(/tmp/multipartBody1103745464646120384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197153407,"filename":"image_30012025_01_31_35_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6d8c62e519ffba11243ae8d9d7a0b056.jpg","text":"TemporaryFile(/tmp/multipartBody2089782151562346917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197153407,"filename":"image_30012025_01_31_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/30/96261d08ca5a0b4632342217885f965e.jpg","text":"TemporaryFile(/tmp/multipartBody3331234360609293734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197153407,"filename":"image_30012025_01_31_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/30/fce97dc9172f0c5c10c3e66922c6dbf8.jpg","text":"TemporaryFile(/tmp/multipartBody589486058208640501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197153407,"filename":"image_30012025_01_30_55_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/30/4dbe007409488be695978a3f17e4819a.jpg","text":"TemporaryFile(/tmp/multipartBody3540483000491565355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197153407,"filename":"image_30012025_01_31_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/30/602f530308e6fd059e4ad6f79874b30a.jpg","text":"TemporaryFile(/tmp/multipartBody4467967366416779101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197153407,"filename":"image_30012025_01_31_05_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332820635","file1":"1332820631","file0":"1332820626","file4":"1332820692","file5":"1332820695","file3":"1332820679"},"map_files_photo_id_array":[{"photo_id":"1332820695","filename":"file5"},{"photo_id":"1332820635","filename":"file2"},{"photo_id":"1332820692","filename":"file4"},{"photo_id":"1332820631","filename":"file1"},{"photo_id":"1332820626","filename":"file0"},{"photo_id":"1332820679","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332820692":["hashtag1","hashtag2"]},{"1332820695":["hashtag1","hashtag2"]},{"1332820635":["hashtag1","hashtag2"]},{"1332820626":["hashtag1","hashtag2"]},{"1332820679":["hashtag1","hashtag2"]},{"1332820631":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332820692, 1332820695, 1332820635, 1332820626, 1332820679, 1332820631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.022799253463745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:32:32.655547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/31/image_30012025_01_31_56_10347.jpg', '/home/pi/Desktop/images/30012025/01/31/image_30012025_01_32_05_9377.jpg', '/home/pi/Desktop/images/30012025/01/32/image_30012025_01_32_15_10336.jpg', '/home/pi/Desktop/images/30012025/01/32/image_30012025_01_32_26_10357.jpg', '/home/pi/Desktop/images/30012025/01/32/image_30012025_01_32_35_9397.jpg', '/home/pi/Desktop/images/30012025/01/32/image_30012025_01_32_45_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/31/image_30012025_01_31_56_10347.jpg
/home/pi/Desktop/images/30012025/01/31/image_30012025_01_32_05_9377.jpg
/home/pi/Desktop/images/30012025/01/32/image_30012025_01_32_15_10336.jpg
/home/pi/Desktop/images/30012025/01/32/image_30012025_01_32_26_10357.jpg
/home/pi/Desktop/images/30012025/01/32/image_30012025_01_32_35_9397.jpg
/home/pi/Desktop/images/30012025/01/32/image_30012025_01_32_45_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":["1332820732","1332820758","1332820746","1332820739","1332820742","1332820736"],"photo_ids_order":["1332820732","1332820736","1332820739","1332820742","1332820746","1332820758"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9e5f4797158852a6bc2073abd38f934c.jpg","text":"TemporaryFile(/tmp/multipartBody7066557601943635321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197213571,"filename":"image_30012025_01_31_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/30/5b2124c9c53fd80878b8887987a9d390.jpg","text":"TemporaryFile(/tmp/multipartBody6057905194674132367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197213571,"filename":"image_30012025_01_32_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/30/d15f9afa2d797b9a11206337782ce752.jpg","text":"TemporaryFile(/tmp/multipartBody6819046632504905669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197213571,"filename":"image_30012025_01_32_35_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e9184208850dce1337386810637e1c0a.jpg","text":"TemporaryFile(/tmp/multipartBody2765070063068768145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197213571,"filename":"image_30012025_01_32_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/30/490b34c6bf86891f9a50d18ad8e73b7a.jpg","text":"TemporaryFile(/tmp/multipartBody8278372612170733006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197213571,"filename":"image_30012025_01_32_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/30/0a114acbb5f9e8fe3339bbb1dadea785.jpg","text":"TemporaryFile(/tmp/multipartBody6169255536665050450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197213571,"filename":"image_30012025_01_32_05_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332820739","file1":"1332820736","file0":"1332820732","file4":"1332820746","file5":"1332820758","file3":"1332820742"},"map_files_photo_id_array":[{"photo_id":"1332820758","filename":"file5"},{"photo_id":"1332820739","filename":"file2"},{"photo_id":"1332820746","filename":"file4"},{"photo_id":"1332820736","filename":"file1"},{"photo_id":"1332820732","filename":"file0"},{"photo_id":"1332820742","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332820732":["hashtag1","hashtag2"]},{"1332820758":["hashtag1","hashtag2"]},{"1332820746":["hashtag1","hashtag2"]},{"1332820739":["hashtag1","hashtag2"]},{"1332820742":["hashtag1","hashtag2"]},{"1332820736":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332820732, 1332820758, 1332820746, 1332820739, 1332820742, 1332820736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.04023289680481 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:33:32.865798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/32/image_30012025_01_32_55_9386.jpg', '/home/pi/Desktop/images/30012025/01/32/image_30012025_01_33_05_10391.jpg', '/home/pi/Desktop/images/30012025/01/33/image_30012025_01_33_16_10407.jpg', '/home/pi/Desktop/images/30012025/01/33/image_30012025_01_33_25_9361.jpg', '/home/pi/Desktop/images/30012025/01/33/image_30012025_01_33_35_10352.jpg', '/home/pi/Desktop/images/30012025/01/33/image_30012025_01_33_46_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/32/image_30012025_01_32_55_9386.jpg
/home/pi/Desktop/images/30012025/01/32/image_30012025_01_33_05_10391.jpg
/home/pi/Desktop/images/30012025/01/33/image_30012025_01_33_16_10407.jpg
/home/pi/Desktop/images/30012025/01/33/image_30012025_01_33_25_9361.jpg
/home/pi/Desktop/images/30012025/01/33/image_30012025_01_33_35_10352.jpg
/home/pi/Desktop/images/30012025/01/33/image_30012025_01_33_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":["1332820801","1332820806","1332820811","1332820814","1332820817","1332820795"],"photo_ids_order":["1332820795","1332820801","1332820806","1332820811","1332820814","1332820817"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/52703de713009ac5485a572390c37ea0.jpg","text":"TemporaryFile(/tmp/multipartBody3405193745592504944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197273791,"filename":"image_30012025_01_33_05_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a563ed54b1a330b8204238d25c1b8676.jpg","text":"TemporaryFile(/tmp/multipartBody9197795606534821550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197273791,"filename":"image_30012025_01_33_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/30/a5ac49297f15aee45316b027f67e066f.jpg","text":"TemporaryFile(/tmp/multipartBody7669316311805413239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197273791,"filename":"image_30012025_01_33_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/30/a021a7cd8a8d70e229196ba61e7bdb83.jpg","text":"TemporaryFile(/tmp/multipartBody8038242858004933469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197273791,"filename":"image_30012025_01_33_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/30/58011d19fd27c87316d260cbadcc3324.jpg","text":"TemporaryFile(/tmp/multipartBody1693637880606585877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197273791,"filename":"image_30012025_01_33_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/30/030a76b77c2827400d508bf0bf9729af.jpg","text":"TemporaryFile(/tmp/multipartBody6696454900382736377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197273791,"filename":"image_30012025_01_32_55_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332820806","file1":"1332820801","file0":"1332820795","file4":"1332820814","file5":"1332820817","file3":"1332820811"},"map_files_photo_id_array":[{"photo_id":"1332820817","filename":"file5"},{"photo_id":"1332820806","filename":"file2"},{"photo_id":"1332820814","filename":"file4"},{"photo_id":"1332820801","filename":"file1"},{"photo_id":"1332820795","filename":"file0"},{"photo_id":"1332820811","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332820801":["hashtag1","hashtag2"]},{"1332820806":["hashtag1","hashtag2"]},{"1332820811":["hashtag1","hashtag2"]},{"1332820814":["hashtag1","hashtag2"]},{"1332820817":["hashtag1","hashtag2"]},{"1332820795":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332820801, 1332820806, 1332820811, 1332820814, 1332820817, 1332820795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.78538370132446 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:34:33.044185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/33/image_30012025_01_33_55_9466.jpg', '/home/pi/Desktop/images/30012025/01/34/image_30012025_01_34_15_9473.jpg', '/home/pi/Desktop/images/30012025/01/34/image_30012025_01_34_25_10343.jpg', '/home/pi/Desktop/images/30012025/01/34/image_30012025_01_34_35_9401.jpg', '/home/pi/Desktop/images/30012025/01/34/image_30012025_01_34_45_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/33/image_30012025_01_33_55_9466.jpg
/home/pi/Desktop/images/30012025/01/34/image_30012025_01_34_15_9473.jpg
/home/pi/Desktop/images/30012025/01/34/image_30012025_01_34_25_10343.jpg
/home/pi/Desktop/images/30012025/01/34/image_30012025_01_34_35_9401.jpg
/home/pi/Desktop/images/30012025/01/34/image_30012025_01_34_45_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.5422263145446777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 01:34:43.013961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/33/image_30012025_01_33_55_9466.jpg', '/home/pi/Desktop/images/30012025/01/34/image_30012025_01_34_15_9473.jpg', '/home/pi/Desktop/images/30012025/01/34/image_30012025_01_34_25_10343.jpg', '/home/pi/Desktop/images/30012025/01/34/image_30012025_01_34_35_9401.jpg', '/home/pi/Desktop/images/30012025/01/34/image_30012025_01_34_45_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/33/image_30012025_01_33_55_9466.jpg
/home/pi/Desktop/images/30012025/01/34/image_30012025_01_34_15_9473.jpg
/home/pi/Desktop/images/30012025/01/34/image_30012025_01_34_25_10343.jpg
/home/pi/Desktop/images/30012025/01/34/image_30012025_01_34_35_9401.jpg
/home/pi/Desktop/images/30012025/01/34/image_30012025_01_34_45_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":["1332820878","1332820887","1332820880","1332820865","1332820882"],"photo_ids_order":["1332820865","1332820878","1332820880","1332820882","1332820887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a63cbd6c9ece9342dc8ec6cca51e0848.jpg","text":"TemporaryFile(/tmp/multipartBody3428337756225175261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197343968,"filename":"image_30012025_01_34_15_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/30/dc86cb1810caf5d3967c6c4736f7242d.jpg","text":"TemporaryFile(/tmp/multipartBody7933644443725533052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197343968,"filename":"image_30012025_01_34_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/30/bde9745dbee1805a2879c85d6ae29d80.jpg","text":"TemporaryFile(/tmp/multipartBody5633048367277164439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197343968,"filename":"image_30012025_01_34_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/30/f631cf43cf48f5912cff9c9a7046a49d.jpg","text":"TemporaryFile(/tmp/multipartBody7589502864250676866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197343968,"filename":"image_30012025_01_33_55_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/efc20783c7bab98647a5222c4f9b63bc.jpg","text":"TemporaryFile(/tmp/multipartBody4926056439438534816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197343968,"filename":"image_30012025_01_34_35_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332820880","file1":"1332820878","file0":"1332820865","file4":"1332820887","file3":"1332820882"},"map_files_photo_id_array":[{"photo_id":"1332820880","filename":"file2"},{"photo_id":"1332820887","filename":"file4"},{"photo_id":"1332820878","filename":"file1"},{"photo_id":"1332820865","filename":"file0"},{"photo_id":"1332820882","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332820878":["hashtag1","hashtag2"]},{"1332820887":["hashtag1","hashtag2"]},{"1332820880":["hashtag1","hashtag2"]},{"1332820865":["hashtag1","hashtag2"]},{"1332820882":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332820878, 1332820887, 1332820880, 1332820865, 1332820882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.69323205947876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:35:32.284580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/34/image_30012025_01_34_55_10367.jpg', '/home/pi/Desktop/images/30012025/01/34/image_30012025_01_35_05_9373.jpg', '/home/pi/Desktop/images/30012025/01/35/image_30012025_01_35_15_10351.jpg', '/home/pi/Desktop/images/30012025/01/35/image_30012025_01_35_26_10413.jpg', '/home/pi/Desktop/images/30012025/01/35/image_30012025_01_35_35_9463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/34/image_30012025_01_34_55_10367.jpg
/home/pi/Desktop/images/30012025/01/34/image_30012025_01_35_05_9373.jpg
/home/pi/Desktop/images/30012025/01/35/image_30012025_01_35_15_10351.jpg
/home/pi/Desktop/images/30012025/01/35/image_30012025_01_35_26_10413.jpg
/home/pi/Desktop/images/30012025/01/35/image_30012025_01_35_35_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":["1332820908","1332820919","1332820913","1332820999","1332820993"],"photo_ids_order":["1332820908","1332820913","1332820919","1332820993","1332820999"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/61fcb89d9bc5a47ec18fbb7370002360.jpg","text":"TemporaryFile(/tmp/multipartBody1316991558719527307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197393186,"filename":"image_30012025_01_34_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/30/fca657d600c30142de8de84a08ec32c8.jpg","text":"TemporaryFile(/tmp/multipartBody5590960634352999249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197393186,"filename":"image_30012025_01_35_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/30/daae8b7b6022f7d7924d6e2a412dc2e1.jpg","text":"TemporaryFile(/tmp/multipartBody9162711959607889494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197393186,"filename":"image_30012025_01_35_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/30/4d9313bcb801b6d4dc9f147b369185d4.jpg","text":"TemporaryFile(/tmp/multipartBody4228088200720449384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197393186,"filename":"image_30012025_01_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/30/98f07233da40159f1081e44fa23d9d20.jpg","text":"TemporaryFile(/tmp/multipartBody6839355051891505239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197393186,"filename":"image_30012025_01_35_26_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332820919","file1":"1332820913","file0":"1332820908","file4":"1332820999","file3":"1332820993"},"map_files_photo_id_array":[{"photo_id":"1332820919","filename":"file2"},{"photo_id":"1332820999","filename":"file4"},{"photo_id":"1332820913","filename":"file1"},{"photo_id":"1332820908","filename":"file0"},{"photo_id":"1332820993","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332820908":["hashtag1","hashtag2"]},{"1332820919":["hashtag1","hashtag2"]},{"1332820913":["hashtag1","hashtag2"]},{"1332820999":["hashtag1","hashtag2"]},{"1332820993":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332820908, 1332820919, 1332820913, 1332820999, 1332820993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.66619253158569 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:36:32.549922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/35/image_30012025_01_35_55_9339.jpg', '/home/pi/Desktop/images/30012025/01/36/image_30012025_01_36_16_10426.jpg', '/home/pi/Desktop/images/30012025/01/36/image_30012025_01_36_25_9341.jpg', '/home/pi/Desktop/images/30012025/01/36/image_30012025_01_36_35_10364.jpg', '/home/pi/Desktop/images/30012025/01/36/image_30012025_01_36_46_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/35/image_30012025_01_35_55_9339.jpg
/home/pi/Desktop/images/30012025/01/36/image_30012025_01_36_16_10426.jpg
/home/pi/Desktop/images/30012025/01/36/image_30012025_01_36_25_9341.jpg
/home/pi/Desktop/images/30012025/01/36/image_30012025_01_36_35_10364.jpg
/home/pi/Desktop/images/30012025/01/36/image_30012025_01_36_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":["1332821107","1332821091","1332821130","1332821121","1332821074"],"photo_ids_order":["1332821074","1332821091","1332821107","1332821121","1332821130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4ec991f14b6463276e79b85537b98063.jpg","text":"TemporaryFile(/tmp/multipartBody972995354371652494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197453449,"filename":"image_30012025_01_36_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/30/ee7b6d3804af58bb91af1ff4ebbaaaf8.jpg","text":"TemporaryFile(/tmp/multipartBody9158106940053486219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197453449,"filename":"image_30012025_01_36_16_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ab164086a0ae901b5eeb1beba0cbc728.jpg","text":"TemporaryFile(/tmp/multipartBody6840626738445643716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197453449,"filename":"image_30012025_01_36_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/30/29bb23829fc81b1e6ea200935451f0ab.jpg","text":"TemporaryFile(/tmp/multipartBody882521939897369450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197453449,"filename":"image_30012025_01_36_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e68e0b44692c7f0d78f537c9531b4d54.jpg","text":"TemporaryFile(/tmp/multipartBody8056547228201639390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197453449,"filename":"image_30012025_01_35_55_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332821107","file1":"1332821091","file0":"1332821074","file4":"1332821130","file3":"1332821121"},"map_files_photo_id_array":[{"photo_id":"1332821107","filename":"file2"},{"photo_id":"1332821130","filename":"file4"},{"photo_id":"1332821091","filename":"file1"},{"photo_id":"1332821074","filename":"file0"},{"photo_id":"1332821121","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332821107":["hashtag1","hashtag2"]},{"1332821091":["hashtag1","hashtag2"]},{"1332821130":["hashtag1","hashtag2"]},{"1332821121":["hashtag1","hashtag2"]},{"1332821074":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332821107, 1332821091, 1332821130, 1332821121, 1332821074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.80557084083557 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:37:32.798130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/36/image_30012025_01_36_55_9510.jpg', '/home/pi/Desktop/images/30012025/01/36/image_30012025_01_37_05_10355.jpg', '/home/pi/Desktop/images/30012025/01/37/image_30012025_01_37_15_9330.jpg', '/home/pi/Desktop/images/30012025/01/37/image_30012025_01_37_25_10426.jpg', '/home/pi/Desktop/images/30012025/01/37/image_30012025_01_37_36_10364.jpg', '/home/pi/Desktop/images/30012025/01/37/image_30012025_01_37_45_9391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/36/image_30012025_01_36_55_9510.jpg
/home/pi/Desktop/images/30012025/01/36/image_30012025_01_37_05_10355.jpg
/home/pi/Desktop/images/30012025/01/37/image_30012025_01_37_15_9330.jpg
/home/pi/Desktop/images/30012025/01/37/image_30012025_01_37_25_10426.jpg
/home/pi/Desktop/images/30012025/01/37/image_30012025_01_37_36_10364.jpg
/home/pi/Desktop/images/30012025/01/37/image_30012025_01_37_45_9391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332821196","1332821190","1332821208","1332821216","1332821227","1332821236"],"photo_ids_order":["1332821190","1332821196","1332821208","1332821216","1332821227","1332821236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0ca64918536b07a3d9e8884283c39caa.jpg","text":"TemporaryFile(/tmp/multipartBody8829443669397295715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197513704,"filename":"image_30012025_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/30/4ad1d0eb08e978838986443af23da709.jpg","text":"TemporaryFile(/tmp/multipartBody6351836324951845237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197513704,"filename":"image_30012025_01_36_55_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/30/b11c11510a949893f6cfa0334d55db3b.jpg","text":"TemporaryFile(/tmp/multipartBody4125456826686412798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197513704,"filename":"image_30012025_01_37_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/30/ef2bba2bee16f57d3ea6465dd7032312.jpg","text":"TemporaryFile(/tmp/multipartBody3798615436560027434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197513704,"filename":"image_30012025_01_37_25_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/30/fd650785d6f5a380d0f8fd1f3901473a.jpg","text":"TemporaryFile(/tmp/multipartBody2782038349344171963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197513704,"filename":"image_30012025_01_37_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/30/fe812747d6df9f0628cb1e9f721fc59b.jpg","text":"TemporaryFile(/tmp/multipartBody5619446963199351634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197513704,"filename":"image_30012025_01_37_45_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332821208","file1":"1332821196","file0":"1332821190","file4":"1332821227","file5":"1332821236","file3":"1332821216"},"map_files_photo_id_array":[{"photo_id":"1332821236","filename":"file5"},{"photo_id":"1332821208","filename":"file2"},{"photo_id":"1332821227","filename":"file4"},{"photo_id":"1332821196","filename":"file1"},{"photo_id":"1332821190","filename":"file0"},{"photo_id":"1332821216","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332821196":["hashtag1","hashtag2"]},{"1332821190":["hashtag1","hashtag2"]},{"1332821208":["hashtag1","hashtag2"]},{"1332821216":["hashtag1","hashtag2"]},{"1332821227":["hashtag1","hashtag2"]},{"1332821236":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332821196, 1332821190, 1332821208, 1332821216, 1332821227, 1332821236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.88075876235962 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:38:32.137223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/37/image_30012025_01_37_55_10346.jpg', '/home/pi/Desktop/images/30012025/01/37/image_30012025_01_38_05_9373.jpg', '/home/pi/Desktop/images/30012025/01/38/image_30012025_01_38_15_10336.jpg', '/home/pi/Desktop/images/30012025/01/38/image_30012025_01_38_25_10361.jpg', '/home/pi/Desktop/images/30012025/01/38/image_30012025_01_38_35_9331.jpg', '/home/pi/Desktop/images/30012025/01/38/image_30012025_01_38_45_10414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/37/image_30012025_01_37_55_10346.jpg
/home/pi/Desktop/images/30012025/01/37/image_30012025_01_38_05_9373.jpg
/home/pi/Desktop/images/30012025/01/38/image_30012025_01_38_15_10336.jpg
/home/pi/Desktop/images/30012025/01/38/image_30012025_01_38_25_10361.jpg
/home/pi/Desktop/images/30012025/01/38/image_30012025_01_38_35_9331.jpg
/home/pi/Desktop/images/30012025/01/38/image_30012025_01_38_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":["1332821340","1332821331","1332821279","1332821336","1332821318","1332821326"],"photo_ids_order":["1332821279","1332821318","1332821326","1332821331","1332821336","1332821340"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/026b7d9eac8bc017b7f0c00b35ba49a5.jpg","text":"TemporaryFile(/tmp/multipartBody4573264010056277844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197573109,"filename":"image_30012025_01_38_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/30/ce89f42a09c9bf707b4d5e6778b903bf.jpg","text":"TemporaryFile(/tmp/multipartBody4211523447492014503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197573109,"filename":"image_30012025_01_38_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/30/94426524a63274c2cef68e6e6afff86f.jpg","text":"TemporaryFile(/tmp/multipartBody3571528183605639529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197573109,"filename":"image_30012025_01_37_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/30/ed343e5d991b25ffc05618111a615525.jpg","text":"TemporaryFile(/tmp/multipartBody6780821624831474133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197573109,"filename":"image_30012025_01_38_35_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fd3d5bceb0fc3bfa8d5945e4872956f8.jpg","text":"TemporaryFile(/tmp/multipartBody917958660725233607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197573109,"filename":"image_30012025_01_38_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/30/52c04d6b32a13142eee8e153f47198e9.jpg","text":"TemporaryFile(/tmp/multipartBody7883124213659376979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197573109,"filename":"image_30012025_01_38_15_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332821326","file1":"1332821318","file0":"1332821279","file4":"1332821336","file5":"1332821340","file3":"1332821331"},"map_files_photo_id_array":[{"photo_id":"1332821340","filename":"file5"},{"photo_id":"1332821326","filename":"file2"},{"photo_id":"1332821336","filename":"file4"},{"photo_id":"1332821318","filename":"file1"},{"photo_id":"1332821279","filename":"file0"},{"photo_id":"1332821331","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332821340":["hashtag1","hashtag2"]},{"1332821331":["hashtag1","hashtag2"]},{"1332821279":["hashtag1","hashtag2"]},{"1332821336":["hashtag1","hashtag2"]},{"1332821318":["hashtag1","hashtag2"]},{"1332821326":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332821340, 1332821331, 1332821279, 1332821336, 1332821318, 1332821326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.4182665348053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:39:32.343687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/38/image_30012025_01_38_56_10434.jpg', '/home/pi/Desktop/images/30012025/01/38/image_30012025_01_39_05_9487.jpg', '/home/pi/Desktop/images/30012025/01/39/image_30012025_01_39_15_10324.jpg', '/home/pi/Desktop/images/30012025/01/39/image_30012025_01_39_25_9355.jpg', '/home/pi/Desktop/images/30012025/01/39/image_30012025_01_39_35_10427.jpg', '/home/pi/Desktop/images/30012025/01/39/image_30012025_01_39_46_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/38/image_30012025_01_38_56_10434.jpg
/home/pi/Desktop/images/30012025/01/38/image_30012025_01_39_05_9487.jpg
/home/pi/Desktop/images/30012025/01/39/image_30012025_01_39_15_10324.jpg
/home/pi/Desktop/images/30012025/01/39/image_30012025_01_39_25_9355.jpg
/home/pi/Desktop/images/30012025/01/39/image_30012025_01_39_35_10427.jpg
/home/pi/Desktop/images/30012025/01/39/image_30012025_01_39_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":["1332821421","1332821430","1332821433","1332821427","1332821408","1332821413"],"photo_ids_order":["1332821408","1332821413","1332821421","1332821427","1332821430","1332821433"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/aee2d30e4109934dd69ae4afa2e0fd91.jpg","text":"TemporaryFile(/tmp/multipartBody2141029353931482036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197633283,"filename":"image_30012025_01_39_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/30/bf7f1722aa37e34b57b31d0ecf59461e.jpg","text":"TemporaryFile(/tmp/multipartBody6116620577627279346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197633283,"filename":"image_30012025_01_39_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/30/1c2aa115cc0c4e6c630f6d26b8edfcf0.jpg","text":"TemporaryFile(/tmp/multipartBody3993578125649242366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197633283,"filename":"image_30012025_01_39_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/30/64c330cbf1a2d27ca5e219e9d1f94b0f.jpg","text":"TemporaryFile(/tmp/multipartBody1361876336791129264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197633283,"filename":"image_30012025_01_39_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/30/b9a6ac53146bc13164d4c1179a19fb42.jpg","text":"TemporaryFile(/tmp/multipartBody510062017924155734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197633283,"filename":"image_30012025_01_38_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/30/dd0e8cc5296d7e79b582da382e278ff5.jpg","text":"TemporaryFile(/tmp/multipartBody6378587932276606893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197633283,"filename":"image_30012025_01_39_05_9487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332821421","file1":"1332821413","file0":"1332821408","file4":"1332821430","file5":"1332821433","file3":"1332821427"},"map_files_photo_id_array":[{"photo_id":"1332821433","filename":"file5"},{"photo_id":"1332821421","filename":"file2"},{"photo_id":"1332821430","filename":"file4"},{"photo_id":"1332821413","filename":"file1"},{"photo_id":"1332821408","filename":"file0"},{"photo_id":"1332821427","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332821421":["hashtag1","hashtag2"]},{"1332821430":["hashtag1","hashtag2"]},{"1332821433":["hashtag1","hashtag2"]},{"1332821427":["hashtag1","hashtag2"]},{"1332821408":["hashtag1","hashtag2"]},{"1332821413":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332821421, 1332821430, 1332821433, 1332821427, 1332821408, 1332821413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.79062294960022 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:40:32.508696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/39/image_30012025_01_39_55_9440.jpg', '/home/pi/Desktop/images/30012025/01/40/image_30012025_01_40_15_9322.jpg', '/home/pi/Desktop/images/30012025/01/40/image_30012025_01_40_25_10474.jpg', '/home/pi/Desktop/images/30012025/01/40/image_30012025_01_40_35_10366.jpg', '/home/pi/Desktop/images/30012025/01/40/image_30012025_01_40_45_9489.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/39/image_30012025_01_39_55_9440.jpg
/home/pi/Desktop/images/30012025/01/40/image_30012025_01_40_15_9322.jpg
/home/pi/Desktop/images/30012025/01/40/image_30012025_01_40_25_10474.jpg
/home/pi/Desktop/images/30012025/01/40/image_30012025_01_40_35_10366.jpg
/home/pi/Desktop/images/30012025/01/40/image_30012025_01_40_45_9489.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332821466","1332821475","1332821469","1332821462","1332821456"],"photo_ids_order":["1332821456","1332821462","1332821466","1332821469","1332821475"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6539be8f8f626bc4341b211894f825ac.jpg","text":"TemporaryFile(/tmp/multipartBody4075592666982690447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197693418,"filename":"image_30012025_01_40_25_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/30/72250a5957ebfa509d073feaa224354a.jpg","text":"TemporaryFile(/tmp/multipartBody7617458024419350441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197693418,"filename":"image_30012025_01_40_45_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/30/137eaf77053181e588c6cadfbafb68f1.jpg","text":"TemporaryFile(/tmp/multipartBody3371657683151591864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197693418,"filename":"image_30012025_01_40_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/30/8975bbb6c07d055eb71936b6d769ddd9.jpg","text":"TemporaryFile(/tmp/multipartBody8248298541821762431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197693418,"filename":"image_30012025_01_40_15_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7a4399b7f1d4c1046cc1d2b06581dfe5.jpg","text":"TemporaryFile(/tmp/multipartBody8635275269825532797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197693418,"filename":"image_30012025_01_39_55_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332821466","file1":"1332821462","file0":"1332821456","file4":"1332821475","file3":"1332821469"},"map_files_photo_id_array":[{"photo_id":"1332821466","filename":"file2"},{"photo_id":"1332821475","filename":"file4"},{"photo_id":"1332821462","filename":"file1"},{"photo_id":"1332821456","filename":"file0"},{"photo_id":"1332821469","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332821466":["hashtag1","hashtag2"]},{"1332821475":["hashtag1","hashtag2"]},{"1332821469":["hashtag1","hashtag2"]},{"1332821462":["hashtag1","hashtag2"]},{"1332821456":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332821466, 1332821475, 1332821469, 1332821462, 1332821456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.050384283065796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:41:32.833527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/40/image_30012025_01_40_55_10351.jpg', '/home/pi/Desktop/images/30012025/01/40/image_30012025_01_41_05_9345.jpg', '/home/pi/Desktop/images/30012025/01/41/image_30012025_01_41_26_10432.jpg', '/home/pi/Desktop/images/30012025/01/41/image_30012025_01_41_35_9346.jpg', '/home/pi/Desktop/images/30012025/01/41/image_30012025_01_41_45_10438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/40/image_30012025_01_40_55_10351.jpg
/home/pi/Desktop/images/30012025/01/40/image_30012025_01_41_05_9345.jpg
/home/pi/Desktop/images/30012025/01/41/image_30012025_01_41_26_10432.jpg
/home/pi/Desktop/images/30012025/01/41/image_30012025_01_41_35_9346.jpg
/home/pi/Desktop/images/30012025/01/41/image_30012025_01_41_45_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":["1332821772","1332821712","1332821777","1332821750","1332821738"],"photo_ids_order":["1332821712","1332821738","1332821750","1332821772","1332821777"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/65c409d750bdc021cc54acbed312d956.jpg","text":"TemporaryFile(/tmp/multipartBody8949312544152364779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197753740,"filename":"image_30012025_01_41_35_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/30/bf0d70ebd7da37900b71a775b849e2c8.jpg","text":"TemporaryFile(/tmp/multipartBody5884922177469196479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197753740,"filename":"image_30012025_01_40_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/30/81a3e3fa41dd7ccdc12c2de2241dbca4.jpg","text":"TemporaryFile(/tmp/multipartBody6216221453103470334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197753740,"filename":"image_30012025_01_41_45_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b6e2be29b4731a576504b708d3cb13d8.jpg","text":"TemporaryFile(/tmp/multipartBody8166155300782046327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197753740,"filename":"image_30012025_01_41_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/30/cf3d411838affab64a1d950d90a6c354.jpg","text":"TemporaryFile(/tmp/multipartBody6105148458064378012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197753740,"filename":"image_30012025_01_41_05_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332821750","file1":"1332821738","file0":"1332821712","file4":"1332821777","file3":"1332821772"},"map_files_photo_id_array":[{"photo_id":"1332821750","filename":"file2"},{"photo_id":"1332821777","filename":"file4"},{"photo_id":"1332821738","filename":"file1"},{"photo_id":"1332821712","filename":"file0"},{"photo_id":"1332821772","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332821772":["hashtag1","hashtag2"]},{"1332821712":["hashtag1","hashtag2"]},{"1332821777":["hashtag1","hashtag2"]},{"1332821750":["hashtag1","hashtag2"]},{"1332821738":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332821772, 1332821712, 1332821777, 1332821750, 1332821738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.99098467826843 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:42:32.878895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/41/image_30012025_01_41_55_9395.jpg', '/home/pi/Desktop/images/30012025/01/41/image_30012025_01_42_05_10372.jpg', '/home/pi/Desktop/images/30012025/01/42/image_30012025_01_42_15_10372.jpg', '/home/pi/Desktop/images/30012025/01/42/image_30012025_01_42_25_9342.jpg', '/home/pi/Desktop/images/30012025/01/42/image_30012025_01_42_35_10434.jpg', '/home/pi/Desktop/images/30012025/01/42/image_30012025_01_42_46_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/41/image_30012025_01_41_55_9395.jpg
/home/pi/Desktop/images/30012025/01/41/image_30012025_01_42_05_10372.jpg
/home/pi/Desktop/images/30012025/01/42/image_30012025_01_42_15_10372.jpg
/home/pi/Desktop/images/30012025/01/42/image_30012025_01_42_25_9342.jpg
/home/pi/Desktop/images/30012025/01/42/image_30012025_01_42_35_10434.jpg
/home/pi/Desktop/images/30012025/01/42/image_30012025_01_42_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":["1332821856","1332821859","1332821841","1332821835","1332821863","1332821830"],"photo_ids_order":["1332821830","1332821835","1332821841","1332821856","1332821859","1332821863"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9aa1b846626f8ee8c646aa16f0af4273.jpg","text":"TemporaryFile(/tmp/multipartBody6507331466856948444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197813800,"filename":"image_30012025_01_42_25_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7a862b2b5bf600ebde842293fb268802.jpg","text":"TemporaryFile(/tmp/multipartBody4206810348462671460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197813800,"filename":"image_30012025_01_42_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/30/12c1c66ba06ea4e6f1ead5a539eecd02.jpg","text":"TemporaryFile(/tmp/multipartBody4341431644217679305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197813800,"filename":"image_30012025_01_42_15_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/30/ae8f8234d4af8eec2dc685544bb901ab.jpg","text":"TemporaryFile(/tmp/multipartBody6150769471592939636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197813800,"filename":"image_30012025_01_42_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/30/3ab8b4b5dccca1ea31de5d8ba3abdec6.jpg","text":"TemporaryFile(/tmp/multipartBody8326735557822351081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197813800,"filename":"image_30012025_01_42_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/30/a5723a4b0818df4f70f4a6bbf2a0f5ec.jpg","text":"TemporaryFile(/tmp/multipartBody2616243508462965887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197813800,"filename":"image_30012025_01_41_55_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332821841","file1":"1332821835","file0":"1332821830","file4":"1332821859","file5":"1332821863","file3":"1332821856"},"map_files_photo_id_array":[{"photo_id":"1332821863","filename":"file5"},{"photo_id":"1332821841","filename":"file2"},{"photo_id":"1332821859","filename":"file4"},{"photo_id":"1332821835","filename":"file1"},{"photo_id":"1332821830","filename":"file0"},{"photo_id":"1332821856","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332821856":["hashtag1","hashtag2"]},{"1332821859":["hashtag1","hashtag2"]},{"1332821841":["hashtag1","hashtag2"]},{"1332821835":["hashtag1","hashtag2"]},{"1332821863":["hashtag1","hashtag2"]},{"1332821830":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332821856, 1332821859, 1332821841, 1332821835, 1332821863, 1332821830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.047218561172485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:43:33.098722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/42/image_30012025_01_42_55_9410.jpg', '/home/pi/Desktop/images/30012025/01/42/image_30012025_01_43_05_10349.jpg', '/home/pi/Desktop/images/30012025/01/43/image_30012025_01_43_15_9353.jpg', '/home/pi/Desktop/images/30012025/01/43/image_30012025_01_43_25_10339.jpg', '/home/pi/Desktop/images/30012025/01/43/image_30012025_01_43_35_10352.jpg', '/home/pi/Desktop/images/30012025/01/43/image_30012025_01_43_45_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/42/image_30012025_01_42_55_9410.jpg
/home/pi/Desktop/images/30012025/01/42/image_30012025_01_43_05_10349.jpg
/home/pi/Desktop/images/30012025/01/43/image_30012025_01_43_15_9353.jpg
/home/pi/Desktop/images/30012025/01/43/image_30012025_01_43_25_10339.jpg
/home/pi/Desktop/images/30012025/01/43/image_30012025_01_43_35_10352.jpg
/home/pi/Desktop/images/30012025/01/43/image_30012025_01_43_45_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":["1332821958","1332822458","1332822350","1332822053","1332822250","1332822145"],"photo_ids_order":["1332821958","1332822053","1332822145","1332822250","1332822350","1332822458"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ad829f4ef8ff9cbe61bbd6ca06bbe335.jpg","text":"TemporaryFile(/tmp/multipartBody2368214673730750452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197874037,"filename":"image_30012025_01_42_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/30/098b59bcd67d8761108b36cffe5a344b.jpg","text":"TemporaryFile(/tmp/multipartBody1751528917716897408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197874037,"filename":"image_30012025_01_43_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/30/967d743bed872b5bdb27f3bb52897d87.jpg","text":"TemporaryFile(/tmp/multipartBody3867192749002778305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197874037,"filename":"image_30012025_01_43_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/30/576c01fa52d18c99cd2e2bb2f49ed0f5.jpg","text":"TemporaryFile(/tmp/multipartBody6231415841741121661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197874037,"filename":"image_30012025_01_43_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/30/de02f91495343b0047fff13029b83c3c.jpg","text":"TemporaryFile(/tmp/multipartBody3665493829053801283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197874037,"filename":"image_30012025_01_43_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/30/0c2485fbdd0f32dd432f2f7c9a64999b.jpg","text":"TemporaryFile(/tmp/multipartBody1637981704898987208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197874037,"filename":"image_30012025_01_43_15_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332822145","file1":"1332822053","file0":"1332821958","file4":"1332822350","file5":"1332822458","file3":"1332822250"},"map_files_photo_id_array":[{"photo_id":"1332822458","filename":"file5"},{"photo_id":"1332822145","filename":"file2"},{"photo_id":"1332822350","filename":"file4"},{"photo_id":"1332822053","filename":"file1"},{"photo_id":"1332821958","filename":"file0"},{"photo_id":"1332822250","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332821958":["hashtag1","hashtag2"]},{"1332822458":["hashtag1","hashtag2"]},{"1332822350":["hashtag1","hashtag2"]},{"1332822053":["hashtag1","hashtag2"]},{"1332822250":["hashtag1","hashtag2"]},{"1332822145":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332821958, 1332822458, 1332822350, 1332822053, 1332822250, 1332822145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.04204797744751 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:44:32.223036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/43/image_30012025_01_43_55_10356.jpg', '/home/pi/Desktop/images/30012025/01/43/image_30012025_01_44_05_10362.jpg', '/home/pi/Desktop/images/30012025/01/44/image_30012025_01_44_15_9331.jpg', '/home/pi/Desktop/images/30012025/01/44/image_30012025_01_44_25_10421.jpg', '/home/pi/Desktop/images/30012025/01/44/image_30012025_01_44_36_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/43/image_30012025_01_43_55_10356.jpg
/home/pi/Desktop/images/30012025/01/43/image_30012025_01_44_05_10362.jpg
/home/pi/Desktop/images/30012025/01/44/image_30012025_01_44_15_9331.jpg
/home/pi/Desktop/images/30012025/01/44/image_30012025_01_44_25_10421.jpg
/home/pi/Desktop/images/30012025/01/44/image_30012025_01_44_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":["1332823277","1332823384","1332823387","1332823187","1332823088"],"photo_ids_order":["1332823088","1332823187","1332823277","1332823384","1332823387"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2d2cef477c439553800f6838a60a79cd.jpg","text":"TemporaryFile(/tmp/multipartBody6138432656651752448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197933117,"filename":"image_30012025_01_44_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/30/7a1ade92fae5aaf5a1bab759b16a986d.jpg","text":"TemporaryFile(/tmp/multipartBody2669396073701640808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197933117,"filename":"image_30012025_01_44_25_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/30/307d5ddfd20618c39fd6804267ee9881.jpg","text":"TemporaryFile(/tmp/multipartBody8644068886720893736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197933117,"filename":"image_30012025_01_44_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/30/98fd4c5681dcb380bcab833fa28b158a.jpg","text":"TemporaryFile(/tmp/multipartBody8013260990795145391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197933117,"filename":"image_30012025_01_44_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/30/eff7e76d18183cec3598319d56ebfee9.jpg","text":"TemporaryFile(/tmp/multipartBody6147593936263994599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738197933117,"filename":"image_30012025_01_43_55_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332823277","file1":"1332823187","file0":"1332823088","file4":"1332823387","file3":"1332823384"},"map_files_photo_id_array":[{"photo_id":"1332823277","filename":"file2"},{"photo_id":"1332823387","filename":"file4"},{"photo_id":"1332823187","filename":"file1"},{"photo_id":"1332823088","filename":"file0"},{"photo_id":"1332823384","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332823277":["hashtag1","hashtag2"]},{"1332823384":["hashtag1","hashtag2"]},{"1332823387":["hashtag1","hashtag2"]},{"1332823187":["hashtag1","hashtag2"]},{"1332823088":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332823277, 1332823384, 1332823387, 1332823187, 1332823088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.675705671310425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:45:32.442736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/44/image_30012025_01_44_55_10361.jpg', '/home/pi/Desktop/images/30012025/01/44/image_30012025_01_45_05_9346.jpg', '/home/pi/Desktop/images/30012025/01/45/image_30012025_01_45_15_10336.jpg', '/home/pi/Desktop/images/30012025/01/45/image_30012025_01_45_25_10350.jpg', '/home/pi/Desktop/images/30012025/01/45/image_30012025_01_45_35_9343.jpg', '/home/pi/Desktop/images/30012025/01/45/image_30012025_01_45_45_10435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/44/image_30012025_01_44_55_10361.jpg
/home/pi/Desktop/images/30012025/01/44/image_30012025_01_45_05_9346.jpg
/home/pi/Desktop/images/30012025/01/45/image_30012025_01_45_15_10336.jpg
/home/pi/Desktop/images/30012025/01/45/image_30012025_01_45_25_10350.jpg
/home/pi/Desktop/images/30012025/01/45/image_30012025_01_45_35_9343.jpg
/home/pi/Desktop/images/30012025/01/45/image_30012025_01_45_45_10435.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5259506702423096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 01:45:42.412860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/44/image_30012025_01_44_55_10361.jpg', '/home/pi/Desktop/images/30012025/01/44/image_30012025_01_45_05_9346.jpg', '/home/pi/Desktop/images/30012025/01/45/image_30012025_01_45_15_10336.jpg', '/home/pi/Desktop/images/30012025/01/45/image_30012025_01_45_25_10350.jpg', '/home/pi/Desktop/images/30012025/01/45/image_30012025_01_45_35_9343.jpg', '/home/pi/Desktop/images/30012025/01/45/image_30012025_01_45_45_10435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/44/image_30012025_01_44_55_10361.jpg
/home/pi/Desktop/images/30012025/01/44/image_30012025_01_45_05_9346.jpg
/home/pi/Desktop/images/30012025/01/45/image_30012025_01_45_15_10336.jpg
/home/pi/Desktop/images/30012025/01/45/image_30012025_01_45_25_10350.jpg
/home/pi/Desktop/images/30012025/01/45/image_30012025_01_45_35_9343.jpg
/home/pi/Desktop/images/30012025/01/45/image_30012025_01_45_45_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332823472","1332823442","1332823447","1332823432","1332823438","1332823500"],"photo_ids_order":["1332823432","1332823438","1332823442","1332823447","1332823472","1332823500"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/39c5ed4a3792b3d98be5623b635d0716.jpg","text":"TemporaryFile(/tmp/multipartBody3048683279329646002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198003422,"filename":"image_30012025_01_45_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c1c053e21588ac3aeed3803c7a31684d.jpg","text":"TemporaryFile(/tmp/multipartBody4452048516549137138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198003422,"filename":"image_30012025_01_45_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/30/61ebbd56d5f19c4524c7cd702bc9d834.jpg","text":"TemporaryFile(/tmp/multipartBody3299477158778619619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198003422,"filename":"image_30012025_01_45_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/30/ef9d09d437d4bacb493ac2139613b0c1.jpg","text":"TemporaryFile(/tmp/multipartBody923741799411503107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198003422,"filename":"image_30012025_01_44_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/30/1a5d8ceedc82b451ae20e06e52af644c.jpg","text":"TemporaryFile(/tmp/multipartBody5054416343143042186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198003422,"filename":"image_30012025_01_45_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/30/60478a77cac9759db08d7f5b4c79c8c9.jpg","text":"TemporaryFile(/tmp/multipartBody5078799596020823715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198003422,"filename":"image_30012025_01_45_45_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332823442","file1":"1332823438","file0":"1332823432","file4":"1332823472","file5":"1332823500","file3":"1332823447"},"map_files_photo_id_array":[{"photo_id":"1332823500","filename":"file5"},{"photo_id":"1332823442","filename":"file2"},{"photo_id":"1332823472","filename":"file4"},{"photo_id":"1332823438","filename":"file1"},{"photo_id":"1332823432","filename":"file0"},{"photo_id":"1332823447","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332823472":["hashtag1","hashtag2"]},{"1332823442":["hashtag1","hashtag2"]},{"1332823447":["hashtag1","hashtag2"]},{"1332823432":["hashtag1","hashtag2"]},{"1332823438":["hashtag1","hashtag2"]},{"1332823500":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332823472, 1332823442, 1332823447, 1332823432, 1332823438, 1332823500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.80223631858826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:46:32.623410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/45/image_30012025_01_45_56_10348.jpg', '/home/pi/Desktop/images/30012025/01/45/image_30012025_01_46_05_9485.jpg', '/home/pi/Desktop/images/30012025/01/46/image_30012025_01_46_16_10454.jpg', '/home/pi/Desktop/images/30012025/01/46/image_30012025_01_46_25_9350.jpg', '/home/pi/Desktop/images/30012025/01/46/image_30012025_01_46_35_10336.jpg', '/home/pi/Desktop/images/30012025/01/46/image_30012025_01_46_45_9411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/45/image_30012025_01_45_56_10348.jpg
/home/pi/Desktop/images/30012025/01/45/image_30012025_01_46_05_9485.jpg
/home/pi/Desktop/images/30012025/01/46/image_30012025_01_46_16_10454.jpg
/home/pi/Desktop/images/30012025/01/46/image_30012025_01_46_25_9350.jpg
/home/pi/Desktop/images/30012025/01/46/image_30012025_01_46_35_10336.jpg
/home/pi/Desktop/images/30012025/01/46/image_30012025_01_46_45_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":["1332823712","1332823756","1332823765","1332823708","1332823752","1332823769"],"photo_ids_order":["1332823708","1332823712","1332823752","1332823756","1332823765","1332823769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9ce716b7b4ecf6d7e35875158b388d2c.jpg","text":"TemporaryFile(/tmp/multipartBody6446639644133097917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198053544,"filename":"image_30012025_01_46_05_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/30/7aa283d0365152ce34e78102a6594dff.jpg","text":"TemporaryFile(/tmp/multipartBody7104106587281936018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198053544,"filename":"image_30012025_01_46_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/30/1fd9d2ce3a1e651858b778d46d062661.jpg","text":"TemporaryFile(/tmp/multipartBody1160194275278495694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198053544,"filename":"image_30012025_01_46_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/30/735de7453ede7e089522ce405784bd3b.jpg","text":"TemporaryFile(/tmp/multipartBody2745513613227474987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198053544,"filename":"image_30012025_01_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/30/c70c3f47892b900e7765012f278b8771.jpg","text":"TemporaryFile(/tmp/multipartBody2557723303597212636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198053544,"filename":"image_30012025_01_46_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/30/15523ca0a3562dab34d36204e281fe7d.jpg","text":"TemporaryFile(/tmp/multipartBody3359262366564077775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198053544,"filename":"image_30012025_01_46_45_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332823752","file1":"1332823712","file0":"1332823708","file4":"1332823765","file5":"1332823769","file3":"1332823756"},"map_files_photo_id_array":[{"photo_id":"1332823769","filename":"file5"},{"photo_id":"1332823752","filename":"file2"},{"photo_id":"1332823765","filename":"file4"},{"photo_id":"1332823712","filename":"file1"},{"photo_id":"1332823708","filename":"file0"},{"photo_id":"1332823756","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332823712":["hashtag1","hashtag2"]},{"1332823756":["hashtag1","hashtag2"]},{"1332823765":["hashtag1","hashtag2"]},{"1332823708":["hashtag1","hashtag2"]},{"1332823752":["hashtag1","hashtag2"]},{"1332823769":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332823712, 1332823756, 1332823765, 1332823708, 1332823752, 1332823769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.58805179595947 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:47:32.832394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/46/image_30012025_01_46_55_10465.jpg', '/home/pi/Desktop/images/30012025/01/47/image_30012025_01_47_15_9333.jpg', '/home/pi/Desktop/images/30012025/01/47/image_30012025_01_47_25_10355.jpg', '/home/pi/Desktop/images/30012025/01/47/image_30012025_01_47_36_10360.jpg', '/home/pi/Desktop/images/30012025/01/47/image_30012025_01_47_45_9363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/46/image_30012025_01_46_55_10465.jpg
/home/pi/Desktop/images/30012025/01/47/image_30012025_01_47_15_9333.jpg
/home/pi/Desktop/images/30012025/01/47/image_30012025_01_47_25_10355.jpg
/home/pi/Desktop/images/30012025/01/47/image_30012025_01_47_36_10360.jpg
/home/pi/Desktop/images/30012025/01/47/image_30012025_01_47_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":["1332824065","1332824236","1332824234","1332824228","1332824177"],"photo_ids_order":["1332824065","1332824177","1332824228","1332824234","1332824236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bd6bcd419193fbd145c78dc25bd78a61.jpg","text":"TemporaryFile(/tmp/multipartBody8636896241243233460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198113740,"filename":"image_30012025_01_46_55_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/30/567891ee369e1abaec786f3953417daf.jpg","text":"TemporaryFile(/tmp/multipartBody7523035924896529551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198113740,"filename":"image_30012025_01_47_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/30/49b5f47e8c08c25f94449eb40cac7dc1.jpg","text":"TemporaryFile(/tmp/multipartBody839229392023632771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198113740,"filename":"image_30012025_01_47_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/30/c794b4ce667c8a748ec3f89aefbfee31.jpg","text":"TemporaryFile(/tmp/multipartBody1216900960095233659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198113740,"filename":"image_30012025_01_47_25_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/714f672c50c40d691892ef6710347e8b.jpg","text":"TemporaryFile(/tmp/multipartBody8720648626250428788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198113740,"filename":"image_30012025_01_47_15_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332824228","file1":"1332824177","file0":"1332824065","file4":"1332824236","file3":"1332824234"},"map_files_photo_id_array":[{"photo_id":"1332824228","filename":"file2"},{"photo_id":"1332824236","filename":"file4"},{"photo_id":"1332824177","filename":"file1"},{"photo_id":"1332824065","filename":"file0"},{"photo_id":"1332824234","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332824065":["hashtag1","hashtag2"]},{"1332824236":["hashtag1","hashtag2"]},{"1332824234":["hashtag1","hashtag2"]},{"1332824228":["hashtag1","hashtag2"]},{"1332824177":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332824065, 1332824236, 1332824234, 1332824228, 1332824177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.60618615150452 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:48:33.159224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/47/image_30012025_01_47_55_10371.jpg', '/home/pi/Desktop/images/30012025/01/47/image_30012025_01_48_05_9382.jpg', '/home/pi/Desktop/images/30012025/01/48/image_30012025_01_48_15_10393.jpg', '/home/pi/Desktop/images/30012025/01/48/image_30012025_01_48_25_10408.jpg', '/home/pi/Desktop/images/30012025/01/48/image_30012025_01_48_45_10490.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/47/image_30012025_01_47_55_10371.jpg
/home/pi/Desktop/images/30012025/01/47/image_30012025_01_48_05_9382.jpg
/home/pi/Desktop/images/30012025/01/48/image_30012025_01_48_15_10393.jpg
/home/pi/Desktop/images/30012025/01/48/image_30012025_01_48_25_10408.jpg
/home/pi/Desktop/images/30012025/01/48/image_30012025_01_48_45_10490.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332825107","1332824944","1332824839","1332825036","1332825173"],"photo_ids_order":["1332824839","1332824944","1332825036","1332825107","1332825173"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d3f75220f85755792ac27b3252dc6f91.jpg","text":"TemporaryFile(/tmp/multipartBody634237271902196771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198174064,"filename":"image_30012025_01_48_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/30/a4158a947f03aad7ca7d650f8b341a58.jpg","text":"TemporaryFile(/tmp/multipartBody3125559968790131017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198174064,"filename":"image_30012025_01_48_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/30/3dc93f58df4cd993619c3cc93e141a65.jpg","text":"TemporaryFile(/tmp/multipartBody2818966039701203357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198174064,"filename":"image_30012025_01_47_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/30/07a0560aca4dd4ef40ae543f5503ba30.jpg","text":"TemporaryFile(/tmp/multipartBody7845525117088562869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198174064,"filename":"image_30012025_01_48_15_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/14b4c78a6e50b9a943e5e2be368e4511.jpg","text":"TemporaryFile(/tmp/multipartBody5880326553257941124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198174064,"filename":"image_30012025_01_48_45_10490.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332825036","file1":"1332824944","file0":"1332824839","file4":"1332825173","file3":"1332825107"},"map_files_photo_id_array":[{"photo_id":"1332825036","filename":"file2"},{"photo_id":"1332825173","filename":"file4"},{"photo_id":"1332824944","filename":"file1"},{"photo_id":"1332824839","filename":"file0"},{"photo_id":"1332825107","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332825107":["hashtag1","hashtag2"]},{"1332824944":["hashtag1","hashtag2"]},{"1332824839":["hashtag1","hashtag2"]},{"1332825036":["hashtag1","hashtag2"]},{"1332825173":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332825107, 1332824944, 1332824839, 1332825036, 1332825173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.89612603187561 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:49:32.458530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/48/image_30012025_01_48_55_9351.jpg', '/home/pi/Desktop/images/30012025/01/48/image_30012025_01_49_05_10418.jpg', '/home/pi/Desktop/images/30012025/01/49/image_30012025_01_49_15_10339.jpg', '/home/pi/Desktop/images/30012025/01/49/image_30012025_01_49_25_9499.jpg', '/home/pi/Desktop/images/30012025/01/49/image_30012025_01_49_45_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/48/image_30012025_01_48_55_9351.jpg
/home/pi/Desktop/images/30012025/01/48/image_30012025_01_49_05_10418.jpg
/home/pi/Desktop/images/30012025/01/49/image_30012025_01_49_15_10339.jpg
/home/pi/Desktop/images/30012025/01/49/image_30012025_01_49_25_9499.jpg
/home/pi/Desktop/images/30012025/01/49/image_30012025_01_49_45_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":["1332825327","1332825513","1332825584","1332825338","1332825311"],"photo_ids_order":["1332825311","1332825327","1332825338","1332825513","1332825584"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/05135f7be0f6d77ead3c185bea19f124.jpg","text":"TemporaryFile(/tmp/multipartBody5381102533993629258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198233365,"filename":"image_30012025_01_49_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/30/83958e8e33a75130126cf8653334e96f.jpg","text":"TemporaryFile(/tmp/multipartBody4308430288787743085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198233365,"filename":"image_30012025_01_49_25_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/30/655db464613ef3ac6fb93955f91d0b5c.jpg","text":"TemporaryFile(/tmp/multipartBody3242205870502255083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198233365,"filename":"image_30012025_01_49_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/30/c0c58a2ba7171b22199705efa65071ae.jpg","text":"TemporaryFile(/tmp/multipartBody4282832895778344822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198233365,"filename":"image_30012025_01_49_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/30/f615b81247acfca75e32e6b441a0ee15.jpg","text":"TemporaryFile(/tmp/multipartBody7267646557783256841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198233365,"filename":"image_30012025_01_48_55_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332825338","file1":"1332825327","file0":"1332825311","file4":"1332825584","file3":"1332825513"},"map_files_photo_id_array":[{"photo_id":"1332825338","filename":"file2"},{"photo_id":"1332825584","filename":"file4"},{"photo_id":"1332825327","filename":"file1"},{"photo_id":"1332825311","filename":"file0"},{"photo_id":"1332825513","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332825327":["hashtag1","hashtag2"]},{"1332825513":["hashtag1","hashtag2"]},{"1332825584":["hashtag1","hashtag2"]},{"1332825338":["hashtag1","hashtag2"]},{"1332825311":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332825327, 1332825513, 1332825584, 1332825338, 1332825311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.917367458343506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:50:32.883867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/49/image_30012025_01_49_55_10428.jpg', '/home/pi/Desktop/images/30012025/01/49/image_30012025_01_50_06_10345.jpg', '/home/pi/Desktop/images/30012025/01/50/image_30012025_01_50_15_9467.jpg', '/home/pi/Desktop/images/30012025/01/50/image_30012025_01_50_25_10399.jpg', '/home/pi/Desktop/images/30012025/01/50/image_30012025_01_50_35_9354.jpg', '/home/pi/Desktop/images/30012025/01/50/image_30012025_01_50_45_10435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/49/image_30012025_01_49_55_10428.jpg
/home/pi/Desktop/images/30012025/01/49/image_30012025_01_50_06_10345.jpg
/home/pi/Desktop/images/30012025/01/50/image_30012025_01_50_15_9467.jpg
/home/pi/Desktop/images/30012025/01/50/image_30012025_01_50_25_10399.jpg
/home/pi/Desktop/images/30012025/01/50/image_30012025_01_50_35_9354.jpg
/home/pi/Desktop/images/30012025/01/50/image_30012025_01_50_45_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":["1332825667","1332825649","1332825693","1332825681","1332825653","1332825688"],"photo_ids_order":["1332825649","1332825653","1332825667","1332825681","1332825688","1332825693"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f08cf7d8ac7b1ecf44e1da7a991aaf1f.jpg","text":"TemporaryFile(/tmp/multipartBody333183060181492036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198293826,"filename":"image_30012025_01_50_15_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/30/833644aaf31a0d36aec7e03595e46396.jpg","text":"TemporaryFile(/tmp/multipartBody6064861499788979047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198293826,"filename":"image_30012025_01_49_55_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2bd4d8590c4653ffe8a242d444b25782.jpg","text":"TemporaryFile(/tmp/multipartBody4073149706016766483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198293826,"filename":"image_30012025_01_50_45_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9ed881538319a11c580a7affb2cf0a32.jpg","text":"TemporaryFile(/tmp/multipartBody9210807873374573980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198293826,"filename":"image_30012025_01_50_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/30/93d4d08daeeaf73d23e131686e764bf4.jpg","text":"TemporaryFile(/tmp/multipartBody6309595745719707843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198293826,"filename":"image_30012025_01_50_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/30/a2e6f0b4e9c376b5c91c983b09c752ef.jpg","text":"TemporaryFile(/tmp/multipartBody5354410145685533642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198293826,"filename":"image_30012025_01_50_35_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332825667","file1":"1332825653","file0":"1332825649","file4":"1332825688","file5":"1332825693","file3":"1332825681"},"map_files_photo_id_array":[{"photo_id":"1332825693","filename":"file5"},{"photo_id":"1332825667","filename":"file2"},{"photo_id":"1332825688","filename":"file4"},{"photo_id":"1332825653","filename":"file1"},{"photo_id":"1332825649","filename":"file0"},{"photo_id":"1332825681","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332825667":["hashtag1","hashtag2"]},{"1332825649":["hashtag1","hashtag2"]},{"1332825693":["hashtag1","hashtag2"]},{"1332825681":["hashtag1","hashtag2"]},{"1332825653":["hashtag1","hashtag2"]},{"1332825688":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332825667, 1332825649, 1332825693, 1332825681, 1332825653, 1332825688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69318890571594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:51:33.054223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/50/image_30012025_01_50_56_10358.jpg', '/home/pi/Desktop/images/30012025/01/50/image_30012025_01_51_05_9460.jpg', '/home/pi/Desktop/images/30012025/01/51/image_30012025_01_51_15_10426.jpg', '/home/pi/Desktop/images/30012025/01/51/image_30012025_01_51_25_9364.jpg', '/home/pi/Desktop/images/30012025/01/51/image_30012025_01_51_35_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/50/image_30012025_01_50_56_10358.jpg
/home/pi/Desktop/images/30012025/01/50/image_30012025_01_51_05_9460.jpg
/home/pi/Desktop/images/30012025/01/51/image_30012025_01_51_15_10426.jpg
/home/pi/Desktop/images/30012025/01/51/image_30012025_01_51_25_9364.jpg
/home/pi/Desktop/images/30012025/01/51/image_30012025_01_51_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":["1332825952","1332826064","1332825989","1332826019","1332826013"],"photo_ids_order":["1332825952","1332825989","1332826013","1332826019","1332826064"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4f21d6220d11bd93af7ed3e77243b872.jpg","text":"TemporaryFile(/tmp/multipartBody4752379934414041296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198353955,"filename":"image_30012025_01_50_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/30/6527081a769df0b418d71c205f4578f5.jpg","text":"TemporaryFile(/tmp/multipartBody4981005371280481589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198353955,"filename":"image_30012025_01_51_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/30/c46149774f2e367921d676f1edf0501d.jpg","text":"TemporaryFile(/tmp/multipartBody7122674996483622132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198353955,"filename":"image_30012025_01_51_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/30/87871c390c0057a76031aae13d3af4a4.jpg","text":"TemporaryFile(/tmp/multipartBody6348232039336989137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198353955,"filename":"image_30012025_01_51_25_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/436f4563cc052b31782c7e91f6574699.jpg","text":"TemporaryFile(/tmp/multipartBody6568415254072080772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198353955,"filename":"image_30012025_01_51_15_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332826013","file1":"1332825989","file0":"1332825952","file4":"1332826064","file3":"1332826019"},"map_files_photo_id_array":[{"photo_id":"1332826013","filename":"file2"},{"photo_id":"1332826064","filename":"file4"},{"photo_id":"1332825989","filename":"file1"},{"photo_id":"1332825952","filename":"file0"},{"photo_id":"1332826019","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332825952":["hashtag1","hashtag2"]},{"1332826064":["hashtag1","hashtag2"]},{"1332825989":["hashtag1","hashtag2"]},{"1332826019":["hashtag1","hashtag2"]},{"1332826013":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332825952, 1332826064, 1332825989, 1332826019, 1332826013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.56259775161743 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:52:32.212731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/51/image_30012025_01_51_55_9428.jpg', '/home/pi/Desktop/images/30012025/01/52/image_30012025_01_52_15_9329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/51/image_30012025_01_51_55_9428.jpg
/home/pi/Desktop/images/30012025/01/52/image_30012025_01_52_15_9329.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332826289","1332826430"],"photo_ids_order":["1332826289","1332826430"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ed6d0c28e96dd65d5af8de238991a8c8.jpg","text":"TemporaryFile(/tmp/multipartBody8804961788614563551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198413062,"filename":"image_30012025_01_51_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/30/6b43782fab8304fc7617a92fd78079f7.jpg","text":"TemporaryFile(/tmp/multipartBody4100662997614610023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198413062,"filename":"image_30012025_01_52_15_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1332826430","file0":"1332826289"},"map_files_photo_id_array":[{"photo_id":"1332826430","filename":"file1"},{"photo_id":"1332826289","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332826289":["hashtag1","hashtag2"]},{"1332826430":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332826289, 1332826430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.69518208503723 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:52:52.153331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/22/image_28012025_20_22_15_10413.jpg', '/home/pi/Desktop/images/28012025/20/22/image_28012025_20_22_25_9451.jpg', '/home/pi/Desktop/images/28012025/20/22/image_28012025_20_22_35_10349.jpg', '/home/pi/Desktop/images/28012025/20/22/image_28012025_20_22_45_10362.jpg', '/home/pi/Desktop/images/28012025/20/22/image_28012025_20_22_55_9346.jpg', '/home/pi/Desktop/images/28012025/20/23/image_28012025_20_23_14_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/20/22/image_28012025_20_22_15_10413.jpg
/home/pi/Desktop/images/28012025/20/22/image_28012025_20_22_25_9451.jpg
/home/pi/Desktop/images/28012025/20/22/image_28012025_20_22_35_10349.jpg
/home/pi/Desktop/images/28012025/20/22/image_28012025_20_22_45_10362.jpg
/home/pi/Desktop/images/28012025/20/22/image_28012025_20_22_55_9346.jpg
/home/pi/Desktop/images/28012025/20/23/image_28012025_20_23_14_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":["1332826692","1332827096","1332827120","1332826778","1332827000","1332826876"],"photo_ids_order":["1332826692","1332826778","1332826876","1332827000","1332827096","1332827120"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b2c740fbcb1b620988f4caebeb727197.jpg","text":"TemporaryFile(/tmp/multipartBody4674225855118079728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198434656,"filename":"image_28012025_20_22_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/30/802a20120716f00187d4765085c620cc.jpg","text":"TemporaryFile(/tmp/multipartBody3474230339891982322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198434656,"filename":"image_28012025_20_22_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/30/fca7400b5718918aeac6936283c040d6.jpg","text":"TemporaryFile(/tmp/multipartBody7224242350514867922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198434656,"filename":"image_28012025_20_23_14_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/30/874bf1ac1eb9db136c9d206ee57acd3e.jpg","text":"TemporaryFile(/tmp/multipartBody2681296320431195734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198434656,"filename":"image_28012025_20_22_25_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/30/a64d559c44fe02d00c6e574326f876b6.jpg","text":"TemporaryFile(/tmp/multipartBody6363209680240872746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198434656,"filename":"image_28012025_20_22_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/30/a0eba2c37fb62ee16bffa0a3645678e6.jpg","text":"TemporaryFile(/tmp/multipartBody2347871994801416999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198434656,"filename":"image_28012025_20_22_35_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332826876","file1":"1332826778","file0":"1332826692","file4":"1332827096","file5":"1332827120","file3":"1332827000"},"map_files_photo_id_array":[{"photo_id":"1332827120","filename":"file5"},{"photo_id":"1332826876","filename":"file2"},{"photo_id":"1332827096","filename":"file4"},{"photo_id":"1332826778","filename":"file1"},{"photo_id":"1332826692","filename":"file0"},{"photo_id":"1332827000","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332826692":["hashtag1","hashtag2"]},{"1332827096":["hashtag1","hashtag2"]},{"1332827120":["hashtag1","hashtag2"]},{"1332826778":["hashtag1","hashtag2"]},{"1332827000":["hashtag1","hashtag2"]},{"1332826876":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332826692, 1332827096, 1332827120, 1332826778, 1332827000, 1332826876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.390621185302734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 01:53:42.426993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/52/image_30012025_01_52_25_10358.jpg', '/home/pi/Desktop/images/30012025/01/53/image_30012025_01_53_15_9401.jpg', '/home/pi/Desktop/images/30012025/01/53/image_30012025_01_53_25_10371.jpg', '/home/pi/Desktop/images/30012025/01/53/image_30012025_01_53_35_9420.jpg', '/home/pi/Desktop/images/30012025/01/53/image_30012025_01_53_45_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/52/image_30012025_01_52_25_10358.jpg
/home/pi/Desktop/images/30012025/01/53/image_30012025_01_53_15_9401.jpg
/home/pi/Desktop/images/30012025/01/53/image_30012025_01_53_25_10371.jpg
/home/pi/Desktop/images/30012025/01/53/image_30012025_01_53_35_9420.jpg
/home/pi/Desktop/images/30012025/01/53/image_30012025_01_53_45_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":["1332827253","1332827270","1332827261","1332827240","1332827265"],"photo_ids_order":["1332827240","1332827253","1332827261","1332827265","1332827270"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/48c9565a1a8ec0983994f215e095dd84.jpg","text":"TemporaryFile(/tmp/multipartBody6160953391363876790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198483330,"filename":"image_30012025_01_53_15_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/db8b00102e620c871f874dc78d4b1af5.jpg","text":"TemporaryFile(/tmp/multipartBody7109534760590246640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198483330,"filename":"image_30012025_01_53_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/30/cf3fe50f32ffae9da038cc469821c0f8.jpg","text":"TemporaryFile(/tmp/multipartBody8684716326437944975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198483330,"filename":"image_30012025_01_53_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/30/1d451bd520ca67f0247d55470cff44b7.jpg","text":"TemporaryFile(/tmp/multipartBody8611075333949279047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198483330,"filename":"image_30012025_01_52_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/30/523a4d556479957d434b212ab7899427.jpg","text":"TemporaryFile(/tmp/multipartBody7837458043722417972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198483330,"filename":"image_30012025_01_53_35_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332827261","file1":"1332827253","file0":"1332827240","file4":"1332827270","file3":"1332827265"},"map_files_photo_id_array":[{"photo_id":"1332827261","filename":"file2"},{"photo_id":"1332827270","filename":"file4"},{"photo_id":"1332827253","filename":"file1"},{"photo_id":"1332827240","filename":"file0"},{"photo_id":"1332827265","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332827253":["hashtag1","hashtag2"]},{"1332827270":["hashtag1","hashtag2"]},{"1332827261":["hashtag1","hashtag2"]},{"1332827240":["hashtag1","hashtag2"]},{"1332827265":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332827253, 1332827270, 1332827261, 1332827240, 1332827265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.66029167175293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:54:33.586642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/53/image_30012025_01_53_55_10330.jpg', '/home/pi/Desktop/images/30012025/01/53/image_30012025_01_54_05_9388.jpg', '/home/pi/Desktop/images/30012025/01/54/image_30012025_01_54_15_10346.jpg', '/home/pi/Desktop/images/30012025/01/54/image_30012025_01_54_26_10348.jpg', '/home/pi/Desktop/images/30012025/01/54/image_30012025_01_54_35_9433.jpg', '/home/pi/Desktop/images/30012025/01/54/image_30012025_01_54_45_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/53/image_30012025_01_53_55_10330.jpg
/home/pi/Desktop/images/30012025/01/53/image_30012025_01_54_05_9388.jpg
/home/pi/Desktop/images/30012025/01/54/image_30012025_01_54_15_10346.jpg
/home/pi/Desktop/images/30012025/01/54/image_30012025_01_54_26_10348.jpg
/home/pi/Desktop/images/30012025/01/54/image_30012025_01_54_35_9433.jpg
/home/pi/Desktop/images/30012025/01/54/image_30012025_01_54_45_10429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332827666","1332827604","1332827597","1332827301","1332827356","1332827503"],"photo_ids_order":["1332827301","1332827356","1332827503","1332827597","1332827604","1332827666"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4fec2c07ce356c21e8cf6fe3c80b33e3.jpg","text":"TemporaryFile(/tmp/multipartBody1528472585276099092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198534555,"filename":"image_30012025_01_54_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/30/4ab6dbfcd9395bd7d3ea6e6a4fcb78e0.jpg","text":"TemporaryFile(/tmp/multipartBody4179302628669228950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198534555,"filename":"image_30012025_01_54_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/30/6378947fa0ad6fdb7d08327e82cb77e8.jpg","text":"TemporaryFile(/tmp/multipartBody4508731710859587208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198534555,"filename":"image_30012025_01_54_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/30/5a16c138a74cad5e9935f045d3261fc7.jpg","text":"TemporaryFile(/tmp/multipartBody422282646282865549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198534555,"filename":"image_30012025_01_53_55_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/30/716328a78c2372939bb882d8173e974a.jpg","text":"TemporaryFile(/tmp/multipartBody4753755983378207711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198534555,"filename":"image_30012025_01_54_05_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/30/82a57a2e53d4e7866afba326425d36fd.jpg","text":"TemporaryFile(/tmp/multipartBody159288052394852753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198534555,"filename":"image_30012025_01_54_15_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332827503","file1":"1332827356","file0":"1332827301","file4":"1332827604","file5":"1332827666","file3":"1332827597"},"map_files_photo_id_array":[{"photo_id":"1332827666","filename":"file5"},{"photo_id":"1332827503","filename":"file2"},{"photo_id":"1332827604","filename":"file4"},{"photo_id":"1332827356","filename":"file1"},{"photo_id":"1332827301","filename":"file0"},{"photo_id":"1332827597","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332827666":["hashtag1","hashtag2"]},{"1332827604":["hashtag1","hashtag2"]},{"1332827597":["hashtag1","hashtag2"]},{"1332827301":["hashtag1","hashtag2"]},{"1332827356":["hashtag1","hashtag2"]},{"1332827503":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332827666, 1332827604, 1332827597, 1332827301, 1332827356, 1332827503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.58257508277893 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:55:32.755347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/54/image_30012025_01_54_55_9334.jpg', '/home/pi/Desktop/images/30012025/01/54/image_30012025_01_55_05_10450.jpg', '/home/pi/Desktop/images/30012025/01/55/image_30012025_01_55_25_9446.jpg', '/home/pi/Desktop/images/30012025/01/55/image_30012025_01_55_35_10355.jpg', '/home/pi/Desktop/images/30012025/01/55/image_30012025_01_55_45_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/54/image_30012025_01_54_55_9334.jpg
/home/pi/Desktop/images/30012025/01/54/image_30012025_01_55_05_10450.jpg
/home/pi/Desktop/images/30012025/01/55/image_30012025_01_55_25_9446.jpg
/home/pi/Desktop/images/30012025/01/55/image_30012025_01_55_35_10355.jpg
/home/pi/Desktop/images/30012025/01/55/image_30012025_01_55_45_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":["1332828012","1332827832","1332827741","1332827836","1332827818"],"photo_ids_order":["1332827741","1332827818","1332827832","1332827836","1332828012"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e4de7ea883568b0119841b021bdb6538.jpg","text":"TemporaryFile(/tmp/multipartBody2864905368489180392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198593661,"filename":"image_30012025_01_55_45_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/400abec0a00f84d3eaaf35fe1f95130d.jpg","text":"TemporaryFile(/tmp/multipartBody8540091934020521055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198593661,"filename":"image_30012025_01_55_25_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/292351162f500f73f435498a58d58e01.jpg","text":"TemporaryFile(/tmp/multipartBody1421336942671864331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198593661,"filename":"image_30012025_01_54_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/30/77fdc6593f9bc5bdc5abe1c1985a96dc.jpg","text":"TemporaryFile(/tmp/multipartBody8124323715368229122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198593661,"filename":"image_30012025_01_55_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/30/cb3ca413afe389b779cff29e06cb1014.jpg","text":"TemporaryFile(/tmp/multipartBody4853660919224098238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198593661,"filename":"image_30012025_01_55_05_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332827832","file1":"1332827818","file0":"1332827741","file4":"1332828012","file3":"1332827836"},"map_files_photo_id_array":[{"photo_id":"1332827832","filename":"file2"},{"photo_id":"1332828012","filename":"file4"},{"photo_id":"1332827818","filename":"file1"},{"photo_id":"1332827741","filename":"file0"},{"photo_id":"1332827836","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332828012":["hashtag1","hashtag2"]},{"1332827832":["hashtag1","hashtag2"]},{"1332827741":["hashtag1","hashtag2"]},{"1332827836":["hashtag1","hashtag2"]},{"1332827818":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332828012, 1332827832, 1332827741, 1332827836, 1332827818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.44921517372131 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:56:32.956903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/55/image_30012025_01_55_55_10358.jpg', '/home/pi/Desktop/images/30012025/01/55/image_30012025_01_56_05_10336.jpg', '/home/pi/Desktop/images/30012025/01/56/image_30012025_01_56_15_9631.jpg', '/home/pi/Desktop/images/30012025/01/56/image_30012025_01_56_25_10377.jpg', '/home/pi/Desktop/images/30012025/01/56/image_30012025_01_56_45_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/55/image_30012025_01_55_55_10358.jpg
/home/pi/Desktop/images/30012025/01/55/image_30012025_01_56_05_10336.jpg
/home/pi/Desktop/images/30012025/01/56/image_30012025_01_56_15_9631.jpg
/home/pi/Desktop/images/30012025/01/56/image_30012025_01_56_25_10377.jpg
/home/pi/Desktop/images/30012025/01/56/image_30012025_01_56_45_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332828182","1332828164","1332828152","1332828160","1332828156"],"photo_ids_order":["1332828152","1332828156","1332828160","1332828164","1332828182"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7ecef6fad1b4dea8f59954d4e01bfd21.jpg","text":"TemporaryFile(/tmp/multipartBody7613726838273431691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198653864,"filename":"image_30012025_01_56_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/30/2c828f720f62773040d67e583e014163.jpg","text":"TemporaryFile(/tmp/multipartBody5362842873002487038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198653864,"filename":"image_30012025_01_56_25_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/30/5b297b1d81b6dfc9354f872943bb631c.jpg","text":"TemporaryFile(/tmp/multipartBody3453021981065664574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198653864,"filename":"image_30012025_01_55_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/30/95a48f6f97faaf5b5b601bbfcbcb63fb.jpg","text":"TemporaryFile(/tmp/multipartBody232300665989769331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198653864,"filename":"image_30012025_01_56_15_9631.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/81ace79dbf9387b27bb19a3117eea35f.jpg","text":"TemporaryFile(/tmp/multipartBody6828634631901626386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198653864,"filename":"image_30012025_01_56_05_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332828160","file1":"1332828156","file0":"1332828152","file4":"1332828182","file3":"1332828164"},"map_files_photo_id_array":[{"photo_id":"1332828160","filename":"file2"},{"photo_id":"1332828182","filename":"file4"},{"photo_id":"1332828156","filename":"file1"},{"photo_id":"1332828152","filename":"file0"},{"photo_id":"1332828164","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332828182":["hashtag1","hashtag2"]},{"1332828164":["hashtag1","hashtag2"]},{"1332828152":["hashtag1","hashtag2"]},{"1332828160":["hashtag1","hashtag2"]},{"1332828156":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332828182, 1332828164, 1332828152, 1332828160, 1332828156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.32296872138977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:57:32.147147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/56/image_30012025_01_56_55_10357.jpg', '/home/pi/Desktop/images/30012025/01/56/image_30012025_01_57_05_9344.jpg', '/home/pi/Desktop/images/30012025/01/57/image_30012025_01_57_15_10334.jpg', '/home/pi/Desktop/images/30012025/01/57/image_30012025_01_57_26_10359.jpg', '/home/pi/Desktop/images/30012025/01/57/image_30012025_01_57_35_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/56/image_30012025_01_56_55_10357.jpg
/home/pi/Desktop/images/30012025/01/56/image_30012025_01_57_05_9344.jpg
/home/pi/Desktop/images/30012025/01/57/image_30012025_01_57_15_10334.jpg
/home/pi/Desktop/images/30012025/01/57/image_30012025_01_57_26_10359.jpg
/home/pi/Desktop/images/30012025/01/57/image_30012025_01_57_35_9358.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-30 01:59:04.298706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/56/image_30012025_01_56_55_10357.jpg', '/home/pi/Desktop/images/30012025/01/56/image_30012025_01_57_05_9344.jpg', '/home/pi/Desktop/images/30012025/01/57/image_30012025_01_57_15_10334.jpg', '/home/pi/Desktop/images/30012025/01/57/image_30012025_01_57_26_10359.jpg', '/home/pi/Desktop/images/30012025/01/57/image_30012025_01_57_35_9358.jpg', '/home/pi/Desktop/images/30012025/01/57/image_30012025_01_57_45_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/56/image_30012025_01_56_55_10357.jpg
/home/pi/Desktop/images/30012025/01/56/image_30012025_01_57_05_9344.jpg
/home/pi/Desktop/images/30012025/01/57/image_30012025_01_57_15_10334.jpg
/home/pi/Desktop/images/30012025/01/57/image_30012025_01_57_26_10359.jpg
/home/pi/Desktop/images/30012025/01/57/image_30012025_01_57_35_9358.jpg
/home/pi/Desktop/images/30012025/01/57/image_30012025_01_57_45_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":["1332828965","1332828973","1332828934","1332828993","1332828928","1332828942"],"photo_ids_order":["1332828928","1332828934","1332828942","1332828965","1332828973","1332828993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/90a93996fbf63306e9769cb1c4ca3e58.jpg","text":"TemporaryFile(/tmp/multipartBody7770787877225894412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198805458,"filename":"image_30012025_01_57_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/30/4e6cdab6fef020146473bb15bc9486ca.jpg","text":"TemporaryFile(/tmp/multipartBody4423737327155213074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198805458,"filename":"image_30012025_01_57_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/30/00b2e2525f3098c813fac7c154d4155d.jpg","text":"TemporaryFile(/tmp/multipartBody4555665622112862575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198805458,"filename":"image_30012025_01_57_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/30/affc4bac874fc31346600410ae6b81a1.jpg","text":"TemporaryFile(/tmp/multipartBody3021394837222383832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198805458,"filename":"image_30012025_01_57_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/30/a475f755538fe7a872b4256a023dfe3b.jpg","text":"TemporaryFile(/tmp/multipartBody3859406392709245819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198805458,"filename":"image_30012025_01_56_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/30/f0c789d1a7d7414b00fbabd2c93d33dc.jpg","text":"TemporaryFile(/tmp/multipartBody7254923154298546005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198805458,"filename":"image_30012025_01_57_15_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332828942","file1":"1332828934","file0":"1332828928","file4":"1332828973","file5":"1332828993","file3":"1332828965"},"map_files_photo_id_array":[{"photo_id":"1332828993","filename":"file5"},{"photo_id":"1332828942","filename":"file2"},{"photo_id":"1332828973","filename":"file4"},{"photo_id":"1332828934","filename":"file1"},{"photo_id":"1332828928","filename":"file0"},{"photo_id":"1332828965","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332828965":["hashtag1","hashtag2"]},{"1332828973":["hashtag1","hashtag2"]},{"1332828934":["hashtag1","hashtag2"]},{"1332828993":["hashtag1","hashtag2"]},{"1332828928":["hashtag1","hashtag2"]},{"1332828942":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332828965, 1332828973, 1332828934, 1332828993, 1332828928, 1332828942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.59861612319946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 01:59:52.831027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/58/image_30012025_01_58_15_10345.jpg', '/home/pi/Desktop/images/30012025/01/58/image_30012025_01_58_25_9355.jpg', '/home/pi/Desktop/images/30012025/01/58/image_30012025_01_58_46_10359.jpg', '/home/pi/Desktop/images/30012025/01/58/image_30012025_01_58_55_9557.jpg', '/home/pi/Desktop/images/30012025/01/58/image_30012025_01_59_05_10351.jpg', '/home/pi/Desktop/images/30012025/01/59/image_30012025_01_59_15_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/58/image_30012025_01_58_15_10345.jpg
/home/pi/Desktop/images/30012025/01/58/image_30012025_01_58_25_9355.jpg
/home/pi/Desktop/images/30012025/01/58/image_30012025_01_58_46_10359.jpg
/home/pi/Desktop/images/30012025/01/58/image_30012025_01_58_55_9557.jpg
/home/pi/Desktop/images/30012025/01/58/image_30012025_01_59_05_10351.jpg
/home/pi/Desktop/images/30012025/01/59/image_30012025_01_59_15_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332829061","1332829052","1332829066","1332829063","1332829059","1332829056"],"photo_ids_order":["1332829052","1332829056","1332829059","1332829061","1332829063","1332829066"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/875a8872881af7a974006d9f4451bc65.jpg","text":"TemporaryFile(/tmp/multipartBody9023842670264073870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198853750,"filename":"image_30012025_01_58_55_9557.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e32bd8a5997ed48ed779ef28bb4637da.jpg","text":"TemporaryFile(/tmp/multipartBody2497244380639266776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198853750,"filename":"image_30012025_01_58_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/30/6f8e55edc340234a0355b5485bd94043.jpg","text":"TemporaryFile(/tmp/multipartBody2336997550302630012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198853750,"filename":"image_30012025_01_59_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/30/107115e626b9bce5e70118be3cd96346.jpg","text":"TemporaryFile(/tmp/multipartBody440049659647252163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198853750,"filename":"image_30012025_01_59_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/30/1b045b2bf3a89d9b67d9f91db66ffaec.jpg","text":"TemporaryFile(/tmp/multipartBody2674312167164208528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198853750,"filename":"image_30012025_01_58_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/30/2f381420cad10b94bbeb7b239809680e.jpg","text":"TemporaryFile(/tmp/multipartBody30978820815542049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198853750,"filename":"image_30012025_01_58_25_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332829059","file1":"1332829056","file0":"1332829052","file4":"1332829063","file5":"1332829066","file3":"1332829061"},"map_files_photo_id_array":[{"photo_id":"1332829066","filename":"file5"},{"photo_id":"1332829059","filename":"file2"},{"photo_id":"1332829063","filename":"file4"},{"photo_id":"1332829056","filename":"file1"},{"photo_id":"1332829052","filename":"file0"},{"photo_id":"1332829061","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332829061":["hashtag1","hashtag2"]},{"1332829052":["hashtag1","hashtag2"]},{"1332829066":["hashtag1","hashtag2"]},{"1332829063":["hashtag1","hashtag2"]},{"1332829059":["hashtag1","hashtag2"]},{"1332829056":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332829061, 1332829052, 1332829066, 1332829063, 1332829059, 1332829056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.39254856109619 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 02:00:43.077501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/01/59/image_30012025_01_59_25_10392.jpg', '/home/pi/Desktop/images/30012025/01/59/image_30012025_01_59_36_10361.jpg', '/home/pi/Desktop/images/30012025/01/59/image_30012025_01_59_55_10390.jpg', '/home/pi/Desktop/images/30012025/02/00/image_30012025_02_00_16_10077.jpg', '/home/pi/Desktop/images/30012025/02/00/image_30012025_02_00_26_10436.jpg', '/home/pi/Desktop/images/30012025/02/00/image_30012025_02_00_37_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/01/59/image_30012025_01_59_25_10392.jpg
/home/pi/Desktop/images/30012025/01/59/image_30012025_01_59_36_10361.jpg
/home/pi/Desktop/images/30012025/01/59/image_30012025_01_59_55_10390.jpg
/home/pi/Desktop/images/30012025/02/00/image_30012025_02_00_16_10077.jpg
/home/pi/Desktop/images/30012025/02/00/image_30012025_02_00_26_10436.jpg
/home/pi/Desktop/images/30012025/02/00/image_30012025_02_00_37_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":["1332829294","1332829396","1332829296","1332829275","1332829344","1332829370"],"photo_ids_order":["1332829275","1332829294","1332829296","1332829344","1332829370","1332829396"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4f0520eda1b0b79a6c462ace9b532e70.jpg","text":"TemporaryFile(/tmp/multipartBody1678583241501231155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198904016,"filename":"image_30012025_01_59_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/30/13b4680912c467558e4ae51a32b0276c.jpg","text":"TemporaryFile(/tmp/multipartBody4090371294424918693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198904016,"filename":"image_30012025_02_00_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/30/ed2b5218b9d182e9fefdc5304be12ec5.jpg","text":"TemporaryFile(/tmp/multipartBody2695347778226652104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198904016,"filename":"image_30012025_01_59_55_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/30/f3cfd7d587367941ab7c89ed75fc0d24.jpg","text":"TemporaryFile(/tmp/multipartBody971178131746123887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198904016,"filename":"image_30012025_01_59_25_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7829bd1af77b4ad24bb44cdb4c96167f.jpg","text":"TemporaryFile(/tmp/multipartBody4470545866738667734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198904016,"filename":"image_30012025_02_00_16_10077.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6c648cc282e1a52e6f0d2cbc53321b96.jpg","text":"TemporaryFile(/tmp/multipartBody5950623755081317003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198904016,"filename":"image_30012025_02_00_26_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332829296","file1":"1332829294","file0":"1332829275","file4":"1332829370","file5":"1332829396","file3":"1332829344"},"map_files_photo_id_array":[{"photo_id":"1332829396","filename":"file5"},{"photo_id":"1332829296","filename":"file2"},{"photo_id":"1332829370","filename":"file4"},{"photo_id":"1332829294","filename":"file1"},{"photo_id":"1332829275","filename":"file0"},{"photo_id":"1332829344","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332829294":["hashtag1","hashtag2"]},{"1332829396":["hashtag1","hashtag2"]},{"1332829296":["hashtag1","hashtag2"]},{"1332829275":["hashtag1","hashtag2"]},{"1332829344":["hashtag1","hashtag2"]},{"1332829370":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332829294, 1332829396, 1332829296, 1332829275, 1332829344, 1332829370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.926003217697144 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:01:32.261170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/00/image_30012025_02_00_46_9383.jpg', '/home/pi/Desktop/images/30012025/02/00/image_30012025_02_00_56_10350.jpg', '/home/pi/Desktop/images/30012025/02/00/image_30012025_02_01_07_10345.jpg', '/home/pi/Desktop/images/30012025/02/01/image_30012025_02_01_16_9389.jpg', '/home/pi/Desktop/images/30012025/02/01/image_30012025_02_01_26_10374.jpg', '/home/pi/Desktop/images/30012025/02/01/image_30012025_02_01_36_9375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/00/image_30012025_02_00_46_9383.jpg
/home/pi/Desktop/images/30012025/02/00/image_30012025_02_00_56_10350.jpg
/home/pi/Desktop/images/30012025/02/00/image_30012025_02_01_07_10345.jpg
/home/pi/Desktop/images/30012025/02/01/image_30012025_02_01_16_9389.jpg
/home/pi/Desktop/images/30012025/02/01/image_30012025_02_01_26_10374.jpg
/home/pi/Desktop/images/30012025/02/01/image_30012025_02_01_36_9375.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5204007625579834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 02:01:42.276976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/00/image_30012025_02_00_46_9383.jpg', '/home/pi/Desktop/images/30012025/02/00/image_30012025_02_00_56_10350.jpg', '/home/pi/Desktop/images/30012025/02/00/image_30012025_02_01_07_10345.jpg', '/home/pi/Desktop/images/30012025/02/01/image_30012025_02_01_16_9389.jpg', '/home/pi/Desktop/images/30012025/02/01/image_30012025_02_01_26_10374.jpg', '/home/pi/Desktop/images/30012025/02/01/image_30012025_02_01_36_9375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/00/image_30012025_02_00_46_9383.jpg
/home/pi/Desktop/images/30012025/02/00/image_30012025_02_00_56_10350.jpg
/home/pi/Desktop/images/30012025/02/00/image_30012025_02_01_07_10345.jpg
/home/pi/Desktop/images/30012025/02/01/image_30012025_02_01_16_9389.jpg
/home/pi/Desktop/images/30012025/02/01/image_30012025_02_01_26_10374.jpg
/home/pi/Desktop/images/30012025/02/01/image_30012025_02_01_36_9375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332829451","1332829447","1332829435","1332829429","1332829455","1332829443"],"photo_ids_order":["1332829429","1332829435","1332829443","1332829447","1332829451","1332829455"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5f38a84bf021aaa883f8c90e32004983.jpg","text":"TemporaryFile(/tmp/multipartBody6416370392103618430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198963185,"filename":"image_30012025_02_01_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/30/60de165d948cf8181ddc6c29ba94c680.jpg","text":"TemporaryFile(/tmp/multipartBody64035606491238261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198963185,"filename":"image_30012025_02_01_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/30/b35a97d12b61d646dad95ae02a13db5f.jpg","text":"TemporaryFile(/tmp/multipartBody2814312734759466271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198963185,"filename":"image_30012025_02_00_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/30/a06c75f18d85092abeeb5172d44393a5.jpg","text":"TemporaryFile(/tmp/multipartBody4711561360592874346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198963185,"filename":"image_30012025_02_00_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/30/1b154dc95f4ebd76501428efdfb26ebc.jpg","text":"TemporaryFile(/tmp/multipartBody8012034706453827665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198963185,"filename":"image_30012025_02_01_36_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/30/a5516bfb93a20cd5e4dbfbc9b77d5cc1.jpg","text":"TemporaryFile(/tmp/multipartBody8948357873857331089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738198963185,"filename":"image_30012025_02_01_07_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332829443","file1":"1332829435","file0":"1332829429","file4":"1332829451","file5":"1332829455","file3":"1332829447"},"map_files_photo_id_array":[{"photo_id":"1332829455","filename":"file5"},{"photo_id":"1332829443","filename":"file2"},{"photo_id":"1332829451","filename":"file4"},{"photo_id":"1332829435","filename":"file1"},{"photo_id":"1332829429","filename":"file0"},{"photo_id":"1332829447","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332829451":["hashtag1","hashtag2"]},{"1332829447":["hashtag1","hashtag2"]},{"1332829435":["hashtag1","hashtag2"]},{"1332829429":["hashtag1","hashtag2"]},{"1332829455":["hashtag1","hashtag2"]},{"1332829443":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332829451, 1332829447, 1332829435, 1332829429, 1332829455, 1332829443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.14110445976257 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:02:32.574334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/01/image_30012025_02_01_46_10346.jpg', '/home/pi/Desktop/images/30012025/02/01/image_30012025_02_01_56_9795.jpg', '/home/pi/Desktop/images/30012025/02/01/image_30012025_02_02_06_10353.jpg', '/home/pi/Desktop/images/30012025/02/02/image_30012025_02_02_17_10355.jpg', '/home/pi/Desktop/images/30012025/02/02/image_30012025_02_02_26_9340.jpg', '/home/pi/Desktop/images/30012025/02/02/image_30012025_02_02_36_10386.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/01/image_30012025_02_01_46_10346.jpg
/home/pi/Desktop/images/30012025/02/01/image_30012025_02_01_56_9795.jpg
/home/pi/Desktop/images/30012025/02/01/image_30012025_02_02_06_10353.jpg
/home/pi/Desktop/images/30012025/02/02/image_30012025_02_02_17_10355.jpg
/home/pi/Desktop/images/30012025/02/02/image_30012025_02_02_26_9340.jpg
/home/pi/Desktop/images/30012025/02/02/image_30012025_02_02_36_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":["1332829517","1332829486","1332829513","1332829507","1332829521","1332829500"],"photo_ids_order":["1332829486","1332829500","1332829507","1332829513","1332829517","1332829521"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4bf14b6fb33f8be6debcffc33cce9ea4.jpg","text":"TemporaryFile(/tmp/multipartBody4953966335357783921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199013509,"filename":"image_30012025_02_02_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/30/22861f73ae6de4a89e805b601a2f164b.jpg","text":"TemporaryFile(/tmp/multipartBody8935060154686905485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199013509,"filename":"image_30012025_02_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/30/4fb3b3dafcef64e13e419a538551b8f5.jpg","text":"TemporaryFile(/tmp/multipartBody2846491954590493102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199013509,"filename":"image_30012025_02_02_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/30/efac698dbac8a210adf87c5bbafb9c59.jpg","text":"TemporaryFile(/tmp/multipartBody6398188106550889072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199013509,"filename":"image_30012025_02_02_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/30/3ecd2ed452286bb9a37c9df7556d2536.jpg","text":"TemporaryFile(/tmp/multipartBody6223000067046797004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199013509,"filename":"image_30012025_02_02_36_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/30/3ca6aa5f7497f5d21918239cc008271d.jpg","text":"TemporaryFile(/tmp/multipartBody7578884508303016991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199013509,"filename":"image_30012025_02_01_56_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332829507","file1":"1332829500","file0":"1332829486","file4":"1332829517","file5":"1332829521","file3":"1332829513"},"map_files_photo_id_array":[{"photo_id":"1332829521","filename":"file5"},{"photo_id":"1332829507","filename":"file2"},{"photo_id":"1332829517","filename":"file4"},{"photo_id":"1332829500","filename":"file1"},{"photo_id":"1332829486","filename":"file0"},{"photo_id":"1332829513","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332829517":["hashtag1","hashtag2"]},{"1332829486":["hashtag1","hashtag2"]},{"1332829513":["hashtag1","hashtag2"]},{"1332829507":["hashtag1","hashtag2"]},{"1332829521":["hashtag1","hashtag2"]},{"1332829500":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332829517, 1332829486, 1332829513, 1332829507, 1332829521, 1332829500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.69869899749756 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:03:32.616927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/02/image_30012025_02_02_46_9356.jpg', '/home/pi/Desktop/images/30012025/02/02/image_30012025_02_02_56_10456.jpg', '/home/pi/Desktop/images/30012025/02/02/image_30012025_02_03_07_10331.jpg', '/home/pi/Desktop/images/30012025/02/03/image_30012025_02_03_16_9413.jpg', '/home/pi/Desktop/images/30012025/02/03/image_30012025_02_03_26_10419.jpg', '/home/pi/Desktop/images/30012025/02/03/image_30012025_02_03_37_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/02/image_30012025_02_02_46_9356.jpg
/home/pi/Desktop/images/30012025/02/02/image_30012025_02_02_56_10456.jpg
/home/pi/Desktop/images/30012025/02/02/image_30012025_02_03_07_10331.jpg
/home/pi/Desktop/images/30012025/02/03/image_30012025_02_03_16_9413.jpg
/home/pi/Desktop/images/30012025/02/03/image_30012025_02_03_26_10419.jpg
/home/pi/Desktop/images/30012025/02/03/image_30012025_02_03_37_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":["1332829571","1332829567","1332829564","1332829543","1332829593","1332829598"],"photo_ids_order":["1332829543","1332829564","1332829567","1332829571","1332829593","1332829598"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b01ab219a0f572720f2cd63b81f66899.jpg","text":"TemporaryFile(/tmp/multipartBody8885268134436874258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199073545,"filename":"image_30012025_02_03_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/30/1ebe802253864c261eda6a907268d0e6.jpg","text":"TemporaryFile(/tmp/multipartBody2180951801015673202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199073545,"filename":"image_30012025_02_03_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/30/8b6fe7883023739d31bcfad6a204c46c.jpg","text":"TemporaryFile(/tmp/multipartBody1495314005101709928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199073545,"filename":"image_30012025_02_02_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/30/e08a993878ae081d37fe11aba43596c0.jpg","text":"TemporaryFile(/tmp/multipartBody103155775801259840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199073545,"filename":"image_30012025_02_02_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/30/aa03a4d7e6c28841549dc98613c0e510.jpg","text":"TemporaryFile(/tmp/multipartBody8479565017617232362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199073545,"filename":"image_30012025_02_03_26_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/30/690b429a953b4c83be2cd8a878fa207d.jpg","text":"TemporaryFile(/tmp/multipartBody2202184150611431924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199073545,"filename":"image_30012025_02_03_37_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332829567","file1":"1332829564","file0":"1332829543","file4":"1332829593","file5":"1332829598","file3":"1332829571"},"map_files_photo_id_array":[{"photo_id":"1332829598","filename":"file5"},{"photo_id":"1332829567","filename":"file2"},{"photo_id":"1332829593","filename":"file4"},{"photo_id":"1332829564","filename":"file1"},{"photo_id":"1332829543","filename":"file0"},{"photo_id":"1332829571","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332829571":["hashtag1","hashtag2"]},{"1332829567":["hashtag1","hashtag2"]},{"1332829564":["hashtag1","hashtag2"]},{"1332829543":["hashtag1","hashtag2"]},{"1332829593":["hashtag1","hashtag2"]},{"1332829598":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332829571, 1332829567, 1332829564, 1332829543, 1332829593, 1332829598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.25089406967163 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:04:33.015875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/03/image_30012025_02_03_46_9346.jpg', '/home/pi/Desktop/images/30012025/02/03/image_30012025_02_03_56_10349.jpg', '/home/pi/Desktop/images/30012025/02/03/image_30012025_02_04_06_9393.jpg', '/home/pi/Desktop/images/30012025/02/04/image_30012025_02_04_16_10378.jpg', '/home/pi/Desktop/images/30012025/02/04/image_30012025_02_04_27_10444.jpg', '/home/pi/Desktop/images/30012025/02/04/image_30012025_02_04_36_9441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/03/image_30012025_02_03_46_9346.jpg
/home/pi/Desktop/images/30012025/02/03/image_30012025_02_03_56_10349.jpg
/home/pi/Desktop/images/30012025/02/03/image_30012025_02_04_06_9393.jpg
/home/pi/Desktop/images/30012025/02/04/image_30012025_02_04_16_10378.jpg
/home/pi/Desktop/images/30012025/02/04/image_30012025_02_04_27_10444.jpg
/home/pi/Desktop/images/30012025/02/04/image_30012025_02_04_36_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":["1332829631","1332829642","1332829636","1332829627","1332829615","1332829620"],"photo_ids_order":["1332829615","1332829620","1332829627","1332829631","1332829636","1332829642"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9e8a23412804c1ad8a82250d582c5e44.jpg","text":"TemporaryFile(/tmp/multipartBody8911609395458326911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199133948,"filename":"image_30012025_02_04_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/30/7fc34ca9c4f3073d53de24dd3ac26624.jpg","text":"TemporaryFile(/tmp/multipartBody1650545604988655689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199133948,"filename":"image_30012025_02_04_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/30/847f59d9702460b92aea5ece9c106766.jpg","text":"TemporaryFile(/tmp/multipartBody2210533619409728303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199133948,"filename":"image_30012025_02_04_27_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/30/06d3be2acadb5996cb492b7fb4bcaee4.jpg","text":"TemporaryFile(/tmp/multipartBody4419924505482168218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199133948,"filename":"image_30012025_02_04_06_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/30/8e6af414f907a8c80b67e00e004cda32.jpg","text":"TemporaryFile(/tmp/multipartBody6036467389333704477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199133948,"filename":"image_30012025_02_03_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/30/c40bf3d5d6fc160754c86b0eecf7c19e.jpg","text":"TemporaryFile(/tmp/multipartBody1587726241608882793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199133948,"filename":"image_30012025_02_03_56_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332829627","file1":"1332829620","file0":"1332829615","file4":"1332829636","file5":"1332829642","file3":"1332829631"},"map_files_photo_id_array":[{"photo_id":"1332829642","filename":"file5"},{"photo_id":"1332829627","filename":"file2"},{"photo_id":"1332829636","filename":"file4"},{"photo_id":"1332829620","filename":"file1"},{"photo_id":"1332829615","filename":"file0"},{"photo_id":"1332829631","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332829631":["hashtag1","hashtag2"]},{"1332829642":["hashtag1","hashtag2"]},{"1332829636":["hashtag1","hashtag2"]},{"1332829627":["hashtag1","hashtag2"]},{"1332829615":["hashtag1","hashtag2"]},{"1332829620":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332829631, 1332829642, 1332829636, 1332829627, 1332829615, 1332829620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.27188491821289 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:05:33.340313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/04/image_30012025_02_04_46_10347.jpg', '/home/pi/Desktop/images/30012025/02/04/image_30012025_02_04_56_9361.jpg', '/home/pi/Desktop/images/30012025/02/04/image_30012025_02_05_06_10412.jpg', '/home/pi/Desktop/images/30012025/02/05/image_30012025_02_05_17_10351.jpg', '/home/pi/Desktop/images/30012025/02/05/image_30012025_02_05_26_9413.jpg', '/home/pi/Desktop/images/30012025/02/05/image_30012025_02_05_36_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/04/image_30012025_02_04_46_10347.jpg
/home/pi/Desktop/images/30012025/02/04/image_30012025_02_04_56_9361.jpg
/home/pi/Desktop/images/30012025/02/04/image_30012025_02_05_06_10412.jpg
/home/pi/Desktop/images/30012025/02/05/image_30012025_02_05_17_10351.jpg
/home/pi/Desktop/images/30012025/02/05/image_30012025_02_05_26_9413.jpg
/home/pi/Desktop/images/30012025/02/05/image_30012025_02_05_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.5377368927001953 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 02:05:43.299976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/04/image_30012025_02_04_46_10347.jpg', '/home/pi/Desktop/images/30012025/02/04/image_30012025_02_04_56_9361.jpg', '/home/pi/Desktop/images/30012025/02/04/image_30012025_02_05_06_10412.jpg', '/home/pi/Desktop/images/30012025/02/05/image_30012025_02_05_17_10351.jpg', '/home/pi/Desktop/images/30012025/02/05/image_30012025_02_05_26_9413.jpg', '/home/pi/Desktop/images/30012025/02/05/image_30012025_02_05_36_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/04/image_30012025_02_04_46_10347.jpg
/home/pi/Desktop/images/30012025/02/04/image_30012025_02_04_56_9361.jpg
/home/pi/Desktop/images/30012025/02/04/image_30012025_02_05_06_10412.jpg
/home/pi/Desktop/images/30012025/02/05/image_30012025_02_05_17_10351.jpg
/home/pi/Desktop/images/30012025/02/05/image_30012025_02_05_26_9413.jpg
/home/pi/Desktop/images/30012025/02/05/image_30012025_02_05_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":["1332829672","1332829677","1332829668","1332829691","1332829710","1332829796"],"photo_ids_order":["1332829668","1332829672","1332829677","1332829691","1332829710","1332829796"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/840019bde326934d8019afcb0921b667.jpg","text":"TemporaryFile(/tmp/multipartBody3990605030462310050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199204222,"filename":"image_30012025_02_04_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/30/03e16b849a959680c28bab9ade7c0b6e.jpg","text":"TemporaryFile(/tmp/multipartBody2866858349160131650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199204222,"filename":"image_30012025_02_05_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/30/74028c44644f2000854a3d2ce19f3880.jpg","text":"TemporaryFile(/tmp/multipartBody7967838927034559522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199204222,"filename":"image_30012025_02_04_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/30/50b67711efe378d4510b53692d983d79.jpg","text":"TemporaryFile(/tmp/multipartBody2332958257918965608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199204222,"filename":"image_30012025_02_05_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/30/c26438884f5bb39246aa6997ae999e63.jpg","text":"TemporaryFile(/tmp/multipartBody8878645527343522523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199204222,"filename":"image_30012025_02_05_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/30/2057476007cbad11c78aac7647e8ba9c.jpg","text":"TemporaryFile(/tmp/multipartBody1273010738962431183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199204222,"filename":"image_30012025_02_05_36_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332829677","file1":"1332829672","file0":"1332829668","file4":"1332829710","file5":"1332829796","file3":"1332829691"},"map_files_photo_id_array":[{"photo_id":"1332829796","filename":"file5"},{"photo_id":"1332829677","filename":"file2"},{"photo_id":"1332829710","filename":"file4"},{"photo_id":"1332829672","filename":"file1"},{"photo_id":"1332829668","filename":"file0"},{"photo_id":"1332829691","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332829672":["hashtag1","hashtag2"]},{"1332829677":["hashtag1","hashtag2"]},{"1332829668":["hashtag1","hashtag2"]},{"1332829691":["hashtag1","hashtag2"]},{"1332829710":["hashtag1","hashtag2"]},{"1332829796":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332829672, 1332829677, 1332829668, 1332829691, 1332829710, 1332829796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.30877065658569 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:06:32.289343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/05/image_30012025_02_05_56_9350.jpg', '/home/pi/Desktop/images/30012025/02/05/image_30012025_02_06_06_10354.jpg', '/home/pi/Desktop/images/30012025/02/06/image_30012025_02_06_17_10345.jpg', '/home/pi/Desktop/images/30012025/02/06/image_30012025_02_06_26_9347.jpg', '/home/pi/Desktop/images/30012025/02/06/image_30012025_02_06_46_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/05/image_30012025_02_05_56_9350.jpg
/home/pi/Desktop/images/30012025/02/05/image_30012025_02_06_06_10354.jpg
/home/pi/Desktop/images/30012025/02/06/image_30012025_02_06_17_10345.jpg
/home/pi/Desktop/images/30012025/02/06/image_30012025_02_06_26_9347.jpg
/home/pi/Desktop/images/30012025/02/06/image_30012025_02_06_46_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":["1332830310","1332830148","1332829931","1332829953","1332829985"],"photo_ids_order":["1332829931","1332829953","1332829985","1332830148","1332830310"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/455aa082dfaf19f1af8989cbde4d7102.jpg","text":"TemporaryFile(/tmp/multipartBody9172577040426629928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199253210,"filename":"image_30012025_02_06_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/30/56706403d42631b97d7d4cf011c1b15f.jpg","text":"TemporaryFile(/tmp/multipartBody1972141810185867435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199253210,"filename":"image_30012025_02_06_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/30/221513e4fd2ee7e9ff751ed15b0a2ffc.jpg","text":"TemporaryFile(/tmp/multipartBody5772194097836655877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199253210,"filename":"image_30012025_02_05_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/30/b1eb11ab308ac3fd6e251710d021fb46.jpg","text":"TemporaryFile(/tmp/multipartBody1653530318854734532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199253210,"filename":"image_30012025_02_06_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/30/bcb03a8cfacea4814a7061bc64197eaf.jpg","text":"TemporaryFile(/tmp/multipartBody4314175631439734891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199253210,"filename":"image_30012025_02_06_17_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332829985","file1":"1332829953","file0":"1332829931","file4":"1332830310","file3":"1332830148"},"map_files_photo_id_array":[{"photo_id":"1332829985","filename":"file2"},{"photo_id":"1332830310","filename":"file4"},{"photo_id":"1332829953","filename":"file1"},{"photo_id":"1332829931","filename":"file0"},{"photo_id":"1332830148","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332830310":["hashtag1","hashtag2"]},{"1332830148":["hashtag1","hashtag2"]},{"1332829931":["hashtag1","hashtag2"]},{"1332829953":["hashtag1","hashtag2"]},{"1332829985":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332830310, 1332830148, 1332829931, 1332829953, 1332829985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.41387605667114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:07:32.487974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/06/image_30012025_02_06_56_10435.jpg', '/home/pi/Desktop/images/30012025/02/06/image_30012025_02_07_07_10350.jpg', '/home/pi/Desktop/images/30012025/02/07/image_30012025_02_07_16_9445.jpg', '/home/pi/Desktop/images/30012025/02/07/image_30012025_02_07_27_10463.jpg', '/home/pi/Desktop/images/30012025/02/07/image_30012025_02_07_46_10385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/06/image_30012025_02_06_56_10435.jpg
/home/pi/Desktop/images/30012025/02/06/image_30012025_02_07_07_10350.jpg
/home/pi/Desktop/images/30012025/02/07/image_30012025_02_07_16_9445.jpg
/home/pi/Desktop/images/30012025/02/07/image_30012025_02_07_27_10463.jpg
/home/pi/Desktop/images/30012025/02/07/image_30012025_02_07_46_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332831164","1332831175","1332831169","1332831145","1332831156"],"photo_ids_order":["1332831145","1332831156","1332831164","1332831169","1332831175"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/916c78ac2c6f3b5c8ced2cfd94c87164.jpg","text":"TemporaryFile(/tmp/multipartBody7519744588658848291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199313451,"filename":"image_30012025_02_07_16_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6975defb9b48c0747d65359a88a9f28c.jpg","text":"TemporaryFile(/tmp/multipartBody3282250505631632820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199313451,"filename":"image_30012025_02_07_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/30/bb4784d15998ea737312146c54a5ab67.jpg","text":"TemporaryFile(/tmp/multipartBody7817400717797265008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199313451,"filename":"image_30012025_02_07_27_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/30/1eb8b26fcd8df8c6db5776a8d00b8b93.jpg","text":"TemporaryFile(/tmp/multipartBody5961451352592056509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199313451,"filename":"image_30012025_02_06_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/30/6a882edeb0316ce43b3c120d474af5aa.jpg","text":"TemporaryFile(/tmp/multipartBody7821582397213143088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199313451,"filename":"image_30012025_02_07_07_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332831164","file1":"1332831156","file0":"1332831145","file4":"1332831175","file3":"1332831169"},"map_files_photo_id_array":[{"photo_id":"1332831164","filename":"file2"},{"photo_id":"1332831175","filename":"file4"},{"photo_id":"1332831156","filename":"file1"},{"photo_id":"1332831145","filename":"file0"},{"photo_id":"1332831169","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332831164":["hashtag1","hashtag2"]},{"1332831175":["hashtag1","hashtag2"]},{"1332831169":["hashtag1","hashtag2"]},{"1332831145":["hashtag1","hashtag2"]},{"1332831156":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332831164, 1332831175, 1332831169, 1332831145, 1332831156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.322375774383545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:08:32.769509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/07/image_30012025_02_07_57_10387.jpg', '/home/pi/Desktop/images/30012025/02/08/image_30012025_02_08_16_10350.jpg', '/home/pi/Desktop/images/30012025/02/08/image_30012025_02_08_27_10362.jpg', '/home/pi/Desktop/images/30012025/02/08/image_30012025_02_08_36_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/07/image_30012025_02_07_57_10387.jpg
/home/pi/Desktop/images/30012025/02/08/image_30012025_02_08_16_10350.jpg
/home/pi/Desktop/images/30012025/02/08/image_30012025_02_08_27_10362.jpg
/home/pi/Desktop/images/30012025/02/08/image_30012025_02_08_36_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":["1332831530","1332831535","1332831573","1332831576"],"photo_ids_order":["1332831530","1332831535","1332831573","1332831576"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/639617830fac288ba0778379b0454ada.jpg","text":"TemporaryFile(/tmp/multipartBody2831474920848772292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199373678,"filename":"image_30012025_02_07_57_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/30/4f6d2234cd50eae2d55b88171fd15b4e.jpg","text":"TemporaryFile(/tmp/multipartBody4979191576511314526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199373678,"filename":"image_30012025_02_08_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/30/dd9432a482ec5b42eeae2d6e08cc64af.jpg","text":"TemporaryFile(/tmp/multipartBody4832357347304074420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199373678,"filename":"image_30012025_02_08_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/30/b4e9a25d67291aa2e811b808dd9b738b.jpg","text":"TemporaryFile(/tmp/multipartBody6420555290141822007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199373678,"filename":"image_30012025_02_08_36_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332831573","file1":"1332831535","file0":"1332831530","file3":"1332831576"},"map_files_photo_id_array":[{"photo_id":"1332831573","filename":"file2"},{"photo_id":"1332831535","filename":"file1"},{"photo_id":"1332831530","filename":"file0"},{"photo_id":"1332831576","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332831530":["hashtag1","hashtag2"]},{"1332831535":["hashtag1","hashtag2"]},{"1332831573":["hashtag1","hashtag2"]},{"1332831576":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332831530, 1332831535, 1332831573, 1332831576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.088947057724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:09:33.008668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/08/image_30012025_02_08_46_10349.jpg', '/home/pi/Desktop/images/30012025/02/08/image_30012025_02_09_06_10398.jpg', '/home/pi/Desktop/images/30012025/02/09/image_30012025_02_09_17_10341.jpg', '/home/pi/Desktop/images/30012025/02/09/image_30012025_02_09_26_9494.jpg', '/home/pi/Desktop/images/30012025/02/09/image_30012025_02_09_36_10340.jpg', '/home/pi/Desktop/images/30012025/02/09/image_30012025_02_09_46_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/08/image_30012025_02_08_46_10349.jpg
/home/pi/Desktop/images/30012025/02/08/image_30012025_02_09_06_10398.jpg
/home/pi/Desktop/images/30012025/02/09/image_30012025_02_09_17_10341.jpg
/home/pi/Desktop/images/30012025/02/09/image_30012025_02_09_26_9494.jpg
/home/pi/Desktop/images/30012025/02/09/image_30012025_02_09_36_10340.jpg
/home/pi/Desktop/images/30012025/02/09/image_30012025_02_09_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":["1332831662","1332831635","1332831652","1332831637","1332831633","1332831677"],"photo_ids_order":["1332831633","1332831635","1332831637","1332831652","1332831662","1332831677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f7c9a4f547994ecc61862a8a0b4fff37.jpg","text":"TemporaryFile(/tmp/multipartBody5428380035357255333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199433923,"filename":"image_30012025_02_09_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/30/85f426b67a715f0a3ba183df6096db12.jpg","text":"TemporaryFile(/tmp/multipartBody8772038614112377265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199433923,"filename":"image_30012025_02_09_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/30/e49b196ffb166ae2cb7a2abb044a197a.jpg","text":"TemporaryFile(/tmp/multipartBody6592424646378165899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199433923,"filename":"image_30012025_02_09_26_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/30/01baa7283dff5720f0c63c2a27adc785.jpg","text":"TemporaryFile(/tmp/multipartBody6744172550576061601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199433923,"filename":"image_30012025_02_09_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/30/8b35ad8570ddca44fe0b16afcefebc24.jpg","text":"TemporaryFile(/tmp/multipartBody6736379022708995426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199433923,"filename":"image_30012025_02_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/30/a39d62fabd2b904130eeb558f7ea2715.jpg","text":"TemporaryFile(/tmp/multipartBody8970520332478763092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199433923,"filename":"image_30012025_02_09_46_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332831637","file1":"1332831635","file0":"1332831633","file4":"1332831662","file5":"1332831677","file3":"1332831652"},"map_files_photo_id_array":[{"photo_id":"1332831677","filename":"file5"},{"photo_id":"1332831637","filename":"file2"},{"photo_id":"1332831662","filename":"file4"},{"photo_id":"1332831635","filename":"file1"},{"photo_id":"1332831633","filename":"file0"},{"photo_id":"1332831652","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332831662":["hashtag1","hashtag2"]},{"1332831635":["hashtag1","hashtag2"]},{"1332831652":["hashtag1","hashtag2"]},{"1332831637":["hashtag1","hashtag2"]},{"1332831633":["hashtag1","hashtag2"]},{"1332831677":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332831662, 1332831635, 1332831652, 1332831637, 1332831633, 1332831677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.561389207839966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:10:32.202724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/09/image_30012025_02_09_56_10447.jpg', '/home/pi/Desktop/images/30012025/02/09/image_30012025_02_10_07_10369.jpg', '/home/pi/Desktop/images/30012025/02/10/image_30012025_02_10_16_9447.jpg', '/home/pi/Desktop/images/30012025/02/10/image_30012025_02_10_26_10365.jpg', '/home/pi/Desktop/images/30012025/02/10/image_30012025_02_10_36_9361.jpg', '/home/pi/Desktop/images/30012025/02/10/image_30012025_02_10_46_10464.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/09/image_30012025_02_09_56_10447.jpg
/home/pi/Desktop/images/30012025/02/09/image_30012025_02_10_07_10369.jpg
/home/pi/Desktop/images/30012025/02/10/image_30012025_02_10_16_9447.jpg
/home/pi/Desktop/images/30012025/02/10/image_30012025_02_10_26_10365.jpg
/home/pi/Desktop/images/30012025/02/10/image_30012025_02_10_36_9361.jpg
/home/pi/Desktop/images/30012025/02/10/image_30012025_02_10_46_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":["1332831982","1332831943","1332831963","1332831968","1332831977","1332831956"],"photo_ids_order":["1332831943","1332831956","1332831963","1332831968","1332831977","1332831982"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/538c9c47a6453ee2d4f95d09f9dec013.jpg","text":"TemporaryFile(/tmp/multipartBody6584883226791956399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199493111,"filename":"image_30012025_02_10_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/30/77b4c5b2e6a990a694852fcb8a6f53d7.jpg","text":"TemporaryFile(/tmp/multipartBody3099039989896182356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199493111,"filename":"image_30012025_02_09_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/30/5b1b2627d653fc001849ff2976c8a1c2.jpg","text":"TemporaryFile(/tmp/multipartBody3713684238269084504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199493111,"filename":"image_30012025_02_10_16_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6ad4cf92c204d676fa37ad0943db633c.jpg","text":"TemporaryFile(/tmp/multipartBody7322412385167452865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199493111,"filename":"image_30012025_02_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/30/0184867a383cdb320150a62d20eb3e94.jpg","text":"TemporaryFile(/tmp/multipartBody7845751673943989870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199493111,"filename":"image_30012025_02_10_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/30/dd1e5db194e8f4fbcd9a7b7ee9b1c30c.jpg","text":"TemporaryFile(/tmp/multipartBody9190000314770678456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199493111,"filename":"image_30012025_02_10_07_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332831963","file1":"1332831956","file0":"1332831943","file4":"1332831977","file5":"1332831982","file3":"1332831968"},"map_files_photo_id_array":[{"photo_id":"1332831982","filename":"file5"},{"photo_id":"1332831963","filename":"file2"},{"photo_id":"1332831977","filename":"file4"},{"photo_id":"1332831956","filename":"file1"},{"photo_id":"1332831943","filename":"file0"},{"photo_id":"1332831968","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332831982":["hashtag1","hashtag2"]},{"1332831943":["hashtag1","hashtag2"]},{"1332831963":["hashtag1","hashtag2"]},{"1332831968":["hashtag1","hashtag2"]},{"1332831977":["hashtag1","hashtag2"]},{"1332831956":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332831982, 1332831943, 1332831963, 1332831968, 1332831977, 1332831956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20119595527649 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:11:32.403379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/10/image_30012025_02_10_57_10368.jpg', '/home/pi/Desktop/images/30012025/02/10/image_30012025_02_11_06_9463.jpg', '/home/pi/Desktop/images/30012025/02/11/image_30012025_02_11_16_10355.jpg', '/home/pi/Desktop/images/30012025/02/11/image_30012025_02_11_26_9366.jpg', '/home/pi/Desktop/images/30012025/02/11/image_30012025_02_11_36_10468.jpg', '/home/pi/Desktop/images/30012025/02/11/image_30012025_02_11_47_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/10/image_30012025_02_10_57_10368.jpg
/home/pi/Desktop/images/30012025/02/10/image_30012025_02_11_06_9463.jpg
/home/pi/Desktop/images/30012025/02/11/image_30012025_02_11_16_10355.jpg
/home/pi/Desktop/images/30012025/02/11/image_30012025_02_11_26_9366.jpg
/home/pi/Desktop/images/30012025/02/11/image_30012025_02_11_36_10468.jpg
/home/pi/Desktop/images/30012025/02/11/image_30012025_02_11_47_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":["1332832133","1332832109","1332832147","1332832129","1332832122","1332832097"],"photo_ids_order":["1332832097","1332832109","1332832122","1332832129","1332832133","1332832147"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2e62adf7436c3e36bb092544a48c8226.jpg","text":"TemporaryFile(/tmp/multipartBody506128146332964084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199553312,"filename":"image_30012025_02_11_36_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/64e85f7756bd7ef287f2510d8139013a.jpg","text":"TemporaryFile(/tmp/multipartBody1217554864401259025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199553312,"filename":"image_30012025_02_11_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/30/d149ea087647a350a34706426713fc78.jpg","text":"TemporaryFile(/tmp/multipartBody7793177297175415973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199553312,"filename":"image_30012025_02_11_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/30/59d95df00a385e52945a69cca1985ecc.jpg","text":"TemporaryFile(/tmp/multipartBody3082221827643430635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199553312,"filename":"image_30012025_02_11_26_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/30/fa1f3c523d9583c9aee64094c355b399.jpg","text":"TemporaryFile(/tmp/multipartBody5015381302465514529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199553312,"filename":"image_30012025_02_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/30/810329f221460493b91ed60d664ac2ff.jpg","text":"TemporaryFile(/tmp/multipartBody4265743083561445534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199553312,"filename":"image_30012025_02_10_57_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332832122","file1":"1332832109","file0":"1332832097","file4":"1332832133","file5":"1332832147","file3":"1332832129"},"map_files_photo_id_array":[{"photo_id":"1332832147","filename":"file5"},{"photo_id":"1332832122","filename":"file2"},{"photo_id":"1332832133","filename":"file4"},{"photo_id":"1332832109","filename":"file1"},{"photo_id":"1332832097","filename":"file0"},{"photo_id":"1332832129","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332832133":["hashtag1","hashtag2"]},{"1332832109":["hashtag1","hashtag2"]},{"1332832147":["hashtag1","hashtag2"]},{"1332832129":["hashtag1","hashtag2"]},{"1332832122":["hashtag1","hashtag2"]},{"1332832097":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332832133, 1332832109, 1332832147, 1332832129, 1332832122, 1332832097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.40164518356323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:12:32.684893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/11/image_30012025_02_11_56_9431.jpg', '/home/pi/Desktop/images/30012025/02/11/image_30012025_02_12_06_10338.jpg', '/home/pi/Desktop/images/30012025/02/12/image_30012025_02_12_16_9389.jpg', '/home/pi/Desktop/images/30012025/02/12/image_30012025_02_12_26_10373.jpg', '/home/pi/Desktop/images/30012025/02/12/image_30012025_02_12_37_10399.jpg', '/home/pi/Desktop/images/30012025/02/12/image_30012025_02_12_46_9435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/11/image_30012025_02_11_56_9431.jpg
/home/pi/Desktop/images/30012025/02/11/image_30012025_02_12_06_10338.jpg
/home/pi/Desktop/images/30012025/02/12/image_30012025_02_12_16_9389.jpg
/home/pi/Desktop/images/30012025/02/12/image_30012025_02_12_26_10373.jpg
/home/pi/Desktop/images/30012025/02/12/image_30012025_02_12_37_10399.jpg
/home/pi/Desktop/images/30012025/02/12/image_30012025_02_12_46_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":["1332832242","1332832236","1332832230","1332832247","1332832250","1332832244"],"photo_ids_order":["1332832230","1332832236","1332832242","1332832244","1332832247","1332832250"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1baf969b64e45f9d549450c93cb376d3.jpg","text":"TemporaryFile(/tmp/multipartBody6911789575117719631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199613623,"filename":"image_30012025_02_12_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/30/bb245b4a32d3e5a64986d3c5bda2c2b9.jpg","text":"TemporaryFile(/tmp/multipartBody3412813172277149435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199613623,"filename":"image_30012025_02_12_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/30/dbb7eee60c1afeb8cb5312c10612d737.jpg","text":"TemporaryFile(/tmp/multipartBody6460642937035273474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199613623,"filename":"image_30012025_02_11_56_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/30/f9932fbadc76252542654514992ead4c.jpg","text":"TemporaryFile(/tmp/multipartBody3792340896102737418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199613623,"filename":"image_30012025_02_12_37_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/28f1910b15e87e0e7e4e4de797bc9091.jpg","text":"TemporaryFile(/tmp/multipartBody8569625247421881991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199613623,"filename":"image_30012025_02_12_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/30/646a25acbd08379d2dfc6570f6b9a921.jpg","text":"TemporaryFile(/tmp/multipartBody4897203772162301830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199613623,"filename":"image_30012025_02_12_26_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332832242","file1":"1332832236","file0":"1332832230","file4":"1332832247","file5":"1332832250","file3":"1332832244"},"map_files_photo_id_array":[{"photo_id":"1332832250","filename":"file5"},{"photo_id":"1332832242","filename":"file2"},{"photo_id":"1332832247","filename":"file4"},{"photo_id":"1332832236","filename":"file1"},{"photo_id":"1332832230","filename":"file0"},{"photo_id":"1332832244","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332832242":["hashtag1","hashtag2"]},{"1332832236":["hashtag1","hashtag2"]},{"1332832230":["hashtag1","hashtag2"]},{"1332832247":["hashtag1","hashtag2"]},{"1332832250":["hashtag1","hashtag2"]},{"1332832244":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332832242, 1332832236, 1332832230, 1332832247, 1332832250, 1332832244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.254881381988525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:13:33.000475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/12/image_30012025_02_12_56_10362.jpg', '/home/pi/Desktop/images/30012025/02/12/image_30012025_02_13_07_10351.jpg', '/home/pi/Desktop/images/30012025/02/13/image_30012025_02_13_16_9387.jpg', '/home/pi/Desktop/images/30012025/02/13/image_30012025_02_13_26_10342.jpg', '/home/pi/Desktop/images/30012025/02/13/image_30012025_02_13_36_9345.jpg', '/home/pi/Desktop/images/30012025/02/13/image_30012025_02_13_46_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/12/image_30012025_02_12_56_10362.jpg
/home/pi/Desktop/images/30012025/02/12/image_30012025_02_13_07_10351.jpg
/home/pi/Desktop/images/30012025/02/13/image_30012025_02_13_16_9387.jpg
/home/pi/Desktop/images/30012025/02/13/image_30012025_02_13_26_10342.jpg
/home/pi/Desktop/images/30012025/02/13/image_30012025_02_13_36_9345.jpg
/home/pi/Desktop/images/30012025/02/13/image_30012025_02_13_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":["1332832777","1332832651","1332832371","1332832467","1332832560","1332832365"],"photo_ids_order":["1332832365","1332832371","1332832467","1332832560","1332832651","1332832777"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0965df76c93ff85936bb44d9ebc9ca53.jpg","text":"TemporaryFile(/tmp/multipartBody4743893172977890107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199673941,"filename":"image_30012025_02_13_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/30/4623b045b761bce5b399be4a00fecdd9.jpg","text":"TemporaryFile(/tmp/multipartBody8434039858516294445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199673941,"filename":"image_30012025_02_13_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/30/fb8140e8028f1d4023549c2348d63d00.jpg","text":"TemporaryFile(/tmp/multipartBody7575162118674243894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199673941,"filename":"image_30012025_02_13_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/30/d0b1bd2834a6fb9d463799af0a998c46.jpg","text":"TemporaryFile(/tmp/multipartBody4618792596633261365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199673941,"filename":"image_30012025_02_13_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/30/558778957e6bcbd7aeeb6e8676195e46.jpg","text":"TemporaryFile(/tmp/multipartBody825997026829799580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199673941,"filename":"image_30012025_02_13_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/30/447f086db52357e2413c50fcf09ff9ad.jpg","text":"TemporaryFile(/tmp/multipartBody5081413568366543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199673941,"filename":"image_30012025_02_12_56_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332832467","file1":"1332832371","file0":"1332832365","file4":"1332832651","file5":"1332832777","file3":"1332832560"},"map_files_photo_id_array":[{"photo_id":"1332832777","filename":"file5"},{"photo_id":"1332832467","filename":"file2"},{"photo_id":"1332832651","filename":"file4"},{"photo_id":"1332832371","filename":"file1"},{"photo_id":"1332832365","filename":"file0"},{"photo_id":"1332832560","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332832777":["hashtag1","hashtag2"]},{"1332832651":["hashtag1","hashtag2"]},{"1332832371":["hashtag1","hashtag2"]},{"1332832467":["hashtag1","hashtag2"]},{"1332832560":["hashtag1","hashtag2"]},{"1332832365":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332832777, 1332832651, 1332832371, 1332832467, 1332832560, 1332832365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63368368148804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:14:32.223463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/13/image_30012025_02_13_57_10354.jpg', '/home/pi/Desktop/images/30012025/02/13/image_30012025_02_14_06_9344.jpg', '/home/pi/Desktop/images/30012025/02/14/image_30012025_02_14_16_10375.jpg', '/home/pi/Desktop/images/30012025/02/14/image_30012025_02_14_27_10382.jpg', '/home/pi/Desktop/images/30012025/02/14/image_30012025_02_14_36_9447.jpg', '/home/pi/Desktop/images/30012025/02/14/image_30012025_02_14_46_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/13/image_30012025_02_13_57_10354.jpg
/home/pi/Desktop/images/30012025/02/13/image_30012025_02_14_06_9344.jpg
/home/pi/Desktop/images/30012025/02/14/image_30012025_02_14_16_10375.jpg
/home/pi/Desktop/images/30012025/02/14/image_30012025_02_14_27_10382.jpg
/home/pi/Desktop/images/30012025/02/14/image_30012025_02_14_36_9447.jpg
/home/pi/Desktop/images/30012025/02/14/image_30012025_02_14_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":["1332833107","1332833101","1332833274","1332833112","1332833186","1332833114"],"photo_ids_order":["1332833101","1332833107","1332833112","1332833114","1332833186","1332833274"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f6506bdf8b0b76d4bd5331d19f826185.jpg","text":"TemporaryFile(/tmp/multipartBody3510866690187189940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199733166,"filename":"image_30012025_02_14_06_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/809eccf0ae6be47e41c4b4fa3d9ea785.jpg","text":"TemporaryFile(/tmp/multipartBody343936821068508857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199733166,"filename":"image_30012025_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/30/2c09631951928f49bd1ad3baa4ef62ae.jpg","text":"TemporaryFile(/tmp/multipartBody7623995118789874677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199733166,"filename":"image_30012025_02_14_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/30/75e208afc0ccccb65128676f16b842db.jpg","text":"TemporaryFile(/tmp/multipartBody2376209634756697732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199733166,"filename":"image_30012025_02_14_16_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/30/3cac4c2c3450dc4b13253238f49460b5.jpg","text":"TemporaryFile(/tmp/multipartBody4107226440259431944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199733166,"filename":"image_30012025_02_14_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/30/04568e54eedf2259400d1246be9d854f.jpg","text":"TemporaryFile(/tmp/multipartBody6327668032544218665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199733166,"filename":"image_30012025_02_14_27_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332833112","file1":"1332833107","file0":"1332833101","file4":"1332833186","file5":"1332833274","file3":"1332833114"},"map_files_photo_id_array":[{"photo_id":"1332833274","filename":"file5"},{"photo_id":"1332833112","filename":"file2"},{"photo_id":"1332833186","filename":"file4"},{"photo_id":"1332833107","filename":"file1"},{"photo_id":"1332833101","filename":"file0"},{"photo_id":"1332833114","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332833107":["hashtag1","hashtag2"]},{"1332833101":["hashtag1","hashtag2"]},{"1332833274":["hashtag1","hashtag2"]},{"1332833112":["hashtag1","hashtag2"]},{"1332833186":["hashtag1","hashtag2"]},{"1332833114":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332833107, 1332833101, 1332833274, 1332833112, 1332833186, 1332833114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.189478635787964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:15:32.411828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/14/image_30012025_02_14_56_9423.jpg', '/home/pi/Desktop/images/30012025/02/14/image_30012025_02_15_06_10425.jpg', '/home/pi/Desktop/images/30012025/02/15/image_30012025_02_15_17_10366.jpg', '/home/pi/Desktop/images/30012025/02/15/image_30012025_02_15_26_9455.jpg', '/home/pi/Desktop/images/30012025/02/15/image_30012025_02_15_36_10358.jpg', '/home/pi/Desktop/images/30012025/02/15/image_30012025_02_15_46_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/14/image_30012025_02_14_56_9423.jpg
/home/pi/Desktop/images/30012025/02/14/image_30012025_02_15_06_10425.jpg
/home/pi/Desktop/images/30012025/02/15/image_30012025_02_15_17_10366.jpg
/home/pi/Desktop/images/30012025/02/15/image_30012025_02_15_26_9455.jpg
/home/pi/Desktop/images/30012025/02/15/image_30012025_02_15_36_10358.jpg
/home/pi/Desktop/images/30012025/02/15/image_30012025_02_15_46_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":["1332833476","1332833449","1332833464","1332833468","1332833471","1332833473"],"photo_ids_order":["1332833449","1332833464","1332833468","1332833471","1332833473","1332833476"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/623496d52f738e355835e89a10ff5ad5.jpg","text":"TemporaryFile(/tmp/multipartBody1529941619677469306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199793393,"filename":"image_30012025_02_15_46_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3b621b68adb1b303ecc0b698d735e74a.jpg","text":"TemporaryFile(/tmp/multipartBody2985272199676855277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199793393,"filename":"image_30012025_02_14_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/30/f86a4ed80cdf4c3f5f07678436853fe0.jpg","text":"TemporaryFile(/tmp/multipartBody573636445044544923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199793393,"filename":"image_30012025_02_15_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/30/804bf50f74c3ad6f2ba274d16aa9aee6.jpg","text":"TemporaryFile(/tmp/multipartBody1036417849233698435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199793393,"filename":"image_30012025_02_15_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/30/d9fdfd24d2f664690dc70e4e03f9e068.jpg","text":"TemporaryFile(/tmp/multipartBody1199585407225442073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199793393,"filename":"image_30012025_02_15_26_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/30/1b0b1d92daadfc5e958aacdfa98aa524.jpg","text":"TemporaryFile(/tmp/multipartBody6878287745709503231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199793393,"filename":"image_30012025_02_15_36_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332833468","file1":"1332833464","file0":"1332833449","file4":"1332833473","file5":"1332833476","file3":"1332833471"},"map_files_photo_id_array":[{"photo_id":"1332833476","filename":"file5"},{"photo_id":"1332833468","filename":"file2"},{"photo_id":"1332833473","filename":"file4"},{"photo_id":"1332833464","filename":"file1"},{"photo_id":"1332833449","filename":"file0"},{"photo_id":"1332833471","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332833476":["hashtag1","hashtag2"]},{"1332833449":["hashtag1","hashtag2"]},{"1332833464":["hashtag1","hashtag2"]},{"1332833468":["hashtag1","hashtag2"]},{"1332833471":["hashtag1","hashtag2"]},{"1332833473":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332833476, 1332833449, 1332833464, 1332833468, 1332833471, 1332833473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.86883997917175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:16:32.686192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/15/image_30012025_02_15_56_10384.jpg', '/home/pi/Desktop/images/30012025/02/15/image_30012025_02_16_07_10343.jpg', '/home/pi/Desktop/images/30012025/02/16/image_30012025_02_16_16_9470.jpg', '/home/pi/Desktop/images/30012025/02/16/image_30012025_02_16_26_10404.jpg', '/home/pi/Desktop/images/30012025/02/16/image_30012025_02_16_37_10364.jpg', '/home/pi/Desktop/images/30012025/02/16/image_30012025_02_16_46_9437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/15/image_30012025_02_15_56_10384.jpg
/home/pi/Desktop/images/30012025/02/15/image_30012025_02_16_07_10343.jpg
/home/pi/Desktop/images/30012025/02/16/image_30012025_02_16_16_9470.jpg
/home/pi/Desktop/images/30012025/02/16/image_30012025_02_16_26_10404.jpg
/home/pi/Desktop/images/30012025/02/16/image_30012025_02_16_37_10364.jpg
/home/pi/Desktop/images/30012025/02/16/image_30012025_02_16_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":["1332833530","1332833562","1332833666","1332833522","1332833534","1332833791"],"photo_ids_order":["1332833522","1332833530","1332833534","1332833562","1332833666","1332833791"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/61a06f425a2fe3b3352b49b3b39dff3a.jpg","text":"TemporaryFile(/tmp/multipartBody7761197193158558930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199853586,"filename":"image_30012025_02_16_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/30/6571bc6b098ea5d3274015c17c5c09db.jpg","text":"TemporaryFile(/tmp/multipartBody5899166842659384957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199853586,"filename":"image_30012025_02_16_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/30/754984076704e7f72b7969c418b7af4d.jpg","text":"TemporaryFile(/tmp/multipartBody3048081476739433530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199853586,"filename":"image_30012025_02_16_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/30/b39aae925ca1d5f6ef22aa9e186def09.jpg","text":"TemporaryFile(/tmp/multipartBody6018789868980660379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199853586,"filename":"image_30012025_02_15_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/30/efe32e0ea67ed177a6234ef4a6b49d29.jpg","text":"TemporaryFile(/tmp/multipartBody5525001359114594501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199853586,"filename":"image_30012025_02_16_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/30/09633e6194e09622c2143e27126e3071.jpg","text":"TemporaryFile(/tmp/multipartBody4352711028620900551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199853586,"filename":"image_30012025_02_16_46_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332833534","file1":"1332833530","file0":"1332833522","file4":"1332833666","file5":"1332833791","file3":"1332833562"},"map_files_photo_id_array":[{"photo_id":"1332833791","filename":"file5"},{"photo_id":"1332833534","filename":"file2"},{"photo_id":"1332833666","filename":"file4"},{"photo_id":"1332833530","filename":"file1"},{"photo_id":"1332833522","filename":"file0"},{"photo_id":"1332833562","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332833530":["hashtag1","hashtag2"]},{"1332833562":["hashtag1","hashtag2"]},{"1332833666":["hashtag1","hashtag2"]},{"1332833522":["hashtag1","hashtag2"]},{"1332833534":["hashtag1","hashtag2"]},{"1332833791":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332833530, 1332833562, 1332833666, 1332833522, 1332833534, 1332833791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.75775170326233 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:17:32.986146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/16/image_30012025_02_16_57_10388.jpg', '/home/pi/Desktop/images/30012025/02/16/image_30012025_02_17_06_9442.jpg', '/home/pi/Desktop/images/30012025/02/17/image_30012025_02_17_16_10337.jpg', '/home/pi/Desktop/images/30012025/02/17/image_30012025_02_17_26_9408.jpg', '/home/pi/Desktop/images/30012025/02/17/image_30012025_02_17_36_10348.jpg', '/home/pi/Desktop/images/30012025/02/17/image_30012025_02_17_47_10465.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/16/image_30012025_02_16_57_10388.jpg
/home/pi/Desktop/images/30012025/02/16/image_30012025_02_17_06_9442.jpg
/home/pi/Desktop/images/30012025/02/17/image_30012025_02_17_16_10337.jpg
/home/pi/Desktop/images/30012025/02/17/image_30012025_02_17_26_9408.jpg
/home/pi/Desktop/images/30012025/02/17/image_30012025_02_17_36_10348.jpg
/home/pi/Desktop/images/30012025/02/17/image_30012025_02_17_47_10465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332834081","1332834030","1332834083","1332834014","1332834079","1332834037"],"photo_ids_order":["1332834014","1332834030","1332834037","1332834079","1332834081","1332834083"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/14259788f408e8c7edba68e2e2d071ea.jpg","text":"TemporaryFile(/tmp/multipartBody885668086887671478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199913913,"filename":"image_30012025_02_17_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/30/0b84eaf37e96d7f730a3fe06ebae33a8.jpg","text":"TemporaryFile(/tmp/multipartBody2490284994998833720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199913913,"filename":"image_30012025_02_17_06_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/30/c4b36c0fe1c5e44d971ca683cd28079d.jpg","text":"TemporaryFile(/tmp/multipartBody516345231759971861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199913913,"filename":"image_30012025_02_17_47_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/43e552f64953ed10df0a21d1011ce529.jpg","text":"TemporaryFile(/tmp/multipartBody6279870461846096199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199913913,"filename":"image_30012025_02_16_57_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/740729aa2656d93ae148509317401aa6.jpg","text":"TemporaryFile(/tmp/multipartBody7165369543734936714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199913913,"filename":"image_30012025_02_17_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/30/3bf928e918e4d81b3ce62cabc52add0b.jpg","text":"TemporaryFile(/tmp/multipartBody4663369132962884826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199913913,"filename":"image_30012025_02_17_16_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332834037","file1":"1332834030","file0":"1332834014","file4":"1332834081","file5":"1332834083","file3":"1332834079"},"map_files_photo_id_array":[{"photo_id":"1332834083","filename":"file5"},{"photo_id":"1332834037","filename":"file2"},{"photo_id":"1332834081","filename":"file4"},{"photo_id":"1332834030","filename":"file1"},{"photo_id":"1332834014","filename":"file0"},{"photo_id":"1332834079","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332834081":["hashtag1","hashtag2"]},{"1332834030":["hashtag1","hashtag2"]},{"1332834083":["hashtag1","hashtag2"]},{"1332834014":["hashtag1","hashtag2"]},{"1332834079":["hashtag1","hashtag2"]},{"1332834037":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332834081, 1332834030, 1332834083, 1332834014, 1332834079, 1332834037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.19607210159302 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:18:32.139132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/17/image_30012025_02_17_56_9249.jpg', '/home/pi/Desktop/images/30012025/02/17/image_30012025_02_18_06_10368.jpg', '/home/pi/Desktop/images/30012025/02/18/image_30012025_02_18_16_9590.jpg', '/home/pi/Desktop/images/30012025/02/18/image_30012025_02_18_26_10443.jpg', '/home/pi/Desktop/images/30012025/02/18/image_30012025_02_18_37_10440.jpg', '/home/pi/Desktop/images/30012025/02/18/image_30012025_02_18_46_9415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/17/image_30012025_02_17_56_9249.jpg
/home/pi/Desktop/images/30012025/02/17/image_30012025_02_18_06_10368.jpg
/home/pi/Desktop/images/30012025/02/18/image_30012025_02_18_16_9590.jpg
/home/pi/Desktop/images/30012025/02/18/image_30012025_02_18_26_10443.jpg
/home/pi/Desktop/images/30012025/02/18/image_30012025_02_18_37_10440.jpg
/home/pi/Desktop/images/30012025/02/18/image_30012025_02_18_46_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332834162","1332834150","1332834158","1332834119","1332834128","1332834154"],"photo_ids_order":["1332834119","1332834128","1332834150","1332834154","1332834158","1332834162"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/89dbbfabfc40215dfeb7fc55c76203a9.jpg","text":"TemporaryFile(/tmp/multipartBody699082595012467504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199973047,"filename":"image_30012025_02_18_46_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d3a5a024b0ed722ae359b695d4c495b5.jpg","text":"TemporaryFile(/tmp/multipartBody2895227958064318092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199973047,"filename":"image_30012025_02_18_16_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/30/40fe8a385e1b10043f1d4b2bac76d043.jpg","text":"TemporaryFile(/tmp/multipartBody2202372208636498215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199973047,"filename":"image_30012025_02_18_37_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4e9168ee6661bae635eb71be7a097cf0.jpg","text":"TemporaryFile(/tmp/multipartBody6674844338467635351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199973047,"filename":"image_30012025_02_17_56_9249.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/42220561309c5f0604a49941b6e06269.jpg","text":"TemporaryFile(/tmp/multipartBody3487635949341569449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199973047,"filename":"image_30012025_02_18_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/30/faebdf45c4899df9b975d4f2dfc25760.jpg","text":"TemporaryFile(/tmp/multipartBody8860413538842891808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738199973047,"filename":"image_30012025_02_18_26_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332834150","file1":"1332834128","file0":"1332834119","file4":"1332834158","file5":"1332834162","file3":"1332834154"},"map_files_photo_id_array":[{"photo_id":"1332834162","filename":"file5"},{"photo_id":"1332834150","filename":"file2"},{"photo_id":"1332834158","filename":"file4"},{"photo_id":"1332834128","filename":"file1"},{"photo_id":"1332834119","filename":"file0"},{"photo_id":"1332834154","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332834162":["hashtag1","hashtag2"]},{"1332834150":["hashtag1","hashtag2"]},{"1332834158":["hashtag1","hashtag2"]},{"1332834119":["hashtag1","hashtag2"]},{"1332834128":["hashtag1","hashtag2"]},{"1332834154":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332834162, 1332834150, 1332834158, 1332834119, 1332834128, 1332834154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.79285907745361 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:19:32.313462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/18/image_30012025_02_18_56_10361.jpg', '/home/pi/Desktop/images/30012025/02/18/image_30012025_02_19_06_9348.jpg', '/home/pi/Desktop/images/30012025/02/19/image_30012025_02_19_16_10359.jpg', '/home/pi/Desktop/images/30012025/02/19/image_30012025_02_19_27_10363.jpg', '/home/pi/Desktop/images/30012025/02/19/image_30012025_02_19_36_9451.jpg', '/home/pi/Desktop/images/30012025/02/19/image_30012025_02_19_46_10383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/18/image_30012025_02_18_56_10361.jpg
/home/pi/Desktop/images/30012025/02/18/image_30012025_02_19_06_9348.jpg
/home/pi/Desktop/images/30012025/02/19/image_30012025_02_19_16_10359.jpg
/home/pi/Desktop/images/30012025/02/19/image_30012025_02_19_27_10363.jpg
/home/pi/Desktop/images/30012025/02/19/image_30012025_02_19_36_9451.jpg
/home/pi/Desktop/images/30012025/02/19/image_30012025_02_19_46_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":["1332834195","1332834204","1332834185","1332834209","1332834199","1332834190"],"photo_ids_order":["1332834185","1332834190","1332834195","1332834199","1332834204","1332834209"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/93e0e3f5d73e3291b8ca6b7748b5e606.jpg","text":"TemporaryFile(/tmp/multipartBody5227236753021243930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200033222,"filename":"image_30012025_02_19_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/30/3d7e42bc60bfa35564ce978393861bb6.jpg","text":"TemporaryFile(/tmp/multipartBody2614852724359294009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200033222,"filename":"image_30012025_02_19_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/30/b4f1a554a33d33ad4394337e825f67f2.jpg","text":"TemporaryFile(/tmp/multipartBody4807291825209236679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200033222,"filename":"image_30012025_02_18_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/30/1c9a7659948730231353fdf661f9311b.jpg","text":"TemporaryFile(/tmp/multipartBody1546888751374222149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200033222,"filename":"image_30012025_02_19_46_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7199910b06bf9d186415c091f40f51d2.jpg","text":"TemporaryFile(/tmp/multipartBody4373903267654967456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200033222,"filename":"image_30012025_02_19_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/30/407bfe84d779670a71edd8678e636abb.jpg","text":"TemporaryFile(/tmp/multipartBody6626962877101410075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200033222,"filename":"image_30012025_02_19_06_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332834195","file1":"1332834190","file0":"1332834185","file4":"1332834204","file5":"1332834209","file3":"1332834199"},"map_files_photo_id_array":[{"photo_id":"1332834209","filename":"file5"},{"photo_id":"1332834195","filename":"file2"},{"photo_id":"1332834204","filename":"file4"},{"photo_id":"1332834190","filename":"file1"},{"photo_id":"1332834185","filename":"file0"},{"photo_id":"1332834199","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332834195":["hashtag1","hashtag2"]},{"1332834204":["hashtag1","hashtag2"]},{"1332834185":["hashtag1","hashtag2"]},{"1332834209":["hashtag1","hashtag2"]},{"1332834199":["hashtag1","hashtag2"]},{"1332834190":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332834195, 1332834204, 1332834185, 1332834209, 1332834199, 1332834190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12189769744873 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:20:32.480402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/19/image_30012025_02_19_56_9395.jpg', '/home/pi/Desktop/images/30012025/02/19/image_30012025_02_20_06_10432.jpg', '/home/pi/Desktop/images/30012025/02/20/image_30012025_02_20_17_10405.jpg', '/home/pi/Desktop/images/30012025/02/20/image_30012025_02_20_26_9451.jpg', '/home/pi/Desktop/images/30012025/02/20/image_30012025_02_20_36_10346.jpg', '/home/pi/Desktop/images/30012025/02/20/image_30012025_02_20_46_9445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/19/image_30012025_02_19_56_9395.jpg
/home/pi/Desktop/images/30012025/02/19/image_30012025_02_20_06_10432.jpg
/home/pi/Desktop/images/30012025/02/20/image_30012025_02_20_17_10405.jpg
/home/pi/Desktop/images/30012025/02/20/image_30012025_02_20_26_9451.jpg
/home/pi/Desktop/images/30012025/02/20/image_30012025_02_20_36_10346.jpg
/home/pi/Desktop/images/30012025/02/20/image_30012025_02_20_46_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":["1332834660","1332834677","1332834620","1332834623","1332834562","1332834472"],"photo_ids_order":["1332834472","1332834562","1332834620","1332834623","1332834660","1332834677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2ba82e017a50d03e41c7c9f722d6864a.jpg","text":"TemporaryFile(/tmp/multipartBody8153024361325581665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200093406,"filename":"image_30012025_02_20_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/30/e5f4a8bc2f0a1549fa1931cd2e9489cb.jpg","text":"TemporaryFile(/tmp/multipartBody345401792592213291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200093406,"filename":"image_30012025_02_20_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/30/067c5e19820c65b2ad24e09fa3eb0459.jpg","text":"TemporaryFile(/tmp/multipartBody574312225635442850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200093406,"filename":"image_30012025_02_20_17_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/30/8953fa2c4315c88e844af27eb5a5c366.jpg","text":"TemporaryFile(/tmp/multipartBody8504420495074717050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200093406,"filename":"image_30012025_02_20_26_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/30/64303cfe57ceb3a7814c00d7ce39ae47.jpg","text":"TemporaryFile(/tmp/multipartBody1824641436115178666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200093406,"filename":"image_30012025_02_20_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/30/fb35441d65788e13860f1750d3317df8.jpg","text":"TemporaryFile(/tmp/multipartBody6606609534093732666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200093406,"filename":"image_30012025_02_19_56_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332834620","file1":"1332834562","file0":"1332834472","file4":"1332834660","file5":"1332834677","file3":"1332834623"},"map_files_photo_id_array":[{"photo_id":"1332834677","filename":"file5"},{"photo_id":"1332834620","filename":"file2"},{"photo_id":"1332834660","filename":"file4"},{"photo_id":"1332834562","filename":"file1"},{"photo_id":"1332834472","filename":"file0"},{"photo_id":"1332834623","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332834660":["hashtag1","hashtag2"]},{"1332834677":["hashtag1","hashtag2"]},{"1332834620":["hashtag1","hashtag2"]},{"1332834623":["hashtag1","hashtag2"]},{"1332834562":["hashtag1","hashtag2"]},{"1332834472":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332834660, 1332834677, 1332834620, 1332834623, 1332834562, 1332834472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.02962040901184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:21:32.711854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/20/image_30012025_02_20_56_10407.jpg', '/home/pi/Desktop/images/30012025/02/20/image_30012025_02_21_07_10345.jpg', '/home/pi/Desktop/images/30012025/02/21/image_30012025_02_21_16_9440.jpg', '/home/pi/Desktop/images/30012025/02/21/image_30012025_02_21_27_10452.jpg', '/home/pi/Desktop/images/30012025/02/21/image_30012025_02_21_36_9352.jpg', '/home/pi/Desktop/images/30012025/02/21/image_30012025_02_21_46_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/20/image_30012025_02_20_56_10407.jpg
/home/pi/Desktop/images/30012025/02/20/image_30012025_02_21_07_10345.jpg
/home/pi/Desktop/images/30012025/02/21/image_30012025_02_21_16_9440.jpg
/home/pi/Desktop/images/30012025/02/21/image_30012025_02_21_27_10452.jpg
/home/pi/Desktop/images/30012025/02/21/image_30012025_02_21_36_9352.jpg
/home/pi/Desktop/images/30012025/02/21/image_30012025_02_21_46_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332834786","1332834822","1332834782","1332834830","1332834815","1332834795"],"photo_ids_order":["1332834782","1332834786","1332834795","1332834815","1332834822","1332834830"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9aa888d2dbcf537eac20d64ba0cd8bd4.jpg","text":"TemporaryFile(/tmp/multipartBody2343444351560427466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200153617,"filename":"image_30012025_02_21_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/30/109b4cef22db9d008f8ec66d2132b449.jpg","text":"TemporaryFile(/tmp/multipartBody4399470069868883643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200153617,"filename":"image_30012025_02_21_36_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/30/6fc1a84c0accac340ad80050a3172665.jpg","text":"TemporaryFile(/tmp/multipartBody4778063912527618103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200153617,"filename":"image_30012025_02_20_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/30/ecff95b9852e51e92ac3c7df9c4fe7b2.jpg","text":"TemporaryFile(/tmp/multipartBody6867688200015585936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200153617,"filename":"image_30012025_02_21_46_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d2ae01d789c3110ea4d79a1ae0a546cd.jpg","text":"TemporaryFile(/tmp/multipartBody3115246261009782706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200153617,"filename":"image_30012025_02_21_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/30/0517c028157adaed6ace1ba07b12c9e7.jpg","text":"TemporaryFile(/tmp/multipartBody7550959698749859820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200153617,"filename":"image_30012025_02_21_16_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332834795","file1":"1332834786","file0":"1332834782","file4":"1332834822","file5":"1332834830","file3":"1332834815"},"map_files_photo_id_array":[{"photo_id":"1332834830","filename":"file5"},{"photo_id":"1332834795","filename":"file2"},{"photo_id":"1332834822","filename":"file4"},{"photo_id":"1332834786","filename":"file1"},{"photo_id":"1332834782","filename":"file0"},{"photo_id":"1332834815","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332834786":["hashtag1","hashtag2"]},{"1332834822":["hashtag1","hashtag2"]},{"1332834782":["hashtag1","hashtag2"]},{"1332834830":["hashtag1","hashtag2"]},{"1332834815":["hashtag1","hashtag2"]},{"1332834795":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332834786, 1332834822, 1332834782, 1332834830, 1332834815, 1332834795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.620158195495605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:22:33.106337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/21/image_30012025_02_21_57_10415.jpg', '/home/pi/Desktop/images/30012025/02/21/image_30012025_02_22_06_9434.jpg', '/home/pi/Desktop/images/30012025/02/22/image_30012025_02_22_16_10384.jpg', '/home/pi/Desktop/images/30012025/02/22/image_30012025_02_22_26_9346.jpg', '/home/pi/Desktop/images/30012025/02/22/image_30012025_02_22_36_10422.jpg', '/home/pi/Desktop/images/30012025/02/22/image_30012025_02_22_47_10403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/21/image_30012025_02_21_57_10415.jpg
/home/pi/Desktop/images/30012025/02/21/image_30012025_02_22_06_9434.jpg
/home/pi/Desktop/images/30012025/02/22/image_30012025_02_22_16_10384.jpg
/home/pi/Desktop/images/30012025/02/22/image_30012025_02_22_26_9346.jpg
/home/pi/Desktop/images/30012025/02/22/image_30012025_02_22_36_10422.jpg
/home/pi/Desktop/images/30012025/02/22/image_30012025_02_22_47_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":["1332834879","1332834870","1332834864","1332834867","1332834875","1332834860"],"photo_ids_order":["1332834860","1332834864","1332834867","1332834870","1332834875","1332834879"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/20fbe639e89ca9792aa42cdaca6d0323.jpg","text":"TemporaryFile(/tmp/multipartBody171906193735293266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200214010,"filename":"image_30012025_02_22_47_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/30/356e135843eb62fcc6e4ea6f46e7b8ca.jpg","text":"TemporaryFile(/tmp/multipartBody8676993188399710836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200214010,"filename":"image_30012025_02_22_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/30/fc6e9ca8330b7fa0d34127e38a2f5529.jpg","text":"TemporaryFile(/tmp/multipartBody5233171736006764177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200214010,"filename":"image_30012025_02_22_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/30/b813acbbf8fee67684dc735360b1a3fd.jpg","text":"TemporaryFile(/tmp/multipartBody4625173051202027626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200214010,"filename":"image_30012025_02_22_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/30/257c77e0f1833b5527243a0f997f6f6d.jpg","text":"TemporaryFile(/tmp/multipartBody7441969396249072003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200214010,"filename":"image_30012025_02_22_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/30/a09aabf3837cc0d11eca8185fdf14a9a.jpg","text":"TemporaryFile(/tmp/multipartBody4637211896962491048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200214010,"filename":"image_30012025_02_21_57_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332834867","file1":"1332834864","file0":"1332834860","file4":"1332834875","file5":"1332834879","file3":"1332834870"},"map_files_photo_id_array":[{"photo_id":"1332834879","filename":"file5"},{"photo_id":"1332834867","filename":"file2"},{"photo_id":"1332834875","filename":"file4"},{"photo_id":"1332834864","filename":"file1"},{"photo_id":"1332834860","filename":"file0"},{"photo_id":"1332834870","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332834879":["hashtag1","hashtag2"]},{"1332834870":["hashtag1","hashtag2"]},{"1332834864":["hashtag1","hashtag2"]},{"1332834867":["hashtag1","hashtag2"]},{"1332834875":["hashtag1","hashtag2"]},{"1332834860":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332834879, 1332834870, 1332834864, 1332834867, 1332834875, 1332834860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.16757154464722 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:23:32.403553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/22/image_30012025_02_22_56_9471.jpg', '/home/pi/Desktop/images/30012025/02/22/image_30012025_02_23_07_10422.jpg', '/home/pi/Desktop/images/30012025/02/23/image_30012025_02_23_16_9461.jpg', '/home/pi/Desktop/images/30012025/02/23/image_30012025_02_23_26_10377.jpg', '/home/pi/Desktop/images/30012025/02/23/image_30012025_02_23_37_10357.jpg', '/home/pi/Desktop/images/30012025/02/23/image_30012025_02_23_46_9418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/22/image_30012025_02_22_56_9471.jpg
/home/pi/Desktop/images/30012025/02/22/image_30012025_02_23_07_10422.jpg
/home/pi/Desktop/images/30012025/02/23/image_30012025_02_23_16_9461.jpg
/home/pi/Desktop/images/30012025/02/23/image_30012025_02_23_26_10377.jpg
/home/pi/Desktop/images/30012025/02/23/image_30012025_02_23_37_10357.jpg
/home/pi/Desktop/images/30012025/02/23/image_30012025_02_23_46_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":["1332834948","1332834915","1332834903","1332834932","1332834908","1332834922"],"photo_ids_order":["1332834903","1332834908","1332834915","1332834922","1332834932","1332834948"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3bae0e60aebe9348dc558f2fd451890b.jpg","text":"TemporaryFile(/tmp/multipartBody1082123062630256161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200273313,"filename":"image_30012025_02_23_46_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/30/ed70520fab06540bd0d266e577f571bc.jpg","text":"TemporaryFile(/tmp/multipartBody7898097592003153145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200273313,"filename":"image_30012025_02_23_16_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/30/17e5db8cd98f2dce31d653b322f667db.jpg","text":"TemporaryFile(/tmp/multipartBody3391563088329026536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200273313,"filename":"image_30012025_02_22_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/30/032173369adeccdd2389cb9d57653993.jpg","text":"TemporaryFile(/tmp/multipartBody9214470901170798795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200273313,"filename":"image_30012025_02_23_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/30/3a55993ab69c841279644621e6638980.jpg","text":"TemporaryFile(/tmp/multipartBody7546943818761959451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200273313,"filename":"image_30012025_02_23_07_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1f80e5b8eaa98111985ff903782d813f.jpg","text":"TemporaryFile(/tmp/multipartBody4277077515210365878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200273313,"filename":"image_30012025_02_23_26_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332834915","file1":"1332834908","file0":"1332834903","file4":"1332834932","file5":"1332834948","file3":"1332834922"},"map_files_photo_id_array":[{"photo_id":"1332834948","filename":"file5"},{"photo_id":"1332834915","filename":"file2"},{"photo_id":"1332834932","filename":"file4"},{"photo_id":"1332834908","filename":"file1"},{"photo_id":"1332834903","filename":"file0"},{"photo_id":"1332834922","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332834948":["hashtag1","hashtag2"]},{"1332834915":["hashtag1","hashtag2"]},{"1332834903":["hashtag1","hashtag2"]},{"1332834932":["hashtag1","hashtag2"]},{"1332834908":["hashtag1","hashtag2"]},{"1332834922":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332834948, 1332834915, 1332834903, 1332834932, 1332834908, 1332834922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.31065821647644 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:24:32.493264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/23/image_30012025_02_23_57_10432.jpg', '/home/pi/Desktop/images/30012025/02/23/image_30012025_02_24_06_9432.jpg', '/home/pi/Desktop/images/30012025/02/24/image_30012025_02_24_16_10373.jpg', '/home/pi/Desktop/images/30012025/02/24/image_30012025_02_24_27_10355.jpg', '/home/pi/Desktop/images/30012025/02/24/image_30012025_02_24_36_9420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/23/image_30012025_02_23_57_10432.jpg
/home/pi/Desktop/images/30012025/02/23/image_30012025_02_24_06_9432.jpg
/home/pi/Desktop/images/30012025/02/24/image_30012025_02_24_16_10373.jpg
/home/pi/Desktop/images/30012025/02/24/image_30012025_02_24_27_10355.jpg
/home/pi/Desktop/images/30012025/02/24/image_30012025_02_24_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":["1332834999","1332835002","1332834992","1332834995","1332834985"],"photo_ids_order":["1332834985","1332834992","1332834995","1332834999","1332835002"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e8359d7feb7998b09f0b94843070913e.jpg","text":"TemporaryFile(/tmp/multipartBody1221818998575761700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200333382,"filename":"image_30012025_02_24_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/30/475aee268522acfb111c24173f7bdfb7.jpg","text":"TemporaryFile(/tmp/multipartBody5906851647170360237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200333382,"filename":"image_30012025_02_24_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/30/bbd2f0b29e1436af727d1f00893a1bc4.jpg","text":"TemporaryFile(/tmp/multipartBody3350431425526568701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200333382,"filename":"image_30012025_02_24_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/30/757f41b99cb764ca6052086a61b20f4e.jpg","text":"TemporaryFile(/tmp/multipartBody3455011681020977277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200333382,"filename":"image_30012025_02_24_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/30/b93df75bc52f3e1e4b91901343f72e8c.jpg","text":"TemporaryFile(/tmp/multipartBody5590799856210862763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200333382,"filename":"image_30012025_02_23_57_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332834995","file1":"1332834992","file0":"1332834985","file4":"1332835002","file3":"1332834999"},"map_files_photo_id_array":[{"photo_id":"1332834995","filename":"file2"},{"photo_id":"1332835002","filename":"file4"},{"photo_id":"1332834992","filename":"file1"},{"photo_id":"1332834985","filename":"file0"},{"photo_id":"1332834999","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332834999":["hashtag1","hashtag2"]},{"1332835002":["hashtag1","hashtag2"]},{"1332834992":["hashtag1","hashtag2"]},{"1332834995":["hashtag1","hashtag2"]},{"1332834985":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332834999, 1332835002, 1332834992, 1332834995, 1332834985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.28616952896118 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:25:32.752818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/24/image_30012025_02_24_47_10365.jpg', '/home/pi/Desktop/images/30012025/02/24/image_30012025_02_25_06_10397.jpg', '/home/pi/Desktop/images/30012025/02/25/image_30012025_02_25_17_10373.jpg', '/home/pi/Desktop/images/30012025/02/25/image_30012025_02_25_36_10382.jpg', '/home/pi/Desktop/images/30012025/02/25/image_30012025_02_25_46_9374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/24/image_30012025_02_24_47_10365.jpg
/home/pi/Desktop/images/30012025/02/24/image_30012025_02_25_06_10397.jpg
/home/pi/Desktop/images/30012025/02/25/image_30012025_02_25_17_10373.jpg
/home/pi/Desktop/images/30012025/02/25/image_30012025_02_25_36_10382.jpg
/home/pi/Desktop/images/30012025/02/25/image_30012025_02_25_46_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":["1332835035","1332835029","1332835040","1332835043","1332835046"],"photo_ids_order":["1332835029","1332835035","1332835040","1332835043","1332835046"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e9d8356e5625e921fa88fcec79319c8a.jpg","text":"TemporaryFile(/tmp/multipartBody7459603957013325726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200393704,"filename":"image_30012025_02_25_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/30/5277074165c8889e7be56c0991e00004.jpg","text":"TemporaryFile(/tmp/multipartBody8457124445727120706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200393704,"filename":"image_30012025_02_24_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/30/28d70bac46ef0d690edca72f1e2fb080.jpg","text":"TemporaryFile(/tmp/multipartBody67580290815868917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200393704,"filename":"image_30012025_02_25_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/30/723c3faa66925660d673787003ffd787.jpg","text":"TemporaryFile(/tmp/multipartBody797768499666986556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200393704,"filename":"image_30012025_02_25_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/30/5c798093341f6c14a4d27a18cecff4d1.jpg","text":"TemporaryFile(/tmp/multipartBody5239534334276038905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200393704,"filename":"image_30012025_02_25_46_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332835040","file1":"1332835035","file0":"1332835029","file4":"1332835046","file3":"1332835043"},"map_files_photo_id_array":[{"photo_id":"1332835040","filename":"file2"},{"photo_id":"1332835046","filename":"file4"},{"photo_id":"1332835035","filename":"file1"},{"photo_id":"1332835029","filename":"file0"},{"photo_id":"1332835043","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332835035":["hashtag1","hashtag2"]},{"1332835029":["hashtag1","hashtag2"]},{"1332835040":["hashtag1","hashtag2"]},{"1332835043":["hashtag1","hashtag2"]},{"1332835046":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332835035, 1332835029, 1332835040, 1332835043, 1332835046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.04612326622009 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:26:32.896437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/25/image_30012025_02_25_56_10457.jpg', '/home/pi/Desktop/images/30012025/02/25/image_30012025_02_26_07_10360.jpg', '/home/pi/Desktop/images/30012025/02/26/image_30012025_02_26_16_9450.jpg', '/home/pi/Desktop/images/30012025/02/26/image_30012025_02_26_26_10376.jpg', '/home/pi/Desktop/images/30012025/02/26/image_30012025_02_26_36_9349.jpg', '/home/pi/Desktop/images/30012025/02/26/image_30012025_02_26_46_10447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/25/image_30012025_02_25_56_10457.jpg
/home/pi/Desktop/images/30012025/02/25/image_30012025_02_26_07_10360.jpg
/home/pi/Desktop/images/30012025/02/26/image_30012025_02_26_16_9450.jpg
/home/pi/Desktop/images/30012025/02/26/image_30012025_02_26_26_10376.jpg
/home/pi/Desktop/images/30012025/02/26/image_30012025_02_26_36_9349.jpg
/home/pi/Desktop/images/30012025/02/26/image_30012025_02_26_46_10447.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5598592758178711 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 02:26:42.890494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/25/image_30012025_02_25_56_10457.jpg', '/home/pi/Desktop/images/30012025/02/25/image_30012025_02_26_07_10360.jpg', '/home/pi/Desktop/images/30012025/02/26/image_30012025_02_26_16_9450.jpg', '/home/pi/Desktop/images/30012025/02/26/image_30012025_02_26_26_10376.jpg', '/home/pi/Desktop/images/30012025/02/26/image_30012025_02_26_36_9349.jpg', '/home/pi/Desktop/images/30012025/02/26/image_30012025_02_26_46_10447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/25/image_30012025_02_25_56_10457.jpg
/home/pi/Desktop/images/30012025/02/25/image_30012025_02_26_07_10360.jpg
/home/pi/Desktop/images/30012025/02/26/image_30012025_02_26_16_9450.jpg
/home/pi/Desktop/images/30012025/02/26/image_30012025_02_26_26_10376.jpg
/home/pi/Desktop/images/30012025/02/26/image_30012025_02_26_36_9349.jpg
/home/pi/Desktop/images/30012025/02/26/image_30012025_02_26_46_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332835137","1332835128","1332835104","1332835100","1332835093","1332835114"],"photo_ids_order":["1332835093","1332835100","1332835104","1332835114","1332835128","1332835137"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2fcc6862a7c842dc3ba1f8d4129c78f7.jpg","text":"TemporaryFile(/tmp/multipartBody696875340760246838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200463801,"filename":"image_30012025_02_26_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/30/356d03b9201d870c1778c18567f09f17.jpg","text":"TemporaryFile(/tmp/multipartBody9100469199438424180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200463801,"filename":"image_30012025_02_26_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/30/a61b9dc8e8886810d6d8d1d3dec2c9db.jpg","text":"TemporaryFile(/tmp/multipartBody5957093851409031233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200463801,"filename":"image_30012025_02_26_16_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/30/f1cbd0ccdd1b845283094a77f656e909.jpg","text":"TemporaryFile(/tmp/multipartBody7300348047333244108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200463801,"filename":"image_30012025_02_26_07_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/330d55b36b89bdf8e1a9346e2f3ee687.jpg","text":"TemporaryFile(/tmp/multipartBody5098643361969868970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200463801,"filename":"image_30012025_02_25_56_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/30/484b4d3e5b9e8db85a245e79add7f4b4.jpg","text":"TemporaryFile(/tmp/multipartBody741302662952960570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200463801,"filename":"image_30012025_02_26_26_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332835104","file1":"1332835100","file0":"1332835093","file4":"1332835128","file5":"1332835137","file3":"1332835114"},"map_files_photo_id_array":[{"photo_id":"1332835137","filename":"file5"},{"photo_id":"1332835104","filename":"file2"},{"photo_id":"1332835128","filename":"file4"},{"photo_id":"1332835100","filename":"file1"},{"photo_id":"1332835093","filename":"file0"},{"photo_id":"1332835114","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332835137":["hashtag1","hashtag2"]},{"1332835128":["hashtag1","hashtag2"]},{"1332835104":["hashtag1","hashtag2"]},{"1332835100":["hashtag1","hashtag2"]},{"1332835093":["hashtag1","hashtag2"]},{"1332835114":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332835137, 1332835128, 1332835104, 1332835100, 1332835093, 1332835114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.32506966590881 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:27:33.064217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/26/image_30012025_02_26_57_10359.jpg', '/home/pi/Desktop/images/30012025/02/27/image_30012025_02_27_26_9359.jpg', '/home/pi/Desktop/images/30012025/02/27/image_30012025_02_27_36_10397.jpg', '/home/pi/Desktop/images/30012025/02/27/image_30012025_02_27_47_10436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/26/image_30012025_02_26_57_10359.jpg
/home/pi/Desktop/images/30012025/02/27/image_30012025_02_27_26_9359.jpg
/home/pi/Desktop/images/30012025/02/27/image_30012025_02_27_36_10397.jpg
/home/pi/Desktop/images/30012025/02/27/image_30012025_02_27_47_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332836282","1332835826","1332836308","1332836049"],"photo_ids_order":["1332835826","1332836049","1332836282","1332836308"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/685db56d2759660050da500c9ce15921.jpg","text":"TemporaryFile(/tmp/multipartBody7757175144714072618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200513939,"filename":"image_30012025_02_27_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/30/a0d5af0ebaac7eebe807279d6aa8d1cf.jpg","text":"TemporaryFile(/tmp/multipartBody5987600731047087129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200513939,"filename":"image_30012025_02_26_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/30/649c2f90bb5f80d12f761252b52636a2.jpg","text":"TemporaryFile(/tmp/multipartBody7018251362077926096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200513939,"filename":"image_30012025_02_27_47_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/30/e13472f4deb621b4b650a5db2ad08cfc.jpg","text":"TemporaryFile(/tmp/multipartBody556477024683434022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200513939,"filename":"image_30012025_02_27_26_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332836282","file1":"1332836049","file0":"1332835826","file3":"1332836308"},"map_files_photo_id_array":[{"photo_id":"1332836282","filename":"file2"},{"photo_id":"1332836049","filename":"file1"},{"photo_id":"1332835826","filename":"file0"},{"photo_id":"1332836308","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332836282":["hashtag1","hashtag2"]},{"1332835826":["hashtag1","hashtag2"]},{"1332836308":["hashtag1","hashtag2"]},{"1332836049":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332836282, 1332835826, 1332836308, 1332836049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.307793378829956 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-30 02:28:32.264918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/27/image_30012025_02_27_56_9365.jpg', '/home/pi/Desktop/images/30012025/02/27/image_30012025_02_28_06_10350.jpg', '/home/pi/Desktop/images/30012025/02/28/image_30012025_02_28_16_9369.jpg', '/home/pi/Desktop/images/30012025/02/28/image_30012025_02_28_26_10363.jpg', '/home/pi/Desktop/images/30012025/02/28/image_30012025_02_28_37_10443.jpg', '/home/pi/Desktop/images/30012025/02/28/image_30012025_02_28_46_9396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/27/image_30012025_02_27_56_9365.jpg
/home/pi/Desktop/images/30012025/02/27/image_30012025_02_28_06_10350.jpg
/home/pi/Desktop/images/30012025/02/28/image_30012025_02_28_16_9369.jpg
/home/pi/Desktop/images/30012025/02/28/image_30012025_02_28_26_10363.jpg
/home/pi/Desktop/images/30012025/02/28/image_30012025_02_28_37_10443.jpg
/home/pi/Desktop/images/30012025/02/28/image_30012025_02_28_46_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":["1332836700","1332836444","1332836432","1332836440","1332836341","1332836748"],"photo_ids_order":["1332836341","1332836432","1332836440","1332836444","1332836700","1332836748"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0fd1e94e43c57273a2c030821b229b3d.jpg","text":"TemporaryFile(/tmp/multipartBody2856205113090506566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200573198,"filename":"image_30012025_02_28_37_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/30/ed01ae2ed22b4549c7de229ccd1f46d4.jpg","text":"TemporaryFile(/tmp/multipartBody2575985369543231511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200573198,"filename":"image_30012025_02_28_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/30/9a518e8d947711668b85362f2de29585.jpg","text":"TemporaryFile(/tmp/multipartBody4178571357725148282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200573198,"filename":"image_30012025_02_28_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/30/3478b60227de4acdb5c86aa4022a2d64.jpg","text":"TemporaryFile(/tmp/multipartBody8481438321004921049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200573198,"filename":"image_30012025_02_28_16_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/30/1b12c22d55ea11ae15013ce68d9b379f.jpg","text":"TemporaryFile(/tmp/multipartBody3142390081793167175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200573198,"filename":"image_30012025_02_27_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/30/84e54fe10aa45c7bb978cdd84b676945.jpg","text":"TemporaryFile(/tmp/multipartBody3184785042904510875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200573198,"filename":"image_30012025_02_28_46_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332836440","file1":"1332836432","file0":"1332836341","file4":"1332836700","file5":"1332836748","file3":"1332836444"},"map_files_photo_id_array":[{"photo_id":"1332836748","filename":"file5"},{"photo_id":"1332836440","filename":"file2"},{"photo_id":"1332836700","filename":"file4"},{"photo_id":"1332836432","filename":"file1"},{"photo_id":"1332836341","filename":"file0"},{"photo_id":"1332836444","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332836700":["hashtag1","hashtag2"]},{"1332836444":["hashtag1","hashtag2"]},{"1332836432":["hashtag1","hashtag2"]},{"1332836440":["hashtag1","hashtag2"]},{"1332836341":["hashtag1","hashtag2"]},{"1332836748":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332836700, 1332836444, 1332836432, 1332836440, 1332836341, 1332836748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.98174428939819 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:29:32.475255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/28/image_30012025_02_28_56_10385.jpg', '/home/pi/Desktop/images/30012025/02/28/image_30012025_02_29_07_10361.jpg', '/home/pi/Desktop/images/30012025/02/29/image_30012025_02_29_16_9429.jpg', '/home/pi/Desktop/images/30012025/02/29/image_30012025_02_29_27_10385.jpg', '/home/pi/Desktop/images/30012025/02/29/image_30012025_02_29_36_9458.jpg', '/home/pi/Desktop/images/30012025/02/29/image_30012025_02_29_46_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/28/image_30012025_02_28_56_10385.jpg
/home/pi/Desktop/images/30012025/02/28/image_30012025_02_29_07_10361.jpg
/home/pi/Desktop/images/30012025/02/29/image_30012025_02_29_16_9429.jpg
/home/pi/Desktop/images/30012025/02/29/image_30012025_02_29_27_10385.jpg
/home/pi/Desktop/images/30012025/02/29/image_30012025_02_29_36_9458.jpg
/home/pi/Desktop/images/30012025/02/29/image_30012025_02_29_46_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":["1332836858","1332836861","1332836863","1332836845","1332836871","1332836853"],"photo_ids_order":["1332836845","1332836853","1332836858","1332836861","1332836863","1332836871"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3650c2033e37b7abbd9eb069e4cb2c9a.jpg","text":"TemporaryFile(/tmp/multipartBody3627383730624926134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200633392,"filename":"image_30012025_02_29_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/30/a3c2b17615551a39b17fac87e1edee90.jpg","text":"TemporaryFile(/tmp/multipartBody105529931693428938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200633392,"filename":"image_30012025_02_29_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/30/bd1cd9fd8c1d9233524c4a4f85188ee3.jpg","text":"TemporaryFile(/tmp/multipartBody3327507949010554262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200633392,"filename":"image_30012025_02_29_36_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/30/82b80ae4e085e82bf1745d765b29bde5.jpg","text":"TemporaryFile(/tmp/multipartBody811727729019461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200633392,"filename":"image_30012025_02_28_56_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/30/cedba6f30e0c467f4195bb804d4cd0da.jpg","text":"TemporaryFile(/tmp/multipartBody2289471731172424851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200633392,"filename":"image_30012025_02_29_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/30/4f62f440c0c6b884b79c8d7ac959bd21.jpg","text":"TemporaryFile(/tmp/multipartBody4137386193281113910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200633392,"filename":"image_30012025_02_29_07_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332836858","file1":"1332836853","file0":"1332836845","file4":"1332836863","file5":"1332836871","file3":"1332836861"},"map_files_photo_id_array":[{"photo_id":"1332836871","filename":"file5"},{"photo_id":"1332836858","filename":"file2"},{"photo_id":"1332836863","filename":"file4"},{"photo_id":"1332836853","filename":"file1"},{"photo_id":"1332836845","filename":"file0"},{"photo_id":"1332836861","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332836858":["hashtag1","hashtag2"]},{"1332836861":["hashtag1","hashtag2"]},{"1332836863":["hashtag1","hashtag2"]},{"1332836845":["hashtag1","hashtag2"]},{"1332836871":["hashtag1","hashtag2"]},{"1332836853":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332836858, 1332836861, 1332836863, 1332836845, 1332836871, 1332836853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03359508514404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:30:32.784200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/29/image_30012025_02_29_57_10365.jpg', '/home/pi/Desktop/images/30012025/02/29/image_30012025_02_30_06_9436.jpg', '/home/pi/Desktop/images/30012025/02/30/image_30012025_02_30_17_10365.jpg', '/home/pi/Desktop/images/30012025/02/30/image_30012025_02_30_26_9434.jpg', '/home/pi/Desktop/images/30012025/02/30/image_30012025_02_30_36_10366.jpg', '/home/pi/Desktop/images/30012025/02/30/image_30012025_02_30_47_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/29/image_30012025_02_29_57_10365.jpg
/home/pi/Desktop/images/30012025/02/29/image_30012025_02_30_06_9436.jpg
/home/pi/Desktop/images/30012025/02/30/image_30012025_02_30_17_10365.jpg
/home/pi/Desktop/images/30012025/02/30/image_30012025_02_30_26_9434.jpg
/home/pi/Desktop/images/30012025/02/30/image_30012025_02_30_36_10366.jpg
/home/pi/Desktop/images/30012025/02/30/image_30012025_02_30_47_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332836959","1332836947","1332836964","1332836967","1332836952","1332836940"],"photo_ids_order":["1332836940","1332836947","1332836952","1332836959","1332836964","1332836967"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/69a6bb46d9782689d85d6355ed52a7ab.jpg","text":"TemporaryFile(/tmp/multipartBody7686545061840218595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200693726,"filename":"image_30012025_02_30_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/30/a55154aca61c81de2215f753e70e8eaa.jpg","text":"TemporaryFile(/tmp/multipartBody6904435616877610359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200693726,"filename":"image_30012025_02_30_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/30/6a1d2d5e453598dc8e1fc12912296d8f.jpg","text":"TemporaryFile(/tmp/multipartBody4872878557935940891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200693726,"filename":"image_30012025_02_30_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/30/bcd2bd22a1be628381188f08f4b8ae3c.jpg","text":"TemporaryFile(/tmp/multipartBody4680690298833154896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200693726,"filename":"image_30012025_02_30_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/30/a83eb5d29c6d8cc5d931ae19a232adeb.jpg","text":"TemporaryFile(/tmp/multipartBody6024848480784819784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200693726,"filename":"image_30012025_02_30_17_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c702bc2a3bd288ac4f078cc48ef729ae.jpg","text":"TemporaryFile(/tmp/multipartBody6849687682203368082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200693726,"filename":"image_30012025_02_29_57_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332836952","file1":"1332836947","file0":"1332836940","file4":"1332836964","file5":"1332836967","file3":"1332836959"},"map_files_photo_id_array":[{"photo_id":"1332836967","filename":"file5"},{"photo_id":"1332836952","filename":"file2"},{"photo_id":"1332836964","filename":"file4"},{"photo_id":"1332836947","filename":"file1"},{"photo_id":"1332836940","filename":"file0"},{"photo_id":"1332836959","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332836959":["hashtag1","hashtag2"]},{"1332836947":["hashtag1","hashtag2"]},{"1332836964":["hashtag1","hashtag2"]},{"1332836967":["hashtag1","hashtag2"]},{"1332836952":["hashtag1","hashtag2"]},{"1332836940":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332836959, 1332836947, 1332836964, 1332836967, 1332836952, 1332836940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.55721068382263 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:31:32.963762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/30/image_30012025_02_30_56_9360.jpg', '/home/pi/Desktop/images/30012025/02/30/image_30012025_02_31_07_10383.jpg', '/home/pi/Desktop/images/30012025/02/31/image_30012025_02_31_16_9366.jpg', '/home/pi/Desktop/images/30012025/02/31/image_30012025_02_31_26_10411.jpg', '/home/pi/Desktop/images/30012025/02/31/image_30012025_02_31_37_10368.jpg', '/home/pi/Desktop/images/30012025/02/31/image_30012025_02_31_46_9379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/30/image_30012025_02_30_56_9360.jpg
/home/pi/Desktop/images/30012025/02/30/image_30012025_02_31_07_10383.jpg
/home/pi/Desktop/images/30012025/02/31/image_30012025_02_31_16_9366.jpg
/home/pi/Desktop/images/30012025/02/31/image_30012025_02_31_26_10411.jpg
/home/pi/Desktop/images/30012025/02/31/image_30012025_02_31_37_10368.jpg
/home/pi/Desktop/images/30012025/02/31/image_30012025_02_31_46_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":["1332837004","1332837007","1332836991","1332837015","1332837000","1332837012"],"photo_ids_order":["1332836991","1332837000","1332837004","1332837007","1332837012","1332837015"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4114f232711dd56b0082aa4f38a53a4c.jpg","text":"TemporaryFile(/tmp/multipartBody5234688903438434196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200753872,"filename":"image_30012025_02_31_16_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/30/f13746333f036d28dc647b7c0eca5a06.jpg","text":"TemporaryFile(/tmp/multipartBody7547740942442949322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200753872,"filename":"image_30012025_02_31_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/30/7955da0155d0c6e7dceabd2b414ab8ba.jpg","text":"TemporaryFile(/tmp/multipartBody2264493791323604078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200753872,"filename":"image_30012025_02_30_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/30/1c5fad4275d204e67534af22b0c60c84.jpg","text":"TemporaryFile(/tmp/multipartBody7670190672130681734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200753872,"filename":"image_30012025_02_31_46_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/30/d1573fa23c6036a3170f7ff0e1911167.jpg","text":"TemporaryFile(/tmp/multipartBody633767539058447698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200753872,"filename":"image_30012025_02_31_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/30/c7e47f2db479b50d95b0246c2f175242.jpg","text":"TemporaryFile(/tmp/multipartBody6572497219619404724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200753872,"filename":"image_30012025_02_31_37_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332837004","file1":"1332837000","file0":"1332836991","file4":"1332837012","file5":"1332837015","file3":"1332837007"},"map_files_photo_id_array":[{"photo_id":"1332837015","filename":"file5"},{"photo_id":"1332837004","filename":"file2"},{"photo_id":"1332837012","filename":"file4"},{"photo_id":"1332837000","filename":"file1"},{"photo_id":"1332836991","filename":"file0"},{"photo_id":"1332837007","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332837004":["hashtag1","hashtag2"]},{"1332837007":["hashtag1","hashtag2"]},{"1332836991":["hashtag1","hashtag2"]},{"1332837015":["hashtag1","hashtag2"]},{"1332837000":["hashtag1","hashtag2"]},{"1332837012":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332837004, 1332837007, 1332836991, 1332837015, 1332837000, 1332837012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.75555348396301 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:32:32.100911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/31/image_30012025_02_31_56_10383.jpg', '/home/pi/Desktop/images/30012025/02/32/image_30012025_02_32_16_9424.jpg', '/home/pi/Desktop/images/30012025/02/32/image_30012025_02_32_27_10367.jpg', '/home/pi/Desktop/images/30012025/02/32/image_30012025_02_32_36_9338.jpg', '/home/pi/Desktop/images/30012025/02/32/image_30012025_02_32_46_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/31/image_30012025_02_31_56_10383.jpg
/home/pi/Desktop/images/30012025/02/32/image_30012025_02_32_16_9424.jpg
/home/pi/Desktop/images/30012025/02/32/image_30012025_02_32_27_10367.jpg
/home/pi/Desktop/images/30012025/02/32/image_30012025_02_32_36_9338.jpg
/home/pi/Desktop/images/30012025/02/32/image_30012025_02_32_46_10411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332837053","1332837047","1332837058","1332837066","1332837068"],"photo_ids_order":["1332837047","1332837053","1332837058","1332837066","1332837068"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bc91eec500b97dac30901c58db8797be.jpg","text":"TemporaryFile(/tmp/multipartBody7316567495019526432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200813020,"filename":"image_30012025_02_32_16_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/30/bc40d67dd34ad99805cfd34a444be575.jpg","text":"TemporaryFile(/tmp/multipartBody6526807052144332877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200813020,"filename":"image_30012025_02_31_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/30/ba396b45d60b5e21ea5032f66c36f00b.jpg","text":"TemporaryFile(/tmp/multipartBody5113997972970732253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200813020,"filename":"image_30012025_02_32_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/30/8a53bdddb47c38c30782b43cbe55478c.jpg","text":"TemporaryFile(/tmp/multipartBody2291172056974606782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200813020,"filename":"image_30012025_02_32_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/30/5c8d6c1d5c7168dbfb10e1a49530591d.jpg","text":"TemporaryFile(/tmp/multipartBody6496794272232840329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200813020,"filename":"image_30012025_02_32_46_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332837058","file1":"1332837053","file0":"1332837047","file4":"1332837068","file3":"1332837066"},"map_files_photo_id_array":[{"photo_id":"1332837058","filename":"file2"},{"photo_id":"1332837068","filename":"file4"},{"photo_id":"1332837053","filename":"file1"},{"photo_id":"1332837047","filename":"file0"},{"photo_id":"1332837066","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332837053":["hashtag1","hashtag2"]},{"1332837047":["hashtag1","hashtag2"]},{"1332837058":["hashtag1","hashtag2"]},{"1332837066":["hashtag1","hashtag2"]},{"1332837068":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332837053, 1332837047, 1332837058, 1332837066, 1332837068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.94090223312378 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:33:32.382104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/32/image_30012025_02_32_57_10417.jpg', '/home/pi/Desktop/images/30012025/02/32/image_30012025_02_33_06_9363.jpg', '/home/pi/Desktop/images/30012025/02/33/image_30012025_02_33_16_10342.jpg', '/home/pi/Desktop/images/30012025/02/33/image_30012025_02_33_26_9362.jpg', '/home/pi/Desktop/images/30012025/02/33/image_30012025_02_33_36_10461.jpg', '/home/pi/Desktop/images/30012025/02/33/image_30012025_02_33_47_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/32/image_30012025_02_32_57_10417.jpg
/home/pi/Desktop/images/30012025/02/32/image_30012025_02_33_06_9363.jpg
/home/pi/Desktop/images/30012025/02/33/image_30012025_02_33_16_10342.jpg
/home/pi/Desktop/images/30012025/02/33/image_30012025_02_33_26_9362.jpg
/home/pi/Desktop/images/30012025/02/33/image_30012025_02_33_36_10461.jpg
/home/pi/Desktop/images/30012025/02/33/image_30012025_02_33_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":["1332837152","1332837160","1332837165","1332837147","1332837089","1332837155"],"photo_ids_order":["1332837089","1332837147","1332837152","1332837155","1332837160","1332837165"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/14a6a38c25032f5c89dd4f1cf886d9fd.jpg","text":"TemporaryFile(/tmp/multipartBody2097247842116300759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200873281,"filename":"image_30012025_02_33_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/30/755edca32163009eeed6a040d31683de.jpg","text":"TemporaryFile(/tmp/multipartBody397958530232304092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200873281,"filename":"image_30012025_02_33_36_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/30/0929f2b8f2caf3709632f6893725d3ba.jpg","text":"TemporaryFile(/tmp/multipartBody8567511179326298691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200873281,"filename":"image_30012025_02_33_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/30/a431f910ccc0b1f73d0dbfe54b82fd0f.jpg","text":"TemporaryFile(/tmp/multipartBody5900262386227224267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200873281,"filename":"image_30012025_02_33_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/30/bf9a9cda81917a7e56f26f381d3b28e0.jpg","text":"TemporaryFile(/tmp/multipartBody8673965449502284262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200873281,"filename":"image_30012025_02_32_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/30/465040c5b18bb4302cc236d285fced6b.jpg","text":"TemporaryFile(/tmp/multipartBody6432427053964039933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200873281,"filename":"image_30012025_02_33_26_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332837152","file1":"1332837147","file0":"1332837089","file4":"1332837160","file5":"1332837165","file3":"1332837155"},"map_files_photo_id_array":[{"photo_id":"1332837165","filename":"file5"},{"photo_id":"1332837152","filename":"file2"},{"photo_id":"1332837160","filename":"file4"},{"photo_id":"1332837147","filename":"file1"},{"photo_id":"1332837089","filename":"file0"},{"photo_id":"1332837155","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332837152":["hashtag1","hashtag2"]},{"1332837160":["hashtag1","hashtag2"]},{"1332837165":["hashtag1","hashtag2"]},{"1332837147":["hashtag1","hashtag2"]},{"1332837089":["hashtag1","hashtag2"]},{"1332837155":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332837152, 1332837160, 1332837165, 1332837147, 1332837089, 1332837155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.23613715171814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:34:32.651170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/33/image_30012025_02_33_56_9450.jpg', '/home/pi/Desktop/images/30012025/02/33/image_30012025_02_34_06_10380.jpg', '/home/pi/Desktop/images/30012025/02/34/image_30012025_02_34_16_9402.jpg', '/home/pi/Desktop/images/30012025/02/34/image_30012025_02_34_26_10454.jpg', '/home/pi/Desktop/images/30012025/02/34/image_30012025_02_34_46_9378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/33/image_30012025_02_33_56_9450.jpg
/home/pi/Desktop/images/30012025/02/33/image_30012025_02_34_06_10380.jpg
/home/pi/Desktop/images/30012025/02/34/image_30012025_02_34_16_9402.jpg
/home/pi/Desktop/images/30012025/02/34/image_30012025_02_34_26_10454.jpg
/home/pi/Desktop/images/30012025/02/34/image_30012025_02_34_46_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":["1332837259","1332837289","1332837238","1332837243","1332837284"],"photo_ids_order":["1332837238","1332837243","1332837259","1332837284","1332837289"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fac68a1303c148372a5f0cd674cf16ae.jpg","text":"TemporaryFile(/tmp/multipartBody1597083056723205911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200933553,"filename":"image_30012025_02_34_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/30/75ea85d72882fd21b980e225df37cd42.jpg","text":"TemporaryFile(/tmp/multipartBody6711101322623458614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200933553,"filename":"image_30012025_02_34_46_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/30/91828824750159496dc577c16618b28f.jpg","text":"TemporaryFile(/tmp/multipartBody4288034545800374232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200933553,"filename":"image_30012025_02_33_56_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/30/b4a9e60b8757c7ea8806718ab01791ac.jpg","text":"TemporaryFile(/tmp/multipartBody1823616050519205023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200933553,"filename":"image_30012025_02_34_06_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/29eab6f15406f4d4800f50b4453d1875.jpg","text":"TemporaryFile(/tmp/multipartBody4881641980050967476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200933553,"filename":"image_30012025_02_34_26_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332837259","file1":"1332837243","file0":"1332837238","file4":"1332837289","file3":"1332837284"},"map_files_photo_id_array":[{"photo_id":"1332837259","filename":"file2"},{"photo_id":"1332837289","filename":"file4"},{"photo_id":"1332837243","filename":"file1"},{"photo_id":"1332837238","filename":"file0"},{"photo_id":"1332837284","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332837259":["hashtag1","hashtag2"]},{"1332837289":["hashtag1","hashtag2"]},{"1332837238":["hashtag1","hashtag2"]},{"1332837243":["hashtag1","hashtag2"]},{"1332837284":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332837259, 1332837289, 1332837238, 1332837243, 1332837284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.6926109790802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:35:32.843398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/34/image_30012025_02_34_56_10372.jpg', '/home/pi/Desktop/images/30012025/02/35/image_30012025_02_35_16_10369.jpg', '/home/pi/Desktop/images/30012025/02/35/image_30012025_02_35_27_10383.jpg', '/home/pi/Desktop/images/30012025/02/35/image_30012025_02_35_36_9409.jpg', '/home/pi/Desktop/images/30012025/02/35/image_30012025_02_35_46_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/34/image_30012025_02_34_56_10372.jpg
/home/pi/Desktop/images/30012025/02/35/image_30012025_02_35_16_10369.jpg
/home/pi/Desktop/images/30012025/02/35/image_30012025_02_35_27_10383.jpg
/home/pi/Desktop/images/30012025/02/35/image_30012025_02_35_36_9409.jpg
/home/pi/Desktop/images/30012025/02/35/image_30012025_02_35_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":["1332837461","1332837458","1332837453","1332837438","1332837446"],"photo_ids_order":["1332837438","1332837446","1332837453","1332837458","1332837461"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/21393ce3e160dbdb5a41ea4adf80b8a3.jpg","text":"TemporaryFile(/tmp/multipartBody7314168203864216922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200993732,"filename":"image_30012025_02_35_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/30/51d6d582ff2cb99faed09cc84de5cf26.jpg","text":"TemporaryFile(/tmp/multipartBody1840471645602557457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200993732,"filename":"image_30012025_02_35_36_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/30/f6ad6e237a74a577646de935607a5fd2.jpg","text":"TemporaryFile(/tmp/multipartBody8701196583104255458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200993732,"filename":"image_30012025_02_35_27_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/30/229f0c2b47074b85547f23197d0f29ca.jpg","text":"TemporaryFile(/tmp/multipartBody641228985202623900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200993732,"filename":"image_30012025_02_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/30/1b98a2c92d2ca68b8cb032df8a8d6045.jpg","text":"TemporaryFile(/tmp/multipartBody3763199341577207483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738200993732,"filename":"image_30012025_02_35_16_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332837453","file1":"1332837446","file0":"1332837438","file4":"1332837461","file3":"1332837458"},"map_files_photo_id_array":[{"photo_id":"1332837453","filename":"file2"},{"photo_id":"1332837461","filename":"file4"},{"photo_id":"1332837446","filename":"file1"},{"photo_id":"1332837438","filename":"file0"},{"photo_id":"1332837458","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332837461":["hashtag1","hashtag2"]},{"1332837458":["hashtag1","hashtag2"]},{"1332837453":["hashtag1","hashtag2"]},{"1332837438":["hashtag1","hashtag2"]},{"1332837446":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332837461, 1332837458, 1332837453, 1332837438, 1332837446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 44.47307896614075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:36:33.009961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/35/image_30012025_02_35_57_10425.jpg', '/home/pi/Desktop/images/30012025/02/35/image_30012025_02_36_06_9355.jpg', '/home/pi/Desktop/images/30012025/02/36/image_30012025_02_36_16_10362.jpg', '/home/pi/Desktop/images/30012025/02/36/image_30012025_02_36_26_9370.jpg', '/home/pi/Desktop/images/30012025/02/36/image_30012025_02_36_36_10431.jpg', '/home/pi/Desktop/images/30012025/02/36/image_30012025_02_36_47_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/35/image_30012025_02_35_57_10425.jpg
/home/pi/Desktop/images/30012025/02/35/image_30012025_02_36_06_9355.jpg
/home/pi/Desktop/images/30012025/02/36/image_30012025_02_36_16_10362.jpg
/home/pi/Desktop/images/30012025/02/36/image_30012025_02_36_26_9370.jpg
/home/pi/Desktop/images/30012025/02/36/image_30012025_02_36_36_10431.jpg
/home/pi/Desktop/images/30012025/02/36/image_30012025_02_36_47_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332837608","1332837583","1332837631","1332837613","1332837601","1332837573"],"photo_ids_order":["1332837573","1332837583","1332837601","1332837608","1332837613","1332837631"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2c29dda393cc99d7dbd7fca1e72f9287.jpg","text":"TemporaryFile(/tmp/multipartBody7011768991723783344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201053919,"filename":"image_30012025_02_36_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/30/3fa4bc071edd0fe172ff9d4c33903fc0.jpg","text":"TemporaryFile(/tmp/multipartBody1896150927372941710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201053919,"filename":"image_30012025_02_36_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/30/3847cb60d74cb1eca59b5238e69af755.jpg","text":"TemporaryFile(/tmp/multipartBody5016529368906866099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201053919,"filename":"image_30012025_02_36_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/30/ccfcd5bf290d222fd6aaccadfae2ef6e.jpg","text":"TemporaryFile(/tmp/multipartBody4412784661629373187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201053919,"filename":"image_30012025_02_36_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/30/49c26241739dd8e4e83d50fe7a51a5fc.jpg","text":"TemporaryFile(/tmp/multipartBody6043103322718138362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201053919,"filename":"image_30012025_02_36_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/30/159aa89c2fad5490a718373f90a3cfb3.jpg","text":"TemporaryFile(/tmp/multipartBody1010110288764917795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201053919,"filename":"image_30012025_02_35_57_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332837601","file1":"1332837583","file0":"1332837573","file4":"1332837613","file5":"1332837631","file3":"1332837608"},"map_files_photo_id_array":[{"photo_id":"1332837631","filename":"file5"},{"photo_id":"1332837601","filename":"file2"},{"photo_id":"1332837613","filename":"file4"},{"photo_id":"1332837583","filename":"file1"},{"photo_id":"1332837573","filename":"file0"},{"photo_id":"1332837608","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332837608":["hashtag1","hashtag2"]},{"1332837583":["hashtag1","hashtag2"]},{"1332837631":["hashtag1","hashtag2"]},{"1332837613":["hashtag1","hashtag2"]},{"1332837601":["hashtag1","hashtag2"]},{"1332837573":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332837608, 1332837583, 1332837631, 1332837613, 1332837601, 1332837573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.3331241607666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:37:32.171116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/36/image_30012025_02_36_56_9487.jpg', '/home/pi/Desktop/images/30012025/02/36/image_30012025_02_37_06_10367.jpg', '/home/pi/Desktop/images/30012025/02/37/image_30012025_02_37_16_9452.jpg', '/home/pi/Desktop/images/30012025/02/37/image_30012025_02_37_26_10421.jpg', '/home/pi/Desktop/images/30012025/02/37/image_30012025_02_37_36_9509.jpg', '/home/pi/Desktop/images/30012025/02/37/image_30012025_02_37_46_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/36/image_30012025_02_36_56_9487.jpg
/home/pi/Desktop/images/30012025/02/36/image_30012025_02_37_06_10367.jpg
/home/pi/Desktop/images/30012025/02/37/image_30012025_02_37_16_9452.jpg
/home/pi/Desktop/images/30012025/02/37/image_30012025_02_37_26_10421.jpg
/home/pi/Desktop/images/30012025/02/37/image_30012025_02_37_36_9509.jpg
/home/pi/Desktop/images/30012025/02/37/image_30012025_02_37_46_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":["1332837713","1332837748","1332837697","1332837666","1332837681","1332837660"],"photo_ids_order":["1332837660","1332837666","1332837681","1332837697","1332837713","1332837748"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5fef3cbad19d2fd9bcdc7c0330888e52.jpg","text":"TemporaryFile(/tmp/multipartBody5716139216675641359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201113080,"filename":"image_30012025_02_37_36_9509.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2b58273afe04f1fb9178a9c506a474b8.jpg","text":"TemporaryFile(/tmp/multipartBody2467155617386109851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201113080,"filename":"image_30012025_02_37_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/30/d3e605704aee6110c01f33cb6b546961.jpg","text":"TemporaryFile(/tmp/multipartBody7822710473349811265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201113080,"filename":"image_30012025_02_37_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/30/1af99e9bd0c3d3b155068c0dd29befcc.jpg","text":"TemporaryFile(/tmp/multipartBody8679000784554073764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201113080,"filename":"image_30012025_02_37_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/30/514190cf44113bf0bdde0177875702f0.jpg","text":"TemporaryFile(/tmp/multipartBody6051686048357647535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201113080,"filename":"image_30012025_02_37_16_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/30/7d80cfd36a29f6a65da30abb09fed40b.jpg","text":"TemporaryFile(/tmp/multipartBody4263306146697896530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201113080,"filename":"image_30012025_02_36_56_9487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332837681","file1":"1332837666","file0":"1332837660","file4":"1332837713","file5":"1332837748","file3":"1332837697"},"map_files_photo_id_array":[{"photo_id":"1332837748","filename":"file5"},{"photo_id":"1332837681","filename":"file2"},{"photo_id":"1332837713","filename":"file4"},{"photo_id":"1332837666","filename":"file1"},{"photo_id":"1332837660","filename":"file0"},{"photo_id":"1332837697","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332837713":["hashtag1","hashtag2"]},{"1332837748":["hashtag1","hashtag2"]},{"1332837697":["hashtag1","hashtag2"]},{"1332837666":["hashtag1","hashtag2"]},{"1332837681":["hashtag1","hashtag2"]},{"1332837660":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332837713, 1332837748, 1332837697, 1332837666, 1332837681, 1332837660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.70063781738281 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:38:32.341232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/37/image_30012025_02_37_57_10358.jpg', '/home/pi/Desktop/images/30012025/02/37/image_30012025_02_38_06_9469.jpg', '/home/pi/Desktop/images/30012025/02/38/image_30012025_02_38_17_10427.jpg', '/home/pi/Desktop/images/30012025/02/38/image_30012025_02_38_26_9362.jpg', '/home/pi/Desktop/images/30012025/02/38/image_30012025_02_38_36_10441.jpg', '/home/pi/Desktop/images/30012025/02/38/image_30012025_02_38_47_10376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/37/image_30012025_02_37_57_10358.jpg
/home/pi/Desktop/images/30012025/02/37/image_30012025_02_38_06_9469.jpg
/home/pi/Desktop/images/30012025/02/38/image_30012025_02_38_17_10427.jpg
/home/pi/Desktop/images/30012025/02/38/image_30012025_02_38_26_9362.jpg
/home/pi/Desktop/images/30012025/02/38/image_30012025_02_38_36_10441.jpg
/home/pi/Desktop/images/30012025/02/38/image_30012025_02_38_47_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":["1332837830","1332837821","1332837815","1332837805","1332837810","1332837797"],"photo_ids_order":["1332837797","1332837805","1332837810","1332837815","1332837821","1332837830"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/71845e298e3aa6e6a1406303e9a701a0.jpg","text":"TemporaryFile(/tmp/multipartBody6991317427575344548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201173277,"filename":"image_30012025_02_38_47_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7eeb158f7d334931cdcdf13994d11299.jpg","text":"TemporaryFile(/tmp/multipartBody7011646476432835136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201173277,"filename":"image_30012025_02_38_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/30/670574d382057fe20226d436d97c7fac.jpg","text":"TemporaryFile(/tmp/multipartBody1197297944389153829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201173277,"filename":"image_30012025_02_38_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/30/e7bfa40c8ddb4446e68f453246f71bd8.jpg","text":"TemporaryFile(/tmp/multipartBody5710309628141334807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201173277,"filename":"image_30012025_02_38_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/30/c3c27efaf669b29fd9f2315ade1ffe5c.jpg","text":"TemporaryFile(/tmp/multipartBody6019039533689038797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201173277,"filename":"image_30012025_02_38_17_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/30/f62ed32ac43145903280f0e6d809ac10.jpg","text":"TemporaryFile(/tmp/multipartBody4720001076987018970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201173277,"filename":"image_30012025_02_37_57_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332837810","file1":"1332837805","file0":"1332837797","file4":"1332837821","file5":"1332837830","file3":"1332837815"},"map_files_photo_id_array":[{"photo_id":"1332837830","filename":"file5"},{"photo_id":"1332837810","filename":"file2"},{"photo_id":"1332837821","filename":"file4"},{"photo_id":"1332837805","filename":"file1"},{"photo_id":"1332837797","filename":"file0"},{"photo_id":"1332837815","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332837830":["hashtag1","hashtag2"]},{"1332837821":["hashtag1","hashtag2"]},{"1332837815":["hashtag1","hashtag2"]},{"1332837805":["hashtag1","hashtag2"]},{"1332837810":["hashtag1","hashtag2"]},{"1332837797":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332837830, 1332837821, 1332837815, 1332837805, 1332837810, 1332837797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.127158641815186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:39:32.557215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/38/image_30012025_02_38_56_9372.jpg', '/home/pi/Desktop/images/30012025/02/38/image_30012025_02_39_06_10408.jpg', '/home/pi/Desktop/images/30012025/02/39/image_30012025_02_39_16_9327.jpg', '/home/pi/Desktop/images/30012025/02/39/image_30012025_02_39_26_10381.jpg', '/home/pi/Desktop/images/30012025/02/39/image_30012025_02_39_37_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/38/image_30012025_02_38_56_9372.jpg
/home/pi/Desktop/images/30012025/02/38/image_30012025_02_39_06_10408.jpg
/home/pi/Desktop/images/30012025/02/39/image_30012025_02_39_16_9327.jpg
/home/pi/Desktop/images/30012025/02/39/image_30012025_02_39_26_10381.jpg
/home/pi/Desktop/images/30012025/02/39/image_30012025_02_39_37_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":["1332838714","1332839372","1332839156","1332839378","1332838914"],"photo_ids_order":["1332838714","1332838914","1332839156","1332839372","1332839378"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5cc3fd180d0a20c917c958d4681798ad.jpg","text":"TemporaryFile(/tmp/multipartBody5377718991545202757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201233459,"filename":"image_30012025_02_38_56_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/30/c03bc02bc87f6a5e02c3a55177fa100e.jpg","text":"TemporaryFile(/tmp/multipartBody6219326120484625439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201233459,"filename":"image_30012025_02_39_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/30/58b9e4dd71659b2f518b28654f649ef4.jpg","text":"TemporaryFile(/tmp/multipartBody3619965126998240327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201233459,"filename":"image_30012025_02_39_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/30/ad7dee063125279b8fa8a57019d9a3d1.jpg","text":"TemporaryFile(/tmp/multipartBody1915704595119227147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201233459,"filename":"image_30012025_02_39_37_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/30/4474c7b17a19902325d37a1d96c1e623.jpg","text":"TemporaryFile(/tmp/multipartBody5710152931619707168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201233459,"filename":"image_30012025_02_39_06_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332839156","file1":"1332838914","file0":"1332838714","file4":"1332839378","file3":"1332839372"},"map_files_photo_id_array":[{"photo_id":"1332839156","filename":"file2"},{"photo_id":"1332839378","filename":"file4"},{"photo_id":"1332838914","filename":"file1"},{"photo_id":"1332838714","filename":"file0"},{"photo_id":"1332839372","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332838714":["hashtag1","hashtag2"]},{"1332839372":["hashtag1","hashtag2"]},{"1332839156":["hashtag1","hashtag2"]},{"1332839378":["hashtag1","hashtag2"]},{"1332838914":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332838714, 1332839372, 1332839156, 1332839378, 1332838914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.17593240737915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:40:32.758063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/39/image_30012025_02_39_46_9455.jpg', '/home/pi/Desktop/images/30012025/02/40/image_30012025_02_40_16_10362.jpg', '/home/pi/Desktop/images/30012025/02/40/image_30012025_02_40_27_10392.jpg', '/home/pi/Desktop/images/30012025/02/40/image_30012025_02_40_36_9413.jpg', '/home/pi/Desktop/images/30012025/02/40/image_30012025_02_40_47_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/39/image_30012025_02_39_46_9455.jpg
/home/pi/Desktop/images/30012025/02/40/image_30012025_02_40_16_10362.jpg
/home/pi/Desktop/images/30012025/02/40/image_30012025_02_40_27_10392.jpg
/home/pi/Desktop/images/30012025/02/40/image_30012025_02_40_36_9413.jpg
/home/pi/Desktop/images/30012025/02/40/image_30012025_02_40_47_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":["1332839562","1332839538","1332839573","1332839578","1332839566"],"photo_ids_order":["1332839538","1332839562","1332839566","1332839573","1332839578"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/aceb4fd92f3ef8f2afe183acbf2b5a0f.jpg","text":"TemporaryFile(/tmp/multipartBody770989410673771041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201293653,"filename":"image_30012025_02_40_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/30/65574e7fd67249a40b1e9944f283270e.jpg","text":"TemporaryFile(/tmp/multipartBody3390084036749801842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201293653,"filename":"image_30012025_02_39_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/30/5d70de0bb5ce7d5f56cd25feead4cf54.jpg","text":"TemporaryFile(/tmp/multipartBody7910871874549728146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201293653,"filename":"image_30012025_02_40_36_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/30/6db9ce2f507eca0442f0fcea0c32070b.jpg","text":"TemporaryFile(/tmp/multipartBody6427839318634381621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201293653,"filename":"image_30012025_02_40_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/30/f03adba161c385a90870f0fb998615af.jpg","text":"TemporaryFile(/tmp/multipartBody4641658264470733127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201293653,"filename":"image_30012025_02_40_27_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332839566","file1":"1332839562","file0":"1332839538","file4":"1332839578","file3":"1332839573"},"map_files_photo_id_array":[{"photo_id":"1332839566","filename":"file2"},{"photo_id":"1332839578","filename":"file4"},{"photo_id":"1332839562","filename":"file1"},{"photo_id":"1332839538","filename":"file0"},{"photo_id":"1332839573","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332839562":["hashtag1","hashtag2"]},{"1332839538":["hashtag1","hashtag2"]},{"1332839573":["hashtag1","hashtag2"]},{"1332839578":["hashtag1","hashtag2"]},{"1332839566":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332839562, 1332839538, 1332839573, 1332839578, 1332839566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.57836937904358 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:41:33.142183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/40/image_30012025_02_40_56_9480.jpg', '/home/pi/Desktop/images/30012025/02/40/image_30012025_02_41_06_10439.jpg', '/home/pi/Desktop/images/30012025/02/41/image_30012025_02_41_17_10360.jpg', '/home/pi/Desktop/images/30012025/02/41/image_30012025_02_41_26_9464.jpg', '/home/pi/Desktop/images/30012025/02/41/image_30012025_02_41_37_10341.jpg', '/home/pi/Desktop/images/30012025/02/41/image_30012025_02_41_46_9410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/40/image_30012025_02_40_56_9480.jpg
/home/pi/Desktop/images/30012025/02/40/image_30012025_02_41_06_10439.jpg
/home/pi/Desktop/images/30012025/02/41/image_30012025_02_41_17_10360.jpg
/home/pi/Desktop/images/30012025/02/41/image_30012025_02_41_26_9464.jpg
/home/pi/Desktop/images/30012025/02/41/image_30012025_02_41_37_10341.jpg
/home/pi/Desktop/images/30012025/02/41/image_30012025_02_41_46_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":["1332839752","1332839676","1332839649","1332839672","1332839680","1332839878"],"photo_ids_order":["1332839649","1332839672","1332839676","1332839680","1332839752","1332839878"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/875936e2a49a2af195acfde00618933b.jpg","text":"TemporaryFile(/tmp/multipartBody2146859462841345062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201354092,"filename":"image_30012025_02_41_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/30/daa3892dfee4df4350b14b7758c0ab00.jpg","text":"TemporaryFile(/tmp/multipartBody1803447275433296408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201354092,"filename":"image_30012025_02_41_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/30/47ac8b431844d880a603f10b0fda1ad6.jpg","text":"TemporaryFile(/tmp/multipartBody5099191874133071382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201354092,"filename":"image_30012025_02_40_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/30/b8e8086c21e63cd6267b4d109c07bf7a.jpg","text":"TemporaryFile(/tmp/multipartBody1490439161676908695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201354092,"filename":"image_30012025_02_41_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/30/d1e9456f538aef6dcfb736f70cdd7100.jpg","text":"TemporaryFile(/tmp/multipartBody5583512598507193193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201354092,"filename":"image_30012025_02_41_26_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/30/c979989bf14d8e9ed08c3c9698d2dba0.jpg","text":"TemporaryFile(/tmp/multipartBody3602881303340591049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201354092,"filename":"image_30012025_02_41_46_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332839676","file1":"1332839672","file0":"1332839649","file4":"1332839752","file5":"1332839878","file3":"1332839680"},"map_files_photo_id_array":[{"photo_id":"1332839878","filename":"file5"},{"photo_id":"1332839676","filename":"file2"},{"photo_id":"1332839752","filename":"file4"},{"photo_id":"1332839672","filename":"file1"},{"photo_id":"1332839649","filename":"file0"},{"photo_id":"1332839680","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332839752":["hashtag1","hashtag2"]},{"1332839676":["hashtag1","hashtag2"]},{"1332839649":["hashtag1","hashtag2"]},{"1332839672":["hashtag1","hashtag2"]},{"1332839680":["hashtag1","hashtag2"]},{"1332839878":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332839752, 1332839676, 1332839649, 1332839672, 1332839680, 1332839878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37032461166382 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:42:33.155076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/41/image_30012025_02_41_56_10430.jpg', '/home/pi/Desktop/images/30012025/02/41/image_30012025_02_42_06_9346.jpg', '/home/pi/Desktop/images/30012025/02/42/image_30012025_02_42_16_10392.jpg', '/home/pi/Desktop/images/30012025/02/42/image_30012025_02_42_27_10387.jpg', '/home/pi/Desktop/images/30012025/02/42/image_30012025_02_42_36_9454.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/41/image_30012025_02_41_56_10430.jpg
/home/pi/Desktop/images/30012025/02/41/image_30012025_02_42_06_9346.jpg
/home/pi/Desktop/images/30012025/02/42/image_30012025_02_42_16_10392.jpg
/home/pi/Desktop/images/30012025/02/42/image_30012025_02_42_27_10387.jpg
/home/pi/Desktop/images/30012025/02/42/image_30012025_02_42_36_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":["1332840250","1332840262","1332840256","1332840366","1332840335"],"photo_ids_order":["1332840250","1332840256","1332840262","1332840335","1332840366"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/11c838640ea519db51ae417abb4fa69e.jpg","text":"TemporaryFile(/tmp/multipartBody6822077991633658329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201414062,"filename":"image_30012025_02_41_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/30/858776b796f6219d759de0d6c0412c56.jpg","text":"TemporaryFile(/tmp/multipartBody176628953404620422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201414062,"filename":"image_30012025_02_42_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/30/b31d06bcdf13069ea50bf1d9748087dd.jpg","text":"TemporaryFile(/tmp/multipartBody156937549324687307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201414062,"filename":"image_30012025_02_42_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/30/bb6bde21d1a518d4b446d52a192b7a7b.jpg","text":"TemporaryFile(/tmp/multipartBody2179983059496420841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201414062,"filename":"image_30012025_02_42_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/30/13e0a5be785ef388ecef3bc209fbcde9.jpg","text":"TemporaryFile(/tmp/multipartBody3407755060818750450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201414062,"filename":"image_30012025_02_42_27_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332840262","file1":"1332840256","file0":"1332840250","file4":"1332840366","file3":"1332840335"},"map_files_photo_id_array":[{"photo_id":"1332840262","filename":"file2"},{"photo_id":"1332840366","filename":"file4"},{"photo_id":"1332840256","filename":"file1"},{"photo_id":"1332840250","filename":"file0"},{"photo_id":"1332840335","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332840250":["hashtag1","hashtag2"]},{"1332840262":["hashtag1","hashtag2"]},{"1332840256":["hashtag1","hashtag2"]},{"1332840366":["hashtag1","hashtag2"]},{"1332840335":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332840250, 1332840262, 1332840256, 1332840366, 1332840335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.93106722831726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:43:32.449576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/42/image_30012025_02_42_46_10372.jpg', '/home/pi/Desktop/images/30012025/02/42/image_30012025_02_43_06_9344.jpg', '/home/pi/Desktop/images/30012025/02/43/image_30012025_02_43_17_10422.jpg', '/home/pi/Desktop/images/30012025/02/43/image_30012025_02_43_26_9457.jpg', '/home/pi/Desktop/images/30012025/02/43/image_30012025_02_43_36_10362.jpg', '/home/pi/Desktop/images/30012025/02/43/image_30012025_02_43_47_10375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/42/image_30012025_02_42_46_10372.jpg
/home/pi/Desktop/images/30012025/02/42/image_30012025_02_43_06_9344.jpg
/home/pi/Desktop/images/30012025/02/43/image_30012025_02_43_17_10422.jpg
/home/pi/Desktop/images/30012025/02/43/image_30012025_02_43_26_9457.jpg
/home/pi/Desktop/images/30012025/02/43/image_30012025_02_43_36_10362.jpg
/home/pi/Desktop/images/30012025/02/43/image_30012025_02_43_47_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":["1332840418","1332840477","1332840441","1332840459","1332840423","1332840455"],"photo_ids_order":["1332840418","1332840423","1332840441","1332840455","1332840459","1332840477"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3a75aa2e0e3469255d6f2c9a3ec02c25.jpg","text":"TemporaryFile(/tmp/multipartBody5078833971295929895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201473374,"filename":"image_30012025_02_42_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/30/4db5c139644432d4635009b62206673b.jpg","text":"TemporaryFile(/tmp/multipartBody1549080487783552468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201473374,"filename":"image_30012025_02_43_47_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/84fcb73ee9ff79f5587d64cdcf786676.jpg","text":"TemporaryFile(/tmp/multipartBody1697702838500703355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201473374,"filename":"image_30012025_02_43_17_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/30/972627ca6db99d022d44069815475b9c.jpg","text":"TemporaryFile(/tmp/multipartBody4906882844804732172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201473374,"filename":"image_30012025_02_43_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/30/ee2fc28dd5b393619dfb96db5b4eddb3.jpg","text":"TemporaryFile(/tmp/multipartBody7800651571128147302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201473374,"filename":"image_30012025_02_43_06_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a858fa1086c4f8979527a40b475c4062.jpg","text":"TemporaryFile(/tmp/multipartBody947061877372800016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201473374,"filename":"image_30012025_02_43_26_9457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332840441","file1":"1332840423","file0":"1332840418","file4":"1332840459","file5":"1332840477","file3":"1332840455"},"map_files_photo_id_array":[{"photo_id":"1332840477","filename":"file5"},{"photo_id":"1332840441","filename":"file2"},{"photo_id":"1332840459","filename":"file4"},{"photo_id":"1332840423","filename":"file1"},{"photo_id":"1332840418","filename":"file0"},{"photo_id":"1332840455","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332840418":["hashtag1","hashtag2"]},{"1332840477":["hashtag1","hashtag2"]},{"1332840441":["hashtag1","hashtag2"]},{"1332840459":["hashtag1","hashtag2"]},{"1332840423":["hashtag1","hashtag2"]},{"1332840455":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332840418, 1332840477, 1332840441, 1332840459, 1332840423, 1332840455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.35030937194824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:44:32.511092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/43/image_30012025_02_43_56_9355.jpg', '/home/pi/Desktop/images/30012025/02/43/image_30012025_02_44_06_10346.jpg', '/home/pi/Desktop/images/30012025/02/44/image_30012025_02_44_16_9403.jpg', '/home/pi/Desktop/images/30012025/02/44/image_30012025_02_44_26_10375.jpg', '/home/pi/Desktop/images/30012025/02/44/image_30012025_02_44_37_10389.jpg', '/home/pi/Desktop/images/30012025/02/44/image_30012025_02_44_46_9435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/43/image_30012025_02_43_56_9355.jpg
/home/pi/Desktop/images/30012025/02/43/image_30012025_02_44_06_10346.jpg
/home/pi/Desktop/images/30012025/02/44/image_30012025_02_44_16_9403.jpg
/home/pi/Desktop/images/30012025/02/44/image_30012025_02_44_26_10375.jpg
/home/pi/Desktop/images/30012025/02/44/image_30012025_02_44_37_10389.jpg
/home/pi/Desktop/images/30012025/02/44/image_30012025_02_44_46_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":["1332840526","1332840508","1332840497","1332840501","1332840521","1332840524"],"photo_ids_order":["1332840497","1332840501","1332840508","1332840521","1332840524","1332840526"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f8b6d65b3c05e9dd96f65b89d739eddd.jpg","text":"TemporaryFile(/tmp/multipartBody3183296081682205810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201533439,"filename":"image_30012025_02_44_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/30/e841237d1dc102fd33986c3d988cbe7e.jpg","text":"TemporaryFile(/tmp/multipartBody1506751655210057256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201533439,"filename":"image_30012025_02_44_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/30/7a215abd7c2fc07b9185e229b1ebc81d.jpg","text":"TemporaryFile(/tmp/multipartBody3976016367555107538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201533439,"filename":"image_30012025_02_43_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/30/f9f9e485a11356e8a6efca15297ef0c8.jpg","text":"TemporaryFile(/tmp/multipartBody6383670794553205710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201533439,"filename":"image_30012025_02_44_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/30/cd5e5c449706c4a7907c4a3d0563f9f0.jpg","text":"TemporaryFile(/tmp/multipartBody8886434942658660668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201533439,"filename":"image_30012025_02_44_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/30/be0924be525f25ebca28269e15b808ab.jpg","text":"TemporaryFile(/tmp/multipartBody6725728665530527084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201533439,"filename":"image_30012025_02_44_37_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332840508","file1":"1332840501","file0":"1332840497","file4":"1332840524","file5":"1332840526","file3":"1332840521"},"map_files_photo_id_array":[{"photo_id":"1332840526","filename":"file5"},{"photo_id":"1332840508","filename":"file2"},{"photo_id":"1332840524","filename":"file4"},{"photo_id":"1332840501","filename":"file1"},{"photo_id":"1332840497","filename":"file0"},{"photo_id":"1332840521","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332840526":["hashtag1","hashtag2"]},{"1332840508":["hashtag1","hashtag2"]},{"1332840497":["hashtag1","hashtag2"]},{"1332840501":["hashtag1","hashtag2"]},{"1332840521":["hashtag1","hashtag2"]},{"1332840524":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332840526, 1332840508, 1332840497, 1332840501, 1332840521, 1332840524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.280447006225586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:45:32.684347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/44/image_30012025_02_44_56_10376.jpg', '/home/pi/Desktop/images/30012025/02/44/image_30012025_02_45_06_9411.jpg', '/home/pi/Desktop/images/30012025/02/45/image_30012025_02_45_16_10340.jpg', '/home/pi/Desktop/images/30012025/02/45/image_30012025_02_45_27_10358.jpg', '/home/pi/Desktop/images/30012025/02/45/image_30012025_02_45_36_9351.jpg', '/home/pi/Desktop/images/30012025/02/45/image_30012025_02_45_46_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/44/image_30012025_02_44_56_10376.jpg
/home/pi/Desktop/images/30012025/02/44/image_30012025_02_45_06_9411.jpg
/home/pi/Desktop/images/30012025/02/45/image_30012025_02_45_16_10340.jpg
/home/pi/Desktop/images/30012025/02/45/image_30012025_02_45_27_10358.jpg
/home/pi/Desktop/images/30012025/02/45/image_30012025_02_45_36_9351.jpg
/home/pi/Desktop/images/30012025/02/45/image_30012025_02_45_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":["1332840703","1332840714","1332840645","1332840695","1332840708","1332840698"],"photo_ids_order":["1332840645","1332840695","1332840698","1332840703","1332840708","1332840714"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b0d9ef397d7288ff4f7c7eb1707bda4f.jpg","text":"TemporaryFile(/tmp/multipartBody1858591319037175036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201593597,"filename":"image_30012025_02_45_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/30/02e20b65731940cbbd6e4e7e9b0275be.jpg","text":"TemporaryFile(/tmp/multipartBody2013601534343380332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201593597,"filename":"image_30012025_02_45_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/30/b5df5a077838fbc455ca7c72b3f22e8a.jpg","text":"TemporaryFile(/tmp/multipartBody545211518073962750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201593597,"filename":"image_30012025_02_44_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/30/a6198033f1d9bc43eb63feccc9673508.jpg","text":"TemporaryFile(/tmp/multipartBody7276683191940865245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201593597,"filename":"image_30012025_02_45_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/30/67ef2388640a27676b3a273b99e12d04.jpg","text":"TemporaryFile(/tmp/multipartBody9211352547506137432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201593597,"filename":"image_30012025_02_45_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/30/0fec26785a73c04d89bdf0783e2cb51f.jpg","text":"TemporaryFile(/tmp/multipartBody2698813987198620608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201593597,"filename":"image_30012025_02_45_16_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332840698","file1":"1332840695","file0":"1332840645","file4":"1332840708","file5":"1332840714","file3":"1332840703"},"map_files_photo_id_array":[{"photo_id":"1332840714","filename":"file5"},{"photo_id":"1332840698","filename":"file2"},{"photo_id":"1332840708","filename":"file4"},{"photo_id":"1332840695","filename":"file1"},{"photo_id":"1332840645","filename":"file0"},{"photo_id":"1332840703","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332840703":["hashtag1","hashtag2"]},{"1332840714":["hashtag1","hashtag2"]},{"1332840645":["hashtag1","hashtag2"]},{"1332840695":["hashtag1","hashtag2"]},{"1332840708":["hashtag1","hashtag2"]},{"1332840698":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332840703, 1332840714, 1332840645, 1332840695, 1332840708, 1332840698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.50551652908325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:46:33.125044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/45/image_30012025_02_45_57_10408.jpg', '/home/pi/Desktop/images/30012025/02/45/image_30012025_02_46_06_9418.jpg', '/home/pi/Desktop/images/30012025/02/46/image_30012025_02_46_16_10410.jpg', '/home/pi/Desktop/images/30012025/02/46/image_30012025_02_46_26_9390.jpg', '/home/pi/Desktop/images/30012025/02/46/image_30012025_02_46_47_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/45/image_30012025_02_45_57_10408.jpg
/home/pi/Desktop/images/30012025/02/45/image_30012025_02_46_06_9418.jpg
/home/pi/Desktop/images/30012025/02/46/image_30012025_02_46_16_10410.jpg
/home/pi/Desktop/images/30012025/02/46/image_30012025_02_46_26_9390.jpg
/home/pi/Desktop/images/30012025/02/46/image_30012025_02_46_47_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":["1332840748","1332840739","1332840750","1332840744","1332840734"],"photo_ids_order":["1332840734","1332840739","1332840744","1332840748","1332840750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/68c49264965948336effc03760f3b0bf.jpg","text":"TemporaryFile(/tmp/multipartBody3052989176205174060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201654023,"filename":"image_30012025_02_46_26_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6e2c492aa0f50f4bdd646797a1e099b5.jpg","text":"TemporaryFile(/tmp/multipartBody9054789673149245856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201654023,"filename":"image_30012025_02_46_06_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/30/0a0107f88c9670c3ae16c777a2cdfb1d.jpg","text":"TemporaryFile(/tmp/multipartBody7882423551695101860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201654023,"filename":"image_30012025_02_46_47_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/df428be80858a0697cd0041e99aa6f66.jpg","text":"TemporaryFile(/tmp/multipartBody5023857940465417744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201654023,"filename":"image_30012025_02_46_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/30/bc375c1a4f965d9d65a8a929107d33fa.jpg","text":"TemporaryFile(/tmp/multipartBody525119855695690370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201654023,"filename":"image_30012025_02_45_57_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332840744","file1":"1332840739","file0":"1332840734","file4":"1332840750","file3":"1332840748"},"map_files_photo_id_array":[{"photo_id":"1332840744","filename":"file2"},{"photo_id":"1332840750","filename":"file4"},{"photo_id":"1332840739","filename":"file1"},{"photo_id":"1332840734","filename":"file0"},{"photo_id":"1332840748","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332840748":["hashtag1","hashtag2"]},{"1332840739":["hashtag1","hashtag2"]},{"1332840750":["hashtag1","hashtag2"]},{"1332840744":["hashtag1","hashtag2"]},{"1332840734":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332840748, 1332840739, 1332840750, 1332840744, 1332840734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.49643421173096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:47:33.133723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/46/image_30012025_02_46_56_9442.jpg', '/home/pi/Desktop/images/30012025/02/46/image_30012025_02_47_06_10375.jpg', '/home/pi/Desktop/images/30012025/02/47/image_30012025_02_47_16_9343.jpg', '/home/pi/Desktop/images/30012025/02/47/image_30012025_02_47_26_10377.jpg', '/home/pi/Desktop/images/30012025/02/47/image_30012025_02_47_37_10368.jpg', '/home/pi/Desktop/images/30012025/02/47/image_30012025_02_47_46_9482.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/46/image_30012025_02_46_56_9442.jpg
/home/pi/Desktop/images/30012025/02/46/image_30012025_02_47_06_10375.jpg
/home/pi/Desktop/images/30012025/02/47/image_30012025_02_47_16_9343.jpg
/home/pi/Desktop/images/30012025/02/47/image_30012025_02_47_26_10377.jpg
/home/pi/Desktop/images/30012025/02/47/image_30012025_02_47_37_10368.jpg
/home/pi/Desktop/images/30012025/02/47/image_30012025_02_47_46_9482.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332840970","1332840984","1332840978","1332840980","1332840974","1332840965"],"photo_ids_order":["1332840965","1332840970","1332840974","1332840978","1332840980","1332840984"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fe6eb7e2d9e1c321b76249fa2a14854a.jpg","text":"TemporaryFile(/tmp/multipartBody612036656966221382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201714063,"filename":"image_30012025_02_47_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/30/18db604dacbc1fb12467680e6ad2882f.jpg","text":"TemporaryFile(/tmp/multipartBody8989320295255173446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201714063,"filename":"image_30012025_02_47_46_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/30/5e3060ba0e8ad3b64aaddae992e68d4c.jpg","text":"TemporaryFile(/tmp/multipartBody2066056053197950696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201714063,"filename":"image_30012025_02_47_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/30/053a6cbf11cbac5d205cd7ce3235ce23.jpg","text":"TemporaryFile(/tmp/multipartBody3299815490392057130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201714063,"filename":"image_30012025_02_47_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/30/a3c8bb203490e5f9e0fe9eaec6725d9b.jpg","text":"TemporaryFile(/tmp/multipartBody6679968169719462984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201714063,"filename":"image_30012025_02_47_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/30/c2be56bddeb81246f23da84ba943df8e.jpg","text":"TemporaryFile(/tmp/multipartBody7827307509940794067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201714063,"filename":"image_30012025_02_46_56_9442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332840974","file1":"1332840970","file0":"1332840965","file4":"1332840980","file5":"1332840984","file3":"1332840978"},"map_files_photo_id_array":[{"photo_id":"1332840984","filename":"file5"},{"photo_id":"1332840974","filename":"file2"},{"photo_id":"1332840980","filename":"file4"},{"photo_id":"1332840970","filename":"file1"},{"photo_id":"1332840965","filename":"file0"},{"photo_id":"1332840978","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332840970":["hashtag1","hashtag2"]},{"1332840984":["hashtag1","hashtag2"]},{"1332840978":["hashtag1","hashtag2"]},{"1332840980":["hashtag1","hashtag2"]},{"1332840974":["hashtag1","hashtag2"]},{"1332840965":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332840970, 1332840984, 1332840978, 1332840980, 1332840974, 1332840965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.107136249542236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:48:32.318273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/47/image_30012025_02_47_56_10377.jpg', '/home/pi/Desktop/images/30012025/02/47/image_30012025_02_48_06_9454.jpg', '/home/pi/Desktop/images/30012025/02/48/image_30012025_02_48_16_10422.jpg', '/home/pi/Desktop/images/30012025/02/48/image_30012025_02_48_27_10438.jpg', '/home/pi/Desktop/images/30012025/02/48/image_30012025_02_48_36_9375.jpg', '/home/pi/Desktop/images/30012025/02/48/image_30012025_02_48_46_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/47/image_30012025_02_47_56_10377.jpg
/home/pi/Desktop/images/30012025/02/47/image_30012025_02_48_06_9454.jpg
/home/pi/Desktop/images/30012025/02/48/image_30012025_02_48_16_10422.jpg
/home/pi/Desktop/images/30012025/02/48/image_30012025_02_48_27_10438.jpg
/home/pi/Desktop/images/30012025/02/48/image_30012025_02_48_36_9375.jpg
/home/pi/Desktop/images/30012025/02/48/image_30012025_02_48_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":["1332841027","1332841024","1332841032","1332841020","1332841022","1332841013"],"photo_ids_order":["1332841013","1332841020","1332841022","1332841024","1332841027","1332841032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2e25ce41dcc5dc76cd91430de1670b95.jpg","text":"TemporaryFile(/tmp/multipartBody7239156065972590455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201773235,"filename":"image_30012025_02_48_36_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/30/bbb9ec21b51973d0230f41f1a18099b1.jpg","text":"TemporaryFile(/tmp/multipartBody7234755680139461298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201773235,"filename":"image_30012025_02_48_27_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/30/c269e7a727d3ea937aa51ed2b4274175.jpg","text":"TemporaryFile(/tmp/multipartBody5130051151747069474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201773235,"filename":"image_30012025_02_48_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/30/27ee351e8519236941594ddad39338fc.jpg","text":"TemporaryFile(/tmp/multipartBody373480928614432890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201773235,"filename":"image_30012025_02_48_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/30/745f561f1b137707420617af5c597736.jpg","text":"TemporaryFile(/tmp/multipartBody8770478876511901381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201773235,"filename":"image_30012025_02_48_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/30/206eeeb99610dc68db3be35d80c97303.jpg","text":"TemporaryFile(/tmp/multipartBody2291583256767425849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201773235,"filename":"image_30012025_02_47_56_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332841022","file1":"1332841020","file0":"1332841013","file4":"1332841027","file5":"1332841032","file3":"1332841024"},"map_files_photo_id_array":[{"photo_id":"1332841032","filename":"file5"},{"photo_id":"1332841022","filename":"file2"},{"photo_id":"1332841027","filename":"file4"},{"photo_id":"1332841020","filename":"file1"},{"photo_id":"1332841013","filename":"file0"},{"photo_id":"1332841024","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332841027":["hashtag1","hashtag2"]},{"1332841024":["hashtag1","hashtag2"]},{"1332841032":["hashtag1","hashtag2"]},{"1332841020":["hashtag1","hashtag2"]},{"1332841022":["hashtag1","hashtag2"]},{"1332841013":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332841027, 1332841024, 1332841032, 1332841020, 1332841022, 1332841013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.614147901535034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:49:32.541459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/48/image_30012025_02_48_56_9360.jpg', '/home/pi/Desktop/images/30012025/02/48/image_30012025_02_49_06_10360.jpg', '/home/pi/Desktop/images/30012025/02/49/image_30012025_02_49_17_10371.jpg', '/home/pi/Desktop/images/30012025/02/49/image_30012025_02_49_26_9477.jpg', '/home/pi/Desktop/images/30012025/02/49/image_30012025_02_49_36_10357.jpg', '/home/pi/Desktop/images/30012025/02/49/image_30012025_02_49_47_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/48/image_30012025_02_48_56_9360.jpg
/home/pi/Desktop/images/30012025/02/48/image_30012025_02_49_06_10360.jpg
/home/pi/Desktop/images/30012025/02/49/image_30012025_02_49_17_10371.jpg
/home/pi/Desktop/images/30012025/02/49/image_30012025_02_49_26_9477.jpg
/home/pi/Desktop/images/30012025/02/49/image_30012025_02_49_36_10357.jpg
/home/pi/Desktop/images/30012025/02/49/image_30012025_02_49_47_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":["1332841318","1332841312","1332841306","1332841140","1332841302","1332841053"],"photo_ids_order":["1332841053","1332841140","1332841302","1332841306","1332841312","1332841318"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a9c025be9f0e49d7aeeedd221364f136.jpg","text":"TemporaryFile(/tmp/multipartBody5852586233572351019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201833493,"filename":"image_30012025_02_49_47_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/25ca48105d51dc377c571c8a8c3fba1e.jpg","text":"TemporaryFile(/tmp/multipartBody125638355522110492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201833493,"filename":"image_30012025_02_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/30/c968bac51887c65d68d96e7de733fec2.jpg","text":"TemporaryFile(/tmp/multipartBody416142265369579139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201833493,"filename":"image_30012025_02_49_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/30/74c8038cc835a9c55b74a8e81cdaa22d.jpg","text":"TemporaryFile(/tmp/multipartBody708586195078850494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201833493,"filename":"image_30012025_02_49_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/30/c8d69fc496816f3c26dc16e9a37f6f57.jpg","text":"TemporaryFile(/tmp/multipartBody3575218787394244012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201833493,"filename":"image_30012025_02_49_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/30/fd95d49c6256bdb24760ccb9b6493411.jpg","text":"TemporaryFile(/tmp/multipartBody1644625732030054094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201833493,"filename":"image_30012025_02_48_56_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332841302","file1":"1332841140","file0":"1332841053","file4":"1332841312","file5":"1332841318","file3":"1332841306"},"map_files_photo_id_array":[{"photo_id":"1332841318","filename":"file5"},{"photo_id":"1332841302","filename":"file2"},{"photo_id":"1332841312","filename":"file4"},{"photo_id":"1332841140","filename":"file1"},{"photo_id":"1332841053","filename":"file0"},{"photo_id":"1332841306","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332841318":["hashtag1","hashtag2"]},{"1332841312":["hashtag1","hashtag2"]},{"1332841306":["hashtag1","hashtag2"]},{"1332841140":["hashtag1","hashtag2"]},{"1332841302":["hashtag1","hashtag2"]},{"1332841053":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332841318, 1332841312, 1332841306, 1332841140, 1332841302, 1332841053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.203569412231445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:50:32.741754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/49/image_30012025_02_49_56_9354.jpg', '/home/pi/Desktop/images/30012025/02/49/image_30012025_02_50_06_10351.jpg', '/home/pi/Desktop/images/30012025/02/50/image_30012025_02_50_16_9362.jpg', '/home/pi/Desktop/images/30012025/02/50/image_30012025_02_50_26_10383.jpg', '/home/pi/Desktop/images/30012025/02/50/image_30012025_02_50_37_10395.jpg', '/home/pi/Desktop/images/30012025/02/50/image_30012025_02_50_46_9426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/49/image_30012025_02_49_56_9354.jpg
/home/pi/Desktop/images/30012025/02/49/image_30012025_02_50_06_10351.jpg
/home/pi/Desktop/images/30012025/02/50/image_30012025_02_50_16_9362.jpg
/home/pi/Desktop/images/30012025/02/50/image_30012025_02_50_26_10383.jpg
/home/pi/Desktop/images/30012025/02/50/image_30012025_02_50_37_10395.jpg
/home/pi/Desktop/images/30012025/02/50/image_30012025_02_50_46_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":["1332841834","1332841636","1332841405","1332841377","1332841542","1332841381"],"photo_ids_order":["1332841377","1332841381","1332841405","1332841542","1332841636","1332841834"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ba815abb075ebd747538f7ab62fe29fb.jpg","text":"TemporaryFile(/tmp/multipartBody1582963073245047394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201893653,"filename":"image_30012025_02_50_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/30/679f02cf8293875ad74c4a6947ece8f6.jpg","text":"TemporaryFile(/tmp/multipartBody2887922380604127168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201893653,"filename":"image_30012025_02_50_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/30/e7101006b5e0c590f9c2cab748b76151.jpg","text":"TemporaryFile(/tmp/multipartBody6787618870560486078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201893653,"filename":"image_30012025_02_50_16_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/30/75f9db7dd95f807df72ea30979b190be.jpg","text":"TemporaryFile(/tmp/multipartBody7662230751911996517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201893653,"filename":"image_30012025_02_49_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/30/c914dcc77edf51afc238408762ad4e18.jpg","text":"TemporaryFile(/tmp/multipartBody6439788762054138334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201893653,"filename":"image_30012025_02_50_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/30/b70872038c04fdbe9c18b9441be5bfb3.jpg","text":"TemporaryFile(/tmp/multipartBody70090499181069299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201893653,"filename":"image_30012025_02_50_06_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332841405","file1":"1332841381","file0":"1332841377","file4":"1332841636","file5":"1332841834","file3":"1332841542"},"map_files_photo_id_array":[{"photo_id":"1332841834","filename":"file5"},{"photo_id":"1332841405","filename":"file2"},{"photo_id":"1332841636","filename":"file4"},{"photo_id":"1332841381","filename":"file1"},{"photo_id":"1332841377","filename":"file0"},{"photo_id":"1332841542","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332841834":["hashtag1","hashtag2"]},{"1332841636":["hashtag1","hashtag2"]},{"1332841405":["hashtag1","hashtag2"]},{"1332841377":["hashtag1","hashtag2"]},{"1332841542":["hashtag1","hashtag2"]},{"1332841381":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332841834, 1332841636, 1332841405, 1332841377, 1332841542, 1332841381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.84004735946655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:51:32.925055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/50/image_30012025_02_50_56_10439.jpg', '/home/pi/Desktop/images/30012025/02/50/image_30012025_02_51_06_9347.jpg', '/home/pi/Desktop/images/30012025/02/51/image_30012025_02_51_16_10371.jpg', '/home/pi/Desktop/images/30012025/02/51/image_30012025_02_51_27_10385.jpg', '/home/pi/Desktop/images/30012025/02/51/image_30012025_02_51_46_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/50/image_30012025_02_50_56_10439.jpg
/home/pi/Desktop/images/30012025/02/50/image_30012025_02_51_06_9347.jpg
/home/pi/Desktop/images/30012025/02/51/image_30012025_02_51_16_10371.jpg
/home/pi/Desktop/images/30012025/02/51/image_30012025_02_51_27_10385.jpg
/home/pi/Desktop/images/30012025/02/51/image_30012025_02_51_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":["1332842619","1332842672","1332842675","1332842669","1332842680"],"photo_ids_order":["1332842619","1332842669","1332842672","1332842675","1332842680"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cabb4e0ec17d3599c39a81118fb5bd71.jpg","text":"TemporaryFile(/tmp/multipartBody115878784269265322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201953825,"filename":"image_30012025_02_50_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/30/666e01506f2c5962414e256687ff2a02.jpg","text":"TemporaryFile(/tmp/multipartBody4902517049842326663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201953825,"filename":"image_30012025_02_51_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/30/debfd78c2dde9436a08f470155551fdd.jpg","text":"TemporaryFile(/tmp/multipartBody2616911090577772363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201953825,"filename":"image_30012025_02_51_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/30/c2f0a3d7697c664983dae8140ec5ba1d.jpg","text":"TemporaryFile(/tmp/multipartBody3007402060476868806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201953825,"filename":"image_30012025_02_51_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/30/dd6e80d856708e95b98c46c17ff67f8e.jpg","text":"TemporaryFile(/tmp/multipartBody1180319013820693409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738201953825,"filename":"image_30012025_02_51_46_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332842672","file1":"1332842669","file0":"1332842619","file4":"1332842680","file3":"1332842675"},"map_files_photo_id_array":[{"photo_id":"1332842672","filename":"file2"},{"photo_id":"1332842680","filename":"file4"},{"photo_id":"1332842669","filename":"file1"},{"photo_id":"1332842619","filename":"file0"},{"photo_id":"1332842675","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332842619":["hashtag1","hashtag2"]},{"1332842672":["hashtag1","hashtag2"]},{"1332842675":["hashtag1","hashtag2"]},{"1332842669":["hashtag1","hashtag2"]},{"1332842680":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332842619, 1332842672, 1332842675, 1332842669, 1332842680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.73431706428528 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:52:32.575963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/51/image_30012025_02_51_56_9405.jpg', '/home/pi/Desktop/images/30012025/02/51/image_30012025_02_52_06_10359.jpg', '/home/pi/Desktop/images/30012025/02/52/image_30012025_02_52_26_9498.jpg', '/home/pi/Desktop/images/30012025/02/52/image_30012025_02_52_36_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/51/image_30012025_02_51_56_9405.jpg
/home/pi/Desktop/images/30012025/02/51/image_30012025_02_52_06_10359.jpg
/home/pi/Desktop/images/30012025/02/52/image_30012025_02_52_26_9498.jpg
/home/pi/Desktop/images/30012025/02/52/image_30012025_02_52_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":["1332842751","1332842724","1332842718","1332842747"],"photo_ids_order":["1332842718","1332842724","1332842747","1332842751"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/97ec017f11178c7392e68a41763d0a70.jpg","text":"TemporaryFile(/tmp/multipartBody3887549334703980211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202013801,"filename":"image_30012025_02_52_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/30/8f0547c6b7181dd5594a187af49797a8.jpg","text":"TemporaryFile(/tmp/multipartBody7189798193906239363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202013801,"filename":"image_30012025_02_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/30/48d205235e156f5d5174a3123e6df41b.jpg","text":"TemporaryFile(/tmp/multipartBody1141205794069609582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202013801,"filename":"image_30012025_02_51_56_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/30/fa5bdf4408b5a0b4ed795c2ac5340292.jpg","text":"TemporaryFile(/tmp/multipartBody9094035437894235922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202013801,"filename":"image_30012025_02_52_26_9498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332842747","file1":"1332842724","file0":"1332842718","file3":"1332842751"},"map_files_photo_id_array":[{"photo_id":"1332842747","filename":"file2"},{"photo_id":"1332842724","filename":"file1"},{"photo_id":"1332842718","filename":"file0"},{"photo_id":"1332842751","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332842751":["hashtag1","hashtag2"]},{"1332842724":["hashtag1","hashtag2"]},{"1332842718":["hashtag1","hashtag2"]},{"1332842747":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332842751, 1332842724, 1332842718, 1332842747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.396268606185913 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:53:32.924243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/52/image_30012025_02_52_47_10357.jpg', '/home/pi/Desktop/images/30012025/02/52/image_30012025_02_53_07_10355.jpg', '/home/pi/Desktop/images/30012025/02/53/image_30012025_02_53_26_10367.jpg', '/home/pi/Desktop/images/30012025/02/53/image_30012025_02_53_46_9405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/52/image_30012025_02_52_47_10357.jpg
/home/pi/Desktop/images/30012025/02/52/image_30012025_02_53_07_10355.jpg
/home/pi/Desktop/images/30012025/02/53/image_30012025_02_53_26_10367.jpg
/home/pi/Desktop/images/30012025/02/53/image_30012025_02_53_46_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":["1332842793","1332843080","1332842906","1332842785"],"photo_ids_order":["1332842785","1332842793","1332842906","1332843080"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/145e240dec4359da2642bd85edd3dbf3.jpg","text":"TemporaryFile(/tmp/multipartBody8441115721697201425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202073804,"filename":"image_30012025_02_53_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/30/771fcebdca434125fc66605dc19703f2.jpg","text":"TemporaryFile(/tmp/multipartBody6019766843672901600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202073804,"filename":"image_30012025_02_53_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/30/b6343e9dee327b3b564b4c5d0c602b7a.jpg","text":"TemporaryFile(/tmp/multipartBody5623278972380204135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202073804,"filename":"image_30012025_02_53_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/30/9833d73bd0ce945b4509028afe2e22b8.jpg","text":"TemporaryFile(/tmp/multipartBody2984131537650481781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202073804,"filename":"image_30012025_02_52_47_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332842906","file1":"1332842793","file0":"1332842785","file3":"1332843080"},"map_files_photo_id_array":[{"photo_id":"1332842906","filename":"file2"},{"photo_id":"1332842793","filename":"file1"},{"photo_id":"1332842785","filename":"file0"},{"photo_id":"1332843080","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332842793":["hashtag1","hashtag2"]},{"1332843080":["hashtag1","hashtag2"]},{"1332842906":["hashtag1","hashtag2"]},{"1332842785":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332842793, 1332843080, 1332842906, 1332842785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.45112705230713 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:54:33.128409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/53/image_30012025_02_53_56_10375.jpg', '/home/pi/Desktop/images/30012025/02/53/image_30012025_02_54_07_10378.jpg', '/home/pi/Desktop/images/30012025/02/54/image_30012025_02_54_16_9358.jpg', '/home/pi/Desktop/images/30012025/02/54/image_30012025_02_54_26_10369.jpg', '/home/pi/Desktop/images/30012025/02/54/image_30012025_02_54_36_9499.jpg', '/home/pi/Desktop/images/30012025/02/54/image_30012025_02_54_46_10382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/53/image_30012025_02_53_56_10375.jpg
/home/pi/Desktop/images/30012025/02/53/image_30012025_02_54_07_10378.jpg
/home/pi/Desktop/images/30012025/02/54/image_30012025_02_54_16_9358.jpg
/home/pi/Desktop/images/30012025/02/54/image_30012025_02_54_26_10369.jpg
/home/pi/Desktop/images/30012025/02/54/image_30012025_02_54_36_9499.jpg
/home/pi/Desktop/images/30012025/02/54/image_30012025_02_54_46_10382.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5484905242919922 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 02:54:43.120203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/53/image_30012025_02_53_56_10375.jpg', '/home/pi/Desktop/images/30012025/02/53/image_30012025_02_54_07_10378.jpg', '/home/pi/Desktop/images/30012025/02/54/image_30012025_02_54_16_9358.jpg', '/home/pi/Desktop/images/30012025/02/54/image_30012025_02_54_26_10369.jpg', '/home/pi/Desktop/images/30012025/02/54/image_30012025_02_54_36_9499.jpg', '/home/pi/Desktop/images/30012025/02/54/image_30012025_02_54_46_10382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/53/image_30012025_02_53_56_10375.jpg
/home/pi/Desktop/images/30012025/02/53/image_30012025_02_54_07_10378.jpg
/home/pi/Desktop/images/30012025/02/54/image_30012025_02_54_16_9358.jpg
/home/pi/Desktop/images/30012025/02/54/image_30012025_02_54_26_10369.jpg
/home/pi/Desktop/images/30012025/02/54/image_30012025_02_54_36_9499.jpg
/home/pi/Desktop/images/30012025/02/54/image_30012025_02_54_46_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332843575","1332843563","1332843557","1332843530","1332843569","1332843533"],"photo_ids_order":["1332843530","1332843533","1332843557","1332843563","1332843569","1332843575"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e613594f73ecb557297185e365b2610c.jpg","text":"TemporaryFile(/tmp/multipartBody5691594087910311610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202144026,"filename":"image_30012025_02_54_46_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/93ce80b4f0930b83380205d602557118.jpg","text":"TemporaryFile(/tmp/multipartBody2818588725770184439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202144026,"filename":"image_30012025_02_54_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/30/7d7ccdebb0e5b5307c32a3c790b81473.jpg","text":"TemporaryFile(/tmp/multipartBody7387358005043091544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202144026,"filename":"image_30012025_02_54_16_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/30/d1d5f985f16d29fabb110afcf51f0531.jpg","text":"TemporaryFile(/tmp/multipartBody3725593914895689295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202144026,"filename":"image_30012025_02_53_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/30/f30d0d943e0d4ab6ab4d020b87ef0fa7.jpg","text":"TemporaryFile(/tmp/multipartBody1612753048685274143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202144026,"filename":"image_30012025_02_54_36_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/30/fb61b640caae3f0f31dae1c63ee972e3.jpg","text":"TemporaryFile(/tmp/multipartBody566797831311342744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202144026,"filename":"image_30012025_02_54_07_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332843557","file1":"1332843533","file0":"1332843530","file4":"1332843569","file5":"1332843575","file3":"1332843563"},"map_files_photo_id_array":[{"photo_id":"1332843575","filename":"file5"},{"photo_id":"1332843557","filename":"file2"},{"photo_id":"1332843569","filename":"file4"},{"photo_id":"1332843533","filename":"file1"},{"photo_id":"1332843530","filename":"file0"},{"photo_id":"1332843563","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332843575":["hashtag1","hashtag2"]},{"1332843563":["hashtag1","hashtag2"]},{"1332843557":["hashtag1","hashtag2"]},{"1332843530":["hashtag1","hashtag2"]},{"1332843569":["hashtag1","hashtag2"]},{"1332843533":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332843575, 1332843563, 1332843557, 1332843530, 1332843569, 1332843533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.24375891685486 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:55:32.398056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/54/image_30012025_02_54_57_10377.jpg', '/home/pi/Desktop/images/30012025/02/54/image_30012025_02_55_06_9355.jpg', '/home/pi/Desktop/images/30012025/02/55/image_30012025_02_55_16_10384.jpg', '/home/pi/Desktop/images/30012025/02/55/image_30012025_02_55_26_9345.jpg', '/home/pi/Desktop/images/30012025/02/55/image_30012025_02_55_47_10387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/54/image_30012025_02_54_57_10377.jpg
/home/pi/Desktop/images/30012025/02/54/image_30012025_02_55_06_9355.jpg
/home/pi/Desktop/images/30012025/02/55/image_30012025_02_55_16_10384.jpg
/home/pi/Desktop/images/30012025/02/55/image_30012025_02_55_26_9345.jpg
/home/pi/Desktop/images/30012025/02/55/image_30012025_02_55_47_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":["1332843612","1332843596","1332843602","1332843610","1332843607"],"photo_ids_order":["1332843596","1332843602","1332843607","1332843610","1332843612"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bf80f0e9fb773a42accdb86bcd302cee.jpg","text":"TemporaryFile(/tmp/multipartBody5455429825822362399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202193289,"filename":"image_30012025_02_55_47_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/30/feeafa4779c1dade1a6914df25236b90.jpg","text":"TemporaryFile(/tmp/multipartBody5550506283482489577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202193289,"filename":"image_30012025_02_54_57_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/33b897a3bb9d758e4f98c74c2cb7c957.jpg","text":"TemporaryFile(/tmp/multipartBody3991433454004708136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202193289,"filename":"image_30012025_02_55_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/30/b7e3ce8e5744d8e7e824fb812871b3b0.jpg","text":"TemporaryFile(/tmp/multipartBody7320834473259072607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202193289,"filename":"image_30012025_02_55_26_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/25a2bf94bce0ef74260b2e6053c9b101.jpg","text":"TemporaryFile(/tmp/multipartBody7364499436252679957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202193289,"filename":"image_30012025_02_55_16_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332843607","file1":"1332843602","file0":"1332843596","file4":"1332843612","file3":"1332843610"},"map_files_photo_id_array":[{"photo_id":"1332843607","filename":"file2"},{"photo_id":"1332843612","filename":"file4"},{"photo_id":"1332843602","filename":"file1"},{"photo_id":"1332843596","filename":"file0"},{"photo_id":"1332843610","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332843612":["hashtag1","hashtag2"]},{"1332843596":["hashtag1","hashtag2"]},{"1332843602":["hashtag1","hashtag2"]},{"1332843610":["hashtag1","hashtag2"]},{"1332843607":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332843612, 1332843596, 1332843602, 1332843610, 1332843607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.26258420944214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:56:32.447401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/55/image_30012025_02_55_56_9513.jpg', '/home/pi/Desktop/images/30012025/02/56/image_30012025_02_56_16_9355.jpg', '/home/pi/Desktop/images/30012025/02/56/image_30012025_02_56_26_10375.jpg', '/home/pi/Desktop/images/30012025/02/56/image_30012025_02_56_36_9423.jpg', '/home/pi/Desktop/images/30012025/02/56/image_30012025_02_56_46_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/55/image_30012025_02_55_56_9513.jpg
/home/pi/Desktop/images/30012025/02/56/image_30012025_02_56_16_9355.jpg
/home/pi/Desktop/images/30012025/02/56/image_30012025_02_56_26_10375.jpg
/home/pi/Desktop/images/30012025/02/56/image_30012025_02_56_36_9423.jpg
/home/pi/Desktop/images/30012025/02/56/image_30012025_02_56_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":["1332843657","1332843656","1332843721","1332843651","1332843645"],"photo_ids_order":["1332843645","1332843651","1332843656","1332843657","1332843721"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f525bfdab20411ec9abd9f815f6d5823.jpg","text":"TemporaryFile(/tmp/multipartBody9110986676476885638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202253354,"filename":"image_30012025_02_56_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/30/66e38411fc3d4a110ab5f4fc499e3282.jpg","text":"TemporaryFile(/tmp/multipartBody4817650904672524084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202253354,"filename":"image_30012025_02_56_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/30/a5eb39f1b94b61ea0017ac412dc78913.jpg","text":"TemporaryFile(/tmp/multipartBody4925545486963176366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202253354,"filename":"image_30012025_02_56_46_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9d4008d8ff21460bb9ce193ca7132de0.jpg","text":"TemporaryFile(/tmp/multipartBody5424648320234538572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202253354,"filename":"image_30012025_02_56_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/30/20106733fd806b75568f9d43f5403f03.jpg","text":"TemporaryFile(/tmp/multipartBody2555274270388166238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202253354,"filename":"image_30012025_02_55_56_9513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332843656","file1":"1332843651","file0":"1332843645","file4":"1332843721","file3":"1332843657"},"map_files_photo_id_array":[{"photo_id":"1332843656","filename":"file2"},{"photo_id":"1332843721","filename":"file4"},{"photo_id":"1332843651","filename":"file1"},{"photo_id":"1332843645","filename":"file0"},{"photo_id":"1332843657","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332843657":["hashtag1","hashtag2"]},{"1332843656":["hashtag1","hashtag2"]},{"1332843721":["hashtag1","hashtag2"]},{"1332843651":["hashtag1","hashtag2"]},{"1332843645":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332843657, 1332843656, 1332843721, 1332843651, 1332843645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.342087507247925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:57:32.718360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/56/image_30012025_02_56_57_10364.jpg', '/home/pi/Desktop/images/30012025/02/56/image_30012025_02_57_06_9449.jpg', '/home/pi/Desktop/images/30012025/02/57/image_30012025_02_57_16_10366.jpg', '/home/pi/Desktop/images/30012025/02/57/image_30012025_02_57_26_9358.jpg', '/home/pi/Desktop/images/30012025/02/57/image_30012025_02_57_36_10427.jpg', '/home/pi/Desktop/images/30012025/02/57/image_30012025_02_57_47_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/56/image_30012025_02_56_57_10364.jpg
/home/pi/Desktop/images/30012025/02/56/image_30012025_02_57_06_9449.jpg
/home/pi/Desktop/images/30012025/02/57/image_30012025_02_57_16_10366.jpg
/home/pi/Desktop/images/30012025/02/57/image_30012025_02_57_26_9358.jpg
/home/pi/Desktop/images/30012025/02/57/image_30012025_02_57_36_10427.jpg
/home/pi/Desktop/images/30012025/02/57/image_30012025_02_57_47_10362.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-30 02:59:03.382910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/56/image_30012025_02_56_57_10364.jpg', '/home/pi/Desktop/images/30012025/02/56/image_30012025_02_57_06_9449.jpg', '/home/pi/Desktop/images/30012025/02/57/image_30012025_02_57_16_10366.jpg', '/home/pi/Desktop/images/30012025/02/57/image_30012025_02_57_26_9358.jpg', '/home/pi/Desktop/images/30012025/02/57/image_30012025_02_57_36_10427.jpg', '/home/pi/Desktop/images/30012025/02/57/image_30012025_02_57_47_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/56/image_30012025_02_56_57_10364.jpg
/home/pi/Desktop/images/30012025/02/56/image_30012025_02_57_06_9449.jpg
/home/pi/Desktop/images/30012025/02/57/image_30012025_02_57_16_10366.jpg
/home/pi/Desktop/images/30012025/02/57/image_30012025_02_57_26_9358.jpg
/home/pi/Desktop/images/30012025/02/57/image_30012025_02_57_36_10427.jpg
/home/pi/Desktop/images/30012025/02/57/image_30012025_02_57_47_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":["1332844085","1332844070","1332844099","1332844092","1332844080","1332844104"],"photo_ids_order":["1332844070","1332844080","1332844085","1332844092","1332844099","1332844104"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4e9c880c799e041aa7b44c1587faaf2d.jpg","text":"TemporaryFile(/tmp/multipartBody1106814490565329381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202404404,"filename":"image_30012025_02_57_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/30/f79bbfb85a95d45db7d3a88fd700b132.jpg","text":"TemporaryFile(/tmp/multipartBody1410362990675974932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202404404,"filename":"image_30012025_02_56_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/30/c823d061d99e96a5a817fc64ccaa7a72.jpg","text":"TemporaryFile(/tmp/multipartBody4626117989810004638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202404404,"filename":"image_30012025_02_57_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/30/4c41b4bc95d1fbb59884c71ec55a47ed.jpg","text":"TemporaryFile(/tmp/multipartBody251808426710645560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202404404,"filename":"image_30012025_02_57_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/30/b84d33af224b677fd9b16fce7ea9072e.jpg","text":"TemporaryFile(/tmp/multipartBody3024590680765495367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202404404,"filename":"image_30012025_02_57_06_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/30/1a9941831503186a85b93f300bd8fdd6.jpg","text":"TemporaryFile(/tmp/multipartBody5131176225377762939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202404404,"filename":"image_30012025_02_57_47_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332844085","file1":"1332844080","file0":"1332844070","file4":"1332844099","file5":"1332844104","file3":"1332844092"},"map_files_photo_id_array":[{"photo_id":"1332844104","filename":"file5"},{"photo_id":"1332844085","filename":"file2"},{"photo_id":"1332844099","filename":"file4"},{"photo_id":"1332844080","filename":"file1"},{"photo_id":"1332844070","filename":"file0"},{"photo_id":"1332844092","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332844085":["hashtag1","hashtag2"]},{"1332844070":["hashtag1","hashtag2"]},{"1332844099":["hashtag1","hashtag2"]},{"1332844092":["hashtag1","hashtag2"]},{"1332844080":["hashtag1","hashtag2"]},{"1332844104":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332844085, 1332844070, 1332844099, 1332844092, 1332844080, 1332844104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.739938735961914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 02:59:52.372656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/57/image_30012025_02_57_56_9481.jpg', '/home/pi/Desktop/images/30012025/02/57/image_30012025_02_58_07_10390.jpg', '/home/pi/Desktop/images/30012025/02/58/image_30012025_02_58_16_9452.jpg', '/home/pi/Desktop/images/30012025/02/58/image_30012025_02_58_26_10381.jpg', '/home/pi/Desktop/images/30012025/02/58/image_30012025_02_58_37_10375.jpg', '/home/pi/Desktop/images/30012025/02/58/image_30012025_02_58_46_9365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/57/image_30012025_02_57_56_9481.jpg
/home/pi/Desktop/images/30012025/02/57/image_30012025_02_58_07_10390.jpg
/home/pi/Desktop/images/30012025/02/58/image_30012025_02_58_16_9452.jpg
/home/pi/Desktop/images/30012025/02/58/image_30012025_02_58_26_10381.jpg
/home/pi/Desktop/images/30012025/02/58/image_30012025_02_58_37_10375.jpg
/home/pi/Desktop/images/30012025/02/58/image_30012025_02_58_46_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332844396","1332844441","1332844402","1332844392","1332844386","1332844380"],"photo_ids_order":["1332844380","1332844386","1332844392","1332844396","1332844402","1332844441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/16e366122d91b6c6a4b7c35699e9a5e8.jpg","text":"TemporaryFile(/tmp/multipartBody5987500389345741187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202453296,"filename":"image_30012025_02_58_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/30/af4c79c064631abda185ce2d245390e7.jpg","text":"TemporaryFile(/tmp/multipartBody986993301682304765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202453296,"filename":"image_30012025_02_58_46_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/30/80362105cd3d1a003f34807ffb4e8908.jpg","text":"TemporaryFile(/tmp/multipartBody6350092483829902959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202453296,"filename":"image_30012025_02_58_37_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/30/4d5ea9a489d0af41c14ede3db3891771.jpg","text":"TemporaryFile(/tmp/multipartBody7873696588862087573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202453296,"filename":"image_30012025_02_58_16_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/30/46c9aa0394afc921a10cc379d673dbd4.jpg","text":"TemporaryFile(/tmp/multipartBody383415205511867099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202453296,"filename":"image_30012025_02_58_07_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/97a574e468793c51be02c1c205d5b518.jpg","text":"TemporaryFile(/tmp/multipartBody4830037454253971612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202453296,"filename":"image_30012025_02_57_56_9481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332844392","file1":"1332844386","file0":"1332844380","file4":"1332844402","file5":"1332844441","file3":"1332844396"},"map_files_photo_id_array":[{"photo_id":"1332844441","filename":"file5"},{"photo_id":"1332844392","filename":"file2"},{"photo_id":"1332844402","filename":"file4"},{"photo_id":"1332844386","filename":"file1"},{"photo_id":"1332844380","filename":"file0"},{"photo_id":"1332844396","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332844396":["hashtag1","hashtag2"]},{"1332844441":["hashtag1","hashtag2"]},{"1332844402":["hashtag1","hashtag2"]},{"1332844392":["hashtag1","hashtag2"]},{"1332844386":["hashtag1","hashtag2"]},{"1332844380":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332844396, 1332844441, 1332844402, 1332844392, 1332844386, 1332844380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.13452672958374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 03:00:42.757523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/58/image_30012025_02_58_57_10432.jpg', '/home/pi/Desktop/images/30012025/02/58/image_30012025_02_59_06_9365.jpg', '/home/pi/Desktop/images/30012025/02/59/image_30012025_02_59_16_10422.jpg', '/home/pi/Desktop/images/30012025/02/59/image_30012025_02_59_27_10459.jpg', '/home/pi/Desktop/images/30012025/02/59/image_30012025_02_59_36_9449.jpg', '/home/pi/Desktop/images/30012025/02/59/image_30012025_02_59_47_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/58/image_30012025_02_58_57_10432.jpg
/home/pi/Desktop/images/30012025/02/58/image_30012025_02_59_06_9365.jpg
/home/pi/Desktop/images/30012025/02/59/image_30012025_02_59_16_10422.jpg
/home/pi/Desktop/images/30012025/02/59/image_30012025_02_59_27_10459.jpg
/home/pi/Desktop/images/30012025/02/59/image_30012025_02_59_36_9449.jpg
/home/pi/Desktop/images/30012025/02/59/image_30012025_02_59_47_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":["1332844506","1332844643","1332844597","1332844584","1332844626","1332844635"],"photo_ids_order":["1332844506","1332844584","1332844597","1332844626","1332844635","1332844643"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/740d585db7f5d844ca9e2d7a6c9c9999.jpg","text":"TemporaryFile(/tmp/multipartBody5871671840537264504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202503663,"filename":"image_30012025_02_58_57_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/30/336d52e53fe600018778e1f67f92717c.jpg","text":"TemporaryFile(/tmp/multipartBody3929644867051429849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202503663,"filename":"image_30012025_02_59_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/30/21b1ea5d1921c981ccab77d3ae3609d8.jpg","text":"TemporaryFile(/tmp/multipartBody270167817377279777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202503663,"filename":"image_30012025_02_59_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/30/dded6bd0b5b24c6ddfb03747a0fdeab5.jpg","text":"TemporaryFile(/tmp/multipartBody4338832385162686978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202503663,"filename":"image_30012025_02_59_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/30/561b49368ff60b8966b9403c3d4f006d.jpg","text":"TemporaryFile(/tmp/multipartBody981685615004547133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202503663,"filename":"image_30012025_02_59_27_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/30/32ceff4a7e6aa19fff88c8645888f4b9.jpg","text":"TemporaryFile(/tmp/multipartBody3308643686611095010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202503663,"filename":"image_30012025_02_59_36_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332844597","file1":"1332844584","file0":"1332844506","file4":"1332844635","file5":"1332844643","file3":"1332844626"},"map_files_photo_id_array":[{"photo_id":"1332844643","filename":"file5"},{"photo_id":"1332844597","filename":"file2"},{"photo_id":"1332844635","filename":"file4"},{"photo_id":"1332844584","filename":"file1"},{"photo_id":"1332844506","filename":"file0"},{"photo_id":"1332844626","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332844506":["hashtag1","hashtag2"]},{"1332844643":["hashtag1","hashtag2"]},{"1332844597":["hashtag1","hashtag2"]},{"1332844584":["hashtag1","hashtag2"]},{"1332844626":["hashtag1","hashtag2"]},{"1332844635":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332844506, 1332844643, 1332844597, 1332844584, 1332844626, 1332844635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.41849637031555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:01:32.820730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/02/59/image_30012025_02_59_56_9436.jpg', '/home/pi/Desktop/images/30012025/03/01/image_30012025_03_01_15_10078.jpg', '/home/pi/Desktop/images/30012025/03/01/image_30012025_03_01_25_10370.jpg', '/home/pi/Desktop/images/30012025/03/01/image_30012025_03_01_35_10374.jpg', '/home/pi/Desktop/images/30012025/03/01/image_30012025_03_01_45_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/02/59/image_30012025_02_59_56_9436.jpg
/home/pi/Desktop/images/30012025/03/01/image_30012025_03_01_15_10078.jpg
/home/pi/Desktop/images/30012025/03/01/image_30012025_03_01_25_10370.jpg
/home/pi/Desktop/images/30012025/03/01/image_30012025_03_01_35_10374.jpg
/home/pi/Desktop/images/30012025/03/01/image_30012025_03_01_45_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":["1332845452","1332844861","1332844762","1332845291","1332845168"],"photo_ids_order":["1332844762","1332844861","1332845168","1332845291","1332845452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d2d382faa4aa8362572457b1e508ec79.jpg","text":"TemporaryFile(/tmp/multipartBody5615505454368456337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202553731,"filename":"image_30012025_03_01_45_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/30/a3fcf544b21fd61cfaeea2f2b4ec5fe4.jpg","text":"TemporaryFile(/tmp/multipartBody5193800350309339728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202553731,"filename":"image_30012025_03_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/30/d6aca52ce08ad26c7d24f064a4e20635.jpg","text":"TemporaryFile(/tmp/multipartBody8459517025155294416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202553731,"filename":"image_30012025_02_59_56_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b8587670d60dbbecc06d640f855a3fe6.jpg","text":"TemporaryFile(/tmp/multipartBody2333262487891679956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202553731,"filename":"image_30012025_03_01_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/30/d68f4d11636f31fd5c7b8c05c3309b87.jpg","text":"TemporaryFile(/tmp/multipartBody5399406994147193242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202553731,"filename":"image_30012025_03_01_25_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332845168","file1":"1332844861","file0":"1332844762","file4":"1332845452","file3":"1332845291"},"map_files_photo_id_array":[{"photo_id":"1332845168","filename":"file2"},{"photo_id":"1332845452","filename":"file4"},{"photo_id":"1332844861","filename":"file1"},{"photo_id":"1332844762","filename":"file0"},{"photo_id":"1332845291","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332845452":["hashtag1","hashtag2"]},{"1332844861":["hashtag1","hashtag2"]},{"1332844762":["hashtag1","hashtag2"]},{"1332845291":["hashtag1","hashtag2"]},{"1332845168":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332845452, 1332844861, 1332844762, 1332845291, 1332845168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 41.20883631706238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:02:33.145594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/01/image_30012025_03_01_55_10498.jpg', '/home/pi/Desktop/images/30012025/03/01/image_30012025_03_02_04_9399.jpg', '/home/pi/Desktop/images/30012025/03/02/image_30012025_03_02_15_10480.jpg', '/home/pi/Desktop/images/30012025/03/02/image_30012025_03_02_25_10438.jpg', '/home/pi/Desktop/images/30012025/03/02/image_30012025_03_02_35_9397.jpg', '/home/pi/Desktop/images/30012025/03/02/image_30012025_03_02_45_10448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/01/image_30012025_03_01_55_10498.jpg
/home/pi/Desktop/images/30012025/03/01/image_30012025_03_02_04_9399.jpg
/home/pi/Desktop/images/30012025/03/02/image_30012025_03_02_15_10480.jpg
/home/pi/Desktop/images/30012025/03/02/image_30012025_03_02_25_10438.jpg
/home/pi/Desktop/images/30012025/03/02/image_30012025_03_02_35_9397.jpg
/home/pi/Desktop/images/30012025/03/02/image_30012025_03_02_45_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":["1332845851","1332845845","1332846045","1332845970","1332845841","1332845901"],"photo_ids_order":["1332845841","1332845845","1332845851","1332845901","1332845970","1332846045"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3a0d750ce46fc65360e547f27a277537.jpg","text":"TemporaryFile(/tmp/multipartBody6986367060389871805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202614052,"filename":"image_30012025_03_02_15_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/30/40f1f30ad17ced834ea77bfd88bc7bb7.jpg","text":"TemporaryFile(/tmp/multipartBody508633129754901071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202614052,"filename":"image_30012025_03_02_04_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/058a1710d0d9ad7344927265a58bf1c9.jpg","text":"TemporaryFile(/tmp/multipartBody35499960549570209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202614052,"filename":"image_30012025_03_02_45_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b24771bf1b522593e78127ee85993eda.jpg","text":"TemporaryFile(/tmp/multipartBody4833014793210983095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202614052,"filename":"image_30012025_03_02_35_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/43f0dba83bef19ec983c4da4dd227ec2.jpg","text":"TemporaryFile(/tmp/multipartBody7757500935434658538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202614052,"filename":"image_30012025_03_01_55_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/30/d284e5f8ad2893e8ed1aa64db5b8d4ff.jpg","text":"TemporaryFile(/tmp/multipartBody1597838204345911167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202614052,"filename":"image_30012025_03_02_25_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332845851","file1":"1332845845","file0":"1332845841","file4":"1332845970","file5":"1332846045","file3":"1332845901"},"map_files_photo_id_array":[{"photo_id":"1332846045","filename":"file5"},{"photo_id":"1332845851","filename":"file2"},{"photo_id":"1332845970","filename":"file4"},{"photo_id":"1332845845","filename":"file1"},{"photo_id":"1332845841","filename":"file0"},{"photo_id":"1332845901","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332845851":["hashtag1","hashtag2"]},{"1332845845":["hashtag1","hashtag2"]},{"1332846045":["hashtag1","hashtag2"]},{"1332845970":["hashtag1","hashtag2"]},{"1332845841":["hashtag1","hashtag2"]},{"1332845901":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332845851, 1332845845, 1332846045, 1332845970, 1332845841, 1332845901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.44997763633728 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:03:32.227024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/02/image_30012025_03_02_55_9427.jpg', '/home/pi/Desktop/images/30012025/03/02/image_30012025_03_03_05_10476.jpg', '/home/pi/Desktop/images/30012025/03/03/image_30012025_03_03_15_9356.jpg', '/home/pi/Desktop/images/30012025/03/03/image_30012025_03_03_25_10358.jpg', '/home/pi/Desktop/images/30012025/03/03/image_30012025_03_03_35_10365.jpg', '/home/pi/Desktop/images/30012025/03/03/image_30012025_03_03_45_9426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/02/image_30012025_03_02_55_9427.jpg
/home/pi/Desktop/images/30012025/03/02/image_30012025_03_03_05_10476.jpg
/home/pi/Desktop/images/30012025/03/03/image_30012025_03_03_15_9356.jpg
/home/pi/Desktop/images/30012025/03/03/image_30012025_03_03_25_10358.jpg
/home/pi/Desktop/images/30012025/03/03/image_30012025_03_03_35_10365.jpg
/home/pi/Desktop/images/30012025/03/03/image_30012025_03_03_45_9426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332846337","1332846297","1332846332","1332846335","1332846236","1332846289"],"photo_ids_order":["1332846236","1332846289","1332846297","1332846332","1332846335","1332846337"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0a915da0f8fce954fd108061c33e0b6c.jpg","text":"TemporaryFile(/tmp/multipartBody6310984243830737183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202673137,"filename":"image_30012025_03_03_45_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1bb1b6cfe2896179d3cd9f291594d076.jpg","text":"TemporaryFile(/tmp/multipartBody1191402429381877337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202673137,"filename":"image_30012025_03_03_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/30/ffdf21f7517fa789a9cc8a27a1b40a27.jpg","text":"TemporaryFile(/tmp/multipartBody5672153779745219181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202673137,"filename":"image_30012025_03_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/30/d3956c13a4c8b87962e52caa881de214.jpg","text":"TemporaryFile(/tmp/multipartBody6461025244425739382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202673137,"filename":"image_30012025_03_03_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/30/cdf606363fc4cfac0375c7dc779d89a1.jpg","text":"TemporaryFile(/tmp/multipartBody1767343550609700170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202673137,"filename":"image_30012025_03_02_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/30/65a5156097d75fdd9c7db6a13285c950.jpg","text":"TemporaryFile(/tmp/multipartBody8033571254901205724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202673137,"filename":"image_30012025_03_03_05_10476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332846297","file1":"1332846289","file0":"1332846236","file4":"1332846335","file5":"1332846337","file3":"1332846332"},"map_files_photo_id_array":[{"photo_id":"1332846337","filename":"file5"},{"photo_id":"1332846297","filename":"file2"},{"photo_id":"1332846335","filename":"file4"},{"photo_id":"1332846289","filename":"file1"},{"photo_id":"1332846236","filename":"file0"},{"photo_id":"1332846332","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332846337":["hashtag1","hashtag2"]},{"1332846297":["hashtag1","hashtag2"]},{"1332846332":["hashtag1","hashtag2"]},{"1332846335":["hashtag1","hashtag2"]},{"1332846236":["hashtag1","hashtag2"]},{"1332846289":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332846337, 1332846297, 1332846332, 1332846335, 1332846236, 1332846289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.43609404563904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:04:32.611241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/03/image_30012025_03_03_55_10419.jpg', '/home/pi/Desktop/images/30012025/03/03/image_30012025_03_04_05_9426.jpg', '/home/pi/Desktop/images/30012025/03/04/image_30012025_03_04_15_10486.jpg', '/home/pi/Desktop/images/30012025/03/04/image_30012025_03_04_35_9354.jpg', '/home/pi/Desktop/images/30012025/03/04/image_30012025_03_04_45_10407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/03/image_30012025_03_03_55_10419.jpg
/home/pi/Desktop/images/30012025/03/03/image_30012025_03_04_05_9426.jpg
/home/pi/Desktop/images/30012025/03/04/image_30012025_03_04_15_10486.jpg
/home/pi/Desktop/images/30012025/03/04/image_30012025_03_04_35_9354.jpg
/home/pi/Desktop/images/30012025/03/04/image_30012025_03_04_45_10407.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5125861167907715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 03:04:42.711856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/03/image_30012025_03_03_55_10419.jpg', '/home/pi/Desktop/images/30012025/03/03/image_30012025_03_04_05_9426.jpg', '/home/pi/Desktop/images/30012025/03/04/image_30012025_03_04_15_10486.jpg', '/home/pi/Desktop/images/30012025/03/04/image_30012025_03_04_35_9354.jpg', '/home/pi/Desktop/images/30012025/03/04/image_30012025_03_04_45_10407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/03/image_30012025_03_03_55_10419.jpg
/home/pi/Desktop/images/30012025/03/03/image_30012025_03_04_05_9426.jpg
/home/pi/Desktop/images/30012025/03/04/image_30012025_03_04_15_10486.jpg
/home/pi/Desktop/images/30012025/03/04/image_30012025_03_04_35_9354.jpg
/home/pi/Desktop/images/30012025/03/04/image_30012025_03_04_45_10407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332846385","1332846379","1332846393","1332846381","1332846377"],"photo_ids_order":["1332846377","1332846379","1332846381","1332846385","1332846393"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8555f1fc102f43f1bfe7458f3ea6e9be.jpg","text":"TemporaryFile(/tmp/multipartBody7217962842218766497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202743616,"filename":"image_30012025_03_04_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/30/d21642d9b16229086d996850fe77c894.jpg","text":"TemporaryFile(/tmp/multipartBody57467657677305983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202743616,"filename":"image_30012025_03_04_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/30/6de45d91f7bd8b8fd77a906226153efc.jpg","text":"TemporaryFile(/tmp/multipartBody617060668889735891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202743616,"filename":"image_30012025_03_04_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/30/08f8b821e9dcce094527bc0d25077fb7.jpg","text":"TemporaryFile(/tmp/multipartBody1295979377019137277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202743616,"filename":"image_30012025_03_04_15_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/30/7c3e83360cd911db198b07e540db7b1d.jpg","text":"TemporaryFile(/tmp/multipartBody1078576596920964196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202743616,"filename":"image_30012025_03_03_55_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332846381","file1":"1332846379","file0":"1332846377","file4":"1332846393","file3":"1332846385"},"map_files_photo_id_array":[{"photo_id":"1332846381","filename":"file2"},{"photo_id":"1332846393","filename":"file4"},{"photo_id":"1332846379","filename":"file1"},{"photo_id":"1332846377","filename":"file0"},{"photo_id":"1332846385","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332846385":["hashtag1","hashtag2"]},{"1332846379":["hashtag1","hashtag2"]},{"1332846393":["hashtag1","hashtag2"]},{"1332846381":["hashtag1","hashtag2"]},{"1332846377":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332846385, 1332846379, 1332846393, 1332846381, 1332846377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.88498783111572 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:05:32.889719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/04/image_30012025_03_04_55_9457.jpg', '/home/pi/Desktop/images/30012025/03/04/image_30012025_03_05_05_10452.jpg', '/home/pi/Desktop/images/30012025/03/05/image_30012025_03_05_15_10357.jpg', '/home/pi/Desktop/images/30012025/03/05/image_30012025_03_05_25_9448.jpg', '/home/pi/Desktop/images/30012025/03/05/image_30012025_03_05_35_10458.jpg', '/home/pi/Desktop/images/30012025/03/05/image_30012025_03_05_45_9363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/04/image_30012025_03_04_55_9457.jpg
/home/pi/Desktop/images/30012025/03/04/image_30012025_03_05_05_10452.jpg
/home/pi/Desktop/images/30012025/03/05/image_30012025_03_05_15_10357.jpg
/home/pi/Desktop/images/30012025/03/05/image_30012025_03_05_25_9448.jpg
/home/pi/Desktop/images/30012025/03/05/image_30012025_03_05_35_10458.jpg
/home/pi/Desktop/images/30012025/03/05/image_30012025_03_05_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":["1332846478","1332846463","1332846448","1332846474","1332846482","1332846470"],"photo_ids_order":["1332846448","1332846463","1332846470","1332846474","1332846478","1332846482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6d92ae811cc6e580c39a8cac4d7ac617.jpg","text":"TemporaryFile(/tmp/multipartBody4013092014195261119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202793821,"filename":"image_30012025_03_05_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/30/1732a8544640edd238918a91102e57bf.jpg","text":"TemporaryFile(/tmp/multipartBody2842938782462819327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202793821,"filename":"image_30012025_03_05_05_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/30/bb3043222d29ffc1aed204501319ea3b.jpg","text":"TemporaryFile(/tmp/multipartBody8374948258643317330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202793821,"filename":"image_30012025_03_04_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/30/5e8b7e494e645c554c787c128b7060fc.jpg","text":"TemporaryFile(/tmp/multipartBody7612595686244480982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202793821,"filename":"image_30012025_03_05_25_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/30/b590a7cd376978f024a5406169667170.jpg","text":"TemporaryFile(/tmp/multipartBody5347857525631635420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202793821,"filename":"image_30012025_03_05_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/30/73d407507d86b9115f6b9a6a2853d6bd.jpg","text":"TemporaryFile(/tmp/multipartBody6362943521152148508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202793821,"filename":"image_30012025_03_05_15_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332846470","file1":"1332846463","file0":"1332846448","file4":"1332846478","file5":"1332846482","file3":"1332846474"},"map_files_photo_id_array":[{"photo_id":"1332846482","filename":"file5"},{"photo_id":"1332846470","filename":"file2"},{"photo_id":"1332846478","filename":"file4"},{"photo_id":"1332846463","filename":"file1"},{"photo_id":"1332846448","filename":"file0"},{"photo_id":"1332846474","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332846478":["hashtag1","hashtag2"]},{"1332846463":["hashtag1","hashtag2"]},{"1332846448":["hashtag1","hashtag2"]},{"1332846474":["hashtag1","hashtag2"]},{"1332846482":["hashtag1","hashtag2"]},{"1332846470":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332846478, 1332846463, 1332846448, 1332846474, 1332846482, 1332846470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.124428033828735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:06:33.009921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/05/image_30012025_03_05_55_10459.jpg', '/home/pi/Desktop/images/30012025/03/05/image_30012025_03_06_04_9348.jpg', '/home/pi/Desktop/images/30012025/03/06/image_30012025_03_06_15_10385.jpg', '/home/pi/Desktop/images/30012025/03/06/image_30012025_03_06_25_10414.jpg', '/home/pi/Desktop/images/30012025/03/06/image_30012025_03_06_35_9349.jpg', '/home/pi/Desktop/images/30012025/03/06/image_30012025_03_06_45_10441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/05/image_30012025_03_05_55_10459.jpg
/home/pi/Desktop/images/30012025/03/05/image_30012025_03_06_04_9348.jpg
/home/pi/Desktop/images/30012025/03/06/image_30012025_03_06_15_10385.jpg
/home/pi/Desktop/images/30012025/03/06/image_30012025_03_06_25_10414.jpg
/home/pi/Desktop/images/30012025/03/06/image_30012025_03_06_35_9349.jpg
/home/pi/Desktop/images/30012025/03/06/image_30012025_03_06_45_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":["1332846541","1332846535","1332846565","1332846555","1332846560","1332846563"],"photo_ids_order":["1332846535","1332846541","1332846555","1332846560","1332846563","1332846565"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1d2713b988fb39684da0fd47b77c0e28.jpg","text":"TemporaryFile(/tmp/multipartBody8493453205231932085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202853950,"filename":"image_30012025_03_06_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/30/9b34532b9d6805ff10582f39d5053527.jpg","text":"TemporaryFile(/tmp/multipartBody4890273917512035100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202853950,"filename":"image_30012025_03_05_55_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4d26f33ccdae32c543332f2f2110bc85.jpg","text":"TemporaryFile(/tmp/multipartBody3695105057139917506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202853950,"filename":"image_30012025_03_06_45_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3eede22160ea1c5adc8561df4dddd508.jpg","text":"TemporaryFile(/tmp/multipartBody7232981636478561107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202853950,"filename":"image_30012025_03_06_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/30/3af942611a6d5d878f60837ae7c339a8.jpg","text":"TemporaryFile(/tmp/multipartBody1362597611887293339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202853950,"filename":"image_30012025_03_06_25_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f79b5fa33b5eda29d4c4b00a9a15e91f.jpg","text":"TemporaryFile(/tmp/multipartBody5586415624381540764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202853950,"filename":"image_30012025_03_06_35_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332846555","file1":"1332846541","file0":"1332846535","file4":"1332846563","file5":"1332846565","file3":"1332846560"},"map_files_photo_id_array":[{"photo_id":"1332846565","filename":"file5"},{"photo_id":"1332846555","filename":"file2"},{"photo_id":"1332846563","filename":"file4"},{"photo_id":"1332846541","filename":"file1"},{"photo_id":"1332846535","filename":"file0"},{"photo_id":"1332846560","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332846541":["hashtag1","hashtag2"]},{"1332846535":["hashtag1","hashtag2"]},{"1332846565":["hashtag1","hashtag2"]},{"1332846555":["hashtag1","hashtag2"]},{"1332846560":["hashtag1","hashtag2"]},{"1332846563":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332846541, 1332846535, 1332846565, 1332846555, 1332846560, 1332846563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.317941427230835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:07:32.223961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/06/image_30012025_03_06_55_10347.jpg', '/home/pi/Desktop/images/30012025/03/06/image_30012025_03_07_05_9425.jpg', '/home/pi/Desktop/images/30012025/03/07/image_30012025_03_07_15_10443.jpg', '/home/pi/Desktop/images/30012025/03/07/image_30012025_03_07_25_9457.jpg', '/home/pi/Desktop/images/30012025/03/07/image_30012025_03_07_35_10406.jpg', '/home/pi/Desktop/images/30012025/03/07/image_30012025_03_07_45_9417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/06/image_30012025_03_06_55_10347.jpg
/home/pi/Desktop/images/30012025/03/06/image_30012025_03_07_05_9425.jpg
/home/pi/Desktop/images/30012025/03/07/image_30012025_03_07_15_10443.jpg
/home/pi/Desktop/images/30012025/03/07/image_30012025_03_07_25_9457.jpg
/home/pi/Desktop/images/30012025/03/07/image_30012025_03_07_35_10406.jpg
/home/pi/Desktop/images/30012025/03/07/image_30012025_03_07_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":["1332847374","1332847428","1332847263","1332847728","1332847613","1332847732"],"photo_ids_order":["1332847263","1332847374","1332847428","1332847613","1332847728","1332847732"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e9ced311420cc0a2ffd3c8fdffca69d7.jpg","text":"TemporaryFile(/tmp/multipartBody2702302290653195135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202913147,"filename":"image_30012025_03_07_05_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/30/c5d4cea064507e8a4614f6b3e711fc75.jpg","text":"TemporaryFile(/tmp/multipartBody715998026006683563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202913147,"filename":"image_30012025_03_07_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/30/dac5e4037725bd57d8419cb7e5db789a.jpg","text":"TemporaryFile(/tmp/multipartBody1661810096100533062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202913147,"filename":"image_30012025_03_06_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/30/2bf651ee5ff53f98a79d9d765c9c7796.jpg","text":"TemporaryFile(/tmp/multipartBody7533246084226542931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202913147,"filename":"image_30012025_03_07_35_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/30/b0cc96ef22f8c6268dc1657e44773bfb.jpg","text":"TemporaryFile(/tmp/multipartBody3423562651590519191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202913147,"filename":"image_30012025_03_07_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/30/75e83c267730703dc32bdc05e98af3cd.jpg","text":"TemporaryFile(/tmp/multipartBody8137056482871381927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202913147,"filename":"image_30012025_03_07_45_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332847428","file1":"1332847374","file0":"1332847263","file4":"1332847728","file5":"1332847732","file3":"1332847613"},"map_files_photo_id_array":[{"photo_id":"1332847732","filename":"file5"},{"photo_id":"1332847428","filename":"file2"},{"photo_id":"1332847728","filename":"file4"},{"photo_id":"1332847374","filename":"file1"},{"photo_id":"1332847263","filename":"file0"},{"photo_id":"1332847613","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332847374":["hashtag1","hashtag2"]},{"1332847428":["hashtag1","hashtag2"]},{"1332847263":["hashtag1","hashtag2"]},{"1332847728":["hashtag1","hashtag2"]},{"1332847613":["hashtag1","hashtag2"]},{"1332847732":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332847374, 1332847428, 1332847263, 1332847728, 1332847613, 1332847732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.96463990211487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:08:32.414812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/07/image_30012025_03_07_55_10367.jpg', '/home/pi/Desktop/images/30012025/03/07/image_30012025_03_08_05_10432.jpg', '/home/pi/Desktop/images/30012025/03/08/image_30012025_03_08_15_9419.jpg', '/home/pi/Desktop/images/30012025/03/08/image_30012025_03_08_25_10420.jpg', '/home/pi/Desktop/images/30012025/03/08/image_30012025_03_08_35_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/07/image_30012025_03_07_55_10367.jpg
/home/pi/Desktop/images/30012025/03/07/image_30012025_03_08_05_10432.jpg
/home/pi/Desktop/images/30012025/03/08/image_30012025_03_08_15_9419.jpg
/home/pi/Desktop/images/30012025/03/08/image_30012025_03_08_25_10420.jpg
/home/pi/Desktop/images/30012025/03/08/image_30012025_03_08_35_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":["1332847796","1332847778","1332847772","1332847802","1332847805"],"photo_ids_order":["1332847772","1332847778","1332847796","1332847802","1332847805"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/74e1d33ae39ee07c04e94a9f27057a4b.jpg","text":"TemporaryFile(/tmp/multipartBody8505062998021622651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202973303,"filename":"image_30012025_03_08_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/30/166552ab5dc3e4a319e14615dbbd14a7.jpg","text":"TemporaryFile(/tmp/multipartBody2201824841905890108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202973303,"filename":"image_30012025_03_08_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/30/cdb22274edeacf23973273ccfa0d6554.jpg","text":"TemporaryFile(/tmp/multipartBody4086711041056541211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202973303,"filename":"image_30012025_03_07_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/30/72e7891a5c103fd2c5f0d36b40af86a3.jpg","text":"TemporaryFile(/tmp/multipartBody551312610907449666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202973303,"filename":"image_30012025_03_08_25_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/30/527f826d7124463b15d49d3c52fd30f3.jpg","text":"TemporaryFile(/tmp/multipartBody2303376031252217612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738202973303,"filename":"image_30012025_03_08_35_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332847796","file1":"1332847778","file0":"1332847772","file4":"1332847805","file3":"1332847802"},"map_files_photo_id_array":[{"photo_id":"1332847796","filename":"file2"},{"photo_id":"1332847805","filename":"file4"},{"photo_id":"1332847778","filename":"file1"},{"photo_id":"1332847772","filename":"file0"},{"photo_id":"1332847802","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332847796":["hashtag1","hashtag2"]},{"1332847778":["hashtag1","hashtag2"]},{"1332847772":["hashtag1","hashtag2"]},{"1332847802":["hashtag1","hashtag2"]},{"1332847805":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332847796, 1332847778, 1332847772, 1332847802, 1332847805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.34397649765015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:09:32.546522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/08/image_30012025_03_08_45_10523.jpg', '/home/pi/Desktop/images/30012025/03/08/image_30012025_03_09_05_9363.jpg', '/home/pi/Desktop/images/30012025/03/09/image_30012025_03_09_15_10422.jpg', '/home/pi/Desktop/images/30012025/03/09/image_30012025_03_09_25_9377.jpg', '/home/pi/Desktop/images/30012025/03/09/image_30012025_03_09_35_10463.jpg', '/home/pi/Desktop/images/30012025/03/09/image_30012025_03_09_45_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/08/image_30012025_03_08_45_10523.jpg
/home/pi/Desktop/images/30012025/03/08/image_30012025_03_09_05_9363.jpg
/home/pi/Desktop/images/30012025/03/09/image_30012025_03_09_15_10422.jpg
/home/pi/Desktop/images/30012025/03/09/image_30012025_03_09_25_9377.jpg
/home/pi/Desktop/images/30012025/03/09/image_30012025_03_09_35_10463.jpg
/home/pi/Desktop/images/30012025/03/09/image_30012025_03_09_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":["1332847840","1332847997","1332847841","1332847843","1332847837","1332847831"],"photo_ids_order":["1332847831","1332847837","1332847840","1332847841","1332847843","1332847997"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b7bb634d51ae1a0cf5e94e6de5ef774c.jpg","text":"TemporaryFile(/tmp/multipartBody8132728234375465550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203033489,"filename":"image_30012025_03_09_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/30/83909b2153b39900174bb4e298859330.jpg","text":"TemporaryFile(/tmp/multipartBody5426016135037246230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203033489,"filename":"image_30012025_03_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/30/ad9994cf8a16d5115081f0aa7df1864a.jpg","text":"TemporaryFile(/tmp/multipartBody408114262229287963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203033489,"filename":"image_30012025_03_09_25_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/19be84816411014ead53cf50fbf271ef.jpg","text":"TemporaryFile(/tmp/multipartBody149925609297342171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203033489,"filename":"image_30012025_03_09_35_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/30/bae1a90c352dd943251f728059f2868c.jpg","text":"TemporaryFile(/tmp/multipartBody8595893934160529522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203033489,"filename":"image_30012025_03_09_05_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/67faeb4025eb69f559880dad510f11ee.jpg","text":"TemporaryFile(/tmp/multipartBody5647275264314433230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203033489,"filename":"image_30012025_03_08_45_10523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332847840","file1":"1332847837","file0":"1332847831","file4":"1332847843","file5":"1332847997","file3":"1332847841"},"map_files_photo_id_array":[{"photo_id":"1332847997","filename":"file5"},{"photo_id":"1332847840","filename":"file2"},{"photo_id":"1332847843","filename":"file4"},{"photo_id":"1332847837","filename":"file1"},{"photo_id":"1332847831","filename":"file0"},{"photo_id":"1332847841","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332847840":["hashtag1","hashtag2"]},{"1332847997":["hashtag1","hashtag2"]},{"1332847841":["hashtag1","hashtag2"]},{"1332847843":["hashtag1","hashtag2"]},{"1332847837":["hashtag1","hashtag2"]},{"1332847831":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332847840, 1332847997, 1332847841, 1332847843, 1332847837, 1332847831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.47126340866089 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:10:32.883476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/09/image_30012025_03_09_55_9336.jpg', '/home/pi/Desktop/images/30012025/03/09/image_30012025_03_10_05_10383.jpg', '/home/pi/Desktop/images/30012025/03/10/image_30012025_03_10_14_9349.jpg', '/home/pi/Desktop/images/30012025/03/10/image_30012025_03_10_25_10433.jpg', '/home/pi/Desktop/images/30012025/03/10/image_30012025_03_10_45_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/09/image_30012025_03_09_55_9336.jpg
/home/pi/Desktop/images/30012025/03/09/image_30012025_03_10_05_10383.jpg
/home/pi/Desktop/images/30012025/03/10/image_30012025_03_10_14_9349.jpg
/home/pi/Desktop/images/30012025/03/10/image_30012025_03_10_25_10433.jpg
/home/pi/Desktop/images/30012025/03/10/image_30012025_03_10_45_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332848553","1332848540","1332848413","1332848521","1332848490"],"photo_ids_order":["1332848413","1332848490","1332848521","1332848540","1332848553"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bf3dbe754f71ea9460834080962be2c8.jpg","text":"TemporaryFile(/tmp/multipartBody4546283417751588337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203093770,"filename":"image_30012025_03_10_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/30/8ecc4dea619e0140d0f84d33aacd260a.jpg","text":"TemporaryFile(/tmp/multipartBody5998735304715518499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203093770,"filename":"image_30012025_03_10_25_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/30/680086f13f3fa774e7b923d453c1125b.jpg","text":"TemporaryFile(/tmp/multipartBody2899999244334269195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203093770,"filename":"image_30012025_03_09_55_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d6c1e1d0f90b1bf2677fc96935a18e6e.jpg","text":"TemporaryFile(/tmp/multipartBody8180822223705411672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203093770,"filename":"image_30012025_03_10_14_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/79c0df24158e664376c9abb0764369c7.jpg","text":"TemporaryFile(/tmp/multipartBody7870986847289937850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203093770,"filename":"image_30012025_03_10_05_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332848521","file1":"1332848490","file0":"1332848413","file4":"1332848553","file3":"1332848540"},"map_files_photo_id_array":[{"photo_id":"1332848521","filename":"file2"},{"photo_id":"1332848553","filename":"file4"},{"photo_id":"1332848490","filename":"file1"},{"photo_id":"1332848413","filename":"file0"},{"photo_id":"1332848540","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332848553":["hashtag1","hashtag2"]},{"1332848540":["hashtag1","hashtag2"]},{"1332848413":["hashtag1","hashtag2"]},{"1332848521":["hashtag1","hashtag2"]},{"1332848490":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332848553, 1332848540, 1332848413, 1332848521, 1332848490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 40.24594521522522 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:11:33.080460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/10/image_30012025_03_10_55_10471.jpg', '/home/pi/Desktop/images/30012025/03/10/image_30012025_03_11_05_9356.jpg', '/home/pi/Desktop/images/30012025/03/11/image_30012025_03_11_25_10451.jpg', '/home/pi/Desktop/images/30012025/03/11/image_30012025_03_11_35_9448.jpg', '/home/pi/Desktop/images/30012025/03/11/image_30012025_03_11_45_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/10/image_30012025_03_10_55_10471.jpg
/home/pi/Desktop/images/30012025/03/10/image_30012025_03_11_05_9356.jpg
/home/pi/Desktop/images/30012025/03/11/image_30012025_03_11_25_10451.jpg
/home/pi/Desktop/images/30012025/03/11/image_30012025_03_11_35_9448.jpg
/home/pi/Desktop/images/30012025/03/11/image_30012025_03_11_45_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":["1332848589","1332848594","1332848591","1332848585","1332848579"],"photo_ids_order":["1332848579","1332848585","1332848589","1332848591","1332848594"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0c25fef1ba01470ba5487621c19498c3.jpg","text":"TemporaryFile(/tmp/multipartBody8588031443895903642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203153978,"filename":"image_30012025_03_11_25_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/23a3ec5acdf6785bae7fe776609d541f.jpg","text":"TemporaryFile(/tmp/multipartBody2508680135796182588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203153978,"filename":"image_30012025_03_11_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/30/3230f08354ef07a506420beba3068bb6.jpg","text":"TemporaryFile(/tmp/multipartBody532639278911153120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203153978,"filename":"image_30012025_03_11_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/30/275ca3e9c760e1a4be069a4c83a324d1.jpg","text":"TemporaryFile(/tmp/multipartBody5886224898863126520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203153978,"filename":"image_30012025_03_11_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/30/33a6b2574231b4880ba28a619529be54.jpg","text":"TemporaryFile(/tmp/multipartBody1747303440686864474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203153978,"filename":"image_30012025_03_10_55_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332848589","file1":"1332848585","file0":"1332848579","file4":"1332848594","file3":"1332848591"},"map_files_photo_id_array":[{"photo_id":"1332848589","filename":"file2"},{"photo_id":"1332848594","filename":"file4"},{"photo_id":"1332848585","filename":"file1"},{"photo_id":"1332848579","filename":"file0"},{"photo_id":"1332848591","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332848589":["hashtag1","hashtag2"]},{"1332848594":["hashtag1","hashtag2"]},{"1332848591":["hashtag1","hashtag2"]},{"1332848585":["hashtag1","hashtag2"]},{"1332848579":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332848589, 1332848594, 1332848591, 1332848585, 1332848579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.3098680973053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:12:32.251613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/11/image_30012025_03_11_55_9376.jpg', '/home/pi/Desktop/images/30012025/03/11/image_30012025_03_12_05_10386.jpg', '/home/pi/Desktop/images/30012025/03/12/image_30012025_03_12_15_10368.jpg', '/home/pi/Desktop/images/30012025/03/12/image_30012025_03_12_25_9342.jpg', '/home/pi/Desktop/images/30012025/03/12/image_30012025_03_12_45_9422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/11/image_30012025_03_11_55_9376.jpg
/home/pi/Desktop/images/30012025/03/11/image_30012025_03_12_05_10386.jpg
/home/pi/Desktop/images/30012025/03/12/image_30012025_03_12_15_10368.jpg
/home/pi/Desktop/images/30012025/03/12/image_30012025_03_12_25_9342.jpg
/home/pi/Desktop/images/30012025/03/12/image_30012025_03_12_45_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: 0.507197380065918 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 03:12:42.190533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/11/image_30012025_03_11_55_9376.jpg', '/home/pi/Desktop/images/30012025/03/11/image_30012025_03_12_05_10386.jpg', '/home/pi/Desktop/images/30012025/03/12/image_30012025_03_12_15_10368.jpg', '/home/pi/Desktop/images/30012025/03/12/image_30012025_03_12_25_9342.jpg', '/home/pi/Desktop/images/30012025/03/12/image_30012025_03_12_45_9422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/11/image_30012025_03_11_55_9376.jpg
/home/pi/Desktop/images/30012025/03/11/image_30012025_03_12_05_10386.jpg
/home/pi/Desktop/images/30012025/03/12/image_30012025_03_12_15_10368.jpg
/home/pi/Desktop/images/30012025/03/12/image_30012025_03_12_25_9342.jpg
/home/pi/Desktop/images/30012025/03/12/image_30012025_03_12_45_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":["1332848772","1332848838","1332848861","1332848798","1332848858"],"photo_ids_order":["1332848772","1332848798","1332848838","1332848858","1332848861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1665cbb775eec03568676dc9459f3066.jpg","text":"TemporaryFile(/tmp/multipartBody889482919803326124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203223098,"filename":"image_30012025_03_11_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/30/9c5246ebdd28c8c6db56ffbc829037c4.jpg","text":"TemporaryFile(/tmp/multipartBody7521743810105441905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203223098,"filename":"image_30012025_03_12_15_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/30/4161e3705cee05fece165fe8a75c1625.jpg","text":"TemporaryFile(/tmp/multipartBody7989107480540070566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203223098,"filename":"image_30012025_03_12_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/30/78bd263a31d9db6d83291c50649ba9fb.jpg","text":"TemporaryFile(/tmp/multipartBody7013536484462204630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203223098,"filename":"image_30012025_03_12_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/30/04e7f8879471d85f535acea669ddc773.jpg","text":"TemporaryFile(/tmp/multipartBody8610573712385899384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203223098,"filename":"image_30012025_03_12_25_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332848838","file1":"1332848798","file0":"1332848772","file4":"1332848861","file3":"1332848858"},"map_files_photo_id_array":[{"photo_id":"1332848838","filename":"file2"},{"photo_id":"1332848861","filename":"file4"},{"photo_id":"1332848798","filename":"file1"},{"photo_id":"1332848772","filename":"file0"},{"photo_id":"1332848858","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332848772":["hashtag1","hashtag2"]},{"1332848838":["hashtag1","hashtag2"]},{"1332848861":["hashtag1","hashtag2"]},{"1332848798":["hashtag1","hashtag2"]},{"1332848858":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332848772, 1332848838, 1332848861, 1332848798, 1332848858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.960695028305054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:13:32.394754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/12/image_30012025_03_12_55_10453.jpg', '/home/pi/Desktop/images/30012025/03/12/image_30012025_03_13_04_9429.jpg', '/home/pi/Desktop/images/30012025/03/13/image_30012025_03_13_15_10426.jpg', '/home/pi/Desktop/images/30012025/03/13/image_30012025_03_13_25_10426.jpg', '/home/pi/Desktop/images/30012025/03/13/image_30012025_03_13_35_9380.jpg', '/home/pi/Desktop/images/30012025/03/13/image_30012025_03_13_45_10403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/12/image_30012025_03_12_55_10453.jpg
/home/pi/Desktop/images/30012025/03/12/image_30012025_03_13_04_9429.jpg
/home/pi/Desktop/images/30012025/03/13/image_30012025_03_13_15_10426.jpg
/home/pi/Desktop/images/30012025/03/13/image_30012025_03_13_25_10426.jpg
/home/pi/Desktop/images/30012025/03/13/image_30012025_03_13_35_9380.jpg
/home/pi/Desktop/images/30012025/03/13/image_30012025_03_13_45_10403.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.537968635559082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 03:13:42.329841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/12/image_30012025_03_12_55_10453.jpg', '/home/pi/Desktop/images/30012025/03/12/image_30012025_03_13_04_9429.jpg', '/home/pi/Desktop/images/30012025/03/13/image_30012025_03_13_15_10426.jpg', '/home/pi/Desktop/images/30012025/03/13/image_30012025_03_13_25_10426.jpg', '/home/pi/Desktop/images/30012025/03/13/image_30012025_03_13_35_9380.jpg', '/home/pi/Desktop/images/30012025/03/13/image_30012025_03_13_45_10403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/12/image_30012025_03_12_55_10453.jpg
/home/pi/Desktop/images/30012025/03/12/image_30012025_03_13_04_9429.jpg
/home/pi/Desktop/images/30012025/03/13/image_30012025_03_13_15_10426.jpg
/home/pi/Desktop/images/30012025/03/13/image_30012025_03_13_25_10426.jpg
/home/pi/Desktop/images/30012025/03/13/image_30012025_03_13_35_9380.jpg
/home/pi/Desktop/images/30012025/03/13/image_30012025_03_13_45_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":["1332848955","1332848949","1332848959","1332848962","1332848944","1332848938"],"photo_ids_order":["1332848938","1332848944","1332848949","1332848955","1332848959","1332848962"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/400fbb0ad665f8302add06e469e63e53.jpg","text":"TemporaryFile(/tmp/multipartBody4454573285925239464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203283247,"filename":"image_30012025_03_13_25_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/30/a731a032163ccf677e3c67f3d2e578ed.jpg","text":"TemporaryFile(/tmp/multipartBody6779382664647418871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203283247,"filename":"image_30012025_03_13_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/30/1e16674716049813d313686e91516129.jpg","text":"TemporaryFile(/tmp/multipartBody5966910907358898195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203283247,"filename":"image_30012025_03_13_35_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8e49e9d0083eb3fa4d30e5fd015a245f.jpg","text":"TemporaryFile(/tmp/multipartBody1956230329385500153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203283247,"filename":"image_30012025_03_13_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/30/7c8da87cab599e891ff06ebf751d6500.jpg","text":"TemporaryFile(/tmp/multipartBody274131298854769977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203283247,"filename":"image_30012025_03_13_04_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/247649843d50c30e0374f8e19332d348.jpg","text":"TemporaryFile(/tmp/multipartBody4690663873942432942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203283247,"filename":"image_30012025_03_12_55_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332848949","file1":"1332848944","file0":"1332848938","file4":"1332848959","file5":"1332848962","file3":"1332848955"},"map_files_photo_id_array":[{"photo_id":"1332848962","filename":"file5"},{"photo_id":"1332848949","filename":"file2"},{"photo_id":"1332848959","filename":"file4"},{"photo_id":"1332848944","filename":"file1"},{"photo_id":"1332848938","filename":"file0"},{"photo_id":"1332848955","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332848955":["hashtag1","hashtag2"]},{"1332848949":["hashtag1","hashtag2"]},{"1332848959":["hashtag1","hashtag2"]},{"1332848962":["hashtag1","hashtag2"]},{"1332848944":["hashtag1","hashtag2"]},{"1332848938":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332848955, 1332848949, 1332848959, 1332848962, 1332848944, 1332848938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.60021138191223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:14:32.569206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/13/image_30012025_03_13_55_10351.jpg', '/home/pi/Desktop/images/30012025/03/13/image_30012025_03_14_05_9361.jpg', '/home/pi/Desktop/images/30012025/03/14/image_30012025_03_14_15_10364.jpg', '/home/pi/Desktop/images/30012025/03/14/image_30012025_03_14_25_9396.jpg', '/home/pi/Desktop/images/30012025/03/14/image_30012025_03_14_35_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/13/image_30012025_03_13_55_10351.jpg
/home/pi/Desktop/images/30012025/03/13/image_30012025_03_14_05_9361.jpg
/home/pi/Desktop/images/30012025/03/14/image_30012025_03_14_15_10364.jpg
/home/pi/Desktop/images/30012025/03/14/image_30012025_03_14_25_9396.jpg
/home/pi/Desktop/images/30012025/03/14/image_30012025_03_14_35_10404.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5129222869873047 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 03:14:42.523130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/13/image_30012025_03_13_55_10351.jpg', '/home/pi/Desktop/images/30012025/03/13/image_30012025_03_14_05_9361.jpg', '/home/pi/Desktop/images/30012025/03/14/image_30012025_03_14_15_10364.jpg', '/home/pi/Desktop/images/30012025/03/14/image_30012025_03_14_25_9396.jpg', '/home/pi/Desktop/images/30012025/03/14/image_30012025_03_14_35_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/13/image_30012025_03_13_55_10351.jpg
/home/pi/Desktop/images/30012025/03/13/image_30012025_03_14_05_9361.jpg
/home/pi/Desktop/images/30012025/03/14/image_30012025_03_14_15_10364.jpg
/home/pi/Desktop/images/30012025/03/14/image_30012025_03_14_25_9396.jpg
/home/pi/Desktop/images/30012025/03/14/image_30012025_03_14_35_10404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332849009","1332849003","1332848999","1332848996","1332848992"],"photo_ids_order":["1332848992","1332848996","1332848999","1332849003","1332849009"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/58d5dd3d148b2f99a80b8b9baf3bb05e.jpg","text":"TemporaryFile(/tmp/multipartBody2560736300564479458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203343429,"filename":"image_30012025_03_14_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/30/64ef118bb76d1e187569cfef6060a1b2.jpg","text":"TemporaryFile(/tmp/multipartBody809328496226548351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203343429,"filename":"image_30012025_03_14_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/30/bfb3bff9f6026ec0bdd763a23229998d.jpg","text":"TemporaryFile(/tmp/multipartBody5260596416880696124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203343429,"filename":"image_30012025_03_14_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/30/8b7e74dd5702b016b0a9760867e2176a.jpg","text":"TemporaryFile(/tmp/multipartBody1540293592602530743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203343429,"filename":"image_30012025_03_14_05_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bc84a7cd4da23dcc0854e284046f173e.jpg","text":"TemporaryFile(/tmp/multipartBody5525181678609658779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203343429,"filename":"image_30012025_03_13_55_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332848999","file1":"1332848996","file0":"1332848992","file4":"1332849009","file3":"1332849003"},"map_files_photo_id_array":[{"photo_id":"1332848999","filename":"file2"},{"photo_id":"1332849009","filename":"file4"},{"photo_id":"1332848996","filename":"file1"},{"photo_id":"1332848992","filename":"file0"},{"photo_id":"1332849003","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332849009":["hashtag1","hashtag2"]},{"1332849003":["hashtag1","hashtag2"]},{"1332848999":["hashtag1","hashtag2"]},{"1332848996":["hashtag1","hashtag2"]},{"1332848992":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332849009, 1332849003, 1332848999, 1332848996, 1332848992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 39.988250494003296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:15:32.713531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/14/image_30012025_03_14_45_10401.jpg', '/home/pi/Desktop/images/30012025/03/14/image_30012025_03_15_05_10379.jpg', '/home/pi/Desktop/images/30012025/03/15/image_30012025_03_15_14_9339.jpg', '/home/pi/Desktop/images/30012025/03/15/image_30012025_03_15_25_10455.jpg', '/home/pi/Desktop/images/30012025/03/15/image_30012025_03_15_35_9654.jpg', '/home/pi/Desktop/images/30012025/03/15/image_30012025_03_15_45_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/14/image_30012025_03_14_45_10401.jpg
/home/pi/Desktop/images/30012025/03/14/image_30012025_03_15_05_10379.jpg
/home/pi/Desktop/images/30012025/03/15/image_30012025_03_15_14_9339.jpg
/home/pi/Desktop/images/30012025/03/15/image_30012025_03_15_25_10455.jpg
/home/pi/Desktop/images/30012025/03/15/image_30012025_03_15_35_9654.jpg
/home/pi/Desktop/images/30012025/03/15/image_30012025_03_15_45_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":["1332849054","1332849228","1332849029","1332849220","1332849136","1332849288"],"photo_ids_order":["1332849029","1332849054","1332849136","1332849220","1332849228","1332849288"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/aeca2cfca5271e713a7470ea6a7c2b66.jpg","text":"TemporaryFile(/tmp/multipartBody7461802421240540115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203393635,"filename":"image_30012025_03_15_05_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0e85713b40074be2eb9298a46377f97d.jpg","text":"TemporaryFile(/tmp/multipartBody6144778428884377125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203393635,"filename":"image_30012025_03_15_35_9654.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b28e123f2caf6a2d8a2860b0529370d4.jpg","text":"TemporaryFile(/tmp/multipartBody7809894666122326773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203393635,"filename":"image_30012025_03_14_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/30/4c13680730c44a9e4818dd539ddd0fc4.jpg","text":"TemporaryFile(/tmp/multipartBody5262752524469038976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203393635,"filename":"image_30012025_03_15_25_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/30/3b37383c1b36b8cf24968fc23af2652a.jpg","text":"TemporaryFile(/tmp/multipartBody5651134876336897054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203393635,"filename":"image_30012025_03_15_14_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cf8138e1c84205983af08c3274602dde.jpg","text":"TemporaryFile(/tmp/multipartBody8985196497154298531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203393635,"filename":"image_30012025_03_15_45_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332849136","file1":"1332849054","file0":"1332849029","file4":"1332849228","file5":"1332849288","file3":"1332849220"},"map_files_photo_id_array":[{"photo_id":"1332849288","filename":"file5"},{"photo_id":"1332849136","filename":"file2"},{"photo_id":"1332849228","filename":"file4"},{"photo_id":"1332849054","filename":"file1"},{"photo_id":"1332849029","filename":"file0"},{"photo_id":"1332849220","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332849054":["hashtag1","hashtag2"]},{"1332849228":["hashtag1","hashtag2"]},{"1332849029":["hashtag1","hashtag2"]},{"1332849220":["hashtag1","hashtag2"]},{"1332849136":["hashtag1","hashtag2"]},{"1332849288":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332849054, 1332849228, 1332849029, 1332849220, 1332849136, 1332849288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.77432584762573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:16:33.073785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/15/image_30012025_03_15_54_9507.jpg', '/home/pi/Desktop/images/30012025/03/15/image_30012025_03_16_05_10393.jpg', '/home/pi/Desktop/images/30012025/03/16/image_30012025_03_16_15_10388.jpg', '/home/pi/Desktop/images/30012025/03/16/image_30012025_03_16_44_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/15/image_30012025_03_15_54_9507.jpg
/home/pi/Desktop/images/30012025/03/15/image_30012025_03_16_05_10393.jpg
/home/pi/Desktop/images/30012025/03/16/image_30012025_03_16_15_10388.jpg
/home/pi/Desktop/images/30012025/03/16/image_30012025_03_16_44_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332849482","1332849473","1332849478","1332849468"],"photo_ids_order":["1332849468","1332849473","1332849478","1332849482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/77b8295a63b425443a83f870084661b9.jpg","text":"TemporaryFile(/tmp/multipartBody3413552946017584964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203453943,"filename":"image_30012025_03_16_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/30/11ed3f0b8767676ea74bc54ee45a42ba.jpg","text":"TemporaryFile(/tmp/multipartBody2693679758248198659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203453943,"filename":"image_30012025_03_16_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/30/6fbf2ee64ce486a3a213a9b7a2e5c195.jpg","text":"TemporaryFile(/tmp/multipartBody1542004295757868697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203453943,"filename":"image_30012025_03_16_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/30/a7c07ec7753afb72b4685b5e13cfea77.jpg","text":"TemporaryFile(/tmp/multipartBody7778946069111850012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203453943,"filename":"image_30012025_03_15_54_9507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332849478","file1":"1332849473","file0":"1332849468","file3":"1332849482"},"map_files_photo_id_array":[{"photo_id":"1332849478","filename":"file2"},{"photo_id":"1332849473","filename":"file1"},{"photo_id":"1332849468","filename":"file0"},{"photo_id":"1332849482","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332849482":["hashtag1","hashtag2"]},{"1332849473":["hashtag1","hashtag2"]},{"1332849478":["hashtag1","hashtag2"]},{"1332849468":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332849482, 1332849473, 1332849478, 1332849468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.150015115737915 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-30 03:17:33.165212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/16/image_30012025_03_16_55_10359.jpg', '/home/pi/Desktop/images/30012025/03/16/image_30012025_03_17_05_10431.jpg', '/home/pi/Desktop/images/30012025/03/17/image_30012025_03_17_15_9348.jpg', '/home/pi/Desktop/images/30012025/03/17/image_30012025_03_17_25_10517.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/16/image_30012025_03_16_55_10359.jpg
/home/pi/Desktop/images/30012025/03/16/image_30012025_03_17_05_10431.jpg
/home/pi/Desktop/images/30012025/03/17/image_30012025_03_17_15_9348.jpg
/home/pi/Desktop/images/30012025/03/17/image_30012025_03_17_25_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":["1332849516","1332849512","1332849503","1332849508"],"photo_ids_order":["1332849503","1332849508","1332849512","1332849516"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f25d50f8e98f13a0ce06f6ea002fe2c2.jpg","text":"TemporaryFile(/tmp/multipartBody2043764783059186018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203514047,"filename":"image_30012025_03_17_25_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/30/d5bd3557c7dcb28a94999f02364fbeaf.jpg","text":"TemporaryFile(/tmp/multipartBody8048066179259104196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203514047,"filename":"image_30012025_03_17_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/30/8848f97fbc7f5ed6f45452e0046f29d9.jpg","text":"TemporaryFile(/tmp/multipartBody2741175951757863699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203514047,"filename":"image_30012025_03_16_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/30/431a483685667c93356eb1acb1b0ee92.jpg","text":"TemporaryFile(/tmp/multipartBody1543851696487822711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203514047,"filename":"image_30012025_03_17_05_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332849512","file1":"1332849508","file0":"1332849503","file3":"1332849516"},"map_files_photo_id_array":[{"photo_id":"1332849512","filename":"file2"},{"photo_id":"1332849508","filename":"file1"},{"photo_id":"1332849503","filename":"file0"},{"photo_id":"1332849516","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332849516":["hashtag1","hashtag2"]},{"1332849512":["hashtag1","hashtag2"]},{"1332849503":["hashtag1","hashtag2"]},{"1332849508":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332849516, 1332849512, 1332849503, 1332849508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.258538007736206 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-30 03:18:32.323885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/17/image_30012025_03_17_34_9374.jpg', '/home/pi/Desktop/images/30012025/03/18/image_30012025_03_18_15_10341.jpg', '/home/pi/Desktop/images/30012025/03/18/image_30012025_03_18_24_9350.jpg', '/home/pi/Desktop/images/30012025/03/18/image_30012025_03_18_35_10364.jpg', '/home/pi/Desktop/images/30012025/03/18/image_30012025_03_18_45_10434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/17/image_30012025_03_17_34_9374.jpg
/home/pi/Desktop/images/30012025/03/18/image_30012025_03_18_15_10341.jpg
/home/pi/Desktop/images/30012025/03/18/image_30012025_03_18_24_9350.jpg
/home/pi/Desktop/images/30012025/03/18/image_30012025_03_18_35_10364.jpg
/home/pi/Desktop/images/30012025/03/18/image_30012025_03_18_45_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":["1332849545","1332849554","1332849541","1332849559","1332849549"],"photo_ids_order":["1332849541","1332849545","1332849549","1332849554","1332849559"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9fe09a39b88cfc0d2274f6d16e79b163.jpg","text":"TemporaryFile(/tmp/multipartBody1092278892052158173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203573222,"filename":"image_30012025_03_18_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/30/748619235c0a7a6dbbc102c7674486ee.jpg","text":"TemporaryFile(/tmp/multipartBody4776075267025977334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203573222,"filename":"image_30012025_03_18_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/72cef49a57d146f136d76f79b2fd946b.jpg","text":"TemporaryFile(/tmp/multipartBody8858112590120658332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203573222,"filename":"image_30012025_03_17_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/30/cfdc504dfa0e00c8cfe962bc0d41c8d7.jpg","text":"TemporaryFile(/tmp/multipartBody9014665288884519960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203573222,"filename":"image_30012025_03_18_45_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/30/1908f8c3b1ad76a5d9b96cbdcb866b7d.jpg","text":"TemporaryFile(/tmp/multipartBody8508738341138784429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203573222,"filename":"image_30012025_03_18_24_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332849549","file1":"1332849545","file0":"1332849541","file4":"1332849559","file3":"1332849554"},"map_files_photo_id_array":[{"photo_id":"1332849549","filename":"file2"},{"photo_id":"1332849559","filename":"file4"},{"photo_id":"1332849545","filename":"file1"},{"photo_id":"1332849541","filename":"file0"},{"photo_id":"1332849554","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332849545":["hashtag1","hashtag2"]},{"1332849554":["hashtag1","hashtag2"]},{"1332849541":["hashtag1","hashtag2"]},{"1332849559":["hashtag1","hashtag2"]},{"1332849549":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332849545, 1332849554, 1332849541, 1332849559, 1332849549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.08556818962097 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:19:32.632011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/18/image_30012025_03_18_55_9410.jpg', '/home/pi/Desktop/images/30012025/03/19/image_30012025_03_19_14_9404.jpg', '/home/pi/Desktop/images/30012025/03/19/image_30012025_03_19_25_10390.jpg', '/home/pi/Desktop/images/30012025/03/19/image_30012025_03_19_35_10441.jpg', '/home/pi/Desktop/images/30012025/03/19/image_30012025_03_19_45_9365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/18/image_30012025_03_18_55_9410.jpg
/home/pi/Desktop/images/30012025/03/19/image_30012025_03_19_14_9404.jpg
/home/pi/Desktop/images/30012025/03/19/image_30012025_03_19_25_10390.jpg
/home/pi/Desktop/images/30012025/03/19/image_30012025_03_19_35_10441.jpg
/home/pi/Desktop/images/30012025/03/19/image_30012025_03_19_45_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":["1332849599","1332849590","1332849595","1332849597","1332849585"],"photo_ids_order":["1332849585","1332849590","1332849595","1332849597","1332849599"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a622c643e70c9173719724c0c086a663.jpg","text":"TemporaryFile(/tmp/multipartBody7464696916243641890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203633543,"filename":"image_30012025_03_19_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/30/58495cdc6159525f780232ee78b409dd.jpg","text":"TemporaryFile(/tmp/multipartBody4129152380395608338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203633543,"filename":"image_30012025_03_19_14_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7ee7422e97d177221d5efacf7b7077a2.jpg","text":"TemporaryFile(/tmp/multipartBody3677543338481853819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203633543,"filename":"image_30012025_03_19_25_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9d3e0d47690a4dbcf0202287233ac358.jpg","text":"TemporaryFile(/tmp/multipartBody5522149230157371707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203633543,"filename":"image_30012025_03_19_35_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/30/901036dbcefbb769728b9b84ce828c8c.jpg","text":"TemporaryFile(/tmp/multipartBody7415421400017778849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203633543,"filename":"image_30012025_03_18_55_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332849595","file1":"1332849590","file0":"1332849585","file4":"1332849599","file3":"1332849597"},"map_files_photo_id_array":[{"photo_id":"1332849595","filename":"file2"},{"photo_id":"1332849599","filename":"file4"},{"photo_id":"1332849590","filename":"file1"},{"photo_id":"1332849585","filename":"file0"},{"photo_id":"1332849597","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332849599":["hashtag1","hashtag2"]},{"1332849590":["hashtag1","hashtag2"]},{"1332849595":["hashtag1","hashtag2"]},{"1332849597":["hashtag1","hashtag2"]},{"1332849585":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332849599, 1332849590, 1332849595, 1332849597, 1332849585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.07804322242737 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:20:32.711532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/19/image_30012025_03_19_55_10394.jpg', '/home/pi/Desktop/images/30012025/03/19/image_30012025_03_20_04_9362.jpg', '/home/pi/Desktop/images/30012025/03/20/image_30012025_03_20_15_10372.jpg', '/home/pi/Desktop/images/30012025/03/20/image_30012025_03_20_25_10468.jpg', '/home/pi/Desktop/images/30012025/03/20/image_30012025_03_20_35_9347.jpg', '/home/pi/Desktop/images/30012025/03/20/image_30012025_03_20_45_10427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/19/image_30012025_03_19_55_10394.jpg
/home/pi/Desktop/images/30012025/03/19/image_30012025_03_20_04_9362.jpg
/home/pi/Desktop/images/30012025/03/20/image_30012025_03_20_15_10372.jpg
/home/pi/Desktop/images/30012025/03/20/image_30012025_03_20_25_10468.jpg
/home/pi/Desktop/images/30012025/03/20/image_30012025_03_20_35_9347.jpg
/home/pi/Desktop/images/30012025/03/20/image_30012025_03_20_45_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":["1332849920","1332850154","1332850334","1332850019","1332850273","1332849873"],"photo_ids_order":["1332849873","1332849920","1332850019","1332850154","1332850273","1332850334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cddc91924b12be0c8daaa7f4083fa8c4.jpg","text":"TemporaryFile(/tmp/multipartBody3514646163542385336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203693648,"filename":"image_30012025_03_20_04_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/30/d235f460b34214a7cafbeb13d3615ba7.jpg","text":"TemporaryFile(/tmp/multipartBody1837910761865245955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203693648,"filename":"image_30012025_03_20_25_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/30/063336df01e99ed8169c7c3ff95866ff.jpg","text":"TemporaryFile(/tmp/multipartBody2857508315603237454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203693648,"filename":"image_30012025_03_20_45_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3c8ba2e8d7bc67782ccf823b64868b58.jpg","text":"TemporaryFile(/tmp/multipartBody3660360580573590260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203693648,"filename":"image_30012025_03_20_15_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/30/155115af6f7890637299d4dc9ebe279b.jpg","text":"TemporaryFile(/tmp/multipartBody1565156553725945379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203693648,"filename":"image_30012025_03_20_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/30/a9b28b6a6a14883b34d0638f3ac14950.jpg","text":"TemporaryFile(/tmp/multipartBody609290726628726240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203693648,"filename":"image_30012025_03_19_55_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332850019","file1":"1332849920","file0":"1332849873","file4":"1332850273","file5":"1332850334","file3":"1332850154"},"map_files_photo_id_array":[{"photo_id":"1332850334","filename":"file5"},{"photo_id":"1332850019","filename":"file2"},{"photo_id":"1332850273","filename":"file4"},{"photo_id":"1332849920","filename":"file1"},{"photo_id":"1332849873","filename":"file0"},{"photo_id":"1332850154","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332849920":["hashtag1","hashtag2"]},{"1332850154":["hashtag1","hashtag2"]},{"1332850334":["hashtag1","hashtag2"]},{"1332850019":["hashtag1","hashtag2"]},{"1332850273":["hashtag1","hashtag2"]},{"1332849873":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332849920, 1332850154, 1332850334, 1332850019, 1332850273, 1332849873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.11232280731201 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:21:32.917166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/20/image_30012025_03_20_55_10356.jpg', '/home/pi/Desktop/images/30012025/03/20/image_30012025_03_21_05_9342.jpg', '/home/pi/Desktop/images/30012025/03/21/image_30012025_03_21_15_10347.jpg', '/home/pi/Desktop/images/30012025/03/21/image_30012025_03_21_24_9372.jpg', '/home/pi/Desktop/images/30012025/03/21/image_30012025_03_21_35_10374.jpg', '/home/pi/Desktop/images/30012025/03/21/image_30012025_03_21_45_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/20/image_30012025_03_20_55_10356.jpg
/home/pi/Desktop/images/30012025/03/20/image_30012025_03_21_05_9342.jpg
/home/pi/Desktop/images/30012025/03/21/image_30012025_03_21_15_10347.jpg
/home/pi/Desktop/images/30012025/03/21/image_30012025_03_21_24_9372.jpg
/home/pi/Desktop/images/30012025/03/21/image_30012025_03_21_35_10374.jpg
/home/pi/Desktop/images/30012025/03/21/image_30012025_03_21_45_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":["1332850431","1332850419","1332850424","1332850415","1332850435","1332850411"],"photo_ids_order":["1332850411","1332850415","1332850419","1332850424","1332850431","1332850435"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e353eb82de4d765d8a1434c437fadc81.jpg","text":"TemporaryFile(/tmp/multipartBody6451375884160719059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203753843,"filename":"image_30012025_03_21_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/30/15a802048c10082f2cafe4733b761178.jpg","text":"TemporaryFile(/tmp/multipartBody2945817000525855668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203753843,"filename":"image_30012025_03_21_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/30/da58d18c6be0dbd22c9daae1d0b2c5c8.jpg","text":"TemporaryFile(/tmp/multipartBody2035144655011414015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203753843,"filename":"image_30012025_03_21_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/30/2ac67e0d2ab12da500d4e048dc0fc19a.jpg","text":"TemporaryFile(/tmp/multipartBody4342616135567755632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203753843,"filename":"image_30012025_03_21_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/30/a81625aea61729894e8cd72cdf79057b.jpg","text":"TemporaryFile(/tmp/multipartBody8752955905780641730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203753843,"filename":"image_30012025_03_21_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/30/936a289f28329bfd7b44bbff715168ae.jpg","text":"TemporaryFile(/tmp/multipartBody6703286162094876100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203753843,"filename":"image_30012025_03_20_55_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332850419","file1":"1332850415","file0":"1332850411","file4":"1332850431","file5":"1332850435","file3":"1332850424"},"map_files_photo_id_array":[{"photo_id":"1332850435","filename":"file5"},{"photo_id":"1332850419","filename":"file2"},{"photo_id":"1332850431","filename":"file4"},{"photo_id":"1332850415","filename":"file1"},{"photo_id":"1332850411","filename":"file0"},{"photo_id":"1332850424","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332850431":["hashtag1","hashtag2"]},{"1332850419":["hashtag1","hashtag2"]},{"1332850424":["hashtag1","hashtag2"]},{"1332850415":["hashtag1","hashtag2"]},{"1332850435":["hashtag1","hashtag2"]},{"1332850411":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332850431, 1332850419, 1332850424, 1332850415, 1332850435, 1332850411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.53409767150879 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:22:33.176031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/21/image_30012025_03_21_55_9427.jpg', '/home/pi/Desktop/images/30012025/03/21/image_30012025_03_22_05_10450.jpg', '/home/pi/Desktop/images/30012025/03/22/image_30012025_03_22_14_9364.jpg', '/home/pi/Desktop/images/30012025/03/22/image_30012025_03_22_25_10356.jpg', '/home/pi/Desktop/images/30012025/03/22/image_30012025_03_22_35_10382.jpg', '/home/pi/Desktop/images/30012025/03/22/image_30012025_03_22_45_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/21/image_30012025_03_21_55_9427.jpg
/home/pi/Desktop/images/30012025/03/21/image_30012025_03_22_05_10450.jpg
/home/pi/Desktop/images/30012025/03/22/image_30012025_03_22_14_9364.jpg
/home/pi/Desktop/images/30012025/03/22/image_30012025_03_22_25_10356.jpg
/home/pi/Desktop/images/30012025/03/22/image_30012025_03_22_35_10382.jpg
/home/pi/Desktop/images/30012025/03/22/image_30012025_03_22_45_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":["1332850557","1332850464","1332850551","1332850480","1332850477","1332850456"],"photo_ids_order":["1332850456","1332850464","1332850477","1332850480","1332850551","1332850557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2770f413f6daac23a766b0ebde9fcb5b.jpg","text":"TemporaryFile(/tmp/multipartBody6884084901908774486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203814098,"filename":"image_30012025_03_22_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/30/cadbdea37bea3c150c12930640e9b767.jpg","text":"TemporaryFile(/tmp/multipartBody8094111914190227602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203814098,"filename":"image_30012025_03_22_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/30/12c8d3a6c978e640aeb6d22d0d1bb8b2.jpg","text":"TemporaryFile(/tmp/multipartBody792130218243567732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203814098,"filename":"image_30012025_03_22_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/30/ad65c1af0bedbb03fad7dfec0501f6f7.jpg","text":"TemporaryFile(/tmp/multipartBody3595060897549689259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203814098,"filename":"image_30012025_03_22_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/30/00fb6e50e9092036d6285a3aba3a78bf.jpg","text":"TemporaryFile(/tmp/multipartBody8187292750552953151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203814098,"filename":"image_30012025_03_22_14_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/30/de933318d09b8e9073bfff2aed4f95ff.jpg","text":"TemporaryFile(/tmp/multipartBody447445219293321861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203814098,"filename":"image_30012025_03_21_55_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332850477","file1":"1332850464","file0":"1332850456","file4":"1332850551","file5":"1332850557","file3":"1332850480"},"map_files_photo_id_array":[{"photo_id":"1332850557","filename":"file5"},{"photo_id":"1332850477","filename":"file2"},{"photo_id":"1332850551","filename":"file4"},{"photo_id":"1332850464","filename":"file1"},{"photo_id":"1332850456","filename":"file0"},{"photo_id":"1332850480","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332850557":["hashtag1","hashtag2"]},{"1332850464":["hashtag1","hashtag2"]},{"1332850551":["hashtag1","hashtag2"]},{"1332850480":["hashtag1","hashtag2"]},{"1332850477":["hashtag1","hashtag2"]},{"1332850456":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332850557, 1332850464, 1332850551, 1332850480, 1332850477, 1332850456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.73140597343445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:23:32.312785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/22/image_30012025_03_22_55_10353.jpg', '/home/pi/Desktop/images/30012025/03/22/image_30012025_03_23_05_10447.jpg', '/home/pi/Desktop/images/30012025/03/23/image_30012025_03_23_15_9381.jpg', '/home/pi/Desktop/images/30012025/03/23/image_30012025_03_23_25_10383.jpg', '/home/pi/Desktop/images/30012025/03/23/image_30012025_03_23_34_9354.jpg', '/home/pi/Desktop/images/30012025/03/23/image_30012025_03_23_45_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/22/image_30012025_03_22_55_10353.jpg
/home/pi/Desktop/images/30012025/03/22/image_30012025_03_23_05_10447.jpg
/home/pi/Desktop/images/30012025/03/23/image_30012025_03_23_15_9381.jpg
/home/pi/Desktop/images/30012025/03/23/image_30012025_03_23_25_10383.jpg
/home/pi/Desktop/images/30012025/03/23/image_30012025_03_23_34_9354.jpg
/home/pi/Desktop/images/30012025/03/23/image_30012025_03_23_45_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":["1332850710","1332850733","1332850715","1332850739","1332850727","1332850720"],"photo_ids_order":["1332850710","1332850715","1332850720","1332850727","1332850733","1332850739"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0cbf54d40cf9562b6a36193c4c21001b.jpg","text":"TemporaryFile(/tmp/multipartBody7407137526527904201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203873228,"filename":"image_30012025_03_22_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/30/89fe00185f056eb6ecf4f3d414256915.jpg","text":"TemporaryFile(/tmp/multipartBody1489170704994429150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203873228,"filename":"image_30012025_03_23_34_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/30/7521ad3c0615acf749710f408972cd59.jpg","text":"TemporaryFile(/tmp/multipartBody6796300424346198049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203873228,"filename":"image_30012025_03_23_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/30/8c0b45d43570f8bcda59846b2e3d5135.jpg","text":"TemporaryFile(/tmp/multipartBody7978162760015530325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203873228,"filename":"image_30012025_03_23_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/30/2fa517a5a060527de4667bd8478a47cb.jpg","text":"TemporaryFile(/tmp/multipartBody7134853204965124937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203873228,"filename":"image_30012025_03_23_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/30/eae36c684aba8d1a70fec3c26b0bc1ac.jpg","text":"TemporaryFile(/tmp/multipartBody424963066554081742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203873228,"filename":"image_30012025_03_23_15_9381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332850720","file1":"1332850715","file0":"1332850710","file4":"1332850733","file5":"1332850739","file3":"1332850727"},"map_files_photo_id_array":[{"photo_id":"1332850739","filename":"file5"},{"photo_id":"1332850720","filename":"file2"},{"photo_id":"1332850733","filename":"file4"},{"photo_id":"1332850715","filename":"file1"},{"photo_id":"1332850710","filename":"file0"},{"photo_id":"1332850727","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332850710":["hashtag1","hashtag2"]},{"1332850733":["hashtag1","hashtag2"]},{"1332850715":["hashtag1","hashtag2"]},{"1332850739":["hashtag1","hashtag2"]},{"1332850727":["hashtag1","hashtag2"]},{"1332850720":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332850710, 1332850733, 1332850715, 1332850739, 1332850727, 1332850720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.43404269218445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:24:32.446284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/23/image_30012025_03_23_55_10409.jpg', '/home/pi/Desktop/images/30012025/03/23/image_30012025_03_24_05_9342.jpg', '/home/pi/Desktop/images/30012025/03/24/image_30012025_03_24_15_10442.jpg', '/home/pi/Desktop/images/30012025/03/24/image_30012025_03_24_25_10370.jpg', '/home/pi/Desktop/images/30012025/03/24/image_30012025_03_24_35_9345.jpg', '/home/pi/Desktop/images/30012025/03/24/image_30012025_03_24_45_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/23/image_30012025_03_23_55_10409.jpg
/home/pi/Desktop/images/30012025/03/23/image_30012025_03_24_05_9342.jpg
/home/pi/Desktop/images/30012025/03/24/image_30012025_03_24_15_10442.jpg
/home/pi/Desktop/images/30012025/03/24/image_30012025_03_24_25_10370.jpg
/home/pi/Desktop/images/30012025/03/24/image_30012025_03_24_35_9345.jpg
/home/pi/Desktop/images/30012025/03/24/image_30012025_03_24_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":["1332850797","1332850784","1332850778","1332850795","1332850801","1332850785"],"photo_ids_order":["1332850778","1332850784","1332850785","1332850795","1332850797","1332850801"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1f39433f6bf68b11c48bf56defc6071e.jpg","text":"TemporaryFile(/tmp/multipartBody4783958984512727814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203933357,"filename":"image_30012025_03_24_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/30/9f68c839a5abea3160093068c6107618.jpg","text":"TemporaryFile(/tmp/multipartBody796291588523420684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203933357,"filename":"image_30012025_03_24_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/30/162d0b765d729c1d60f094b6fccc1d0f.jpg","text":"TemporaryFile(/tmp/multipartBody4856847628472936562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203933357,"filename":"image_30012025_03_23_55_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ed35ad7701be24b2ae0f02ebc7dbfe4a.jpg","text":"TemporaryFile(/tmp/multipartBody9023193277950200111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203933357,"filename":"image_30012025_03_24_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/30/4179c5992652b988386cf1f247901092.jpg","text":"TemporaryFile(/tmp/multipartBody7667614543321748237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203933357,"filename":"image_30012025_03_24_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/30/9ecc48b7606e6242987d747874d1068c.jpg","text":"TemporaryFile(/tmp/multipartBody4608984713103721675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203933357,"filename":"image_30012025_03_24_15_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332850785","file1":"1332850784","file0":"1332850778","file4":"1332850797","file5":"1332850801","file3":"1332850795"},"map_files_photo_id_array":[{"photo_id":"1332850801","filename":"file5"},{"photo_id":"1332850785","filename":"file2"},{"photo_id":"1332850797","filename":"file4"},{"photo_id":"1332850784","filename":"file1"},{"photo_id":"1332850778","filename":"file0"},{"photo_id":"1332850795","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332850797":["hashtag1","hashtag2"]},{"1332850784":["hashtag1","hashtag2"]},{"1332850778":["hashtag1","hashtag2"]},{"1332850795":["hashtag1","hashtag2"]},{"1332850801":["hashtag1","hashtag2"]},{"1332850785":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332850797, 1332850784, 1332850778, 1332850795, 1332850801, 1332850785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.14500641822815 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:25:32.823490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/24/image_30012025_03_24_54_9348.jpg', '/home/pi/Desktop/images/30012025/03/24/image_30012025_03_25_05_10436.jpg', '/home/pi/Desktop/images/30012025/03/25/image_30012025_03_25_15_10453.jpg', '/home/pi/Desktop/images/30012025/03/25/image_30012025_03_25_25_9351.jpg', '/home/pi/Desktop/images/30012025/03/25/image_30012025_03_25_35_10406.jpg', '/home/pi/Desktop/images/30012025/03/25/image_30012025_03_25_44_9362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/24/image_30012025_03_24_54_9348.jpg
/home/pi/Desktop/images/30012025/03/24/image_30012025_03_25_05_10436.jpg
/home/pi/Desktop/images/30012025/03/25/image_30012025_03_25_15_10453.jpg
/home/pi/Desktop/images/30012025/03/25/image_30012025_03_25_25_9351.jpg
/home/pi/Desktop/images/30012025/03/25/image_30012025_03_25_35_10406.jpg
/home/pi/Desktop/images/30012025/03/25/image_30012025_03_25_44_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":["1332850830","1332850824","1332850832","1332850826","1332850835","1332850837"],"photo_ids_order":["1332850824","1332850826","1332850830","1332850832","1332850835","1332850837"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9ef5a7253748873062d49aaa1245252d.jpg","text":"TemporaryFile(/tmp/multipartBody7464259037261275091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203993767,"filename":"image_30012025_03_25_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/30/a697fbb5253b9dc9e4cc939d2bcb42ba.jpg","text":"TemporaryFile(/tmp/multipartBody1666981934448765898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203993767,"filename":"image_30012025_03_24_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/30/fbea4edbb7ca021f84b1b04637b068d0.jpg","text":"TemporaryFile(/tmp/multipartBody5623241054307302547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203993767,"filename":"image_30012025_03_25_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/30/35f6ce02e7667b9315ac11e8237c25a0.jpg","text":"TemporaryFile(/tmp/multipartBody8598655152032650768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203993767,"filename":"image_30012025_03_25_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/30/d6729979101b799443ac2740bc691ced.jpg","text":"TemporaryFile(/tmp/multipartBody2050700753199294151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203993767,"filename":"image_30012025_03_25_35_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/30/06a3c01e47579a5e239e509a5929620b.jpg","text":"TemporaryFile(/tmp/multipartBody1043792119813555156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738203993767,"filename":"image_30012025_03_25_44_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332850830","file1":"1332850826","file0":"1332850824","file4":"1332850835","file5":"1332850837","file3":"1332850832"},"map_files_photo_id_array":[{"photo_id":"1332850837","filename":"file5"},{"photo_id":"1332850830","filename":"file2"},{"photo_id":"1332850835","filename":"file4"},{"photo_id":"1332850826","filename":"file1"},{"photo_id":"1332850824","filename":"file0"},{"photo_id":"1332850832","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332850830":["hashtag1","hashtag2"]},{"1332850824":["hashtag1","hashtag2"]},{"1332850832":["hashtag1","hashtag2"]},{"1332850826":["hashtag1","hashtag2"]},{"1332850835":["hashtag1","hashtag2"]},{"1332850837":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332850830, 1332850824, 1332850832, 1332850826, 1332850835, 1332850837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.435908794403076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:26:33.051022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/25/image_30012025_03_25_55_10366.jpg', '/home/pi/Desktop/images/30012025/03/25/image_30012025_03_26_05_10359.jpg', '/home/pi/Desktop/images/30012025/03/26/image_30012025_03_26_15_9373.jpg', '/home/pi/Desktop/images/30012025/03/26/image_30012025_03_26_25_10526.jpg', '/home/pi/Desktop/images/30012025/03/26/image_30012025_03_26_35_9428.jpg', '/home/pi/Desktop/images/30012025/03/26/image_30012025_03_26_45_10449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/25/image_30012025_03_25_55_10366.jpg
/home/pi/Desktop/images/30012025/03/25/image_30012025_03_26_05_10359.jpg
/home/pi/Desktop/images/30012025/03/26/image_30012025_03_26_15_9373.jpg
/home/pi/Desktop/images/30012025/03/26/image_30012025_03_26_25_10526.jpg
/home/pi/Desktop/images/30012025/03/26/image_30012025_03_26_35_9428.jpg
/home/pi/Desktop/images/30012025/03/26/image_30012025_03_26_45_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":["1332850875","1332850869","1332850861","1332850864","1332850872","1332850866"],"photo_ids_order":["1332850861","1332850864","1332850866","1332850869","1332850872","1332850875"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2e16cf8c91b91507de1855ee4186ee0b.jpg","text":"TemporaryFile(/tmp/multipartBody2569486309967456852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204053960,"filename":"image_30012025_03_26_45_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/30/fbee0bc6b8149d94da9522a6ca6bef86.jpg","text":"TemporaryFile(/tmp/multipartBody1943855358208992602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204053960,"filename":"image_30012025_03_26_25_10526.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9ed8dfd0ae0c2368f4c1c86bb523535f.jpg","text":"TemporaryFile(/tmp/multipartBody8214427723564524160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204053960,"filename":"image_30012025_03_25_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/30/1c650dd861f1699025f1a811cf2467f5.jpg","text":"TemporaryFile(/tmp/multipartBody9056064307714820958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204053960,"filename":"image_30012025_03_26_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/30/98e671693d085df9c082dd9ca78d7b75.jpg","text":"TemporaryFile(/tmp/multipartBody3236394753946484361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204053960,"filename":"image_30012025_03_26_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/30/cbe678a08956ac5c2b324edfe7d47322.jpg","text":"TemporaryFile(/tmp/multipartBody6305797824071586781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204053960,"filename":"image_30012025_03_26_15_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332850866","file1":"1332850864","file0":"1332850861","file4":"1332850872","file5":"1332850875","file3":"1332850869"},"map_files_photo_id_array":[{"photo_id":"1332850875","filename":"file5"},{"photo_id":"1332850866","filename":"file2"},{"photo_id":"1332850872","filename":"file4"},{"photo_id":"1332850864","filename":"file1"},{"photo_id":"1332850861","filename":"file0"},{"photo_id":"1332850869","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332850875":["hashtag1","hashtag2"]},{"1332850869":["hashtag1","hashtag2"]},{"1332850861":["hashtag1","hashtag2"]},{"1332850864":["hashtag1","hashtag2"]},{"1332850872":["hashtag1","hashtag2"]},{"1332850866":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332850875, 1332850869, 1332850861, 1332850864, 1332850872, 1332850866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.02358555793762 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:27:32.257341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/26/image_30012025_03_26_55_10377.jpg', '/home/pi/Desktop/images/30012025/03/26/image_30012025_03_27_05_9340.jpg', '/home/pi/Desktop/images/30012025/03/27/image_30012025_03_27_15_10538.jpg', '/home/pi/Desktop/images/30012025/03/27/image_30012025_03_27_25_9419.jpg', '/home/pi/Desktop/images/30012025/03/27/image_30012025_03_27_35_10412.jpg', '/home/pi/Desktop/images/30012025/03/27/image_30012025_03_27_45_10384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/26/image_30012025_03_26_55_10377.jpg
/home/pi/Desktop/images/30012025/03/26/image_30012025_03_27_05_9340.jpg
/home/pi/Desktop/images/30012025/03/27/image_30012025_03_27_15_10538.jpg
/home/pi/Desktop/images/30012025/03/27/image_30012025_03_27_25_9419.jpg
/home/pi/Desktop/images/30012025/03/27/image_30012025_03_27_35_10412.jpg
/home/pi/Desktop/images/30012025/03/27/image_30012025_03_27_45_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":["1332850913","1332850916","1332850901","1332850897","1332850906","1332850909"],"photo_ids_order":["1332850897","1332850901","1332850906","1332850909","1332850913","1332850916"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5f399c1d16aa49f2f5ee4fb317c815f1.jpg","text":"TemporaryFile(/tmp/multipartBody8254143096791732675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204113196,"filename":"image_30012025_03_27_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/30/b5b0a9138527ab9644de5894cbf97698.jpg","text":"TemporaryFile(/tmp/multipartBody4425166740437212461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204113196,"filename":"image_30012025_03_27_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/30/651a46ecf55e3ad2a61b7272e386a7a8.jpg","text":"TemporaryFile(/tmp/multipartBody4191264248860193835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204113196,"filename":"image_30012025_03_27_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/30/3d241fabb14fd562c280ee734c7d0339.jpg","text":"TemporaryFile(/tmp/multipartBody574707590402545138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204113196,"filename":"image_30012025_03_26_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/30/c8c6a21cbb973e281d5c276f0fba278a.jpg","text":"TemporaryFile(/tmp/multipartBody4079056986404637001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204113196,"filename":"image_30012025_03_27_15_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/30/c1db1660208114ec9b221982c2f06a7e.jpg","text":"TemporaryFile(/tmp/multipartBody6219114795527779748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204113196,"filename":"image_30012025_03_27_25_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332850906","file1":"1332850901","file0":"1332850897","file4":"1332850913","file5":"1332850916","file3":"1332850909"},"map_files_photo_id_array":[{"photo_id":"1332850916","filename":"file5"},{"photo_id":"1332850906","filename":"file2"},{"photo_id":"1332850913","filename":"file4"},{"photo_id":"1332850901","filename":"file1"},{"photo_id":"1332850897","filename":"file0"},{"photo_id":"1332850909","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332850913":["hashtag1","hashtag2"]},{"1332850916":["hashtag1","hashtag2"]},{"1332850901":["hashtag1","hashtag2"]},{"1332850897":["hashtag1","hashtag2"]},{"1332850906":["hashtag1","hashtag2"]},{"1332850909":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332850913, 1332850916, 1332850901, 1332850897, 1332850906, 1332850909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89421272277832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:28:32.432330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/27/image_30012025_03_27_55_9329.jpg', '/home/pi/Desktop/images/30012025/03/27/image_30012025_03_28_05_10397.jpg', '/home/pi/Desktop/images/30012025/03/28/image_30012025_03_28_15_9367.jpg', '/home/pi/Desktop/images/30012025/03/28/image_30012025_03_28_25_10458.jpg', '/home/pi/Desktop/images/30012025/03/28/image_30012025_03_28_35_10429.jpg', '/home/pi/Desktop/images/30012025/03/28/image_30012025_03_28_45_9419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/27/image_30012025_03_27_55_9329.jpg
/home/pi/Desktop/images/30012025/03/27/image_30012025_03_28_05_10397.jpg
/home/pi/Desktop/images/30012025/03/28/image_30012025_03_28_15_9367.jpg
/home/pi/Desktop/images/30012025/03/28/image_30012025_03_28_25_10458.jpg
/home/pi/Desktop/images/30012025/03/28/image_30012025_03_28_35_10429.jpg
/home/pi/Desktop/images/30012025/03/28/image_30012025_03_28_45_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":["1332850950","1332850973","1332850967","1332850955","1332850963","1332850959"],"photo_ids_order":["1332850950","1332850955","1332850959","1332850963","1332850967","1332850973"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1b1881b91814c9bab49a3cbc5a67fe07.jpg","text":"TemporaryFile(/tmp/multipartBody4320464186079375311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204173338,"filename":"image_30012025_03_27_55_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c49647767970d9694558f773aa4e5318.jpg","text":"TemporaryFile(/tmp/multipartBody1386684725337444610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204173338,"filename":"image_30012025_03_28_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/30/2a702389784853f858fe836ca2499b7c.jpg","text":"TemporaryFile(/tmp/multipartBody5469880622189655254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204173338,"filename":"image_30012025_03_28_35_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/30/ab83e07778fbf586db7e2fb950fb8a7a.jpg","text":"TemporaryFile(/tmp/multipartBody4019393928399887839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204173338,"filename":"image_30012025_03_28_05_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6ca2644142dc4b49b6513a80030b4dda.jpg","text":"TemporaryFile(/tmp/multipartBody2202672375970683572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204173338,"filename":"image_30012025_03_28_25_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a8056ec739f5ca1d79c562827347b911.jpg","text":"TemporaryFile(/tmp/multipartBody8753258320292643997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204173338,"filename":"image_30012025_03_28_15_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332850959","file1":"1332850955","file0":"1332850950","file4":"1332850967","file5":"1332850973","file3":"1332850963"},"map_files_photo_id_array":[{"photo_id":"1332850973","filename":"file5"},{"photo_id":"1332850959","filename":"file2"},{"photo_id":"1332850967","filename":"file4"},{"photo_id":"1332850955","filename":"file1"},{"photo_id":"1332850950","filename":"file0"},{"photo_id":"1332850963","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332850950":["hashtag1","hashtag2"]},{"1332850973":["hashtag1","hashtag2"]},{"1332850967":["hashtag1","hashtag2"]},{"1332850955":["hashtag1","hashtag2"]},{"1332850963":["hashtag1","hashtag2"]},{"1332850959":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332850950, 1332850973, 1332850967, 1332850955, 1332850963, 1332850959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.9479398727417 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:29:32.790284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/28/image_30012025_03_28_55_10421.jpg', '/home/pi/Desktop/images/30012025/03/28/image_30012025_03_29_05_9385.jpg', '/home/pi/Desktop/images/30012025/03/29/image_30012025_03_29_15_10399.jpg', '/home/pi/Desktop/images/30012025/03/29/image_30012025_03_29_25_10364.jpg', '/home/pi/Desktop/images/30012025/03/29/image_30012025_03_29_35_9407.jpg', '/home/pi/Desktop/images/30012025/03/29/image_30012025_03_29_45_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/28/image_30012025_03_28_55_10421.jpg
/home/pi/Desktop/images/30012025/03/28/image_30012025_03_29_05_9385.jpg
/home/pi/Desktop/images/30012025/03/29/image_30012025_03_29_15_10399.jpg
/home/pi/Desktop/images/30012025/03/29/image_30012025_03_29_25_10364.jpg
/home/pi/Desktop/images/30012025/03/29/image_30012025_03_29_35_9407.jpg
/home/pi/Desktop/images/30012025/03/29/image_30012025_03_29_45_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":["1332851004","1332850997","1332851006","1332850990","1332850993","1332851002"],"photo_ids_order":["1332850990","1332850993","1332850997","1332851002","1332851004","1332851006"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/beef92087fef05ca217de3299408fd44.jpg","text":"TemporaryFile(/tmp/multipartBody8179258387176650051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204233708,"filename":"image_30012025_03_29_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/30/cbb4050c9c8d96107548e17dd2a0cfff.jpg","text":"TemporaryFile(/tmp/multipartBody7207124077627534645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204233708,"filename":"image_30012025_03_29_15_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/39a9f03da8b3a4c401ba0332f7bd3cd1.jpg","text":"TemporaryFile(/tmp/multipartBody2864005471677058355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204233708,"filename":"image_30012025_03_29_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/30/72c3a866abb1e6cb7fe5bec8a2c61488.jpg","text":"TemporaryFile(/tmp/multipartBody7231535982100864214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204233708,"filename":"image_30012025_03_28_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/30/39769f0a95c0d43b9935b3f896a46d29.jpg","text":"TemporaryFile(/tmp/multipartBody9034192813483145288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204233708,"filename":"image_30012025_03_29_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/30/531d7208cfaac4ab1b5421ed656b0673.jpg","text":"TemporaryFile(/tmp/multipartBody1736305912759143401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204233708,"filename":"image_30012025_03_29_25_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332850997","file1":"1332850993","file0":"1332850990","file4":"1332851004","file5":"1332851006","file3":"1332851002"},"map_files_photo_id_array":[{"photo_id":"1332851006","filename":"file5"},{"photo_id":"1332850997","filename":"file2"},{"photo_id":"1332851004","filename":"file4"},{"photo_id":"1332850993","filename":"file1"},{"photo_id":"1332850990","filename":"file0"},{"photo_id":"1332851002","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332851004":["hashtag1","hashtag2"]},{"1332850997":["hashtag1","hashtag2"]},{"1332851006":["hashtag1","hashtag2"]},{"1332850990":["hashtag1","hashtag2"]},{"1332850993":["hashtag1","hashtag2"]},{"1332851002":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332851004, 1332850997, 1332851006, 1332850990, 1332850993, 1332851002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.9658100605011 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:30:32.964931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/29/image_30012025_03_29_55_9390.jpg', '/home/pi/Desktop/images/30012025/03/29/image_30012025_03_30_05_10434.jpg', '/home/pi/Desktop/images/30012025/03/30/image_30012025_03_30_15_10401.jpg', '/home/pi/Desktop/images/30012025/03/30/image_30012025_03_30_25_9402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/29/image_30012025_03_29_55_9390.jpg
/home/pi/Desktop/images/30012025/03/29/image_30012025_03_30_05_10434.jpg
/home/pi/Desktop/images/30012025/03/30/image_30012025_03_30_15_10401.jpg
/home/pi/Desktop/images/30012025/03/30/image_30012025_03_30_25_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":["1332851037","1332851048","1332851035","1332851023"],"photo_ids_order":["1332851023","1332851035","1332851037","1332851048"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e1650e78e8e7240ac4d76f64803e1f74.jpg","text":"TemporaryFile(/tmp/multipartBody3639131746880751288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204293864,"filename":"image_30012025_03_30_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/30/964cdd59d5cfe7d811583c7b5fb1707b.jpg","text":"TemporaryFile(/tmp/multipartBody8404878237621590897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204293864,"filename":"image_30012025_03_30_25_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/30/2b014816ec298fba759dfaea42378861.jpg","text":"TemporaryFile(/tmp/multipartBody4936417993946121156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204293864,"filename":"image_30012025_03_30_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/30/07ce7365bfc93d9268fce6a04c418d2b.jpg","text":"TemporaryFile(/tmp/multipartBody9124776123032429832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204293864,"filename":"image_30012025_03_29_55_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332851037","file1":"1332851035","file0":"1332851023","file3":"1332851048"},"map_files_photo_id_array":[{"photo_id":"1332851037","filename":"file2"},{"photo_id":"1332851035","filename":"file1"},{"photo_id":"1332851023","filename":"file0"},{"photo_id":"1332851048","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332851037":["hashtag1","hashtag2"]},{"1332851048":["hashtag1","hashtag2"]},{"1332851035":["hashtag1","hashtag2"]},{"1332851023":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332851037, 1332851048, 1332851035, 1332851023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.828475952148438 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:31:32.330325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/30/image_30012025_03_30_45_9382.jpg', '/home/pi/Desktop/images/30012025/03/31/image_30012025_03_31_15_9406.jpg', '/home/pi/Desktop/images/30012025/03/31/image_30012025_03_31_25_10436.jpg', '/home/pi/Desktop/images/30012025/03/31/image_30012025_03_31_35_9391.jpg', '/home/pi/Desktop/images/30012025/03/31/image_30012025_03_31_45_10444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/30/image_30012025_03_30_45_9382.jpg
/home/pi/Desktop/images/30012025/03/31/image_30012025_03_31_15_9406.jpg
/home/pi/Desktop/images/30012025/03/31/image_30012025_03_31_25_10436.jpg
/home/pi/Desktop/images/30012025/03/31/image_30012025_03_31_35_9391.jpg
/home/pi/Desktop/images/30012025/03/31/image_30012025_03_31_45_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":["1332851115","1332851100","1332851103","1332851110","1332851107"],"photo_ids_order":["1332851100","1332851103","1332851107","1332851110","1332851115"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9e844afa0f8c0c8d36615d6910d47273.jpg","text":"TemporaryFile(/tmp/multipartBody9084385147204598185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204353217,"filename":"image_30012025_03_31_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/30/120fe9632f0590e9dba485c2dd98cec9.jpg","text":"TemporaryFile(/tmp/multipartBody1667681610662797942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204353217,"filename":"image_30012025_03_30_45_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/30/11ef788c48f71893ac7119f4c25cedb9.jpg","text":"TemporaryFile(/tmp/multipartBody7950447710316343777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204353217,"filename":"image_30012025_03_31_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/30/7e9b46c91413d9ebb8d230b8360eed70.jpg","text":"TemporaryFile(/tmp/multipartBody7265135392605768853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204353217,"filename":"image_30012025_03_31_35_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/30/09de47f0abc7f27e01095c1648b1d90a.jpg","text":"TemporaryFile(/tmp/multipartBody2462875152520948016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204353217,"filename":"image_30012025_03_31_25_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332851107","file1":"1332851103","file0":"1332851100","file4":"1332851115","file3":"1332851110"},"map_files_photo_id_array":[{"photo_id":"1332851107","filename":"file2"},{"photo_id":"1332851115","filename":"file4"},{"photo_id":"1332851103","filename":"file1"},{"photo_id":"1332851100","filename":"file0"},{"photo_id":"1332851110","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332851115":["hashtag1","hashtag2"]},{"1332851100":["hashtag1","hashtag2"]},{"1332851103":["hashtag1","hashtag2"]},{"1332851110":["hashtag1","hashtag2"]},{"1332851107":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332851115, 1332851100, 1332851103, 1332851110, 1332851107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.591331243515015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:32:32.441514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/31/image_30012025_03_31_54_9383.jpg', '/home/pi/Desktop/images/30012025/03/31/image_30012025_03_32_05_10367.jpg', '/home/pi/Desktop/images/30012025/03/32/image_30012025_03_32_15_10400.jpg', '/home/pi/Desktop/images/30012025/03/32/image_30012025_03_32_25_9389.jpg', '/home/pi/Desktop/images/30012025/03/32/image_30012025_03_32_35_10463.jpg', '/home/pi/Desktop/images/30012025/03/32/image_30012025_03_32_45_9418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/31/image_30012025_03_31_54_9383.jpg
/home/pi/Desktop/images/30012025/03/31/image_30012025_03_32_05_10367.jpg
/home/pi/Desktop/images/30012025/03/32/image_30012025_03_32_15_10400.jpg
/home/pi/Desktop/images/30012025/03/32/image_30012025_03_32_25_9389.jpg
/home/pi/Desktop/images/30012025/03/32/image_30012025_03_32_35_10463.jpg
/home/pi/Desktop/images/30012025/03/32/image_30012025_03_32_45_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.5241591930389404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 03:32:42.541873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/31/image_30012025_03_31_54_9383.jpg', '/home/pi/Desktop/images/30012025/03/31/image_30012025_03_32_05_10367.jpg', '/home/pi/Desktop/images/30012025/03/32/image_30012025_03_32_15_10400.jpg', '/home/pi/Desktop/images/30012025/03/32/image_30012025_03_32_25_9389.jpg', '/home/pi/Desktop/images/30012025/03/32/image_30012025_03_32_35_10463.jpg', '/home/pi/Desktop/images/30012025/03/32/image_30012025_03_32_45_9418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/31/image_30012025_03_31_54_9383.jpg
/home/pi/Desktop/images/30012025/03/31/image_30012025_03_32_05_10367.jpg
/home/pi/Desktop/images/30012025/03/32/image_30012025_03_32_15_10400.jpg
/home/pi/Desktop/images/30012025/03/32/image_30012025_03_32_25_9389.jpg
/home/pi/Desktop/images/30012025/03/32/image_30012025_03_32_35_10463.jpg
/home/pi/Desktop/images/30012025/03/32/image_30012025_03_32_45_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":["1332851142","1332851150","1332851158","1332851145","1332851139","1332851154"],"photo_ids_order":["1332851139","1332851142","1332851145","1332851150","1332851154","1332851158"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a291698772a9c32ad1c22e4552a12570.jpg","text":"TemporaryFile(/tmp/multipartBody3130441395062532661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204423481,"filename":"image_30012025_03_32_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/30/1cb9d352fc95b2075830ba3b605b5c99.jpg","text":"TemporaryFile(/tmp/multipartBody8091435497787086737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204423481,"filename":"image_30012025_03_32_25_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/30/8a7f7a1c3652c1655f232447f11e25dd.jpg","text":"TemporaryFile(/tmp/multipartBody1948545785151838678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204423481,"filename":"image_30012025_03_32_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/30/e64a67b813fd92a383598065b002c283.jpg","text":"TemporaryFile(/tmp/multipartBody1759819014867470195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204423481,"filename":"image_30012025_03_32_15_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/30/5f27434cbc3cd5901f35aba2e70e2720.jpg","text":"TemporaryFile(/tmp/multipartBody7621459457133036955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204423481,"filename":"image_30012025_03_31_54_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f67f58515b79808b831bf123c82fc42a.jpg","text":"TemporaryFile(/tmp/multipartBody4789712885979952179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204423481,"filename":"image_30012025_03_32_35_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332851145","file1":"1332851142","file0":"1332851139","file4":"1332851154","file5":"1332851158","file3":"1332851150"},"map_files_photo_id_array":[{"photo_id":"1332851158","filename":"file5"},{"photo_id":"1332851145","filename":"file2"},{"photo_id":"1332851154","filename":"file4"},{"photo_id":"1332851142","filename":"file1"},{"photo_id":"1332851139","filename":"file0"},{"photo_id":"1332851150","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332851142":["hashtag1","hashtag2"]},{"1332851150":["hashtag1","hashtag2"]},{"1332851158":["hashtag1","hashtag2"]},{"1332851145":["hashtag1","hashtag2"]},{"1332851139":["hashtag1","hashtag2"]},{"1332851154":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332851142, 1332851150, 1332851158, 1332851145, 1332851139, 1332851154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.186031341552734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:33:32.796742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/32/image_30012025_03_32_55_10361.jpg', '/home/pi/Desktop/images/30012025/03/32/image_30012025_03_33_05_10448.jpg', '/home/pi/Desktop/images/30012025/03/33/image_30012025_03_33_15_9356.jpg', '/home/pi/Desktop/images/30012025/03/33/image_30012025_03_33_25_10402.jpg', '/home/pi/Desktop/images/30012025/03/33/image_30012025_03_33_34_9389.jpg', '/home/pi/Desktop/images/30012025/03/33/image_30012025_03_33_45_10503.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/32/image_30012025_03_32_55_10361.jpg
/home/pi/Desktop/images/30012025/03/32/image_30012025_03_33_05_10448.jpg
/home/pi/Desktop/images/30012025/03/33/image_30012025_03_33_15_9356.jpg
/home/pi/Desktop/images/30012025/03/33/image_30012025_03_33_25_10402.jpg
/home/pi/Desktop/images/30012025/03/33/image_30012025_03_33_34_9389.jpg
/home/pi/Desktop/images/30012025/03/33/image_30012025_03_33_45_10503.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332851168","1332851171","1332851201","1332851193","1332851212","1332851178"],"photo_ids_order":["1332851168","1332851171","1332851178","1332851193","1332851201","1332851212"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bdb84c0a2b25008e4c631b72151252ac.jpg","text":"TemporaryFile(/tmp/multipartBody145922543930076196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204473705,"filename":"image_30012025_03_32_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/30/0808a4bee02d0883037e4e8e292a1490.jpg","text":"TemporaryFile(/tmp/multipartBody6864678132960807138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204473705,"filename":"image_30012025_03_33_05_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/30/a6a769aa01e6273b65ad406ce582618e.jpg","text":"TemporaryFile(/tmp/multipartBody5131437914680119330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204473705,"filename":"image_30012025_03_33_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/30/fa99153144d78fdaa0092bcd4b77e024.jpg","text":"TemporaryFile(/tmp/multipartBody3481433276215611196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204473705,"filename":"image_30012025_03_33_25_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/30/6c00be7d3f8bb112cd8043a78c61eeb7.jpg","text":"TemporaryFile(/tmp/multipartBody7796858248914667834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204473705,"filename":"image_30012025_03_33_45_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/30/a5082d7812aff932a49068d6986c106a.jpg","text":"TemporaryFile(/tmp/multipartBody8884760003673276423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204473705,"filename":"image_30012025_03_33_15_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332851178","file1":"1332851171","file0":"1332851168","file4":"1332851201","file5":"1332851212","file3":"1332851193"},"map_files_photo_id_array":[{"photo_id":"1332851212","filename":"file5"},{"photo_id":"1332851178","filename":"file2"},{"photo_id":"1332851201","filename":"file4"},{"photo_id":"1332851171","filename":"file1"},{"photo_id":"1332851168","filename":"file0"},{"photo_id":"1332851193","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332851168":["hashtag1","hashtag2"]},{"1332851171":["hashtag1","hashtag2"]},{"1332851201":["hashtag1","hashtag2"]},{"1332851193":["hashtag1","hashtag2"]},{"1332851212":["hashtag1","hashtag2"]},{"1332851178":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332851168, 1332851171, 1332851201, 1332851193, 1332851212, 1332851178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.96245861053467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:34:32.775851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/33/image_30012025_03_33_55_10350.jpg', '/home/pi/Desktop/images/30012025/03/33/image_30012025_03_34_05_9372.jpg', '/home/pi/Desktop/images/30012025/03/34/image_30012025_03_34_15_10419.jpg', '/home/pi/Desktop/images/30012025/03/34/image_30012025_03_34_24_9343.jpg', '/home/pi/Desktop/images/30012025/03/34/image_30012025_03_34_35_10412.jpg', '/home/pi/Desktop/images/30012025/03/34/image_30012025_03_34_45_10427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/33/image_30012025_03_33_55_10350.jpg
/home/pi/Desktop/images/30012025/03/33/image_30012025_03_34_05_9372.jpg
/home/pi/Desktop/images/30012025/03/34/image_30012025_03_34_15_10419.jpg
/home/pi/Desktop/images/30012025/03/34/image_30012025_03_34_24_9343.jpg
/home/pi/Desktop/images/30012025/03/34/image_30012025_03_34_35_10412.jpg
/home/pi/Desktop/images/30012025/03/34/image_30012025_03_34_45_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":["1332852143","1332852139","1332852130","1332852136","1332852132","1332852126"],"photo_ids_order":["1332852126","1332852130","1332852132","1332852136","1332852139","1332852143"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3d241c48a2d93138971740e46e62c035.jpg","text":"TemporaryFile(/tmp/multipartBody6790107462837652570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204533718,"filename":"image_30012025_03_34_45_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3261c7d44b4c4205fb4ff1683ffcf4f5.jpg","text":"TemporaryFile(/tmp/multipartBody6618409065164975552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204533718,"filename":"image_30012025_03_34_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/30/0ac5d3a43c5798945c2adf2a50fcd804.jpg","text":"TemporaryFile(/tmp/multipartBody1250567233381463929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204533718,"filename":"image_30012025_03_34_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/30/cb8209460d8e0ad62df37d89ff9702d8.jpg","text":"TemporaryFile(/tmp/multipartBody2764274883642060061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204533718,"filename":"image_30012025_03_34_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/30/08286560f64cdf95f00048fc6cbd99b3.jpg","text":"TemporaryFile(/tmp/multipartBody4971031157951301188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204533718,"filename":"image_30012025_03_34_15_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/01593149ca31d1ed7ad9987c634bf131.jpg","text":"TemporaryFile(/tmp/multipartBody1185627363704536446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204533718,"filename":"image_30012025_03_33_55_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332852132","file1":"1332852130","file0":"1332852126","file4":"1332852139","file5":"1332852143","file3":"1332852136"},"map_files_photo_id_array":[{"photo_id":"1332852143","filename":"file5"},{"photo_id":"1332852132","filename":"file2"},{"photo_id":"1332852139","filename":"file4"},{"photo_id":"1332852130","filename":"file1"},{"photo_id":"1332852126","filename":"file0"},{"photo_id":"1332852136","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332852143":["hashtag1","hashtag2"]},{"1332852139":["hashtag1","hashtag2"]},{"1332852130":["hashtag1","hashtag2"]},{"1332852136":["hashtag1","hashtag2"]},{"1332852132":["hashtag1","hashtag2"]},{"1332852126":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332852143, 1332852139, 1332852130, 1332852136, 1332852132, 1332852126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.893823862075806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:35:32.990540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/34/image_30012025_03_34_55_9382.jpg', '/home/pi/Desktop/images/30012025/03/34/image_30012025_03_35_05_10471.jpg', '/home/pi/Desktop/images/30012025/03/35/image_30012025_03_35_14_9338.jpg', '/home/pi/Desktop/images/30012025/03/35/image_30012025_03_35_25_10354.jpg', '/home/pi/Desktop/images/30012025/03/35/image_30012025_03_35_35_10434.jpg', '/home/pi/Desktop/images/30012025/03/35/image_30012025_03_35_45_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/34/image_30012025_03_34_55_9382.jpg
/home/pi/Desktop/images/30012025/03/34/image_30012025_03_35_05_10471.jpg
/home/pi/Desktop/images/30012025/03/35/image_30012025_03_35_14_9338.jpg
/home/pi/Desktop/images/30012025/03/35/image_30012025_03_35_25_10354.jpg
/home/pi/Desktop/images/30012025/03/35/image_30012025_03_35_35_10434.jpg
/home/pi/Desktop/images/30012025/03/35/image_30012025_03_35_45_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332852559","1332852453","1332852375","1332852414","1332852593","1332852380"],"photo_ids_order":["1332852375","1332852380","1332852414","1332852453","1332852559","1332852593"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6533b15f6bd9b0da251daa247e419d1a.jpg","text":"TemporaryFile(/tmp/multipartBody3515248233060053243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204593902,"filename":"image_30012025_03_35_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/30/8c20cda436f47a6d9d93ddc6b4e63917.jpg","text":"TemporaryFile(/tmp/multipartBody8671424370458645644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204593902,"filename":"image_30012025_03_35_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/30/69db4d0558364e1df2a4f337f75d7273.jpg","text":"TemporaryFile(/tmp/multipartBody8448523277732092304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204593902,"filename":"image_30012025_03_34_55_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/30/d96e3697843d780dfd87bd751f46ec35.jpg","text":"TemporaryFile(/tmp/multipartBody9044815253976923414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204593902,"filename":"image_30012025_03_35_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/30/58d95d87be7cdf22a03699d014dabe84.jpg","text":"TemporaryFile(/tmp/multipartBody5367995674572010017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204593902,"filename":"image_30012025_03_35_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/30/c837365e6844c375d5cd9db67b2a75e8.jpg","text":"TemporaryFile(/tmp/multipartBody7959724551734293200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204593902,"filename":"image_30012025_03_35_05_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332852414","file1":"1332852380","file0":"1332852375","file4":"1332852559","file5":"1332852593","file3":"1332852453"},"map_files_photo_id_array":[{"photo_id":"1332852593","filename":"file5"},{"photo_id":"1332852414","filename":"file2"},{"photo_id":"1332852559","filename":"file4"},{"photo_id":"1332852380","filename":"file1"},{"photo_id":"1332852375","filename":"file0"},{"photo_id":"1332852453","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332852559":["hashtag1","hashtag2"]},{"1332852453":["hashtag1","hashtag2"]},{"1332852375":["hashtag1","hashtag2"]},{"1332852414":["hashtag1","hashtag2"]},{"1332852593":["hashtag1","hashtag2"]},{"1332852380":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332852559, 1332852453, 1332852375, 1332852414, 1332852593, 1332852380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.48402667045593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:36:32.109749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/35/image_30012025_03_35_55_10460.jpg', '/home/pi/Desktop/images/30012025/03/35/image_30012025_03_36_04_9356.jpg', '/home/pi/Desktop/images/30012025/03/36/image_30012025_03_36_15_10358.jpg', '/home/pi/Desktop/images/30012025/03/36/image_30012025_03_36_25_10447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/35/image_30012025_03_35_55_10460.jpg
/home/pi/Desktop/images/30012025/03/35/image_30012025_03_36_04_9356.jpg
/home/pi/Desktop/images/30012025/03/36/image_30012025_03_36_15_10358.jpg
/home/pi/Desktop/images/30012025/03/36/image_30012025_03_36_25_10447.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5038509368896484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 03:36:42.126198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/35/image_30012025_03_35_55_10460.jpg', '/home/pi/Desktop/images/30012025/03/35/image_30012025_03_36_04_9356.jpg', '/home/pi/Desktop/images/30012025/03/36/image_30012025_03_36_15_10358.jpg', '/home/pi/Desktop/images/30012025/03/36/image_30012025_03_36_25_10447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/35/image_30012025_03_35_55_10460.jpg
/home/pi/Desktop/images/30012025/03/35/image_30012025_03_36_04_9356.jpg
/home/pi/Desktop/images/30012025/03/36/image_30012025_03_36_15_10358.jpg
/home/pi/Desktop/images/30012025/03/36/image_30012025_03_36_25_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332852677","1332852688","1332852681","1332852684"],"photo_ids_order":["1332852677","1332852681","1332852684","1332852688"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7509848db5dd963a1f5f2b0b3abad9a3.jpg","text":"TemporaryFile(/tmp/multipartBody6920806885890545395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204663020,"filename":"image_30012025_03_35_55_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7da8a9be5be6e00a2fc317634f323802.jpg","text":"TemporaryFile(/tmp/multipartBody4681963468708985797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204663020,"filename":"image_30012025_03_36_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/30/f5f44f1b66757ddcbd81e3eaf3bed50f.jpg","text":"TemporaryFile(/tmp/multipartBody3722739133328331340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204663020,"filename":"image_30012025_03_36_04_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b8a67c4a441bb52dee5fae9391f0c751.jpg","text":"TemporaryFile(/tmp/multipartBody7824320573290931189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204663020,"filename":"image_30012025_03_36_15_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332852684","file1":"1332852681","file0":"1332852677","file3":"1332852688"},"map_files_photo_id_array":[{"photo_id":"1332852684","filename":"file2"},{"photo_id":"1332852681","filename":"file1"},{"photo_id":"1332852677","filename":"file0"},{"photo_id":"1332852688","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332852677":["hashtag1","hashtag2"]},{"1332852688":["hashtag1","hashtag2"]},{"1332852681":["hashtag1","hashtag2"]},{"1332852684":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332852677, 1332852688, 1332852681, 1332852684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.799391269683838 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:37:32.287006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/36/image_30012025_03_36_45_10487.jpg', '/home/pi/Desktop/images/30012025/03/37/image_30012025_03_37_15_10422.jpg', '/home/pi/Desktop/images/30012025/03/37/image_30012025_03_37_25_9348.jpg', '/home/pi/Desktop/images/30012025/03/37/image_30012025_03_37_35_10402.jpg', '/home/pi/Desktop/images/30012025/03/37/image_30012025_03_37_44_9390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/36/image_30012025_03_36_45_10487.jpg
/home/pi/Desktop/images/30012025/03/37/image_30012025_03_37_15_10422.jpg
/home/pi/Desktop/images/30012025/03/37/image_30012025_03_37_25_9348.jpg
/home/pi/Desktop/images/30012025/03/37/image_30012025_03_37_35_10402.jpg
/home/pi/Desktop/images/30012025/03/37/image_30012025_03_37_44_9390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332852988","1332853039","1332852979","1332852975","1332853085"],"photo_ids_order":["1332852975","1332852979","1332852988","1332853039","1332853085"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c5a4d28c602067c2cb30bf8da78d7568.jpg","text":"TemporaryFile(/tmp/multipartBody8672923213698051305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204713175,"filename":"image_30012025_03_37_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/30/f2918e6a1e7a7832c54b1598ef2ffd65.jpg","text":"TemporaryFile(/tmp/multipartBody7098306481157166581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204713175,"filename":"image_30012025_03_37_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/30/4656a083f9ccc3e379b70c2cc35768d1.jpg","text":"TemporaryFile(/tmp/multipartBody2004579164581712317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204713175,"filename":"image_30012025_03_37_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/30/d1000e40aaea74a588193880871f71a2.jpg","text":"TemporaryFile(/tmp/multipartBody4547869156106247854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204713175,"filename":"image_30012025_03_36_45_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/30/bc2c06c84be7fb9decd4ccdc0c8d3f92.jpg","text":"TemporaryFile(/tmp/multipartBody6512892929668033110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204713175,"filename":"image_30012025_03_37_44_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332852988","file1":"1332852979","file0":"1332852975","file4":"1332853085","file3":"1332853039"},"map_files_photo_id_array":[{"photo_id":"1332852988","filename":"file2"},{"photo_id":"1332853085","filename":"file4"},{"photo_id":"1332852979","filename":"file1"},{"photo_id":"1332852975","filename":"file0"},{"photo_id":"1332853039","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332852988":["hashtag1","hashtag2"]},{"1332853039":["hashtag1","hashtag2"]},{"1332852979":["hashtag1","hashtag2"]},{"1332852975":["hashtag1","hashtag2"]},{"1332853085":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332852988, 1332853039, 1332852979, 1332852975, 1332853085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.82215094566345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:38:32.655809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/37/image_30012025_03_37_55_10435.jpg', '/home/pi/Desktop/images/30012025/03/37/image_30012025_03_38_05_10386.jpg', '/home/pi/Desktop/images/30012025/03/38/image_30012025_03_38_15_9410.jpg', '/home/pi/Desktop/images/30012025/03/38/image_30012025_03_38_25_10449.jpg', '/home/pi/Desktop/images/30012025/03/38/image_30012025_03_38_34_9337.jpg', '/home/pi/Desktop/images/30012025/03/38/image_30012025_03_38_45_10477.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/37/image_30012025_03_37_55_10435.jpg
/home/pi/Desktop/images/30012025/03/37/image_30012025_03_38_05_10386.jpg
/home/pi/Desktop/images/30012025/03/38/image_30012025_03_38_15_9410.jpg
/home/pi/Desktop/images/30012025/03/38/image_30012025_03_38_25_10449.jpg
/home/pi/Desktop/images/30012025/03/38/image_30012025_03_38_34_9337.jpg
/home/pi/Desktop/images/30012025/03/38/image_30012025_03_38_45_10477.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332854125","1332853717","1332853476","1332853269","1332854261","1332853928"],"photo_ids_order":["1332853269","1332853476","1332853717","1332853928","1332854125","1332854261"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/032abee05f8d8246989f2011a9ead831.jpg","text":"TemporaryFile(/tmp/multipartBody2628556468131069667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204773561,"filename":"image_30012025_03_38_34_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/30/abf5d7ea7bcb4b28507a61601f4c2739.jpg","text":"TemporaryFile(/tmp/multipartBody7172640135836017451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204773561,"filename":"image_30012025_03_38_15_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/30/08a19b4fe674958edcbf99e440cf2515.jpg","text":"TemporaryFile(/tmp/multipartBody7092218275583836902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204773561,"filename":"image_30012025_03_38_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/30/8384786b858f0baddcbb36f00628a9d4.jpg","text":"TemporaryFile(/tmp/multipartBody7681824422624154558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204773561,"filename":"image_30012025_03_37_55_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/de590fed4ed3e15aee4f18ef6821bbe5.jpg","text":"TemporaryFile(/tmp/multipartBody4695559961097509549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204773561,"filename":"image_30012025_03_38_45_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/30/f5db5258f34e7fa971327cb6afe2e819.jpg","text":"TemporaryFile(/tmp/multipartBody4640334190502683025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204773561,"filename":"image_30012025_03_38_25_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332853717","file1":"1332853476","file0":"1332853269","file4":"1332854125","file5":"1332854261","file3":"1332853928"},"map_files_photo_id_array":[{"photo_id":"1332854261","filename":"file5"},{"photo_id":"1332853717","filename":"file2"},{"photo_id":"1332854125","filename":"file4"},{"photo_id":"1332853476","filename":"file1"},{"photo_id":"1332853269","filename":"file0"},{"photo_id":"1332853928","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332854125":["hashtag1","hashtag2"]},{"1332853717":["hashtag1","hashtag2"]},{"1332853476":["hashtag1","hashtag2"]},{"1332853269":["hashtag1","hashtag2"]},{"1332854261":["hashtag1","hashtag2"]},{"1332853928":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332854125, 1332853717, 1332853476, 1332853269, 1332854261, 1332853928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.41734528541565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:39:32.862014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/38/image_30012025_03_38_55_10356.jpg', '/home/pi/Desktop/images/30012025/03/38/image_30012025_03_39_05_9358.jpg', '/home/pi/Desktop/images/30012025/03/39/image_30012025_03_39_15_10368.jpg', '/home/pi/Desktop/images/30012025/03/39/image_30012025_03_39_24_9445.jpg', '/home/pi/Desktop/images/30012025/03/39/image_30012025_03_39_35_10361.jpg', '/home/pi/Desktop/images/30012025/03/39/image_30012025_03_39_45_10409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/38/image_30012025_03_38_55_10356.jpg
/home/pi/Desktop/images/30012025/03/38/image_30012025_03_39_05_9358.jpg
/home/pi/Desktop/images/30012025/03/39/image_30012025_03_39_15_10368.jpg
/home/pi/Desktop/images/30012025/03/39/image_30012025_03_39_24_9445.jpg
/home/pi/Desktop/images/30012025/03/39/image_30012025_03_39_35_10361.jpg
/home/pi/Desktop/images/30012025/03/39/image_30012025_03_39_45_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":["1332854833","1332854842","1332854829","1332854823","1332854858","1332854825"],"photo_ids_order":["1332854823","1332854825","1332854829","1332854833","1332854842","1332854858"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/26ac5911b7aac7e835b61dca1866095b.jpg","text":"TemporaryFile(/tmp/multipartBody483727447157042371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204833772,"filename":"image_30012025_03_39_24_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cc9d153f9a360f4ad5a2a1633892dccd.jpg","text":"TemporaryFile(/tmp/multipartBody3442557620028035918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204833772,"filename":"image_30012025_03_39_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5c0d0504e727e844dc3a9c257595364b.jpg","text":"TemporaryFile(/tmp/multipartBody1565214214950978075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204833772,"filename":"image_30012025_03_39_15_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/30/178587ec594ef69bff2a2272a6521e5a.jpg","text":"TemporaryFile(/tmp/multipartBody8281901669051980074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204833772,"filename":"image_30012025_03_38_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/30/af8884d167d1ff1246a6daedebea08c8.jpg","text":"TemporaryFile(/tmp/multipartBody8955051563581590697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204833772,"filename":"image_30012025_03_39_45_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/967d5050cac8a9e4fa2d7811a94cec16.jpg","text":"TemporaryFile(/tmp/multipartBody4366790784638239669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204833772,"filename":"image_30012025_03_39_05_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332854829","file1":"1332854825","file0":"1332854823","file4":"1332854842","file5":"1332854858","file3":"1332854833"},"map_files_photo_id_array":[{"photo_id":"1332854858","filename":"file5"},{"photo_id":"1332854829","filename":"file2"},{"photo_id":"1332854842","filename":"file4"},{"photo_id":"1332854825","filename":"file1"},{"photo_id":"1332854823","filename":"file0"},{"photo_id":"1332854833","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332854833":["hashtag1","hashtag2"]},{"1332854842":["hashtag1","hashtag2"]},{"1332854829":["hashtag1","hashtag2"]},{"1332854823":["hashtag1","hashtag2"]},{"1332854858":["hashtag1","hashtag2"]},{"1332854825":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332854833, 1332854842, 1332854829, 1332854823, 1332854858, 1332854825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.65408897399902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:40:33.053352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/39/image_30012025_03_39_55_9391.jpg', '/home/pi/Desktop/images/30012025/03/39/image_30012025_03_40_05_10463.jpg', '/home/pi/Desktop/images/30012025/03/40/image_30012025_03_40_15_9497.jpg', '/home/pi/Desktop/images/30012025/03/40/image_30012025_03_40_25_10452.jpg', '/home/pi/Desktop/images/30012025/03/40/image_30012025_03_40_35_10368.jpg', '/home/pi/Desktop/images/30012025/03/40/image_30012025_03_40_45_9737.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/39/image_30012025_03_39_55_9391.jpg
/home/pi/Desktop/images/30012025/03/39/image_30012025_03_40_05_10463.jpg
/home/pi/Desktop/images/30012025/03/40/image_30012025_03_40_15_9497.jpg
/home/pi/Desktop/images/30012025/03/40/image_30012025_03_40_25_10452.jpg
/home/pi/Desktop/images/30012025/03/40/image_30012025_03_40_35_10368.jpg
/home/pi/Desktop/images/30012025/03/40/image_30012025_03_40_45_9737.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5230510234832764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 03:40:43.031197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/39/image_30012025_03_39_55_9391.jpg', '/home/pi/Desktop/images/30012025/03/39/image_30012025_03_40_05_10463.jpg', '/home/pi/Desktop/images/30012025/03/40/image_30012025_03_40_15_9497.jpg', '/home/pi/Desktop/images/30012025/03/40/image_30012025_03_40_25_10452.jpg', '/home/pi/Desktop/images/30012025/03/40/image_30012025_03_40_35_10368.jpg', '/home/pi/Desktop/images/30012025/03/40/image_30012025_03_40_45_9737.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/39/image_30012025_03_39_55_9391.jpg
/home/pi/Desktop/images/30012025/03/39/image_30012025_03_40_05_10463.jpg
/home/pi/Desktop/images/30012025/03/40/image_30012025_03_40_15_9497.jpg
/home/pi/Desktop/images/30012025/03/40/image_30012025_03_40_25_10452.jpg
/home/pi/Desktop/images/30012025/03/40/image_30012025_03_40_35_10368.jpg
/home/pi/Desktop/images/30012025/03/40/image_30012025_03_40_45_9737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332855334","1332855339","1332855290","1332855245","1332855292","1332855239"],"photo_ids_order":["1332855239","1332855245","1332855290","1332855292","1332855334","1332855339"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/11ffc23e8fbd190f789c90e32f00ddda.jpg","text":"TemporaryFile(/tmp/multipartBody7827414500815482378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204903955,"filename":"image_30012025_03_40_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/30/536e1c88757df5ebb197afa87c56784f.jpg","text":"TemporaryFile(/tmp/multipartBody8715075173649953187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204903955,"filename":"image_30012025_03_40_45_9737.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f4923b6db0e37f4ccfa4f9d7b9d32bcb.jpg","text":"TemporaryFile(/tmp/multipartBody6313597438364586081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204903955,"filename":"image_30012025_03_40_15_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/30/a81c4306a2e78e6ef57faaecf4799332.jpg","text":"TemporaryFile(/tmp/multipartBody5952455414598091583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204903955,"filename":"image_30012025_03_40_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/30/7eecb8525f32383195b22fe625aa9842.jpg","text":"TemporaryFile(/tmp/multipartBody6920390277041940657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204903955,"filename":"image_30012025_03_40_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/30/7807fe643020d7df6ec0590b15c1a54c.jpg","text":"TemporaryFile(/tmp/multipartBody1828365959208139657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204903955,"filename":"image_30012025_03_39_55_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332855290","file1":"1332855245","file0":"1332855239","file4":"1332855334","file5":"1332855339","file3":"1332855292"},"map_files_photo_id_array":[{"photo_id":"1332855339","filename":"file5"},{"photo_id":"1332855290","filename":"file2"},{"photo_id":"1332855334","filename":"file4"},{"photo_id":"1332855245","filename":"file1"},{"photo_id":"1332855239","filename":"file0"},{"photo_id":"1332855292","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332855334":["hashtag1","hashtag2"]},{"1332855339":["hashtag1","hashtag2"]},{"1332855290":["hashtag1","hashtag2"]},{"1332855245":["hashtag1","hashtag2"]},{"1332855292":["hashtag1","hashtag2"]},{"1332855239":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332855334, 1332855339, 1332855290, 1332855245, 1332855292, 1332855239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.0272216796875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:41:32.219990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/40/image_30012025_03_40_55_9375.jpg', '/home/pi/Desktop/images/30012025/03/40/image_30012025_03_41_05_10421.jpg', '/home/pi/Desktop/images/30012025/03/41/image_30012025_03_41_15_10415.jpg', '/home/pi/Desktop/images/30012025/03/41/image_30012025_03_41_25_9351.jpg', '/home/pi/Desktop/images/30012025/03/41/image_30012025_03_41_45_9409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/40/image_30012025_03_40_55_9375.jpg
/home/pi/Desktop/images/30012025/03/40/image_30012025_03_41_05_10421.jpg
/home/pi/Desktop/images/30012025/03/41/image_30012025_03_41_15_10415.jpg
/home/pi/Desktop/images/30012025/03/41/image_30012025_03_41_25_9351.jpg
/home/pi/Desktop/images/30012025/03/41/image_30012025_03_41_45_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":["1332855357","1332855362","1332855347","1332855410","1332855349"],"photo_ids_order":["1332855347","1332855349","1332855357","1332855362","1332855410"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ebb04fd34e5e8bb99bbe5466411bbcbf.jpg","text":"TemporaryFile(/tmp/multipartBody7492644204533285006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204953114,"filename":"image_30012025_03_41_15_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6d3f2790a40f023c840c439c82e5af6f.jpg","text":"TemporaryFile(/tmp/multipartBody3175753137106849591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204953114,"filename":"image_30012025_03_41_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/30/1967c01b68095fb2d9c33d2720147c27.jpg","text":"TemporaryFile(/tmp/multipartBody7892189934730135457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204953114,"filename":"image_30012025_03_40_55_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/30/682aa0ec56ecf0ebdaeb087f69ef7160.jpg","text":"TemporaryFile(/tmp/multipartBody5483385132248429179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204953114,"filename":"image_30012025_03_41_45_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/30/1167fe8791aca0a12853728ef95ad565.jpg","text":"TemporaryFile(/tmp/multipartBody3760258962020935347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738204953114,"filename":"image_30012025_03_41_05_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332855357","file1":"1332855349","file0":"1332855347","file4":"1332855410","file3":"1332855362"},"map_files_photo_id_array":[{"photo_id":"1332855357","filename":"file2"},{"photo_id":"1332855410","filename":"file4"},{"photo_id":"1332855349","filename":"file1"},{"photo_id":"1332855347","filename":"file0"},{"photo_id":"1332855362","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332855357":["hashtag1","hashtag2"]},{"1332855362":["hashtag1","hashtag2"]},{"1332855347":["hashtag1","hashtag2"]},{"1332855410":["hashtag1","hashtag2"]},{"1332855349":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332855357, 1332855362, 1332855347, 1332855410, 1332855349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.86030316352844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:42:32.377745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/41/image_30012025_03_41_55_10385.jpg', '/home/pi/Desktop/images/30012025/03/41/image_30012025_03_42_05_10399.jpg', '/home/pi/Desktop/images/30012025/03/42/image_30012025_03_42_15_9356.jpg', '/home/pi/Desktop/images/30012025/03/42/image_30012025_03_42_34_9347.jpg', '/home/pi/Desktop/images/30012025/03/42/image_30012025_03_42_45_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/41/image_30012025_03_41_55_10385.jpg
/home/pi/Desktop/images/30012025/03/41/image_30012025_03_42_05_10399.jpg
/home/pi/Desktop/images/30012025/03/42/image_30012025_03_42_15_9356.jpg
/home/pi/Desktop/images/30012025/03/42/image_30012025_03_42_34_9347.jpg
/home/pi/Desktop/images/30012025/03/42/image_30012025_03_42_45_10394.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5154030323028564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 03:42:42.413852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/41/image_30012025_03_41_55_10385.jpg', '/home/pi/Desktop/images/30012025/03/41/image_30012025_03_42_05_10399.jpg', '/home/pi/Desktop/images/30012025/03/42/image_30012025_03_42_15_9356.jpg', '/home/pi/Desktop/images/30012025/03/42/image_30012025_03_42_34_9347.jpg', '/home/pi/Desktop/images/30012025/03/42/image_30012025_03_42_45_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/41/image_30012025_03_41_55_10385.jpg
/home/pi/Desktop/images/30012025/03/41/image_30012025_03_42_05_10399.jpg
/home/pi/Desktop/images/30012025/03/42/image_30012025_03_42_15_9356.jpg
/home/pi/Desktop/images/30012025/03/42/image_30012025_03_42_34_9347.jpg
/home/pi/Desktop/images/30012025/03/42/image_30012025_03_42_45_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332856314","1332856224","1332856067","1332856141","1332855982"],"photo_ids_order":["1332855982","1332856067","1332856141","1332856224","1332856314"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/089a4023033cd0e6c6b3e7fb768ca802.jpg","text":"TemporaryFile(/tmp/multipartBody3658112716787344606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205023309,"filename":"image_30012025_03_42_45_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bb4bc28207f2b4e4e142deef42080da4.jpg","text":"TemporaryFile(/tmp/multipartBody2783800351159306477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205023309,"filename":"image_30012025_03_42_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/30/9741a0e9a7fe42d17ae479c9f43e7f82.jpg","text":"TemporaryFile(/tmp/multipartBody650697561722505837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205023309,"filename":"image_30012025_03_42_05_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/53f64083c17ec70403c84484ab649aaa.jpg","text":"TemporaryFile(/tmp/multipartBody6230996012891374252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205023309,"filename":"image_30012025_03_42_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/30/a8b325591d19dfff99033b3738265dc1.jpg","text":"TemporaryFile(/tmp/multipartBody849647136963748288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205023309,"filename":"image_30012025_03_41_55_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332856141","file1":"1332856067","file0":"1332855982","file4":"1332856314","file3":"1332856224"},"map_files_photo_id_array":[{"photo_id":"1332856141","filename":"file2"},{"photo_id":"1332856314","filename":"file4"},{"photo_id":"1332856067","filename":"file1"},{"photo_id":"1332855982","filename":"file0"},{"photo_id":"1332856224","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332856314":["hashtag1","hashtag2"]},{"1332856224":["hashtag1","hashtag2"]},{"1332856067":["hashtag1","hashtag2"]},{"1332856141":["hashtag1","hashtag2"]},{"1332855982":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332856314, 1332856224, 1332856067, 1332856141, 1332855982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.98540663719177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:43:32.589323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/42/image_30012025_03_42_55_10415.jpg', '/home/pi/Desktop/images/30012025/03/42/image_30012025_03_43_05_9382.jpg', '/home/pi/Desktop/images/30012025/03/43/image_30012025_03_43_15_10396.jpg', '/home/pi/Desktop/images/30012025/03/43/image_30012025_03_43_25_10372.jpg', '/home/pi/Desktop/images/30012025/03/43/image_30012025_03_43_35_9350.jpg', '/home/pi/Desktop/images/30012025/03/43/image_30012025_03_43_45_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/42/image_30012025_03_42_55_10415.jpg
/home/pi/Desktop/images/30012025/03/42/image_30012025_03_43_05_9382.jpg
/home/pi/Desktop/images/30012025/03/43/image_30012025_03_43_15_10396.jpg
/home/pi/Desktop/images/30012025/03/43/image_30012025_03_43_25_10372.jpg
/home/pi/Desktop/images/30012025/03/43/image_30012025_03_43_35_9350.jpg
/home/pi/Desktop/images/30012025/03/43/image_30012025_03_43_45_10372.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5302155017852783 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 03:43:42.560685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/42/image_30012025_03_42_55_10415.jpg', '/home/pi/Desktop/images/30012025/03/42/image_30012025_03_43_05_9382.jpg', '/home/pi/Desktop/images/30012025/03/43/image_30012025_03_43_15_10396.jpg', '/home/pi/Desktop/images/30012025/03/43/image_30012025_03_43_25_10372.jpg', '/home/pi/Desktop/images/30012025/03/43/image_30012025_03_43_35_9350.jpg', '/home/pi/Desktop/images/30012025/03/43/image_30012025_03_43_45_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/42/image_30012025_03_42_55_10415.jpg
/home/pi/Desktop/images/30012025/03/42/image_30012025_03_43_05_9382.jpg
/home/pi/Desktop/images/30012025/03/43/image_30012025_03_43_15_10396.jpg
/home/pi/Desktop/images/30012025/03/43/image_30012025_03_43_25_10372.jpg
/home/pi/Desktop/images/30012025/03/43/image_30012025_03_43_35_9350.jpg
/home/pi/Desktop/images/30012025/03/43/image_30012025_03_43_45_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332857511","1332857420","1332857030","1332857338","1332857226","1332857133"],"photo_ids_order":["1332857030","1332857133","1332857226","1332857338","1332857420","1332857511"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6fd43f8d6e8b3d4c9cd81e81114cad63.jpg","text":"TemporaryFile(/tmp/multipartBody5223636848806882776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205083494,"filename":"image_30012025_03_43_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/30/83693e66b9c56ddb8a535571877db293.jpg","text":"TemporaryFile(/tmp/multipartBody1057671061335063788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205083494,"filename":"image_30012025_03_43_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/30/24d42bfef29d58d97f85ca7885635548.jpg","text":"TemporaryFile(/tmp/multipartBody3708281701108643037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205083494,"filename":"image_30012025_03_42_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/30/251fa100525234ed9aaa7a55add2b13d.jpg","text":"TemporaryFile(/tmp/multipartBody6777136529854193342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205083494,"filename":"image_30012025_03_43_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e9cccca53adb0d70315abf4752252e0c.jpg","text":"TemporaryFile(/tmp/multipartBody6489379877816877179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205083494,"filename":"image_30012025_03_43_15_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/30/bf2cec0e8652b3ad6dc5943d4c8ce0aa.jpg","text":"TemporaryFile(/tmp/multipartBody6783497545834817650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205083494,"filename":"image_30012025_03_43_05_9382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332857226","file1":"1332857133","file0":"1332857030","file4":"1332857420","file5":"1332857511","file3":"1332857338"},"map_files_photo_id_array":[{"photo_id":"1332857511","filename":"file5"},{"photo_id":"1332857226","filename":"file2"},{"photo_id":"1332857420","filename":"file4"},{"photo_id":"1332857133","filename":"file1"},{"photo_id":"1332857030","filename":"file0"},{"photo_id":"1332857338","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332857511":["hashtag1","hashtag2"]},{"1332857420":["hashtag1","hashtag2"]},{"1332857030":["hashtag1","hashtag2"]},{"1332857338":["hashtag1","hashtag2"]},{"1332857226":["hashtag1","hashtag2"]},{"1332857133":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332857511, 1332857420, 1332857030, 1332857338, 1332857226, 1332857133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.020599365234375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:44:32.831841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/43/image_30012025_03_43_55_9379.jpg', '/home/pi/Desktop/images/30012025/03/43/image_30012025_03_44_05_10374.jpg', '/home/pi/Desktop/images/30012025/03/44/image_30012025_03_44_15_10356.jpg', '/home/pi/Desktop/images/30012025/03/44/image_30012025_03_44_25_9349.jpg', '/home/pi/Desktop/images/30012025/03/44/image_30012025_03_44_35_10416.jpg', '/home/pi/Desktop/images/30012025/03/44/image_30012025_03_44_45_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/43/image_30012025_03_43_55_9379.jpg
/home/pi/Desktop/images/30012025/03/43/image_30012025_03_44_05_10374.jpg
/home/pi/Desktop/images/30012025/03/44/image_30012025_03_44_15_10356.jpg
/home/pi/Desktop/images/30012025/03/44/image_30012025_03_44_25_9349.jpg
/home/pi/Desktop/images/30012025/03/44/image_30012025_03_44_35_10416.jpg
/home/pi/Desktop/images/30012025/03/44/image_30012025_03_44_45_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":["1332857752","1332857755","1332857758","1332857745","1332857748","1332857742"],"photo_ids_order":["1332857742","1332857745","1332857748","1332857752","1332857755","1332857758"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/00d163646cb031e9bde414f1bbf5fd2e.jpg","text":"TemporaryFile(/tmp/multipartBody4263234453992199249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205133763,"filename":"image_30012025_03_44_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/30/65457633f465ce629f239f339ca98baa.jpg","text":"TemporaryFile(/tmp/multipartBody7649976435066654388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205133763,"filename":"image_30012025_03_44_35_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4e72ffac13a693f416ebfdd7621bcb50.jpg","text":"TemporaryFile(/tmp/multipartBody8825069846364249064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205133763,"filename":"image_30012025_03_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/30/d3b0422b08bd9c2458272772e7a3c7d8.jpg","text":"TemporaryFile(/tmp/multipartBody6711125226350955771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205133763,"filename":"image_30012025_03_44_05_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/30/388f2feb574c0f9312240434cebb7481.jpg","text":"TemporaryFile(/tmp/multipartBody6500585719376789584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205133763,"filename":"image_30012025_03_44_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/30/bd2488920f3498b9710e8834276d20ee.jpg","text":"TemporaryFile(/tmp/multipartBody29739157631834339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205133763,"filename":"image_30012025_03_43_55_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332857748","file1":"1332857745","file0":"1332857742","file4":"1332857755","file5":"1332857758","file3":"1332857752"},"map_files_photo_id_array":[{"photo_id":"1332857758","filename":"file5"},{"photo_id":"1332857748","filename":"file2"},{"photo_id":"1332857755","filename":"file4"},{"photo_id":"1332857745","filename":"file1"},{"photo_id":"1332857742","filename":"file0"},{"photo_id":"1332857752","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332857752":["hashtag1","hashtag2"]},{"1332857755":["hashtag1","hashtag2"]},{"1332857758":["hashtag1","hashtag2"]},{"1332857745":["hashtag1","hashtag2"]},{"1332857748":["hashtag1","hashtag2"]},{"1332857742":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332857752, 1332857755, 1332857758, 1332857745, 1332857748, 1332857742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.25307250022888 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:45:33.056908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/44/image_30012025_03_44_55_9339.jpg', '/home/pi/Desktop/images/30012025/03/44/image_30012025_03_45_05_10454.jpg', '/home/pi/Desktop/images/30012025/03/45/image_30012025_03_45_25_10451.jpg', '/home/pi/Desktop/images/30012025/03/45/image_30012025_03_45_35_10356.jpg', '/home/pi/Desktop/images/30012025/03/45/image_30012025_03_45_45_9411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/44/image_30012025_03_44_55_9339.jpg
/home/pi/Desktop/images/30012025/03/44/image_30012025_03_45_05_10454.jpg
/home/pi/Desktop/images/30012025/03/45/image_30012025_03_45_25_10451.jpg
/home/pi/Desktop/images/30012025/03/45/image_30012025_03_45_35_10356.jpg
/home/pi/Desktop/images/30012025/03/45/image_30012025_03_45_45_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":["1332857807","1332857767","1332857781","1332857787","1332857829"],"photo_ids_order":["1332857767","1332857781","1332857787","1332857807","1332857829"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3a9bf23ad0258da6f2881b49b7a80e7b.jpg","text":"TemporaryFile(/tmp/multipartBody2099850869831711259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205193969,"filename":"image_30012025_03_45_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/30/b7eef553a674e04e17b67d048443b270.jpg","text":"TemporaryFile(/tmp/multipartBody5019322304669947174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205193969,"filename":"image_30012025_03_44_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/30/53f2018f19ce2d4120836acecc77855c.jpg","text":"TemporaryFile(/tmp/multipartBody6386456719040535599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205193969,"filename":"image_30012025_03_45_05_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/30/d8460ab209e5101cb472c304b6414991.jpg","text":"TemporaryFile(/tmp/multipartBody7961492861760944111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205193969,"filename":"image_30012025_03_45_25_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4313e523980bd5cfe1c907339445ba1b.jpg","text":"TemporaryFile(/tmp/multipartBody2695730618746821798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205193969,"filename":"image_30012025_03_45_45_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332857787","file1":"1332857781","file0":"1332857767","file4":"1332857829","file3":"1332857807"},"map_files_photo_id_array":[{"photo_id":"1332857787","filename":"file2"},{"photo_id":"1332857829","filename":"file4"},{"photo_id":"1332857781","filename":"file1"},{"photo_id":"1332857767","filename":"file0"},{"photo_id":"1332857807","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332857807":["hashtag1","hashtag2"]},{"1332857767":["hashtag1","hashtag2"]},{"1332857781":["hashtag1","hashtag2"]},{"1332857787":["hashtag1","hashtag2"]},{"1332857829":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332857807, 1332857767, 1332857781, 1332857787, 1332857829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.5185227394104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:46:32.265681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/45/image_30012025_03_45_55_10357.jpg', '/home/pi/Desktop/images/30012025/03/45/image_30012025_03_46_04_9339.jpg', '/home/pi/Desktop/images/30012025/03/46/image_30012025_03_46_15_10437.jpg', '/home/pi/Desktop/images/30012025/03/46/image_30012025_03_46_25_10406.jpg', '/home/pi/Desktop/images/30012025/03/46/image_30012025_03_46_35_9357.jpg', '/home/pi/Desktop/images/30012025/03/46/image_30012025_03_46_45_10445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/45/image_30012025_03_45_55_10357.jpg
/home/pi/Desktop/images/30012025/03/45/image_30012025_03_46_04_9339.jpg
/home/pi/Desktop/images/30012025/03/46/image_30012025_03_46_15_10437.jpg
/home/pi/Desktop/images/30012025/03/46/image_30012025_03_46_25_10406.jpg
/home/pi/Desktop/images/30012025/03/46/image_30012025_03_46_35_9357.jpg
/home/pi/Desktop/images/30012025/03/46/image_30012025_03_46_45_10445.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5186312198638916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 03:46:42.434930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/45/image_30012025_03_45_55_10357.jpg', '/home/pi/Desktop/images/30012025/03/45/image_30012025_03_46_04_9339.jpg', '/home/pi/Desktop/images/30012025/03/46/image_30012025_03_46_15_10437.jpg', '/home/pi/Desktop/images/30012025/03/46/image_30012025_03_46_25_10406.jpg', '/home/pi/Desktop/images/30012025/03/46/image_30012025_03_46_35_9357.jpg', '/home/pi/Desktop/images/30012025/03/46/image_30012025_03_46_45_10445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/45/image_30012025_03_45_55_10357.jpg
/home/pi/Desktop/images/30012025/03/45/image_30012025_03_46_04_9339.jpg
/home/pi/Desktop/images/30012025/03/46/image_30012025_03_46_15_10437.jpg
/home/pi/Desktop/images/30012025/03/46/image_30012025_03_46_25_10406.jpg
/home/pi/Desktop/images/30012025/03/46/image_30012025_03_46_35_9357.jpg
/home/pi/Desktop/images/30012025/03/46/image_30012025_03_46_45_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":["1332858542","1332858533","1332858556","1332858590","1332858485","1332858362"],"photo_ids_order":["1332858362","1332858485","1332858533","1332858542","1332858556","1332858590"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fa34f782003eea06a6376032dda4425d.jpg","text":"TemporaryFile(/tmp/multipartBody3671008863273897273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205263373,"filename":"image_30012025_03_46_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/30/a365804a9e0cb485dd9bf34626f4259a.jpg","text":"TemporaryFile(/tmp/multipartBody1239926991343566017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205263373,"filename":"image_30012025_03_46_15_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/32c036f3a1c995e6ab7b970356f1e144.jpg","text":"TemporaryFile(/tmp/multipartBody2320843752809745477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205263373,"filename":"image_30012025_03_46_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/30/fc7ef24f09423792c19a88210bdae268.jpg","text":"TemporaryFile(/tmp/multipartBody3269038444164583541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205263373,"filename":"image_30012025_03_46_45_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1cce3bcec3e93bbd40799434ef6a6926.jpg","text":"TemporaryFile(/tmp/multipartBody8551616222647158569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205263373,"filename":"image_30012025_03_46_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/30/186a16d8b1c1c9ea20b5d794c70e6780.jpg","text":"TemporaryFile(/tmp/multipartBody2360122278791921263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205263373,"filename":"image_30012025_03_45_55_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332858533","file1":"1332858485","file0":"1332858362","file4":"1332858556","file5":"1332858590","file3":"1332858542"},"map_files_photo_id_array":[{"photo_id":"1332858590","filename":"file5"},{"photo_id":"1332858533","filename":"file2"},{"photo_id":"1332858556","filename":"file4"},{"photo_id":"1332858485","filename":"file1"},{"photo_id":"1332858362","filename":"file0"},{"photo_id":"1332858542","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332858542":["hashtag1","hashtag2"]},{"1332858533":["hashtag1","hashtag2"]},{"1332858556":["hashtag1","hashtag2"]},{"1332858590":["hashtag1","hashtag2"]},{"1332858485":["hashtag1","hashtag2"]},{"1332858362":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332858542, 1332858533, 1332858556, 1332858590, 1332858485, 1332858362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.00689697265625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:47:32.627358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/46/image_30012025_03_46_54_9351.jpg', '/home/pi/Desktop/images/30012025/03/46/image_30012025_03_47_05_10362.jpg', '/home/pi/Desktop/images/30012025/03/47/image_30012025_03_47_15_10432.jpg', '/home/pi/Desktop/images/30012025/03/47/image_30012025_03_47_25_9344.jpg', '/home/pi/Desktop/images/30012025/03/47/image_30012025_03_47_35_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/46/image_30012025_03_46_54_9351.jpg
/home/pi/Desktop/images/30012025/03/46/image_30012025_03_47_05_10362.jpg
/home/pi/Desktop/images/30012025/03/47/image_30012025_03_47_15_10432.jpg
/home/pi/Desktop/images/30012025/03/47/image_30012025_03_47_25_9344.jpg
/home/pi/Desktop/images/30012025/03/47/image_30012025_03_47_35_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":["1332858697","1332858664","1332858661","1332858700","1332858668"],"photo_ids_order":["1332858661","1332858664","1332858668","1332858697","1332858700"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/632641c95b030c565883d95931af703c.jpg","text":"TemporaryFile(/tmp/multipartBody2221274808377624336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205313520,"filename":"image_30012025_03_47_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/30/cadf63c271f0e27f14f2789f996f2462.jpg","text":"TemporaryFile(/tmp/multipartBody4205703348389842812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205313520,"filename":"image_30012025_03_47_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/30/24958aa7ea3045821e2ba7b03d5f4f01.jpg","text":"TemporaryFile(/tmp/multipartBody8149279904885676400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205313520,"filename":"image_30012025_03_46_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/30/07346a9ea44cf3bf777386156388c6d9.jpg","text":"TemporaryFile(/tmp/multipartBody5799050196981706001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205313520,"filename":"image_30012025_03_47_35_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/30/e883610a6b90d574e6e8286f754cf9dc.jpg","text":"TemporaryFile(/tmp/multipartBody7000564532492523854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205313520,"filename":"image_30012025_03_47_15_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332858668","file1":"1332858664","file0":"1332858661","file4":"1332858700","file3":"1332858697"},"map_files_photo_id_array":[{"photo_id":"1332858668","filename":"file2"},{"photo_id":"1332858700","filename":"file4"},{"photo_id":"1332858664","filename":"file1"},{"photo_id":"1332858661","filename":"file0"},{"photo_id":"1332858697","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332858697":["hashtag1","hashtag2"]},{"1332858664":["hashtag1","hashtag2"]},{"1332858661":["hashtag1","hashtag2"]},{"1332858700":["hashtag1","hashtag2"]},{"1332858668":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332858697, 1332858664, 1332858661, 1332858700, 1332858668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.88683271408081 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:48:32.720012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/47/image_30012025_03_47_45_10369.jpg', '/home/pi/Desktop/images/30012025/03/47/image_30012025_03_48_05_10443.jpg', '/home/pi/Desktop/images/30012025/03/48/image_30012025_03_48_14_9355.jpg', '/home/pi/Desktop/images/30012025/03/48/image_30012025_03_48_25_10376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/47/image_30012025_03_47_45_10369.jpg
/home/pi/Desktop/images/30012025/03/47/image_30012025_03_48_05_10443.jpg
/home/pi/Desktop/images/30012025/03/48/image_30012025_03_48_14_9355.jpg
/home/pi/Desktop/images/30012025/03/48/image_30012025_03_48_25_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":["1332858731","1332858721","1332858723","1332858726"],"photo_ids_order":["1332858721","1332858723","1332858726","1332858731"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4556384a86cc8b45824986d982ae2c7f.jpg","text":"TemporaryFile(/tmp/multipartBody7276595112700499753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205373603,"filename":"image_30012025_03_48_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/30/f4a6db8d5b25ef8a811c8cec220959f8.jpg","text":"TemporaryFile(/tmp/multipartBody6141047050804058815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205373603,"filename":"image_30012025_03_47_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/30/ba8ac70e1db418d0846f61096f136319.jpg","text":"TemporaryFile(/tmp/multipartBody5742787921311579982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205373603,"filename":"image_30012025_03_48_05_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/30/a45f8346369a462a730faacdb118844c.jpg","text":"TemporaryFile(/tmp/multipartBody957352523934133565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205373603,"filename":"image_30012025_03_48_14_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332858726","file1":"1332858723","file0":"1332858721","file3":"1332858731"},"map_files_photo_id_array":[{"photo_id":"1332858726","filename":"file2"},{"photo_id":"1332858723","filename":"file1"},{"photo_id":"1332858721","filename":"file0"},{"photo_id":"1332858731","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332858731":["hashtag1","hashtag2"]},{"1332858721":["hashtag1","hashtag2"]},{"1332858723":["hashtag1","hashtag2"]},{"1332858726":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332858731, 1332858721, 1332858723, 1332858726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.98755431175232 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 03:49:04.258390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/23/image_28012025_20_23_25_10358.jpg', '/home/pi/Desktop/images/28012025/20/23/image_28012025_20_23_35_10446.jpg', '/home/pi/Desktop/images/28012025/20/23/image_28012025_20_23_45_9367.jpg', '/home/pi/Desktop/images/28012025/20/23/image_28012025_20_23_55_10365.jpg', '/home/pi/Desktop/images/28012025/20/23/image_28012025_20_24_05_10349.jpg', '/home/pi/Desktop/images/28012025/20/24/image_28012025_20_24_15_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/20/23/image_28012025_20_23_25_10358.jpg
/home/pi/Desktop/images/28012025/20/23/image_28012025_20_23_35_10446.jpg
/home/pi/Desktop/images/28012025/20/23/image_28012025_20_23_45_9367.jpg
/home/pi/Desktop/images/28012025/20/23/image_28012025_20_23_55_10365.jpg
/home/pi/Desktop/images/28012025/20/23/image_28012025_20_24_05_10349.jpg
/home/pi/Desktop/images/28012025/20/24/image_28012025_20_24_15_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":["1332858961","1332858879","1332858987","1332858969","1332858741","1332858983"],"photo_ids_order":["1332858741","1332858879","1332858961","1332858969","1332858983","1332858987"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6b73f86e93bf2aa5ad8afb7c8eec32d4.jpg","text":"TemporaryFile(/tmp/multipartBody2429247921758558206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205411028,"filename":"image_28012025_20_23_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/30/61ef811d83470ad9e1270f85fc76b0df.jpg","text":"TemporaryFile(/tmp/multipartBody5020222003401061194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205411028,"filename":"image_28012025_20_23_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/30/3fd6914ad5a19705e65a13a67b464196.jpg","text":"TemporaryFile(/tmp/multipartBody2538285354475460873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205411028,"filename":"image_28012025_20_24_15_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c8f00ab8d6d132ea34f0a2a8935ebb5e.jpg","text":"TemporaryFile(/tmp/multipartBody8959991807195994913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205411028,"filename":"image_28012025_20_23_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/30/f87a32e20ccc573a99547dd3c6e57039.jpg","text":"TemporaryFile(/tmp/multipartBody128736369047493349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205411028,"filename":"image_28012025_20_23_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/30/47aa57cd5b4f356c455031525b9c1993.jpg","text":"TemporaryFile(/tmp/multipartBody213722902173289082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205411028,"filename":"image_28012025_20_24_05_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332858961","file1":"1332858879","file0":"1332858741","file4":"1332858983","file5":"1332858987","file3":"1332858969"},"map_files_photo_id_array":[{"photo_id":"1332858987","filename":"file5"},{"photo_id":"1332858961","filename":"file2"},{"photo_id":"1332858983","filename":"file4"},{"photo_id":"1332858879","filename":"file1"},{"photo_id":"1332858741","filename":"file0"},{"photo_id":"1332858969","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332858961":["hashtag1","hashtag2"]},{"1332858879":["hashtag1","hashtag2"]},{"1332858987":["hashtag1","hashtag2"]},{"1332858969":["hashtag1","hashtag2"]},{"1332858741":["hashtag1","hashtag2"]},{"1332858983":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332858961, 1332858879, 1332858987, 1332858969, 1332858741, 1332858983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.044946908950806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 03:50:02.752843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/48/image_30012025_03_48_35_10418.jpg', '/home/pi/Desktop/images/30012025/03/48/image_30012025_03_49_05_10350.jpg', '/home/pi/Desktop/images/30012025/03/49/image_30012025_03_49_15_9429.jpg', '/home/pi/Desktop/images/30012025/03/49/image_30012025_03_49_35_9418.jpg', '/home/pi/Desktop/images/30012025/03/49/image_30012025_03_49_45_10386.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/48/image_30012025_03_48_35_10418.jpg
/home/pi/Desktop/images/30012025/03/48/image_30012025_03_49_05_10350.jpg
/home/pi/Desktop/images/30012025/03/49/image_30012025_03_49_15_9429.jpg
/home/pi/Desktop/images/30012025/03/49/image_30012025_03_49_35_9418.jpg
/home/pi/Desktop/images/30012025/03/49/image_30012025_03_49_45_10386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332859246","1332859235","1332859265","1332859259","1332859148"],"photo_ids_order":["1332859148","1332859235","1332859246","1332859259","1332859265"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4794ef7053ba38ab85f12eb5743aef4c.jpg","text":"TemporaryFile(/tmp/multipartBody7942565523481471189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205463713,"filename":"image_30012025_03_49_15_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/30/25f7b6b7dc764edee06983b338e0fdba.jpg","text":"TemporaryFile(/tmp/multipartBody3076472816649094908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205463713,"filename":"image_30012025_03_49_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/30/7956ce6c9a3d1342d1b971ad345fe709.jpg","text":"TemporaryFile(/tmp/multipartBody2949180022290793998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205463713,"filename":"image_30012025_03_49_45_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1372c529d10f9ff60164e1e4b156ef55.jpg","text":"TemporaryFile(/tmp/multipartBody5187106374340011161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205463713,"filename":"image_30012025_03_49_35_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/30/b654c173dcd3bf7d3f2123b16a7d9a36.jpg","text":"TemporaryFile(/tmp/multipartBody4300464042533705058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205463713,"filename":"image_30012025_03_48_35_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332859246","file1":"1332859235","file0":"1332859148","file4":"1332859265","file3":"1332859259"},"map_files_photo_id_array":[{"photo_id":"1332859246","filename":"file2"},{"photo_id":"1332859265","filename":"file4"},{"photo_id":"1332859235","filename":"file1"},{"photo_id":"1332859148","filename":"file0"},{"photo_id":"1332859259","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332859246":["hashtag1","hashtag2"]},{"1332859235":["hashtag1","hashtag2"]},{"1332859265":["hashtag1","hashtag2"]},{"1332859259":["hashtag1","hashtag2"]},{"1332859148":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332859246, 1332859235, 1332859265, 1332859259, 1332859148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 39.82584095001221 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:50:52.112312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/49/image_30012025_03_49_54_9349.jpg', '/home/pi/Desktop/images/30012025/03/49/image_30012025_03_50_05_10392.jpg', '/home/pi/Desktop/images/30012025/03/50/image_30012025_03_50_15_10453.jpg', '/home/pi/Desktop/images/30012025/03/50/image_30012025_03_50_25_9499.jpg', '/home/pi/Desktop/images/30012025/03/50/image_30012025_03_50_35_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/49/image_30012025_03_49_54_9349.jpg
/home/pi/Desktop/images/30012025/03/49/image_30012025_03_50_05_10392.jpg
/home/pi/Desktop/images/30012025/03/50/image_30012025_03_50_15_10453.jpg
/home/pi/Desktop/images/30012025/03/50/image_30012025_03_50_25_9499.jpg
/home/pi/Desktop/images/30012025/03/50/image_30012025_03_50_35_10417.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5238935947418213 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 03:51:03.886708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/49/image_30012025_03_49_54_9349.jpg', '/home/pi/Desktop/images/30012025/03/49/image_30012025_03_50_05_10392.jpg', '/home/pi/Desktop/images/30012025/03/50/image_30012025_03_50_15_10453.jpg', '/home/pi/Desktop/images/30012025/03/50/image_30012025_03_50_25_9499.jpg', '/home/pi/Desktop/images/30012025/03/50/image_30012025_03_50_35_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/49/image_30012025_03_49_54_9349.jpg
/home/pi/Desktop/images/30012025/03/49/image_30012025_03_50_05_10392.jpg
/home/pi/Desktop/images/30012025/03/50/image_30012025_03_50_15_10453.jpg
/home/pi/Desktop/images/30012025/03/50/image_30012025_03_50_25_9499.jpg
/home/pi/Desktop/images/30012025/03/50/image_30012025_03_50_35_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":["1332859906","1332859797","1332860017","1332860163","1332859970"],"photo_ids_order":["1332859797","1332859906","1332859970","1332860017","1332860163"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f90e6de8198e34e6854b3a8783244620.jpg","text":"TemporaryFile(/tmp/multipartBody7951391018000395914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205524923,"filename":"image_30012025_03_50_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/30/9042da5a14ba2f12fb6a405a48a2367b.jpg","text":"TemporaryFile(/tmp/multipartBody4313100143840569335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205524923,"filename":"image_30012025_03_49_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/30/3774b71cc8017c279a0fdcddf3fdd06e.jpg","text":"TemporaryFile(/tmp/multipartBody5801944047176167598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205524923,"filename":"image_30012025_03_50_25_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/30/d1498567c9c34242172f6a2d08fb5e60.jpg","text":"TemporaryFile(/tmp/multipartBody4172942464420421086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205524923,"filename":"image_30012025_03_50_35_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/77b5d80c32ad682519056b665487b6ce.jpg","text":"TemporaryFile(/tmp/multipartBody8731011406725753715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205524923,"filename":"image_30012025_03_50_15_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332859970","file1":"1332859906","file0":"1332859797","file4":"1332860163","file3":"1332860017"},"map_files_photo_id_array":[{"photo_id":"1332859970","filename":"file2"},{"photo_id":"1332860163","filename":"file4"},{"photo_id":"1332859906","filename":"file1"},{"photo_id":"1332859797","filename":"file0"},{"photo_id":"1332860017","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332859906":["hashtag1","hashtag2"]},{"1332859797":["hashtag1","hashtag2"]},{"1332860017":["hashtag1","hashtag2"]},{"1332860163":["hashtag1","hashtag2"]},{"1332859970":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332859906, 1332859797, 1332860017, 1332860163, 1332859970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 43.5931510925293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:51:52.376712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/50/image_30012025_03_50_55_10491.jpg', '/home/pi/Desktop/images/30012025/03/50/image_30012025_03_51_04_9347.jpg', '/home/pi/Desktop/images/30012025/03/51/image_30012025_03_51_15_10383.jpg', '/home/pi/Desktop/images/30012025/03/51/image_30012025_03_51_25_10441.jpg', '/home/pi/Desktop/images/30012025/03/51/image_30012025_03_51_35_9436.jpg', '/home/pi/Desktop/images/30012025/03/51/image_30012025_03_51_45_10464.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/50/image_30012025_03_50_55_10491.jpg
/home/pi/Desktop/images/30012025/03/50/image_30012025_03_51_04_9347.jpg
/home/pi/Desktop/images/30012025/03/51/image_30012025_03_51_15_10383.jpg
/home/pi/Desktop/images/30012025/03/51/image_30012025_03_51_25_10441.jpg
/home/pi/Desktop/images/30012025/03/51/image_30012025_03_51_35_9436.jpg
/home/pi/Desktop/images/30012025/03/51/image_30012025_03_51_45_10464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332860374","1332860383","1332860377","1332860385","1332860379","1332860351"],"photo_ids_order":["1332860351","1332860374","1332860377","1332860379","1332860383","1332860385"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/07f33964c078e3427da1fac7947b33c6.jpg","text":"TemporaryFile(/tmp/multipartBody2113767553830043912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205573291,"filename":"image_30012025_03_51_04_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c73d930f7ab9fdf1c9ac4f6747de83b9.jpg","text":"TemporaryFile(/tmp/multipartBody3819388499281249425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205573291,"filename":"image_30012025_03_51_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/30/45fd0fa780006641a43342849a5f8628.jpg","text":"TemporaryFile(/tmp/multipartBody2951716900629334854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205573291,"filename":"image_30012025_03_51_15_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d0e9b7670b6eb5034bbed05fd3a25e95.jpg","text":"TemporaryFile(/tmp/multipartBody903857407884681451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205573291,"filename":"image_30012025_03_51_45_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3cd20f060cd014e98e53f5bade4471d0.jpg","text":"TemporaryFile(/tmp/multipartBody5983495922387943531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205573291,"filename":"image_30012025_03_51_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/30/933990bc4d70a8519e3f95a0149ce0d5.jpg","text":"TemporaryFile(/tmp/multipartBody1945257215815340702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205573291,"filename":"image_30012025_03_50_55_10491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332860377","file1":"1332860374","file0":"1332860351","file4":"1332860383","file5":"1332860385","file3":"1332860379"},"map_files_photo_id_array":[{"photo_id":"1332860385","filename":"file5"},{"photo_id":"1332860377","filename":"file2"},{"photo_id":"1332860383","filename":"file4"},{"photo_id":"1332860374","filename":"file1"},{"photo_id":"1332860351","filename":"file0"},{"photo_id":"1332860379","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332860374":["hashtag1","hashtag2"]},{"1332860383":["hashtag1","hashtag2"]},{"1332860377":["hashtag1","hashtag2"]},{"1332860385":["hashtag1","hashtag2"]},{"1332860379":["hashtag1","hashtag2"]},{"1332860351":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332860374, 1332860383, 1332860377, 1332860385, 1332860379, 1332860351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.064249753952026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 03:52:42.633567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/51/image_30012025_03_51_55_9388.jpg', '/home/pi/Desktop/images/30012025/03/52/image_30012025_03_52_15_10364.jpg', '/home/pi/Desktop/images/30012025/03/52/image_30012025_03_52_35_10448.jpg', '/home/pi/Desktop/images/30012025/03/52/image_30012025_03_52_45_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/51/image_30012025_03_51_55_9388.jpg
/home/pi/Desktop/images/30012025/03/52/image_30012025_03_52_15_10364.jpg
/home/pi/Desktop/images/30012025/03/52/image_30012025_03_52_35_10448.jpg
/home/pi/Desktop/images/30012025/03/52/image_30012025_03_52_45_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":["1332861099","1332861057","1332861051","1332860922"],"photo_ids_order":["1332860922","1332861051","1332861057","1332861099"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/65bb2a65ec7768b48cb92817642d0404.jpg","text":"TemporaryFile(/tmp/multipartBody468750693842917901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205623515,"filename":"image_30012025_03_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/30/4be265f9224519f57c1f18158546f64c.jpg","text":"TemporaryFile(/tmp/multipartBody7094249769327369034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205623515,"filename":"image_30012025_03_52_35_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/124f197229c637210f59f33f31c89d2e.jpg","text":"TemporaryFile(/tmp/multipartBody7740737034347976189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205623515,"filename":"image_30012025_03_52_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/30/fcd242702613939462ec04a56d214a35.jpg","text":"TemporaryFile(/tmp/multipartBody8522047767265467693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205623515,"filename":"image_30012025_03_51_55_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332861057","file1":"1332861051","file0":"1332860922","file3":"1332861099"},"map_files_photo_id_array":[{"photo_id":"1332861057","filename":"file2"},{"photo_id":"1332861051","filename":"file1"},{"photo_id":"1332860922","filename":"file0"},{"photo_id":"1332861099","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332861099":["hashtag1","hashtag2"]},{"1332861057":["hashtag1","hashtag2"]},{"1332861051":["hashtag1","hashtag2"]},{"1332860922":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332861099, 1332861057, 1332861051, 1332860922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.459591388702393 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:53:32.809288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/52/image_30012025_03_52_55_10491.jpg', '/home/pi/Desktop/images/30012025/03/52/image_30012025_03_53_05_10360.jpg', '/home/pi/Desktop/images/30012025/03/53/image_30012025_03_53_15_9353.jpg', '/home/pi/Desktop/images/30012025/03/53/image_30012025_03_53_25_10418.jpg', '/home/pi/Desktop/images/30012025/03/53/image_30012025_03_53_35_9343.jpg', '/home/pi/Desktop/images/30012025/03/53/image_30012025_03_53_45_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/52/image_30012025_03_52_55_10491.jpg
/home/pi/Desktop/images/30012025/03/52/image_30012025_03_53_05_10360.jpg
/home/pi/Desktop/images/30012025/03/53/image_30012025_03_53_15_9353.jpg
/home/pi/Desktop/images/30012025/03/53/image_30012025_03_53_25_10418.jpg
/home/pi/Desktop/images/30012025/03/53/image_30012025_03_53_35_9343.jpg
/home/pi/Desktop/images/30012025/03/53/image_30012025_03_53_45_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":["1332861331","1332861396","1332861390","1332861393","1332861327","1332861309"],"photo_ids_order":["1332861309","1332861327","1332861331","1332861390","1332861393","1332861396"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4e84e5e4db93a76982713200a87ed187.jpg","text":"TemporaryFile(/tmp/multipartBody3371321837263308799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205673724,"filename":"image_30012025_03_53_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/30/ec0775f17c435304bca41214f78218f5.jpg","text":"TemporaryFile(/tmp/multipartBody1941801176139766932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205673724,"filename":"image_30012025_03_53_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/30/0ac6c1055e6911aa9289498958eb2d14.jpg","text":"TemporaryFile(/tmp/multipartBody5139093119345205064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205673724,"filename":"image_30012025_03_53_25_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/30/b8f3c2370f94dc38000c277328fd43e4.jpg","text":"TemporaryFile(/tmp/multipartBody3850165025485334993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205673724,"filename":"image_30012025_03_53_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ff6d858b181a41d5b00a862a8063e19d.jpg","text":"TemporaryFile(/tmp/multipartBody76195541950910939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205673724,"filename":"image_30012025_03_53_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/30/5f08d383bb136dd84193efb88c2e38ac.jpg","text":"TemporaryFile(/tmp/multipartBody6951752250833950968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205673724,"filename":"image_30012025_03_52_55_10491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332861331","file1":"1332861327","file0":"1332861309","file4":"1332861393","file5":"1332861396","file3":"1332861390"},"map_files_photo_id_array":[{"photo_id":"1332861396","filename":"file5"},{"photo_id":"1332861331","filename":"file2"},{"photo_id":"1332861393","filename":"file4"},{"photo_id":"1332861327","filename":"file1"},{"photo_id":"1332861309","filename":"file0"},{"photo_id":"1332861390","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332861331":["hashtag1","hashtag2"]},{"1332861396":["hashtag1","hashtag2"]},{"1332861390":["hashtag1","hashtag2"]},{"1332861393":["hashtag1","hashtag2"]},{"1332861327":["hashtag1","hashtag2"]},{"1332861309":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332861331, 1332861396, 1332861390, 1332861393, 1332861327, 1332861309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.86964297294617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:54:33.008161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/53/image_30012025_03_53_55_10405.jpg', '/home/pi/Desktop/images/30012025/03/53/image_30012025_03_54_05_9430.jpg', '/home/pi/Desktop/images/30012025/03/54/image_30012025_03_54_15_10349.jpg', '/home/pi/Desktop/images/30012025/03/54/image_30012025_03_54_25_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/53/image_30012025_03_53_55_10405.jpg
/home/pi/Desktop/images/30012025/03/53/image_30012025_03_54_05_9430.jpg
/home/pi/Desktop/images/30012025/03/54/image_30012025_03_54_15_10349.jpg
/home/pi/Desktop/images/30012025/03/54/image_30012025_03_54_25_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":["1332861415","1332861412","1332861408","1332861410"],"photo_ids_order":["1332861408","1332861410","1332861412","1332861415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/52ad2eabf0c869e69ac1730e393e7b25.jpg","text":"TemporaryFile(/tmp/multipartBody1249285424788279835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205733885,"filename":"image_30012025_03_54_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/30/b42679f3270ac70741e4e7888c2a3af3.jpg","text":"TemporaryFile(/tmp/multipartBody1608759894525947708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205733885,"filename":"image_30012025_03_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/30/498d3ec562b22fcc1cfe5b112b50a488.jpg","text":"TemporaryFile(/tmp/multipartBody4568329274598551570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205733885,"filename":"image_30012025_03_53_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/30/93def0c767f83c37a417b2813762af11.jpg","text":"TemporaryFile(/tmp/multipartBody5313240803585783138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205733885,"filename":"image_30012025_03_54_05_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332861412","file1":"1332861410","file0":"1332861408","file3":"1332861415"},"map_files_photo_id_array":[{"photo_id":"1332861412","filename":"file2"},{"photo_id":"1332861410","filename":"file1"},{"photo_id":"1332861408","filename":"file0"},{"photo_id":"1332861415","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332861415":["hashtag1","hashtag2"]},{"1332861412":["hashtag1","hashtag2"]},{"1332861408":["hashtag1","hashtag2"]},{"1332861410":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332861415, 1332861412, 1332861408, 1332861410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.226451873779297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:55:32.161689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/54/image_30012025_03_54_35_9343.jpg', '/home/pi/Desktop/images/30012025/03/55/image_30012025_03_55_25_9408.jpg', '/home/pi/Desktop/images/30012025/03/55/image_30012025_03_55_35_10417.jpg', '/home/pi/Desktop/images/30012025/03/55/image_30012025_03_55_45_9397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/54/image_30012025_03_54_35_9343.jpg
/home/pi/Desktop/images/30012025/03/55/image_30012025_03_55_25_9408.jpg
/home/pi/Desktop/images/30012025/03/55/image_30012025_03_55_35_10417.jpg
/home/pi/Desktop/images/30012025/03/55/image_30012025_03_55_45_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":["1332861433","1332861436","1332861432","1332861434"],"photo_ids_order":["1332861432","1332861433","1332861434","1332861436"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f6a3b70dfff0ef2b4666d8915440158b.jpg","text":"TemporaryFile(/tmp/multipartBody2900033890417323209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205793038,"filename":"image_30012025_03_55_25_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0aa4d7332fde4fdddeed4f4db482c027.jpg","text":"TemporaryFile(/tmp/multipartBody2742528823586826724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205793038,"filename":"image_30012025_03_55_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/30/d5412bf3b9d7d7b8ebb86605d06bd7ff.jpg","text":"TemporaryFile(/tmp/multipartBody4987907282253352075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205793038,"filename":"image_30012025_03_54_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/230a25971302ed61928602873c38323c.jpg","text":"TemporaryFile(/tmp/multipartBody1102442010701584134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205793038,"filename":"image_30012025_03_55_35_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332861434","file1":"1332861433","file0":"1332861432","file3":"1332861436"},"map_files_photo_id_array":[{"photo_id":"1332861434","filename":"file2"},{"photo_id":"1332861433","filename":"file1"},{"photo_id":"1332861432","filename":"file0"},{"photo_id":"1332861436","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332861433":["hashtag1","hashtag2"]},{"1332861436":["hashtag1","hashtag2"]},{"1332861432":["hashtag1","hashtag2"]},{"1332861434":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332861433, 1332861436, 1332861432, 1332861434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.251171588897705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 03:56:03.140574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/24/image_28012025_20_24_25_10369.jpg', '/home/pi/Desktop/images/28012025/20/24/image_28012025_20_24_35_10375.jpg', '/home/pi/Desktop/images/28012025/20/24/image_28012025_20_24_45_9360.jpg', '/home/pi/Desktop/images/28012025/20/24/image_28012025_20_24_55_10419.jpg', '/home/pi/Desktop/images/28012025/20/24/image_28012025_20_25_05_9349.jpg', '/home/pi/Desktop/images/28012025/20/25/image_28012025_20_25_15_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/20/24/image_28012025_20_24_25_10369.jpg
/home/pi/Desktop/images/28012025/20/24/image_28012025_20_24_35_10375.jpg
/home/pi/Desktop/images/28012025/20/24/image_28012025_20_24_45_9360.jpg
/home/pi/Desktop/images/28012025/20/24/image_28012025_20_24_55_10419.jpg
/home/pi/Desktop/images/28012025/20/24/image_28012025_20_25_05_9349.jpg
/home/pi/Desktop/images/28012025/20/25/image_28012025_20_25_15_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: 1.3164596557617188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:56:32.566867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/55/image_30012025_03_55_55_10478.jpg', '/home/pi/Desktop/images/30012025/03/55/image_30012025_03_56_05_10364.jpg', '/home/pi/Desktop/images/30012025/03/56/image_30012025_03_56_15_9348.jpg', '/home/pi/Desktop/images/30012025/03/56/image_30012025_03_56_25_10420.jpg', '/home/pi/Desktop/images/30012025/03/56/image_30012025_03_56_35_9356.jpg', '/home/pi/Desktop/images/30012025/03/56/image_30012025_03_56_45_10468.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/55/image_30012025_03_55_55_10478.jpg
/home/pi/Desktop/images/30012025/03/55/image_30012025_03_56_05_10364.jpg
/home/pi/Desktop/images/30012025/03/56/image_30012025_03_56_15_9348.jpg
/home/pi/Desktop/images/30012025/03/56/image_30012025_03_56_25_10420.jpg
/home/pi/Desktop/images/30012025/03/56/image_30012025_03_56_35_9356.jpg
/home/pi/Desktop/images/30012025/03/56/image_30012025_03_56_45_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":["1332861521","1332861503","1332861520","1332861514","1332861523","1332861518"],"photo_ids_order":["1332861503","1332861514","1332861518","1332861520","1332861521","1332861523"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/016f27eac1d00d8e9e922ae53cc04823.jpg","text":"TemporaryFile(/tmp/multipartBody8012159985339201722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205853474,"filename":"image_30012025_03_56_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/30/b16b01267e81127f766d4d4439d85e4f.jpg","text":"TemporaryFile(/tmp/multipartBody5762990519733896613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205853474,"filename":"image_30012025_03_55_55_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d820ad21625ff3d850569900e3213556.jpg","text":"TemporaryFile(/tmp/multipartBody6549683156888037766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205853474,"filename":"image_30012025_03_56_25_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/30/bf1afba8621a3685f9febc939afe4688.jpg","text":"TemporaryFile(/tmp/multipartBody2284374254919763758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205853474,"filename":"image_30012025_03_56_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/30/709f7ecc8dc304a67290f5231432ce1a.jpg","text":"TemporaryFile(/tmp/multipartBody4966972417878288297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205853474,"filename":"image_30012025_03_56_45_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/30/a6b3162f2cf0a63be4aef3da1b89a887.jpg","text":"TemporaryFile(/tmp/multipartBody3220977825246311395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738205853474,"filename":"image_30012025_03_56_15_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332861518","file1":"1332861514","file0":"1332861503","file4":"1332861521","file5":"1332861523","file3":"1332861520"},"map_files_photo_id_array":[{"photo_id":"1332861523","filename":"file5"},{"photo_id":"1332861518","filename":"file2"},{"photo_id":"1332861521","filename":"file4"},{"photo_id":"1332861514","filename":"file1"},{"photo_id":"1332861503","filename":"file0"},{"photo_id":"1332861520","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332861521":["hashtag1","hashtag2"]},{"1332861503":["hashtag1","hashtag2"]},{"1332861520":["hashtag1","hashtag2"]},{"1332861514":["hashtag1","hashtag2"]},{"1332861523":["hashtag1","hashtag2"]},{"1332861518":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332861521, 1332861503, 1332861520, 1332861514, 1332861523, 1332861518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.069483280181885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:57:32.789393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/56/image_30012025_03_56_55_10350.jpg', '/home/pi/Desktop/images/30012025/03/56/image_30012025_03_57_05_9351.jpg', '/home/pi/Desktop/images/30012025/03/57/image_30012025_03_57_15_10351.jpg', '/home/pi/Desktop/images/30012025/03/57/image_30012025_03_57_25_10344.jpg', '/home/pi/Desktop/images/30012025/03/57/image_30012025_03_57_35_9391.jpg', '/home/pi/Desktop/images/30012025/03/57/image_30012025_03_57_45_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/56/image_30012025_03_56_55_10350.jpg
/home/pi/Desktop/images/30012025/03/56/image_30012025_03_57_05_9351.jpg
/home/pi/Desktop/images/30012025/03/57/image_30012025_03_57_15_10351.jpg
/home/pi/Desktop/images/30012025/03/57/image_30012025_03_57_25_10344.jpg
/home/pi/Desktop/images/30012025/03/57/image_30012025_03_57_35_9391.jpg
/home/pi/Desktop/images/30012025/03/57/image_30012025_03_57_45_10365.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-30 03:59:03.913169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/56/image_30012025_03_56_55_10350.jpg', '/home/pi/Desktop/images/30012025/03/56/image_30012025_03_57_05_9351.jpg', '/home/pi/Desktop/images/30012025/03/57/image_30012025_03_57_15_10351.jpg', '/home/pi/Desktop/images/30012025/03/57/image_30012025_03_57_25_10344.jpg', '/home/pi/Desktop/images/30012025/03/57/image_30012025_03_57_35_9391.jpg', '/home/pi/Desktop/images/30012025/03/57/image_30012025_03_57_45_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/56/image_30012025_03_56_55_10350.jpg
/home/pi/Desktop/images/30012025/03/56/image_30012025_03_57_05_9351.jpg
/home/pi/Desktop/images/30012025/03/57/image_30012025_03_57_15_10351.jpg
/home/pi/Desktop/images/30012025/03/57/image_30012025_03_57_25_10344.jpg
/home/pi/Desktop/images/30012025/03/57/image_30012025_03_57_35_9391.jpg
/home/pi/Desktop/images/30012025/03/57/image_30012025_03_57_45_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":["1332861586","1332861582","1332861645","1332861590","1332861578","1332861595"],"photo_ids_order":["1332861578","1332861582","1332861586","1332861590","1332861595","1332861645"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d0a888577bcbb9bed046e3d1d98cd06a.jpg","text":"TemporaryFile(/tmp/multipartBody8547267171914679385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206004973,"filename":"image_30012025_03_57_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/30/7280babd7caa89e42729e55175b61d89.jpg","text":"TemporaryFile(/tmp/multipartBody7778835371661106116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206004973,"filename":"image_30012025_03_57_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/30/aed23b059db69570981f517fdf99eef6.jpg","text":"TemporaryFile(/tmp/multipartBody6189870674520750662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206004973,"filename":"image_30012025_03_57_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/30/6a3480018c3ab9e7ea5c7a6c4928c137.jpg","text":"TemporaryFile(/tmp/multipartBody7071800358695619951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206004973,"filename":"image_30012025_03_57_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/30/28e294cf0ca51342db57cceaa19f16cf.jpg","text":"TemporaryFile(/tmp/multipartBody1250233637932595975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206004973,"filename":"image_30012025_03_56_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/30/3332f5341a2c9532e82300e69992bba9.jpg","text":"TemporaryFile(/tmp/multipartBody6996930338512353578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206004973,"filename":"image_30012025_03_57_35_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332861586","file1":"1332861582","file0":"1332861578","file4":"1332861595","file5":"1332861645","file3":"1332861590"},"map_files_photo_id_array":[{"photo_id":"1332861645","filename":"file5"},{"photo_id":"1332861586","filename":"file2"},{"photo_id":"1332861595","filename":"file4"},{"photo_id":"1332861582","filename":"file1"},{"photo_id":"1332861578","filename":"file0"},{"photo_id":"1332861590","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332861586":["hashtag1","hashtag2"]},{"1332861582":["hashtag1","hashtag2"]},{"1332861645":["hashtag1","hashtag2"]},{"1332861590":["hashtag1","hashtag2"]},{"1332861578":["hashtag1","hashtag2"]},{"1332861595":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332861586, 1332861582, 1332861645, 1332861590, 1332861578, 1332861595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.839526414871216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 03:59:52.277991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/57/image_30012025_03_57_55_9401.jpg', '/home/pi/Desktop/images/30012025/03/57/image_30012025_03_58_05_10412.jpg', '/home/pi/Desktop/images/30012025/03/58/image_30012025_03_58_35_10444.jpg', '/home/pi/Desktop/images/30012025/03/58/image_30012025_03_58_55_10448.jpg', '/home/pi/Desktop/images/30012025/03/58/image_30012025_03_59_05_9401.jpg', '/home/pi/Desktop/images/30012025/03/59/image_30012025_03_59_15_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/57/image_30012025_03_57_55_9401.jpg
/home/pi/Desktop/images/30012025/03/57/image_30012025_03_58_05_10412.jpg
/home/pi/Desktop/images/30012025/03/58/image_30012025_03_58_35_10444.jpg
/home/pi/Desktop/images/30012025/03/58/image_30012025_03_58_55_10448.jpg
/home/pi/Desktop/images/30012025/03/58/image_30012025_03_59_05_9401.jpg
/home/pi/Desktop/images/30012025/03/59/image_30012025_03_59_15_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332862231","1332862263","1332862256","1332861989","1332862259","1332862090"],"photo_ids_order":["1332861989","1332862090","1332862231","1332862256","1332862259","1332862263"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5e283650a14b49c5813681d001e564a8.jpg","text":"TemporaryFile(/tmp/multipartBody7159402458609070604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206053188,"filename":"image_30012025_03_58_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/30/5f4fd99f3cc9e296b0a03081f22fbf33.jpg","text":"TemporaryFile(/tmp/multipartBody8618960159861407884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206053188,"filename":"image_30012025_03_59_15_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/30/42bd9c7ca3a5bdaa3981fe6b9ebe03ef.jpg","text":"TemporaryFile(/tmp/multipartBody4026164904226063014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206053188,"filename":"image_30012025_03_58_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/30/7a63153d87ece3228aded01593fa0fd2.jpg","text":"TemporaryFile(/tmp/multipartBody2174979302159894758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206053188,"filename":"image_30012025_03_57_55_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/94ee806effdabce208e3576cee6d4ab7.jpg","text":"TemporaryFile(/tmp/multipartBody4319731648568219070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206053188,"filename":"image_30012025_03_59_05_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/013bf68247981d154af8387184011b7d.jpg","text":"TemporaryFile(/tmp/multipartBody725725369585034573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206053188,"filename":"image_30012025_03_58_05_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332862231","file1":"1332862090","file0":"1332861989","file4":"1332862259","file5":"1332862263","file3":"1332862256"},"map_files_photo_id_array":[{"photo_id":"1332862263","filename":"file5"},{"photo_id":"1332862231","filename":"file2"},{"photo_id":"1332862259","filename":"file4"},{"photo_id":"1332862090","filename":"file1"},{"photo_id":"1332861989","filename":"file0"},{"photo_id":"1332862256","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332862231":["hashtag1","hashtag2"]},{"1332862263":["hashtag1","hashtag2"]},{"1332862256":["hashtag1","hashtag2"]},{"1332861989":["hashtag1","hashtag2"]},{"1332862259":["hashtag1","hashtag2"]},{"1332862090":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332862231, 1332862263, 1332862256, 1332861989, 1332862259, 1332862090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.19340991973877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 04:00:42.443369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/03/59/image_30012025_03_59_25_10440.jpg', '/home/pi/Desktop/images/30012025/03/59/image_30012025_03_59_35_9371.jpg', '/home/pi/Desktop/images/30012025/04/00/image_30012025_04_00_15_10074.jpg', '/home/pi/Desktop/images/30012025/04/00/image_30012025_04_00_26_10397.jpg', '/home/pi/Desktop/images/30012025/04/00/image_30012025_04_00_36_10406.jpg', '/home/pi/Desktop/images/30012025/04/00/image_30012025_04_00_46_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/03/59/image_30012025_03_59_25_10440.jpg
/home/pi/Desktop/images/30012025/03/59/image_30012025_03_59_35_9371.jpg
/home/pi/Desktop/images/30012025/04/00/image_30012025_04_00_15_10074.jpg
/home/pi/Desktop/images/30012025/04/00/image_30012025_04_00_26_10397.jpg
/home/pi/Desktop/images/30012025/04/00/image_30012025_04_00_36_10406.jpg
/home/pi/Desktop/images/30012025/04/00/image_30012025_04_00_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":["1332862455","1332862425","1332862329","1332862422","1332862477","1332862409"],"photo_ids_order":["1332862329","1332862409","1332862422","1332862425","1332862455","1332862477"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/999596f0ef648188b35aff26e78c6023.jpg","text":"TemporaryFile(/tmp/multipartBody363633776459491031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206103357,"filename":"image_30012025_04_00_36_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/30/9ba7517d594297aeea5eaf8526e1b597.jpg","text":"TemporaryFile(/tmp/multipartBody723214449601252742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206103357,"filename":"image_30012025_04_00_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/30/5388814a93653624c7fbabcd8326a053.jpg","text":"TemporaryFile(/tmp/multipartBody2058249568168153743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206103357,"filename":"image_30012025_03_59_25_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/30/8073f67180f15e8e531cdad313d04f8e.jpg","text":"TemporaryFile(/tmp/multipartBody6910155792129622611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206103357,"filename":"image_30012025_04_00_15_10074.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/54e977ec604e19e82b428a17593e6228.jpg","text":"TemporaryFile(/tmp/multipartBody3222138413845712041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206103357,"filename":"image_30012025_04_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/30/420ecd0c385bb5291ee1ac92f2f93604.jpg","text":"TemporaryFile(/tmp/multipartBody4786940243359179098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206103357,"filename":"image_30012025_03_59_35_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332862422","file1":"1332862409","file0":"1332862329","file4":"1332862455","file5":"1332862477","file3":"1332862425"},"map_files_photo_id_array":[{"photo_id":"1332862477","filename":"file5"},{"photo_id":"1332862422","filename":"file2"},{"photo_id":"1332862455","filename":"file4"},{"photo_id":"1332862409","filename":"file1"},{"photo_id":"1332862329","filename":"file0"},{"photo_id":"1332862425","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332862455":["hashtag1","hashtag2"]},{"1332862425":["hashtag1","hashtag2"]},{"1332862329":["hashtag1","hashtag2"]},{"1332862422":["hashtag1","hashtag2"]},{"1332862477":["hashtag1","hashtag2"]},{"1332862409":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332862455, 1332862425, 1332862329, 1332862422, 1332862477, 1332862409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.629395484924316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:01:32.651425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/00/image_30012025_04_00_56_10486.jpg', '/home/pi/Desktop/images/30012025/04/00/image_30012025_04_01_05_9412.jpg', '/home/pi/Desktop/images/30012025/04/01/image_30012025_04_01_16_10374.jpg', '/home/pi/Desktop/images/30012025/04/01/image_30012025_04_01_26_10457.jpg', '/home/pi/Desktop/images/30012025/04/01/image_30012025_04_01_36_9348.jpg', '/home/pi/Desktop/images/30012025/04/01/image_30012025_04_01_46_10452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/00/image_30012025_04_00_56_10486.jpg
/home/pi/Desktop/images/30012025/04/00/image_30012025_04_01_05_9412.jpg
/home/pi/Desktop/images/30012025/04/01/image_30012025_04_01_16_10374.jpg
/home/pi/Desktop/images/30012025/04/01/image_30012025_04_01_26_10457.jpg
/home/pi/Desktop/images/30012025/04/01/image_30012025_04_01_36_9348.jpg
/home/pi/Desktop/images/30012025/04/01/image_30012025_04_01_46_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":["1332862828","1332862854","1332862836","1332862781","1332862879","1332862771"],"photo_ids_order":["1332862771","1332862781","1332862828","1332862836","1332862854","1332862879"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dda1fdf6c92fd1abe2e27ea1b6b1333e.jpg","text":"TemporaryFile(/tmp/multipartBody5601915859299720395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206153584,"filename":"image_30012025_04_01_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/30/211f76f57ca84b6c54b4b55ac6d49a33.jpg","text":"TemporaryFile(/tmp/multipartBody5929266406489900040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206153584,"filename":"image_30012025_04_01_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/30/5e323b0255c989e44e864758a0a39bba.jpg","text":"TemporaryFile(/tmp/multipartBody8880898149266581617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206153584,"filename":"image_30012025_04_01_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/30/f48fed6130caa7adedfadfaafb30e07b.jpg","text":"TemporaryFile(/tmp/multipartBody6678065209631531128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206153584,"filename":"image_30012025_04_01_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/30/ebc6988f77c286f257643b488379c435.jpg","text":"TemporaryFile(/tmp/multipartBody6162741804681281145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206153584,"filename":"image_30012025_04_01_46_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dd892a5dd4bbbebda84bba1663315a8a.jpg","text":"TemporaryFile(/tmp/multipartBody4223885302575632132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206153584,"filename":"image_30012025_04_00_56_10486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332862828","file1":"1332862781","file0":"1332862771","file4":"1332862854","file5":"1332862879","file3":"1332862836"},"map_files_photo_id_array":[{"photo_id":"1332862879","filename":"file5"},{"photo_id":"1332862828","filename":"file2"},{"photo_id":"1332862854","filename":"file4"},{"photo_id":"1332862781","filename":"file1"},{"photo_id":"1332862771","filename":"file0"},{"photo_id":"1332862836","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332862828":["hashtag1","hashtag2"]},{"1332862854":["hashtag1","hashtag2"]},{"1332862836":["hashtag1","hashtag2"]},{"1332862781":["hashtag1","hashtag2"]},{"1332862879":["hashtag1","hashtag2"]},{"1332862771":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332862828, 1332862854, 1332862836, 1332862781, 1332862879, 1332862771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.50070858001709 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:02:32.883598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/01/image_30012025_04_01_55_9422.jpg', '/home/pi/Desktop/images/30012025/04/01/image_30012025_04_02_06_10468.jpg', '/home/pi/Desktop/images/30012025/04/02/image_30012025_04_02_16_10336.jpg', '/home/pi/Desktop/images/30012025/04/02/image_30012025_04_02_26_9353.jpg', '/home/pi/Desktop/images/30012025/04/02/image_30012025_04_02_36_10404.jpg', '/home/pi/Desktop/images/30012025/04/02/image_30012025_04_02_46_10234.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/01/image_30012025_04_01_55_9422.jpg
/home/pi/Desktop/images/30012025/04/01/image_30012025_04_02_06_10468.jpg
/home/pi/Desktop/images/30012025/04/02/image_30012025_04_02_16_10336.jpg
/home/pi/Desktop/images/30012025/04/02/image_30012025_04_02_26_9353.jpg
/home/pi/Desktop/images/30012025/04/02/image_30012025_04_02_36_10404.jpg
/home/pi/Desktop/images/30012025/04/02/image_30012025_04_02_46_10234.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5188045501708984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 04:02:42.811334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/01/image_30012025_04_01_55_9422.jpg', '/home/pi/Desktop/images/30012025/04/01/image_30012025_04_02_06_10468.jpg', '/home/pi/Desktop/images/30012025/04/02/image_30012025_04_02_16_10336.jpg', '/home/pi/Desktop/images/30012025/04/02/image_30012025_04_02_26_9353.jpg', '/home/pi/Desktop/images/30012025/04/02/image_30012025_04_02_36_10404.jpg', '/home/pi/Desktop/images/30012025/04/02/image_30012025_04_02_46_10234.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/01/image_30012025_04_01_55_9422.jpg
/home/pi/Desktop/images/30012025/04/01/image_30012025_04_02_06_10468.jpg
/home/pi/Desktop/images/30012025/04/02/image_30012025_04_02_16_10336.jpg
/home/pi/Desktop/images/30012025/04/02/image_30012025_04_02_26_9353.jpg
/home/pi/Desktop/images/30012025/04/02/image_30012025_04_02_36_10404.jpg
/home/pi/Desktop/images/30012025/04/02/image_30012025_04_02_46_10234.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332862912","1332862906","1332862914","1332862910","1332862916","1332862901"],"photo_ids_order":["1332862901","1332862906","1332862910","1332862912","1332862914","1332862916"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/53b082cb1724f643c751c5922a7e6cb1.jpg","text":"TemporaryFile(/tmp/multipartBody4246441945761033949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206223722,"filename":"image_30012025_04_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/30/3a1cbee91463cc48067ae90096edd706.jpg","text":"TemporaryFile(/tmp/multipartBody6492510222220758013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206223722,"filename":"image_30012025_04_02_06_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/30/4b4bf120b5523716b750d8a0f094ec96.jpg","text":"TemporaryFile(/tmp/multipartBody5238928927645677365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206223722,"filename":"image_30012025_04_02_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/30/75920a6bd6b79c69323157a8dba80159.jpg","text":"TemporaryFile(/tmp/multipartBody773414871164952050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206223722,"filename":"image_30012025_04_02_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/30/6c6bcb3d2c6c61430ae9d6a5250c25c3.jpg","text":"TemporaryFile(/tmp/multipartBody4698084033129093736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206223722,"filename":"image_30012025_04_02_46_10234.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b8a20cd0d52a018f071fae807ad7d051.jpg","text":"TemporaryFile(/tmp/multipartBody3754465652366656095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206223722,"filename":"image_30012025_04_01_55_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332862910","file1":"1332862906","file0":"1332862901","file4":"1332862914","file5":"1332862916","file3":"1332862912"},"map_files_photo_id_array":[{"photo_id":"1332862916","filename":"file5"},{"photo_id":"1332862910","filename":"file2"},{"photo_id":"1332862914","filename":"file4"},{"photo_id":"1332862906","filename":"file1"},{"photo_id":"1332862901","filename":"file0"},{"photo_id":"1332862912","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332862912":["hashtag1","hashtag2"]},{"1332862906":["hashtag1","hashtag2"]},{"1332862914":["hashtag1","hashtag2"]},{"1332862910":["hashtag1","hashtag2"]},{"1332862916":["hashtag1","hashtag2"]},{"1332862901":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332862912, 1332862906, 1332862914, 1332862910, 1332862916, 1332862901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30043053627014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:03:33.068664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/02/image_30012025_04_02_56_9470.jpg', '/home/pi/Desktop/images/30012025/04/02/image_30012025_04_03_06_10441.jpg', '/home/pi/Desktop/images/30012025/04/03/image_30012025_04_03_16_9361.jpg', '/home/pi/Desktop/images/30012025/04/03/image_30012025_04_03_26_10458.jpg', '/home/pi/Desktop/images/30012025/04/03/image_30012025_04_03_35_9374.jpg', '/home/pi/Desktop/images/30012025/04/03/image_30012025_04_03_46_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/02/image_30012025_04_02_56_9470.jpg
/home/pi/Desktop/images/30012025/04/02/image_30012025_04_03_06_10441.jpg
/home/pi/Desktop/images/30012025/04/03/image_30012025_04_03_16_9361.jpg
/home/pi/Desktop/images/30012025/04/03/image_30012025_04_03_26_10458.jpg
/home/pi/Desktop/images/30012025/04/03/image_30012025_04_03_35_9374.jpg
/home/pi/Desktop/images/30012025/04/03/image_30012025_04_03_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":["1332862936","1332862930","1332862938","1332862931","1332862928","1332862933"],"photo_ids_order":["1332862928","1332862930","1332862931","1332862933","1332862936","1332862938"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/17ce841396d94ce4eaa65e401e92fb84.jpg","text":"TemporaryFile(/tmp/multipartBody2951640115933099965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206273970,"filename":"image_30012025_04_03_35_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/30/0d686ec8cc1e83f6629c8079dad18f8b.jpg","text":"TemporaryFile(/tmp/multipartBody5219920220367446801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206273970,"filename":"image_30012025_04_03_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/30/7d3c69eb321c2f42acee96fd51093831.jpg","text":"TemporaryFile(/tmp/multipartBody431955242378631847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206273970,"filename":"image_30012025_04_03_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/30/16b9a4e91f123f53b8a099da72914f34.jpg","text":"TemporaryFile(/tmp/multipartBody2443523462586982415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206273970,"filename":"image_30012025_04_03_16_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/30/05581811bd1c83135aba288fc678dd07.jpg","text":"TemporaryFile(/tmp/multipartBody2365609055631371605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206273970,"filename":"image_30012025_04_02_56_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/30/d2984c7d30fe1dab4e03eddda9e75da3.jpg","text":"TemporaryFile(/tmp/multipartBody3687987055980724272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206273970,"filename":"image_30012025_04_03_26_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332862931","file1":"1332862930","file0":"1332862928","file4":"1332862936","file5":"1332862938","file3":"1332862933"},"map_files_photo_id_array":[{"photo_id":"1332862938","filename":"file5"},{"photo_id":"1332862931","filename":"file2"},{"photo_id":"1332862936","filename":"file4"},{"photo_id":"1332862930","filename":"file1"},{"photo_id":"1332862928","filename":"file0"},{"photo_id":"1332862933","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332862936":["hashtag1","hashtag2"]},{"1332862930":["hashtag1","hashtag2"]},{"1332862938":["hashtag1","hashtag2"]},{"1332862931":["hashtag1","hashtag2"]},{"1332862928":["hashtag1","hashtag2"]},{"1332862933":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332862936, 1332862930, 1332862938, 1332862931, 1332862928, 1332862933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.75665783882141 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:04:32.377749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/03/image_30012025_04_03_56_10363.jpg', '/home/pi/Desktop/images/30012025/04/03/image_30012025_04_04_06_9435.jpg', '/home/pi/Desktop/images/30012025/04/04/image_30012025_04_04_16_10403.jpg', '/home/pi/Desktop/images/30012025/04/04/image_30012025_04_04_25_9363.jpg', '/home/pi/Desktop/images/30012025/04/04/image_30012025_04_04_36_10362.jpg', '/home/pi/Desktop/images/30012025/04/04/image_30012025_04_04_46_10445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/03/image_30012025_04_03_56_10363.jpg
/home/pi/Desktop/images/30012025/04/03/image_30012025_04_04_06_9435.jpg
/home/pi/Desktop/images/30012025/04/04/image_30012025_04_04_16_10403.jpg
/home/pi/Desktop/images/30012025/04/04/image_30012025_04_04_25_9363.jpg
/home/pi/Desktop/images/30012025/04/04/image_30012025_04_04_36_10362.jpg
/home/pi/Desktop/images/30012025/04/04/image_30012025_04_04_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":["1332862963","1332862957","1332862962","1332862961","1332862966","1332862954"],"photo_ids_order":["1332862954","1332862957","1332862961","1332862962","1332862963","1332862966"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6f21eb73adf725a3b8949267f6cecdc5.jpg","text":"TemporaryFile(/tmp/multipartBody7253184583641659052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206333305,"filename":"image_30012025_04_04_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/30/3b7ceb6f4589b8ef6b45d5706c972951.jpg","text":"TemporaryFile(/tmp/multipartBody479630334966198277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206333305,"filename":"image_30012025_04_04_06_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/30/6940cce825f10ab2c52508a3e0665825.jpg","text":"TemporaryFile(/tmp/multipartBody5752822392100955480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206333305,"filename":"image_30012025_04_04_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/30/1b1fc0b57294b051a17e00a923a3f33c.jpg","text":"TemporaryFile(/tmp/multipartBody197678295914742573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206333305,"filename":"image_30012025_04_04_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/30/6434a3429398a3950c9a5be5a70862ae.jpg","text":"TemporaryFile(/tmp/multipartBody2750236436316982158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206333305,"filename":"image_30012025_04_04_46_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/18d708e73ae1afe51fad45cf6d8904f2.jpg","text":"TemporaryFile(/tmp/multipartBody4964197521551494139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206333305,"filename":"image_30012025_04_03_56_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332862961","file1":"1332862957","file0":"1332862954","file4":"1332862963","file5":"1332862966","file3":"1332862962"},"map_files_photo_id_array":[{"photo_id":"1332862966","filename":"file5"},{"photo_id":"1332862961","filename":"file2"},{"photo_id":"1332862963","filename":"file4"},{"photo_id":"1332862957","filename":"file1"},{"photo_id":"1332862954","filename":"file0"},{"photo_id":"1332862962","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332862963":["hashtag1","hashtag2"]},{"1332862957":["hashtag1","hashtag2"]},{"1332862962":["hashtag1","hashtag2"]},{"1332862961":["hashtag1","hashtag2"]},{"1332862966":["hashtag1","hashtag2"]},{"1332862954":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332862963, 1332862957, 1332862962, 1332862961, 1332862966, 1332862954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.93502974510193 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:05:32.458383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/04/image_30012025_04_04_56_9371.jpg', '/home/pi/Desktop/images/30012025/04/04/image_30012025_04_05_06_10368.jpg', '/home/pi/Desktop/images/30012025/04/05/image_30012025_04_05_16_10372.jpg', '/home/pi/Desktop/images/30012025/04/05/image_30012025_04_05_26_9367.jpg', '/home/pi/Desktop/images/30012025/04/05/image_30012025_04_05_36_10407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/04/image_30012025_04_04_56_9371.jpg
/home/pi/Desktop/images/30012025/04/04/image_30012025_04_05_06_10368.jpg
/home/pi/Desktop/images/30012025/04/05/image_30012025_04_05_16_10372.jpg
/home/pi/Desktop/images/30012025/04/05/image_30012025_04_05_26_9367.jpg
/home/pi/Desktop/images/30012025/04/05/image_30012025_04_05_36_10407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332862992","1332862998","1332862982","1332862987","1332863002"],"photo_ids_order":["1332862982","1332862987","1332862992","1332862998","1332863002"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b3922d59035e821d16299ac90e98fe85.jpg","text":"TemporaryFile(/tmp/multipartBody1107371333212646049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206393368,"filename":"image_30012025_04_05_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/30/ec13f288920817f206bfffc2eedfaac0.jpg","text":"TemporaryFile(/tmp/multipartBody3284952867131956235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206393368,"filename":"image_30012025_04_05_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/30/d0eec5145ef4ffc4a23ab8e28db6eef1.jpg","text":"TemporaryFile(/tmp/multipartBody6849878100390388663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206393368,"filename":"image_30012025_04_04_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/30/7205b196cb62cd17c4995b8231870aca.jpg","text":"TemporaryFile(/tmp/multipartBody6955775227131513163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206393368,"filename":"image_30012025_04_05_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/30/95dd7d3bfce3443aa9f95ee43f456482.jpg","text":"TemporaryFile(/tmp/multipartBody854918250165304709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206393368,"filename":"image_30012025_04_05_36_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332862992","file1":"1332862987","file0":"1332862982","file4":"1332863002","file3":"1332862998"},"map_files_photo_id_array":[{"photo_id":"1332862992","filename":"file2"},{"photo_id":"1332863002","filename":"file4"},{"photo_id":"1332862987","filename":"file1"},{"photo_id":"1332862982","filename":"file0"},{"photo_id":"1332862998","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332862992":["hashtag1","hashtag2"]},{"1332862998":["hashtag1","hashtag2"]},{"1332862982":["hashtag1","hashtag2"]},{"1332862987":["hashtag1","hashtag2"]},{"1332863002":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332862992, 1332862998, 1332862982, 1332862987, 1332863002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.17700457572937 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:06:32.714346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/05/image_30012025_04_05_56_10370.jpg', '/home/pi/Desktop/images/30012025/04/05/image_30012025_04_06_06_10456.jpg', '/home/pi/Desktop/images/30012025/04/06/image_30012025_04_06_16_9429.jpg', '/home/pi/Desktop/images/30012025/04/06/image_30012025_04_06_26_10465.jpg', '/home/pi/Desktop/images/30012025/04/06/image_30012025_04_06_46_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/05/image_30012025_04_05_56_10370.jpg
/home/pi/Desktop/images/30012025/04/05/image_30012025_04_06_06_10456.jpg
/home/pi/Desktop/images/30012025/04/06/image_30012025_04_06_16_9429.jpg
/home/pi/Desktop/images/30012025/04/06/image_30012025_04_06_26_10465.jpg
/home/pi/Desktop/images/30012025/04/06/image_30012025_04_06_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":["1332863104","1332863024","1332863194","1332863014","1332863017"],"photo_ids_order":["1332863014","1332863017","1332863024","1332863104","1332863194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9201a0a77906f59d6c56f46dc5dfe766.jpg","text":"TemporaryFile(/tmp/multipartBody6761736945960200268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206453624,"filename":"image_30012025_04_06_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/30/bf99cec25707630e773f78736d8f09a1.jpg","text":"TemporaryFile(/tmp/multipartBody8440155935423025409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206453624,"filename":"image_30012025_04_06_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/30/318f535a6b626c19a4060cfecf7640dd.jpg","text":"TemporaryFile(/tmp/multipartBody1780326587163940493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206453624,"filename":"image_30012025_04_06_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/30/9d8f5e3129be9fbb84b006f4b63609cf.jpg","text":"TemporaryFile(/tmp/multipartBody2895682892547769689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206453624,"filename":"image_30012025_04_05_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/30/60d3d8a596aaf283e55ae5e5aa16fa28.jpg","text":"TemporaryFile(/tmp/multipartBody8917017825717015491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206453624,"filename":"image_30012025_04_06_06_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332863024","file1":"1332863017","file0":"1332863014","file4":"1332863194","file3":"1332863104"},"map_files_photo_id_array":[{"photo_id":"1332863024","filename":"file2"},{"photo_id":"1332863194","filename":"file4"},{"photo_id":"1332863017","filename":"file1"},{"photo_id":"1332863014","filename":"file0"},{"photo_id":"1332863104","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332863104":["hashtag1","hashtag2"]},{"1332863024":["hashtag1","hashtag2"]},{"1332863194":["hashtag1","hashtag2"]},{"1332863014":["hashtag1","hashtag2"]},{"1332863017":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332863104, 1332863024, 1332863194, 1332863014, 1332863017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 40.22739624977112 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:07:33.054986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/06/image_30012025_04_06_56_10424.jpg', '/home/pi/Desktop/images/30012025/04/07/image_30012025_04_07_16_10451.jpg', '/home/pi/Desktop/images/30012025/04/07/image_30012025_04_07_25_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/06/image_30012025_04_06_56_10424.jpg
/home/pi/Desktop/images/30012025/04/07/image_30012025_04_07_16_10451.jpg
/home/pi/Desktop/images/30012025/04/07/image_30012025_04_07_25_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.47887325286865234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 04:07:42.985028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/06/image_30012025_04_06_56_10424.jpg', '/home/pi/Desktop/images/30012025/04/07/image_30012025_04_07_16_10451.jpg', '/home/pi/Desktop/images/30012025/04/07/image_30012025_04_07_25_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/06/image_30012025_04_06_56_10424.jpg
/home/pi/Desktop/images/30012025/04/07/image_30012025_04_07_16_10451.jpg
/home/pi/Desktop/images/30012025/04/07/image_30012025_04_07_25_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":["1332863460","1332863482","1332863479"],"photo_ids_order":["1332863460","1332863479","1332863482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/48f013088c969cfdfb0fac6cc12fa6a1.jpg","text":"TemporaryFile(/tmp/multipartBody3420259375759606593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206523843,"filename":"image_30012025_04_06_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/30/7eefc0f5198cf3aca3aa8deb91ef2da7.jpg","text":"TemporaryFile(/tmp/multipartBody7361503366661920204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206523843,"filename":"image_30012025_04_07_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/30/47d289c91c3ab25a617e5129ea287755.jpg","text":"TemporaryFile(/tmp/multipartBody1451822510659454608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206523843,"filename":"image_30012025_04_07_16_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332863482","file1":"1332863479","file0":"1332863460"},"map_files_photo_id_array":[{"photo_id":"1332863482","filename":"file2"},{"photo_id":"1332863479","filename":"file1"},{"photo_id":"1332863460","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332863460":["hashtag1","hashtag2"]},{"1332863482":["hashtag1","hashtag2"]},{"1332863479":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332863460, 1332863482, 1332863479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.71147632598877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:08:32.138471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/07/image_30012025_04_07_36_10449.jpg', '/home/pi/Desktop/images/30012025/04/07/image_30012025_04_08_06_10441.jpg', '/home/pi/Desktop/images/30012025/04/08/image_30012025_04_08_15_9338.jpg', '/home/pi/Desktop/images/30012025/04/08/image_30012025_04_08_26_10351.jpg', '/home/pi/Desktop/images/30012025/04/08/image_30012025_04_08_36_10425.jpg', '/home/pi/Desktop/images/30012025/04/08/image_30012025_04_08_45_9364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/07/image_30012025_04_07_36_10449.jpg
/home/pi/Desktop/images/30012025/04/07/image_30012025_04_08_06_10441.jpg
/home/pi/Desktop/images/30012025/04/08/image_30012025_04_08_15_9338.jpg
/home/pi/Desktop/images/30012025/04/08/image_30012025_04_08_26_10351.jpg
/home/pi/Desktop/images/30012025/04/08/image_30012025_04_08_36_10425.jpg
/home/pi/Desktop/images/30012025/04/08/image_30012025_04_08_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":["1332863591","1332863588","1332863576","1332863585","1332863579","1332863593"],"photo_ids_order":["1332863576","1332863579","1332863585","1332863588","1332863591","1332863593"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1d62be7eaca8c30155f196ade28f91c3.jpg","text":"TemporaryFile(/tmp/multipartBody5842822474127592032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206573066,"filename":"image_30012025_04_08_36_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/30/23ee4ec880b3e53d34f5290e7b832364.jpg","text":"TemporaryFile(/tmp/multipartBody3946462664712649383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206573066,"filename":"image_30012025_04_08_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/30/22d09a13a52b1d0f300594e12574a9b9.jpg","text":"TemporaryFile(/tmp/multipartBody4043217137151894567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206573066,"filename":"image_30012025_04_07_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/30/8946936e094eb25c592fbb501cc282e4.jpg","text":"TemporaryFile(/tmp/multipartBody7452075685983612391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206573066,"filename":"image_30012025_04_08_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/30/fcf89fd65e91be955f0d5469f9852bcf.jpg","text":"TemporaryFile(/tmp/multipartBody7082489329127227633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206573066,"filename":"image_30012025_04_08_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/30/599676f497ee38aeb43c861fa41e6e2b.jpg","text":"TemporaryFile(/tmp/multipartBody3171495910235583871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206573066,"filename":"image_30012025_04_08_45_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332863585","file1":"1332863579","file0":"1332863576","file4":"1332863591","file5":"1332863593","file3":"1332863588"},"map_files_photo_id_array":[{"photo_id":"1332863593","filename":"file5"},{"photo_id":"1332863585","filename":"file2"},{"photo_id":"1332863591","filename":"file4"},{"photo_id":"1332863579","filename":"file1"},{"photo_id":"1332863576","filename":"file0"},{"photo_id":"1332863588","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332863591":["hashtag1","hashtag2"]},{"1332863588":["hashtag1","hashtag2"]},{"1332863576":["hashtag1","hashtag2"]},{"1332863585":["hashtag1","hashtag2"]},{"1332863579":["hashtag1","hashtag2"]},{"1332863593":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332863591, 1332863588, 1332863576, 1332863585, 1332863579, 1332863593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8871796131134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:09:32.354085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/08/image_30012025_04_08_56_10356.jpg', '/home/pi/Desktop/images/30012025/04/08/image_30012025_04_09_06_10350.jpg', '/home/pi/Desktop/images/30012025/04/09/image_30012025_04_09_16_9349.jpg', '/home/pi/Desktop/images/30012025/04/09/image_30012025_04_09_26_10344.jpg', '/home/pi/Desktop/images/30012025/04/09/image_30012025_04_09_36_10021.jpg', '/home/pi/Desktop/images/30012025/04/09/image_30012025_04_09_46_10401.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/08/image_30012025_04_08_56_10356.jpg
/home/pi/Desktop/images/30012025/04/08/image_30012025_04_09_06_10350.jpg
/home/pi/Desktop/images/30012025/04/09/image_30012025_04_09_16_9349.jpg
/home/pi/Desktop/images/30012025/04/09/image_30012025_04_09_26_10344.jpg
/home/pi/Desktop/images/30012025/04/09/image_30012025_04_09_36_10021.jpg
/home/pi/Desktop/images/30012025/04/09/image_30012025_04_09_46_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":["1332863613","1332863609","1332863620","1332863623","1332863617","1332863605"],"photo_ids_order":["1332863605","1332863609","1332863613","1332863617","1332863620","1332863623"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dba6f04c27603450bf3a2b3a9cedf7b9.jpg","text":"TemporaryFile(/tmp/multipartBody7504484663645717374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206633270,"filename":"image_30012025_04_09_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/30/c21dbe2c6c45d3e06ea02abe7ca61c41.jpg","text":"TemporaryFile(/tmp/multipartBody7045792487472954945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206633270,"filename":"image_30012025_04_09_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/30/f5d731c98addd7abd16774830082a83b.jpg","text":"TemporaryFile(/tmp/multipartBody7385258345768619629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206633270,"filename":"image_30012025_04_09_36_10021.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/17d0b4549e5c7df996c85cb2b4b0cf4e.jpg","text":"TemporaryFile(/tmp/multipartBody1365395412979641345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206633270,"filename":"image_30012025_04_09_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/30/e77aed5809720db0fcb0bb4d4033667e.jpg","text":"TemporaryFile(/tmp/multipartBody8565549913786884289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206633270,"filename":"image_30012025_04_09_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/30/a85a12ecef76e69a6cbf293ef800a36a.jpg","text":"TemporaryFile(/tmp/multipartBody2591601277017208800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206633270,"filename":"image_30012025_04_08_56_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332863613","file1":"1332863609","file0":"1332863605","file4":"1332863620","file5":"1332863623","file3":"1332863617"},"map_files_photo_id_array":[{"photo_id":"1332863623","filename":"file5"},{"photo_id":"1332863613","filename":"file2"},{"photo_id":"1332863620","filename":"file4"},{"photo_id":"1332863609","filename":"file1"},{"photo_id":"1332863605","filename":"file0"},{"photo_id":"1332863617","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332863613":["hashtag1","hashtag2"]},{"1332863609":["hashtag1","hashtag2"]},{"1332863620":["hashtag1","hashtag2"]},{"1332863623":["hashtag1","hashtag2"]},{"1332863617":["hashtag1","hashtag2"]},{"1332863605":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332863613, 1332863609, 1332863620, 1332863623, 1332863617, 1332863605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.99266171455383 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:10:32.630964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/09/image_30012025_04_09_56_9358.jpg', '/home/pi/Desktop/images/30012025/04/09/image_30012025_04_10_06_10393.jpg', '/home/pi/Desktop/images/30012025/04/10/image_30012025_04_10_15_9363.jpg', '/home/pi/Desktop/images/30012025/04/10/image_30012025_04_10_26_10392.jpg', '/home/pi/Desktop/images/30012025/04/10/image_30012025_04_10_36_10451.jpg', '/home/pi/Desktop/images/30012025/04/10/image_30012025_04_10_46_9365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/09/image_30012025_04_09_56_9358.jpg
/home/pi/Desktop/images/30012025/04/09/image_30012025_04_10_06_10393.jpg
/home/pi/Desktop/images/30012025/04/10/image_30012025_04_10_15_9363.jpg
/home/pi/Desktop/images/30012025/04/10/image_30012025_04_10_26_10392.jpg
/home/pi/Desktop/images/30012025/04/10/image_30012025_04_10_36_10451.jpg
/home/pi/Desktop/images/30012025/04/10/image_30012025_04_10_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":["1332863672","1332863654","1332863663","1332863680","1332863644","1332863638"],"photo_ids_order":["1332863638","1332863644","1332863654","1332863663","1332863672","1332863680"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bfe6b3cdcf8019e03e0a2043c45e716d.jpg","text":"TemporaryFile(/tmp/multipartBody2445211527362475922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206693569,"filename":"image_30012025_04_10_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/30/1d6e594b360c1e85461a86005f4fb15f.jpg","text":"TemporaryFile(/tmp/multipartBody132661546453749201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206693569,"filename":"image_30012025_04_10_15_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/30/73848319db0c85548eb0f1d604e16855.jpg","text":"TemporaryFile(/tmp/multipartBody3177109566326967539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206693569,"filename":"image_30012025_04_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/30/1df30937e56a236cab84ffd8623a391b.jpg","text":"TemporaryFile(/tmp/multipartBody4774718522077450948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206693569,"filename":"image_30012025_04_10_46_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/30/59e2bb9fbed0a23b8e34a29091899c31.jpg","text":"TemporaryFile(/tmp/multipartBody4917596983771978038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206693569,"filename":"image_30012025_04_10_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/30/3390da4340fc8b7070ae869949195c4b.jpg","text":"TemporaryFile(/tmp/multipartBody6040286344769537954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206693569,"filename":"image_30012025_04_09_56_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332863654","file1":"1332863644","file0":"1332863638","file4":"1332863672","file5":"1332863680","file3":"1332863663"},"map_files_photo_id_array":[{"photo_id":"1332863680","filename":"file5"},{"photo_id":"1332863654","filename":"file2"},{"photo_id":"1332863672","filename":"file4"},{"photo_id":"1332863644","filename":"file1"},{"photo_id":"1332863638","filename":"file0"},{"photo_id":"1332863663","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332863672":["hashtag1","hashtag2"]},{"1332863654":["hashtag1","hashtag2"]},{"1332863663":["hashtag1","hashtag2"]},{"1332863680":["hashtag1","hashtag2"]},{"1332863644":["hashtag1","hashtag2"]},{"1332863638":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332863672, 1332863654, 1332863663, 1332863680, 1332863644, 1332863638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.22376346588135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:11:32.865280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/10/image_30012025_04_10_56_10510.jpg', '/home/pi/Desktop/images/30012025/04/10/image_30012025_04_11_06_9399.jpg', '/home/pi/Desktop/images/30012025/04/11/image_30012025_04_11_25_9374.jpg', '/home/pi/Desktop/images/30012025/04/11/image_30012025_04_11_36_10376.jpg', '/home/pi/Desktop/images/30012025/04/11/image_30012025_04_11_46_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/10/image_30012025_04_10_56_10510.jpg
/home/pi/Desktop/images/30012025/04/10/image_30012025_04_11_06_9399.jpg
/home/pi/Desktop/images/30012025/04/11/image_30012025_04_11_25_9374.jpg
/home/pi/Desktop/images/30012025/04/11/image_30012025_04_11_36_10376.jpg
/home/pi/Desktop/images/30012025/04/11/image_30012025_04_11_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":["1332863707","1332863699","1332863695","1332863719","1332863704"],"photo_ids_order":["1332863695","1332863699","1332863704","1332863707","1332863719"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d3e66a1b310ab43193b4593483459821.jpg","text":"TemporaryFile(/tmp/multipartBody7196008601661525698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206753779,"filename":"image_30012025_04_11_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/30/df87989045640468dd702d7be9ac1cf0.jpg","text":"TemporaryFile(/tmp/multipartBody8771587109883277956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206753779,"filename":"image_30012025_04_11_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/30/50759900eb3425d8c1f2167ab0130b73.jpg","text":"TemporaryFile(/tmp/multipartBody3630730738931541313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206753779,"filename":"image_30012025_04_10_56_10510.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/45073b835350dfe1ec67764da65a0346.jpg","text":"TemporaryFile(/tmp/multipartBody4923590707925564647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206753779,"filename":"image_30012025_04_11_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/30/377b08cf9d036a00862c53008e1d4e02.jpg","text":"TemporaryFile(/tmp/multipartBody1482900091993221466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206753779,"filename":"image_30012025_04_11_25_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332863704","file1":"1332863699","file0":"1332863695","file4":"1332863719","file3":"1332863707"},"map_files_photo_id_array":[{"photo_id":"1332863704","filename":"file2"},{"photo_id":"1332863719","filename":"file4"},{"photo_id":"1332863699","filename":"file1"},{"photo_id":"1332863695","filename":"file0"},{"photo_id":"1332863707","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332863707":["hashtag1","hashtag2"]},{"1332863699":["hashtag1","hashtag2"]},{"1332863695":["hashtag1","hashtag2"]},{"1332863719":["hashtag1","hashtag2"]},{"1332863704":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332863707, 1332863699, 1332863695, 1332863719, 1332863704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.68411350250244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:12:32.142147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/11/image_30012025_04_11_55_9366.jpg', '/home/pi/Desktop/images/30012025/04/11/image_30012025_04_12_06_10367.jpg', '/home/pi/Desktop/images/30012025/04/12/image_30012025_04_12_16_10433.jpg', '/home/pi/Desktop/images/30012025/04/12/image_30012025_04_12_26_9386.jpg', '/home/pi/Desktop/images/30012025/04/12/image_30012025_04_12_46_9404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/11/image_30012025_04_11_55_9366.jpg
/home/pi/Desktop/images/30012025/04/11/image_30012025_04_12_06_10367.jpg
/home/pi/Desktop/images/30012025/04/12/image_30012025_04_12_16_10433.jpg
/home/pi/Desktop/images/30012025/04/12/image_30012025_04_12_26_9386.jpg
/home/pi/Desktop/images/30012025/04/12/image_30012025_04_12_46_9404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332863760","1332863763","1332863813","1332863773","1332863809"],"photo_ids_order":["1332863760","1332863763","1332863773","1332863809","1332863813"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/707c4cc5addbdee1c5cf4a6c00c7b988.jpg","text":"TemporaryFile(/tmp/multipartBody1606701374305570274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206813043,"filename":"image_30012025_04_11_55_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/30/06d46984f0a901c9514fc6ca5ac96b36.jpg","text":"TemporaryFile(/tmp/multipartBody8243710569857375569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206813043,"filename":"image_30012025_04_12_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/30/06e67fca5070f9c525fc3fe353837117.jpg","text":"TemporaryFile(/tmp/multipartBody3168583309194138679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206813043,"filename":"image_30012025_04_12_46_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/240be4d83ff0c2b82811e42534628093.jpg","text":"TemporaryFile(/tmp/multipartBody6433525838836848699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206813043,"filename":"image_30012025_04_12_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/30/cc0dee998f9f7df92e31de508fd6d36a.jpg","text":"TemporaryFile(/tmp/multipartBody2656633937658184306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206813043,"filename":"image_30012025_04_12_26_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332863773","file1":"1332863763","file0":"1332863760","file4":"1332863813","file3":"1332863809"},"map_files_photo_id_array":[{"photo_id":"1332863773","filename":"file2"},{"photo_id":"1332863813","filename":"file4"},{"photo_id":"1332863763","filename":"file1"},{"photo_id":"1332863760","filename":"file0"},{"photo_id":"1332863809","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332863760":["hashtag1","hashtag2"]},{"1332863763":["hashtag1","hashtag2"]},{"1332863813":["hashtag1","hashtag2"]},{"1332863773":["hashtag1","hashtag2"]},{"1332863809":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332863760, 1332863763, 1332863813, 1332863773, 1332863809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.23183727264404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:13:32.485209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/12/image_30012025_04_12_56_10465.jpg', '/home/pi/Desktop/images/30012025/04/12/image_30012025_04_13_05_9351.jpg', '/home/pi/Desktop/images/30012025/04/13/image_30012025_04_13_16_10382.jpg', '/home/pi/Desktop/images/30012025/04/13/image_30012025_04_13_26_10440.jpg', '/home/pi/Desktop/images/30012025/04/13/image_30012025_04_13_36_9350.jpg', '/home/pi/Desktop/images/30012025/04/13/image_30012025_04_13_46_10518.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/12/image_30012025_04_12_56_10465.jpg
/home/pi/Desktop/images/30012025/04/12/image_30012025_04_13_05_9351.jpg
/home/pi/Desktop/images/30012025/04/13/image_30012025_04_13_16_10382.jpg
/home/pi/Desktop/images/30012025/04/13/image_30012025_04_13_26_10440.jpg
/home/pi/Desktop/images/30012025/04/13/image_30012025_04_13_36_9350.jpg
/home/pi/Desktop/images/30012025/04/13/image_30012025_04_13_46_10518.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332864362","1332864365","1332864370","1332864393","1332864375","1332864378"],"photo_ids_order":["1332864362","1332864365","1332864370","1332864375","1332864378","1332864393"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/210d6bd67bfcbccd448fe1bbbba66615.jpg","text":"TemporaryFile(/tmp/multipartBody5526413043178335583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206873385,"filename":"image_30012025_04_12_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/30/aa5ccdf498db1edb1dcbbb7f223586fc.jpg","text":"TemporaryFile(/tmp/multipartBody4628509272892281899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206873385,"filename":"image_30012025_04_13_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/30/86ea8fdda8b46c66241df2ea6793fef8.jpg","text":"TemporaryFile(/tmp/multipartBody696308007261680700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206873385,"filename":"image_30012025_04_13_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/30/6a0ef16808aaac4784f334298ec1c797.jpg","text":"TemporaryFile(/tmp/multipartBody1884149886729004322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206873385,"filename":"image_30012025_04_13_46_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/30/48fd16c4ed1778b6c505f41c107f9e18.jpg","text":"TemporaryFile(/tmp/multipartBody2275052970585019690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206873385,"filename":"image_30012025_04_13_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/30/d371ebf94fea20f937cce77e3646b6c4.jpg","text":"TemporaryFile(/tmp/multipartBody7647511693029297930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206873385,"filename":"image_30012025_04_13_36_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332864370","file1":"1332864365","file0":"1332864362","file4":"1332864378","file5":"1332864393","file3":"1332864375"},"map_files_photo_id_array":[{"photo_id":"1332864393","filename":"file5"},{"photo_id":"1332864370","filename":"file2"},{"photo_id":"1332864378","filename":"file4"},{"photo_id":"1332864365","filename":"file1"},{"photo_id":"1332864362","filename":"file0"},{"photo_id":"1332864375","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332864362":["hashtag1","hashtag2"]},{"1332864365":["hashtag1","hashtag2"]},{"1332864370":["hashtag1","hashtag2"]},{"1332864393":["hashtag1","hashtag2"]},{"1332864375":["hashtag1","hashtag2"]},{"1332864378":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332864362, 1332864365, 1332864370, 1332864393, 1332864375, 1332864378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.30628323554993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:14:32.653435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/13/image_30012025_04_13_55_9410.jpg', '/home/pi/Desktop/images/30012025/04/13/image_30012025_04_14_06_10356.jpg', '/home/pi/Desktop/images/30012025/04/14/image_30012025_04_14_16_10343.jpg', '/home/pi/Desktop/images/30012025/04/14/image_30012025_04_14_26_9347.jpg', '/home/pi/Desktop/images/30012025/04/14/image_30012025_04_14_36_10483.jpg', '/home/pi/Desktop/images/30012025/04/14/image_30012025_04_14_45_9440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/13/image_30012025_04_13_55_9410.jpg
/home/pi/Desktop/images/30012025/04/13/image_30012025_04_14_06_10356.jpg
/home/pi/Desktop/images/30012025/04/14/image_30012025_04_14_16_10343.jpg
/home/pi/Desktop/images/30012025/04/14/image_30012025_04_14_26_9347.jpg
/home/pi/Desktop/images/30012025/04/14/image_30012025_04_14_36_10483.jpg
/home/pi/Desktop/images/30012025/04/14/image_30012025_04_14_45_9440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332864645","1332864627","1332864578","1332864632","1332864637","1332864642"],"photo_ids_order":["1332864578","1332864627","1332864632","1332864637","1332864642","1332864645"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1b8c98ab56ada0cf44eb7e8f0a7e6779.jpg","text":"TemporaryFile(/tmp/multipartBody9114367701674088515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206933595,"filename":"image_30012025_04_14_45_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/30/1e258358e6538b1aafd6b08d22e4d1b7.jpg","text":"TemporaryFile(/tmp/multipartBody1803018436786758050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206933595,"filename":"image_30012025_04_14_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/30/45696abcda7f52ed4467b67c6046c329.jpg","text":"TemporaryFile(/tmp/multipartBody3507965485659148596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206933595,"filename":"image_30012025_04_13_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/30/3e9f3c2290be30f76caa7c8cc05b0043.jpg","text":"TemporaryFile(/tmp/multipartBody5166906321981569668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206933595,"filename":"image_30012025_04_14_16_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/af0a001d85c933abb7d46494cd12748d.jpg","text":"TemporaryFile(/tmp/multipartBody5622530759185426939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206933595,"filename":"image_30012025_04_14_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/30/38ba1a6c511cd3217cd63d552cbea414.jpg","text":"TemporaryFile(/tmp/multipartBody2379559355177564021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738206933595,"filename":"image_30012025_04_14_36_10483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332864632","file1":"1332864627","file0":"1332864578","file4":"1332864642","file5":"1332864645","file3":"1332864637"},"map_files_photo_id_array":[{"photo_id":"1332864645","filename":"file5"},{"photo_id":"1332864632","filename":"file2"},{"photo_id":"1332864642","filename":"file4"},{"photo_id":"1332864627","filename":"file1"},{"photo_id":"1332864578","filename":"file0"},{"photo_id":"1332864637","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332864645":["hashtag1","hashtag2"]},{"1332864627":["hashtag1","hashtag2"]},{"1332864578":["hashtag1","hashtag2"]},{"1332864632":["hashtag1","hashtag2"]},{"1332864637":["hashtag1","hashtag2"]},{"1332864642":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332864645, 1332864627, 1332864578, 1332864632, 1332864637, 1332864642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.02503156661987 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:15:32.824332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/14/image_30012025_04_14_56_10387.jpg', '/home/pi/Desktop/images/30012025/04/14/image_30012025_04_15_06_10409.jpg', '/home/pi/Desktop/images/30012025/04/15/image_30012025_04_15_16_9355.jpg', '/home/pi/Desktop/images/30012025/04/15/image_30012025_04_15_26_10497.jpg', '/home/pi/Desktop/images/30012025/04/15/image_30012025_04_15_35_9347.jpg', '/home/pi/Desktop/images/30012025/04/15/image_30012025_04_15_46_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/14/image_30012025_04_14_56_10387.jpg
/home/pi/Desktop/images/30012025/04/14/image_30012025_04_15_06_10409.jpg
/home/pi/Desktop/images/30012025/04/15/image_30012025_04_15_16_9355.jpg
/home/pi/Desktop/images/30012025/04/15/image_30012025_04_15_26_10497.jpg
/home/pi/Desktop/images/30012025/04/15/image_30012025_04_15_35_9347.jpg
/home/pi/Desktop/images/30012025/04/15/image_30012025_04_15_46_10359.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5410661697387695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 04:15:42.803374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/14/image_30012025_04_14_56_10387.jpg', '/home/pi/Desktop/images/30012025/04/14/image_30012025_04_15_06_10409.jpg', '/home/pi/Desktop/images/30012025/04/15/image_30012025_04_15_16_9355.jpg', '/home/pi/Desktop/images/30012025/04/15/image_30012025_04_15_26_10497.jpg', '/home/pi/Desktop/images/30012025/04/15/image_30012025_04_15_35_9347.jpg', '/home/pi/Desktop/images/30012025/04/15/image_30012025_04_15_46_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/14/image_30012025_04_14_56_10387.jpg
/home/pi/Desktop/images/30012025/04/14/image_30012025_04_15_06_10409.jpg
/home/pi/Desktop/images/30012025/04/15/image_30012025_04_15_16_9355.jpg
/home/pi/Desktop/images/30012025/04/15/image_30012025_04_15_26_10497.jpg
/home/pi/Desktop/images/30012025/04/15/image_30012025_04_15_35_9347.jpg
/home/pi/Desktop/images/30012025/04/15/image_30012025_04_15_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":["1332864737","1332864769","1332864763","1332864766","1332864733","1332864741"],"photo_ids_order":["1332864733","1332864737","1332864741","1332864763","1332864766","1332864769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ec9358cab17a40ffc991572f61cc3891.jpg","text":"TemporaryFile(/tmp/multipartBody2073563055961072998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207003708,"filename":"image_30012025_04_15_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/30/c097dba196a1f64278ec2d5ae45430bc.jpg","text":"TemporaryFile(/tmp/multipartBody7295748114570300544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207003708,"filename":"image_30012025_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/30/eab4e5b3a1d517058adb005bfdbec3d8.jpg","text":"TemporaryFile(/tmp/multipartBody9180459251883269979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207003708,"filename":"image_30012025_04_15_26_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/30/832e4b58dac931a9ff6c6124b6ea302e.jpg","text":"TemporaryFile(/tmp/multipartBody4668099877745593353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207003708,"filename":"image_30012025_04_15_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/30/c152ce8913bd7985287858af2363e85e.jpg","text":"TemporaryFile(/tmp/multipartBody3102122256796883301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207003708,"filename":"image_30012025_04_14_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/30/7d6bd91c7047435cc3ddcb30f2ff14d6.jpg","text":"TemporaryFile(/tmp/multipartBody8215497201611111721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207003708,"filename":"image_30012025_04_15_16_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332864741","file1":"1332864737","file0":"1332864733","file4":"1332864766","file5":"1332864769","file3":"1332864763"},"map_files_photo_id_array":[{"photo_id":"1332864769","filename":"file5"},{"photo_id":"1332864741","filename":"file2"},{"photo_id":"1332864766","filename":"file4"},{"photo_id":"1332864737","filename":"file1"},{"photo_id":"1332864733","filename":"file0"},{"photo_id":"1332864763","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332864737":["hashtag1","hashtag2"]},{"1332864769":["hashtag1","hashtag2"]},{"1332864763":["hashtag1","hashtag2"]},{"1332864766":["hashtag1","hashtag2"]},{"1332864733":["hashtag1","hashtag2"]},{"1332864741":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332864737, 1332864769, 1332864763, 1332864766, 1332864733, 1332864741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.945011615753174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:16:33.069099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/15/image_30012025_04_15_56_10370.jpg', '/home/pi/Desktop/images/30012025/04/15/image_30012025_04_16_06_9343.jpg', '/home/pi/Desktop/images/30012025/04/16/image_30012025_04_16_16_10353.jpg', '/home/pi/Desktop/images/30012025/04/16/image_30012025_04_16_26_10422.jpg', '/home/pi/Desktop/images/30012025/04/16/image_30012025_04_16_36_9352.jpg', '/home/pi/Desktop/images/30012025/04/16/image_30012025_04_16_46_10387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/15/image_30012025_04_15_56_10370.jpg
/home/pi/Desktop/images/30012025/04/15/image_30012025_04_16_06_9343.jpg
/home/pi/Desktop/images/30012025/04/16/image_30012025_04_16_16_10353.jpg
/home/pi/Desktop/images/30012025/04/16/image_30012025_04_16_26_10422.jpg
/home/pi/Desktop/images/30012025/04/16/image_30012025_04_16_36_9352.jpg
/home/pi/Desktop/images/30012025/04/16/image_30012025_04_16_46_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":["1332864887","1332865084","1332865087","1332865078","1332864792","1332864993"],"photo_ids_order":["1332864792","1332864887","1332864993","1332865078","1332865084","1332865087"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7cae23192ea85633b51221f10b510666.jpg","text":"TemporaryFile(/tmp/multipartBody8604310455160026171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207053982,"filename":"image_30012025_04_16_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/30/0a2a4c3d99f43abcddb266111caa6464.jpg","text":"TemporaryFile(/tmp/multipartBody3915457947577964730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207053982,"filename":"image_30012025_04_16_36_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/30/f5589b199fa698923821292e9075c3ef.jpg","text":"TemporaryFile(/tmp/multipartBody707167799827094937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207053982,"filename":"image_30012025_04_16_46_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/30/28a02d1829ab7821bb586e550964de16.jpg","text":"TemporaryFile(/tmp/multipartBody960477907787190460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207053982,"filename":"image_30012025_04_16_26_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/644baa1fe92987dbcbdb1707826de2ec.jpg","text":"TemporaryFile(/tmp/multipartBody6611970076488467249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207053982,"filename":"image_30012025_04_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/30/2c5b7a514c870b218b2fdd06a4246dbe.jpg","text":"TemporaryFile(/tmp/multipartBody7515911244780981062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207053982,"filename":"image_30012025_04_16_16_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332864993","file1":"1332864887","file0":"1332864792","file4":"1332865084","file5":"1332865087","file3":"1332865078"},"map_files_photo_id_array":[{"photo_id":"1332865087","filename":"file5"},{"photo_id":"1332864993","filename":"file2"},{"photo_id":"1332865084","filename":"file4"},{"photo_id":"1332864887","filename":"file1"},{"photo_id":"1332864792","filename":"file0"},{"photo_id":"1332865078","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332864887":["hashtag1","hashtag2"]},{"1332865084":["hashtag1","hashtag2"]},{"1332865087":["hashtag1","hashtag2"]},{"1332865078":["hashtag1","hashtag2"]},{"1332864792":["hashtag1","hashtag2"]},{"1332864993":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332864887, 1332865084, 1332865087, 1332865078, 1332864792, 1332864993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.6107976436615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:17:32.290664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/16/image_30012025_04_16_55_9384.jpg', '/home/pi/Desktop/images/30012025/04/16/image_30012025_04_17_06_10365.jpg', '/home/pi/Desktop/images/30012025/04/17/image_30012025_04_17_16_10433.jpg', '/home/pi/Desktop/images/30012025/04/17/image_30012025_04_17_36_10443.jpg', '/home/pi/Desktop/images/30012025/04/17/image_30012025_04_17_45_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/16/image_30012025_04_16_55_9384.jpg
/home/pi/Desktop/images/30012025/04/16/image_30012025_04_17_06_10365.jpg
/home/pi/Desktop/images/30012025/04/17/image_30012025_04_17_16_10433.jpg
/home/pi/Desktop/images/30012025/04/17/image_30012025_04_17_36_10443.jpg
/home/pi/Desktop/images/30012025/04/17/image_30012025_04_17_45_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332865393","1332865488","1332865455","1332865431","1332865227"],"photo_ids_order":["1332865227","1332865393","1332865431","1332865455","1332865488"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9bc6593fb92fd2f51dde354cda191631.jpg","text":"TemporaryFile(/tmp/multipartBody6898750867156395648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207113188,"filename":"image_30012025_04_17_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/30/67552f29ef27c7579120256ec0b638f1.jpg","text":"TemporaryFile(/tmp/multipartBody1623817733572107669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207113188,"filename":"image_30012025_04_17_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/30/0fe1f7ff214acfbf51517c54132cbc62.jpg","text":"TemporaryFile(/tmp/multipartBody3213574195934668223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207113188,"filename":"image_30012025_04_17_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/30/3162f6346f6b0b02eafd6b23ccdf84e7.jpg","text":"TemporaryFile(/tmp/multipartBody3577388475703526059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207113188,"filename":"image_30012025_04_17_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/30/e53c004a2b7d708e6007ba3b1a869266.jpg","text":"TemporaryFile(/tmp/multipartBody2374513336383632679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207113188,"filename":"image_30012025_04_16_55_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332865431","file1":"1332865393","file0":"1332865227","file4":"1332865488","file3":"1332865455"},"map_files_photo_id_array":[{"photo_id":"1332865431","filename":"file2"},{"photo_id":"1332865488","filename":"file4"},{"photo_id":"1332865393","filename":"file1"},{"photo_id":"1332865227","filename":"file0"},{"photo_id":"1332865455","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332865393":["hashtag1","hashtag2"]},{"1332865488":["hashtag1","hashtag2"]},{"1332865455":["hashtag1","hashtag2"]},{"1332865431":["hashtag1","hashtag2"]},{"1332865227":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332865393, 1332865488, 1332865455, 1332865431, 1332865227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.14358186721802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:18:32.641172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/17/image_30012025_04_17_56_10360.jpg', '/home/pi/Desktop/images/30012025/04/17/image_30012025_04_18_06_10387.jpg', '/home/pi/Desktop/images/30012025/04/18/image_30012025_04_18_16_9397.jpg', '/home/pi/Desktop/images/30012025/04/18/image_30012025_04_18_26_10454.jpg', '/home/pi/Desktop/images/30012025/04/18/image_30012025_04_18_35_9422.jpg', '/home/pi/Desktop/images/30012025/04/18/image_30012025_04_18_46_10384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/17/image_30012025_04_17_56_10360.jpg
/home/pi/Desktop/images/30012025/04/17/image_30012025_04_18_06_10387.jpg
/home/pi/Desktop/images/30012025/04/18/image_30012025_04_18_16_9397.jpg
/home/pi/Desktop/images/30012025/04/18/image_30012025_04_18_26_10454.jpg
/home/pi/Desktop/images/30012025/04/18/image_30012025_04_18_35_9422.jpg
/home/pi/Desktop/images/30012025/04/18/image_30012025_04_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":["1332865583","1332865574","1332865585","1332865570","1332865578","1332865581"],"photo_ids_order":["1332865570","1332865574","1332865578","1332865581","1332865583","1332865585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/107c2660f94a5e7b62684c6c4c5621c6.jpg","text":"TemporaryFile(/tmp/multipartBody5804920618859750761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207173575,"filename":"image_30012025_04_18_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/30/9a6e149c61890d38f9f603eb308ed0e7.jpg","text":"TemporaryFile(/tmp/multipartBody8848072231099933971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207173575,"filename":"image_30012025_04_18_06_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ca295fb1975fd9733586ba3b0254405a.jpg","text":"TemporaryFile(/tmp/multipartBody7007982356871337275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207173575,"filename":"image_30012025_04_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/30/b2012bef0dff36c9650e5b6ebf159b61.jpg","text":"TemporaryFile(/tmp/multipartBody6932561882247616499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207173575,"filename":"image_30012025_04_17_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/30/8137f4ef5858f082b4349203b0211c83.jpg","text":"TemporaryFile(/tmp/multipartBody7734906528488417797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207173575,"filename":"image_30012025_04_18_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/30/2ad39591ac58fbcebf7d5041cd1fca16.jpg","text":"TemporaryFile(/tmp/multipartBody3965463523578418687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207173575,"filename":"image_30012025_04_18_26_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332865578","file1":"1332865574","file0":"1332865570","file4":"1332865583","file5":"1332865585","file3":"1332865581"},"map_files_photo_id_array":[{"photo_id":"1332865585","filename":"file5"},{"photo_id":"1332865578","filename":"file2"},{"photo_id":"1332865583","filename":"file4"},{"photo_id":"1332865574","filename":"file1"},{"photo_id":"1332865570","filename":"file0"},{"photo_id":"1332865581","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332865583":["hashtag1","hashtag2"]},{"1332865574":["hashtag1","hashtag2"]},{"1332865585":["hashtag1","hashtag2"]},{"1332865570":["hashtag1","hashtag2"]},{"1332865578":["hashtag1","hashtag2"]},{"1332865581":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332865583, 1332865574, 1332865585, 1332865570, 1332865578, 1332865581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.73269724845886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:19:32.943562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/18/image_30012025_04_18_56_10391.jpg', '/home/pi/Desktop/images/30012025/04/18/image_30012025_04_19_06_9359.jpg', '/home/pi/Desktop/images/30012025/04/19/image_30012025_04_19_16_10423.jpg', '/home/pi/Desktop/images/30012025/04/19/image_30012025_04_19_25_9409.jpg', '/home/pi/Desktop/images/30012025/04/19/image_30012025_04_19_36_10429.jpg', '/home/pi/Desktop/images/30012025/04/19/image_30012025_04_19_46_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/18/image_30012025_04_18_56_10391.jpg
/home/pi/Desktop/images/30012025/04/18/image_30012025_04_19_06_9359.jpg
/home/pi/Desktop/images/30012025/04/19/image_30012025_04_19_16_10423.jpg
/home/pi/Desktop/images/30012025/04/19/image_30012025_04_19_25_9409.jpg
/home/pi/Desktop/images/30012025/04/19/image_30012025_04_19_36_10429.jpg
/home/pi/Desktop/images/30012025/04/19/image_30012025_04_19_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":["1332865669","1332865596","1332865677","1332865600","1332865680","1332865674"],"photo_ids_order":["1332865596","1332865600","1332865669","1332865674","1332865677","1332865680"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/eeab2c3a8889422d09de66201ac59251.jpg","text":"TemporaryFile(/tmp/multipartBody4432884012493675476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207233876,"filename":"image_30012025_04_19_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/30/f6ecdf86c7141c1968323dd18f3e8653.jpg","text":"TemporaryFile(/tmp/multipartBody5051620757805605306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207233876,"filename":"image_30012025_04_18_56_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/88b8fbdaedca7bad41c746df79ae746e.jpg","text":"TemporaryFile(/tmp/multipartBody4104402348032082039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207233876,"filename":"image_30012025_04_19_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/30/39649ca4d0cd1b2e80e0818de153dcca.jpg","text":"TemporaryFile(/tmp/multipartBody5270804919337271962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207233876,"filename":"image_30012025_04_19_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/30/1c7fafd208ac939129d64d68e7df52ba.jpg","text":"TemporaryFile(/tmp/multipartBody8800968498643782833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207233876,"filename":"image_30012025_04_19_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/30/42c86b1473d3150cfebdbbf4634eb52a.jpg","text":"TemporaryFile(/tmp/multipartBody8850811978030498249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207233876,"filename":"image_30012025_04_19_25_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332865669","file1":"1332865600","file0":"1332865596","file4":"1332865677","file5":"1332865680","file3":"1332865674"},"map_files_photo_id_array":[{"photo_id":"1332865680","filename":"file5"},{"photo_id":"1332865669","filename":"file2"},{"photo_id":"1332865677","filename":"file4"},{"photo_id":"1332865600","filename":"file1"},{"photo_id":"1332865596","filename":"file0"},{"photo_id":"1332865674","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332865669":["hashtag1","hashtag2"]},{"1332865596":["hashtag1","hashtag2"]},{"1332865677":["hashtag1","hashtag2"]},{"1332865600":["hashtag1","hashtag2"]},{"1332865680":["hashtag1","hashtag2"]},{"1332865674":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332865669, 1332865596, 1332865677, 1332865600, 1332865680, 1332865674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.3013756275177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:20:32.114675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/19/image_30012025_04_19_56_9401.jpg', '/home/pi/Desktop/images/30012025/04/19/image_30012025_04_20_06_10419.jpg', '/home/pi/Desktop/images/30012025/04/20/image_30012025_04_20_16_10337.jpg', '/home/pi/Desktop/images/30012025/04/20/image_30012025_04_20_26_9428.jpg', '/home/pi/Desktop/images/30012025/04/20/image_30012025_04_20_36_10416.jpg', '/home/pi/Desktop/images/30012025/04/20/image_30012025_04_20_46_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/19/image_30012025_04_19_56_9401.jpg
/home/pi/Desktop/images/30012025/04/19/image_30012025_04_20_06_10419.jpg
/home/pi/Desktop/images/30012025/04/20/image_30012025_04_20_16_10337.jpg
/home/pi/Desktop/images/30012025/04/20/image_30012025_04_20_26_9428.jpg
/home/pi/Desktop/images/30012025/04/20/image_30012025_04_20_36_10416.jpg
/home/pi/Desktop/images/30012025/04/20/image_30012025_04_20_46_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":["1332865707","1332865699","1332865703","1332865711","1332865695","1332865716"],"photo_ids_order":["1332865695","1332865699","1332865703","1332865707","1332865711","1332865716"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/89d6ac615ee27965b00b785ecc8d1fb4.jpg","text":"TemporaryFile(/tmp/multipartBody4024298305794690357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207293035,"filename":"image_30012025_04_20_26_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/30/55922c4b63ba19524b21ce5b3467621e.jpg","text":"TemporaryFile(/tmp/multipartBody6094169457472802316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207293035,"filename":"image_30012025_04_20_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/30/d96162a198d41a1b5fc312af0d5930be.jpg","text":"TemporaryFile(/tmp/multipartBody3573247806319340785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207293035,"filename":"image_30012025_04_20_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/30/754c872bce3acb80ffa5c36a0c80d4ea.jpg","text":"TemporaryFile(/tmp/multipartBody5981573166326198528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207293035,"filename":"image_30012025_04_20_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/30/a40bd2c195519fece75f0879cbe9e11e.jpg","text":"TemporaryFile(/tmp/multipartBody7948131812691121302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207293035,"filename":"image_30012025_04_19_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/30/fab943c25d4928f37cd8d1c78b9ec212.jpg","text":"TemporaryFile(/tmp/multipartBody6358813492017178009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207293035,"filename":"image_30012025_04_20_46_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332865703","file1":"1332865699","file0":"1332865695","file4":"1332865711","file5":"1332865716","file3":"1332865707"},"map_files_photo_id_array":[{"photo_id":"1332865716","filename":"file5"},{"photo_id":"1332865703","filename":"file2"},{"photo_id":"1332865711","filename":"file4"},{"photo_id":"1332865699","filename":"file1"},{"photo_id":"1332865695","filename":"file0"},{"photo_id":"1332865707","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332865707":["hashtag1","hashtag2"]},{"1332865699":["hashtag1","hashtag2"]},{"1332865703":["hashtag1","hashtag2"]},{"1332865711":["hashtag1","hashtag2"]},{"1332865695":["hashtag1","hashtag2"]},{"1332865716":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332865707, 1332865699, 1332865703, 1332865711, 1332865695, 1332865716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.77108287811279 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:21:32.279922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/20/image_30012025_04_20_56_10371.jpg', '/home/pi/Desktop/images/30012025/04/20/image_30012025_04_21_06_10427.jpg', '/home/pi/Desktop/images/30012025/04/21/image_30012025_04_21_16_9349.jpg', '/home/pi/Desktop/images/30012025/04/21/image_30012025_04_21_26_10425.jpg', '/home/pi/Desktop/images/30012025/04/21/image_30012025_04_21_35_9338.jpg', '/home/pi/Desktop/images/30012025/04/21/image_30012025_04_21_46_10378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/20/image_30012025_04_20_56_10371.jpg
/home/pi/Desktop/images/30012025/04/20/image_30012025_04_21_06_10427.jpg
/home/pi/Desktop/images/30012025/04/21/image_30012025_04_21_16_9349.jpg
/home/pi/Desktop/images/30012025/04/21/image_30012025_04_21_26_10425.jpg
/home/pi/Desktop/images/30012025/04/21/image_30012025_04_21_35_9338.jpg
/home/pi/Desktop/images/30012025/04/21/image_30012025_04_21_46_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":["1332866042","1332866336","1332866318","1332866280","1332865842","1332866147"],"photo_ids_order":["1332865842","1332866042","1332866147","1332866280","1332866318","1332866336"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5025bd152546346430a11fe04bf76d08.jpg","text":"TemporaryFile(/tmp/multipartBody1781971168191323664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207353280,"filename":"image_30012025_04_21_06_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/30/03b49677ba2fbf3ca47f64ba8dda970b.jpg","text":"TemporaryFile(/tmp/multipartBody6621076747381190531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207353280,"filename":"image_30012025_04_21_46_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/30/10757abf4d9110d0b07bd4669a02abda.jpg","text":"TemporaryFile(/tmp/multipartBody3886963803039187890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207353280,"filename":"image_30012025_04_21_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/30/f60a48e7d6b51a9f88173edce4a020d9.jpg","text":"TemporaryFile(/tmp/multipartBody5298300328420694447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207353280,"filename":"image_30012025_04_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/30/580497e3d0552c331a2b55634f3e9bf1.jpg","text":"TemporaryFile(/tmp/multipartBody4314853492993837825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207353280,"filename":"image_30012025_04_20_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/30/26fb969eaa098edfac83736e646275fb.jpg","text":"TemporaryFile(/tmp/multipartBody4278264991129163975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207353280,"filename":"image_30012025_04_21_16_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332866147","file1":"1332866042","file0":"1332865842","file4":"1332866318","file5":"1332866336","file3":"1332866280"},"map_files_photo_id_array":[{"photo_id":"1332866336","filename":"file5"},{"photo_id":"1332866147","filename":"file2"},{"photo_id":"1332866318","filename":"file4"},{"photo_id":"1332866042","filename":"file1"},{"photo_id":"1332865842","filename":"file0"},{"photo_id":"1332866280","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332866042":["hashtag1","hashtag2"]},{"1332866336":["hashtag1","hashtag2"]},{"1332866318":["hashtag1","hashtag2"]},{"1332866280":["hashtag1","hashtag2"]},{"1332865842":["hashtag1","hashtag2"]},{"1332866147":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332866042, 1332866336, 1332866318, 1332866280, 1332865842, 1332866147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.35082125663757 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:22:32.656963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/21/image_30012025_04_21_56_10354.jpg', '/home/pi/Desktop/images/30012025/04/21/image_30012025_04_22_06_9356.jpg', '/home/pi/Desktop/images/30012025/04/22/image_30012025_04_22_16_10335.jpg', '/home/pi/Desktop/images/30012025/04/22/image_30012025_04_22_25_9516.jpg', '/home/pi/Desktop/images/30012025/04/22/image_30012025_04_22_36_10431.jpg', '/home/pi/Desktop/images/30012025/04/22/image_30012025_04_22_46_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/21/image_30012025_04_21_56_10354.jpg
/home/pi/Desktop/images/30012025/04/21/image_30012025_04_22_06_9356.jpg
/home/pi/Desktop/images/30012025/04/22/image_30012025_04_22_16_10335.jpg
/home/pi/Desktop/images/30012025/04/22/image_30012025_04_22_25_9516.jpg
/home/pi/Desktop/images/30012025/04/22/image_30012025_04_22_36_10431.jpg
/home/pi/Desktop/images/30012025/04/22/image_30012025_04_22_46_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332866671","1332866688","1332866691","1332866690","1332866616","1332866666"],"photo_ids_order":["1332866616","1332866666","1332866671","1332866688","1332866690","1332866691"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3bcbf959ae1ecca08a124d14820a6a5d.jpg","text":"TemporaryFile(/tmp/multipartBody1201689142044476336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207413568,"filename":"image_30012025_04_22_16_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7ab55cea59ef60d6c65c64a8cf5ffbaa.jpg","text":"TemporaryFile(/tmp/multipartBody7899803346447824657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207413568,"filename":"image_30012025_04_22_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/30/03558db833d4ea8fbe115a517d9e2264.jpg","text":"TemporaryFile(/tmp/multipartBody1762340313958347090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207413568,"filename":"image_30012025_04_22_46_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a0683d03901a659c0f18471d0b6e89b3.jpg","text":"TemporaryFile(/tmp/multipartBody6356968107484963315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207413568,"filename":"image_30012025_04_22_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/30/39752abc21b448be355046d9bafe3a46.jpg","text":"TemporaryFile(/tmp/multipartBody1172456830691218344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207413568,"filename":"image_30012025_04_21_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/30/c42038958d8f8d91a071213375000da6.jpg","text":"TemporaryFile(/tmp/multipartBody584930642403443911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207413568,"filename":"image_30012025_04_22_06_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332866671","file1":"1332866666","file0":"1332866616","file4":"1332866690","file5":"1332866691","file3":"1332866688"},"map_files_photo_id_array":[{"photo_id":"1332866691","filename":"file5"},{"photo_id":"1332866671","filename":"file2"},{"photo_id":"1332866690","filename":"file4"},{"photo_id":"1332866666","filename":"file1"},{"photo_id":"1332866616","filename":"file0"},{"photo_id":"1332866688","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332866671":["hashtag1","hashtag2"]},{"1332866688":["hashtag1","hashtag2"]},{"1332866691":["hashtag1","hashtag2"]},{"1332866690":["hashtag1","hashtag2"]},{"1332866616":["hashtag1","hashtag2"]},{"1332866666":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332866671, 1332866688, 1332866691, 1332866690, 1332866616, 1332866666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26747727394104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:23:32.731667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/22/image_30012025_04_22_56_9366.jpg', '/home/pi/Desktop/images/30012025/04/22/image_30012025_04_23_06_10506.jpg', '/home/pi/Desktop/images/30012025/04/23/image_30012025_04_23_15_9343.jpg', '/home/pi/Desktop/images/30012025/04/23/image_30012025_04_23_26_10352.jpg', '/home/pi/Desktop/images/30012025/04/23/image_30012025_04_23_36_10435.jpg', '/home/pi/Desktop/images/30012025/04/23/image_30012025_04_23_46_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/22/image_30012025_04_22_56_9366.jpg
/home/pi/Desktop/images/30012025/04/22/image_30012025_04_23_06_10506.jpg
/home/pi/Desktop/images/30012025/04/23/image_30012025_04_23_15_9343.jpg
/home/pi/Desktop/images/30012025/04/23/image_30012025_04_23_26_10352.jpg
/home/pi/Desktop/images/30012025/04/23/image_30012025_04_23_36_10435.jpg
/home/pi/Desktop/images/30012025/04/23/image_30012025_04_23_46_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.5221555233001709 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 04:23:42.749374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/22/image_30012025_04_22_56_9366.jpg', '/home/pi/Desktop/images/30012025/04/22/image_30012025_04_23_06_10506.jpg', '/home/pi/Desktop/images/30012025/04/23/image_30012025_04_23_15_9343.jpg', '/home/pi/Desktop/images/30012025/04/23/image_30012025_04_23_26_10352.jpg', '/home/pi/Desktop/images/30012025/04/23/image_30012025_04_23_36_10435.jpg', '/home/pi/Desktop/images/30012025/04/23/image_30012025_04_23_46_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/22/image_30012025_04_22_56_9366.jpg
/home/pi/Desktop/images/30012025/04/22/image_30012025_04_23_06_10506.jpg
/home/pi/Desktop/images/30012025/04/23/image_30012025_04_23_15_9343.jpg
/home/pi/Desktop/images/30012025/04/23/image_30012025_04_23_26_10352.jpg
/home/pi/Desktop/images/30012025/04/23/image_30012025_04_23_36_10435.jpg
/home/pi/Desktop/images/30012025/04/23/image_30012025_04_23_46_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332866825","1332866813","1332866838","1332866823","1332866817","1332866820"],"photo_ids_order":["1332866813","1332866817","1332866820","1332866823","1332866825","1332866838"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/45a3af114dd37e14e98726dfd81a9255.jpg","text":"TemporaryFile(/tmp/multipartBody5077467520099581653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207483660,"filename":"image_30012025_04_23_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/30/710bf8b4dcdd0e8a8757a26165e6f799.jpg","text":"TemporaryFile(/tmp/multipartBody432047886256506336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207483660,"filename":"image_30012025_04_22_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/30/1ba3ac9a5fce55fffd78b63ad5ebb76f.jpg","text":"TemporaryFile(/tmp/multipartBody8627626158951642468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207483660,"filename":"image_30012025_04_23_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/30/113e348fcc3ea2e6edb81e9de5696c12.jpg","text":"TemporaryFile(/tmp/multipartBody7848485672328913588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207483660,"filename":"image_30012025_04_23_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/30/cba276f6efb659cdaefe9bad7854f252.jpg","text":"TemporaryFile(/tmp/multipartBody2168705435529028690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207483660,"filename":"image_30012025_04_23_06_10506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9d69fea06d668439454a787519939ca2.jpg","text":"TemporaryFile(/tmp/multipartBody1128841288817177471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207483660,"filename":"image_30012025_04_23_15_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332866820","file1":"1332866817","file0":"1332866813","file4":"1332866825","file5":"1332866838","file3":"1332866823"},"map_files_photo_id_array":[{"photo_id":"1332866838","filename":"file5"},{"photo_id":"1332866820","filename":"file2"},{"photo_id":"1332866825","filename":"file4"},{"photo_id":"1332866817","filename":"file1"},{"photo_id":"1332866813","filename":"file0"},{"photo_id":"1332866823","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332866825":["hashtag1","hashtag2"]},{"1332866813":["hashtag1","hashtag2"]},{"1332866838":["hashtag1","hashtag2"]},{"1332866823":["hashtag1","hashtag2"]},{"1332866817":["hashtag1","hashtag2"]},{"1332866820":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332866825, 1332866813, 1332866838, 1332866823, 1332866817, 1332866820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.55160307884216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:24:32.972060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/23/image_30012025_04_23_56_10446.jpg', '/home/pi/Desktop/images/30012025/04/23/image_30012025_04_24_05_9343.jpg', '/home/pi/Desktop/images/30012025/04/24/image_30012025_04_24_16_10365.jpg', '/home/pi/Desktop/images/30012025/04/24/image_30012025_04_24_36_9418.jpg', '/home/pi/Desktop/images/30012025/04/24/image_30012025_04_24_46_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/23/image_30012025_04_23_56_10446.jpg
/home/pi/Desktop/images/30012025/04/23/image_30012025_04_24_05_9343.jpg
/home/pi/Desktop/images/30012025/04/24/image_30012025_04_24_16_10365.jpg
/home/pi/Desktop/images/30012025/04/24/image_30012025_04_24_36_9418.jpg
/home/pi/Desktop/images/30012025/04/24/image_30012025_04_24_46_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":["1332866857","1332866851","1332866853","1332866859","1332866855"],"photo_ids_order":["1332866851","1332866853","1332866855","1332866857","1332866859"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/72514d9e1ce07bf08e1a6c9179b7e194.jpg","text":"TemporaryFile(/tmp/multipartBody7458760839626051192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207533873,"filename":"image_30012025_04_24_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/30/222db7df7c4f20360c32a9f37865bc52.jpg","text":"TemporaryFile(/tmp/multipartBody4615736991760570830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207533873,"filename":"image_30012025_04_23_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/30/9d5400c19aaf8e7c75527c6c3187e612.jpg","text":"TemporaryFile(/tmp/multipartBody1109808988674740818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207533873,"filename":"image_30012025_04_24_05_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5069aa59ca1206bf0dacd1a9b030c748.jpg","text":"TemporaryFile(/tmp/multipartBody4290004853778948679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207533873,"filename":"image_30012025_04_24_46_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/30/5f090d56374bfdf80f18cc5f898deb0a.jpg","text":"TemporaryFile(/tmp/multipartBody5072731063520157180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207533873,"filename":"image_30012025_04_24_16_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332866855","file1":"1332866853","file0":"1332866851","file4":"1332866859","file3":"1332866857"},"map_files_photo_id_array":[{"photo_id":"1332866855","filename":"file2"},{"photo_id":"1332866859","filename":"file4"},{"photo_id":"1332866853","filename":"file1"},{"photo_id":"1332866851","filename":"file0"},{"photo_id":"1332866857","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332866857":["hashtag1","hashtag2"]},{"1332866851":["hashtag1","hashtag2"]},{"1332866853":["hashtag1","hashtag2"]},{"1332866859":["hashtag1","hashtag2"]},{"1332866855":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332866857, 1332866851, 1332866853, 1332866859, 1332866855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.204057931900024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:25:33.154355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/24/image_30012025_04_24_55_9374.jpg', '/home/pi/Desktop/images/30012025/04/24/image_30012025_04_25_06_10381.jpg', '/home/pi/Desktop/images/30012025/04/25/image_30012025_04_25_16_10423.jpg', '/home/pi/Desktop/images/30012025/04/25/image_30012025_04_25_26_9359.jpg', '/home/pi/Desktop/images/30012025/04/25/image_30012025_04_25_45_9406.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/24/image_30012025_04_24_55_9374.jpg
/home/pi/Desktop/images/30012025/04/24/image_30012025_04_25_06_10381.jpg
/home/pi/Desktop/images/30012025/04/25/image_30012025_04_25_16_10423.jpg
/home/pi/Desktop/images/30012025/04/25/image_30012025_04_25_26_9359.jpg
/home/pi/Desktop/images/30012025/04/25/image_30012025_04_25_45_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":["1332866887","1332866880","1332866883","1332866877","1332866885"],"photo_ids_order":["1332866877","1332866880","1332866883","1332866885","1332866887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b9a0bedb9244af7e66f64b81f9d80ec6.jpg","text":"TemporaryFile(/tmp/multipartBody2788486060698571361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207594053,"filename":"image_30012025_04_25_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/30/9bf83465b28ee832b9ac6bf985935297.jpg","text":"TemporaryFile(/tmp/multipartBody4372225217204249073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207594053,"filename":"image_30012025_04_25_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/30/f8f2c36c332727877ecec38899eab18a.jpg","text":"TemporaryFile(/tmp/multipartBody1084427359439242370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207594053,"filename":"image_30012025_04_25_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/30/c07f26d70c42309903ba51aa74d1a57f.jpg","text":"TemporaryFile(/tmp/multipartBody7281706687638910842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207594053,"filename":"image_30012025_04_24_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/30/a4f09ed0b59b80f7683fcc9d7469c0f5.jpg","text":"TemporaryFile(/tmp/multipartBody263304489394294404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207594053,"filename":"image_30012025_04_25_26_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332866883","file1":"1332866880","file0":"1332866877","file4":"1332866887","file3":"1332866885"},"map_files_photo_id_array":[{"photo_id":"1332866883","filename":"file2"},{"photo_id":"1332866887","filename":"file4"},{"photo_id":"1332866880","filename":"file1"},{"photo_id":"1332866877","filename":"file0"},{"photo_id":"1332866885","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332866887":["hashtag1","hashtag2"]},{"1332866880":["hashtag1","hashtag2"]},{"1332866883":["hashtag1","hashtag2"]},{"1332866877":["hashtag1","hashtag2"]},{"1332866885":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332866887, 1332866880, 1332866883, 1332866877, 1332866885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.227198123931885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:26:32.535403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/25/image_30012025_04_25_56_10339.jpg', '/home/pi/Desktop/images/30012025/04/25/image_30012025_04_26_06_10394.jpg', '/home/pi/Desktop/images/30012025/04/26/image_30012025_04_26_16_9437.jpg', '/home/pi/Desktop/images/30012025/04/26/image_30012025_04_26_26_10465.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/25/image_30012025_04_25_56_10339.jpg
/home/pi/Desktop/images/30012025/04/25/image_30012025_04_26_06_10394.jpg
/home/pi/Desktop/images/30012025/04/26/image_30012025_04_26_16_9437.jpg
/home/pi/Desktop/images/30012025/04/26/image_30012025_04_26_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":["1332867124","1332867106","1332867121","1332867100"],"photo_ids_order":["1332867100","1332867106","1332867121","1332867124"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2869d49c362f5461b816cb71c45b1102.jpg","text":"TemporaryFile(/tmp/multipartBody2047099659074265029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207653420,"filename":"image_30012025_04_26_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/30/3cb879172aa74b247fa8fa82b30741e9.jpg","text":"TemporaryFile(/tmp/multipartBody6704527071966995857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207653420,"filename":"image_30012025_04_26_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/30/6197f38245d00316fc566b635ef951a8.jpg","text":"TemporaryFile(/tmp/multipartBody7161606680782316859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207653420,"filename":"image_30012025_04_26_16_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/30/e5ce3789ec3581e276fe38f3cef1fd0f.jpg","text":"TemporaryFile(/tmp/multipartBody1149246498903200594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207653420,"filename":"image_30012025_04_25_56_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332867121","file1":"1332867106","file0":"1332867100","file3":"1332867124"},"map_files_photo_id_array":[{"photo_id":"1332867121","filename":"file2"},{"photo_id":"1332867106","filename":"file1"},{"photo_id":"1332867100","filename":"file0"},{"photo_id":"1332867124","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332867124":["hashtag1","hashtag2"]},{"1332867106":["hashtag1","hashtag2"]},{"1332867121":["hashtag1","hashtag2"]},{"1332867100":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332867124, 1332867106, 1332867121, 1332867100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.90255379676819 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 04:27:04.109490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:27:32.793756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/26/image_30012025_04_26_56_10362.jpg', '/home/pi/Desktop/images/30012025/04/26/image_30012025_04_27_05_9348.jpg', '/home/pi/Desktop/images/30012025/04/27/image_30012025_04_27_16_10336.jpg', '/home/pi/Desktop/images/30012025/04/27/image_30012025_04_27_26_10453.jpg', '/home/pi/Desktop/images/30012025/04/27/image_30012025_04_27_36_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/26/image_30012025_04_26_56_10362.jpg
/home/pi/Desktop/images/30012025/04/26/image_30012025_04_27_05_9348.jpg
/home/pi/Desktop/images/30012025/04/27/image_30012025_04_27_16_10336.jpg
/home/pi/Desktop/images/30012025/04/27/image_30012025_04_27_26_10453.jpg
/home/pi/Desktop/images/30012025/04/27/image_30012025_04_27_36_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":["1332867196","1332867202","1332867208","1332867206","1332867199"],"photo_ids_order":["1332867196","1332867199","1332867202","1332867206","1332867208"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5471f666935da4f4179d908bfe2f1f68.jpg","text":"TemporaryFile(/tmp/multipartBody942516548436075316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207713680,"filename":"image_30012025_04_26_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/30/6da322d385c92cc308ca8aa44b9f823a.jpg","text":"TemporaryFile(/tmp/multipartBody4439598926118377529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207713680,"filename":"image_30012025_04_27_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/231377896e98e26829157143647831ab.jpg","text":"TemporaryFile(/tmp/multipartBody8040719981077294970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207713680,"filename":"image_30012025_04_27_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/30/839b6cf5d200b85cd01e004d93e985ca.jpg","text":"TemporaryFile(/tmp/multipartBody2183170933861625399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207713680,"filename":"image_30012025_04_27_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/30/b65fee67c946139b6be3060e4d9fa10c.jpg","text":"TemporaryFile(/tmp/multipartBody2211658401732337083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207713680,"filename":"image_30012025_04_27_05_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332867202","file1":"1332867199","file0":"1332867196","file4":"1332867208","file3":"1332867206"},"map_files_photo_id_array":[{"photo_id":"1332867202","filename":"file2"},{"photo_id":"1332867208","filename":"file4"},{"photo_id":"1332867199","filename":"file1"},{"photo_id":"1332867196","filename":"file0"},{"photo_id":"1332867206","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332867196":["hashtag1","hashtag2"]},{"1332867202":["hashtag1","hashtag2"]},{"1332867208":["hashtag1","hashtag2"]},{"1332867206":["hashtag1","hashtag2"]},{"1332867199":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332867196, 1332867202, 1332867208, 1332867206, 1332867199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.593247175216675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:28:33.122731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/27/image_30012025_04_27_46_10466.jpg', '/home/pi/Desktop/images/30012025/04/27/image_30012025_04_28_06_10342.jpg', '/home/pi/Desktop/images/30012025/04/28/image_30012025_04_28_26_9350.jpg', '/home/pi/Desktop/images/30012025/04/28/image_30012025_04_28_36_10492.jpg', '/home/pi/Desktop/images/30012025/04/28/image_30012025_04_28_45_9363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/27/image_30012025_04_27_46_10466.jpg
/home/pi/Desktop/images/30012025/04/27/image_30012025_04_28_06_10342.jpg
/home/pi/Desktop/images/30012025/04/28/image_30012025_04_28_26_9350.jpg
/home/pi/Desktop/images/30012025/04/28/image_30012025_04_28_36_10492.jpg
/home/pi/Desktop/images/30012025/04/28/image_30012025_04_28_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":["1332867862","1332867733","1332868378","1332868051","1332868252"],"photo_ids_order":["1332867733","1332867862","1332868051","1332868252","1332868378"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6e810ccff164dabbf5bdc81eb5aecd71.jpg","text":"TemporaryFile(/tmp/multipartBody3915222415242092191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207774020,"filename":"image_30012025_04_28_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/30/acae5839524189a1a3739be7ca89f103.jpg","text":"TemporaryFile(/tmp/multipartBody6702512886047681900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207774020,"filename":"image_30012025_04_27_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/30/fbd4703f806b858bf30e5ca73d38cb9a.jpg","text":"TemporaryFile(/tmp/multipartBody1268227044934324255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207774020,"filename":"image_30012025_04_28_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/30/4070cc6629496e6d61ae55ffc515d57a.jpg","text":"TemporaryFile(/tmp/multipartBody4216004426525993578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207774020,"filename":"image_30012025_04_28_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/30/aaa9d40d3f776e197e6895bd3b7e8025.jpg","text":"TemporaryFile(/tmp/multipartBody6507394068156886392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207774020,"filename":"image_30012025_04_28_36_10492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332868051","file1":"1332867862","file0":"1332867733","file4":"1332868378","file3":"1332868252"},"map_files_photo_id_array":[{"photo_id":"1332868051","filename":"file2"},{"photo_id":"1332868378","filename":"file4"},{"photo_id":"1332867862","filename":"file1"},{"photo_id":"1332867733","filename":"file0"},{"photo_id":"1332868252","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332867862":["hashtag1","hashtag2"]},{"1332867733":["hashtag1","hashtag2"]},{"1332868378":["hashtag1","hashtag2"]},{"1332868051":["hashtag1","hashtag2"]},{"1332868252":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332867862, 1332867733, 1332868378, 1332868051, 1332868252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.632954120635986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:29:32.402368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/28/image_30012025_04_28_56_10363.jpg', '/home/pi/Desktop/images/30012025/04/28/image_30012025_04_29_06_10436.jpg', '/home/pi/Desktop/images/30012025/04/29/image_30012025_04_29_46_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/28/image_30012025_04_28_56_10363.jpg
/home/pi/Desktop/images/30012025/04/28/image_30012025_04_29_06_10436.jpg
/home/pi/Desktop/images/30012025/04/29/image_30012025_04_29_46_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":["1332869075","1332869056","1332869065"],"photo_ids_order":["1332869056","1332869065","1332869075"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d52cc7184c51774b61b2afba368a4bda.jpg","text":"TemporaryFile(/tmp/multipartBody2723254716921217959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207833295,"filename":"image_30012025_04_29_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/30/942bda468ae21646a3e271c28389c892.jpg","text":"TemporaryFile(/tmp/multipartBody8686907182230923301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207833295,"filename":"image_30012025_04_28_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/30/c76b8d9071f01f8907b844eba4593d38.jpg","text":"TemporaryFile(/tmp/multipartBody5906459708332324378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207833295,"filename":"image_30012025_04_29_06_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332869075","file1":"1332869065","file0":"1332869056"},"map_files_photo_id_array":[{"photo_id":"1332869075","filename":"file2"},{"photo_id":"1332869065","filename":"file1"},{"photo_id":"1332869056","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332869075":["hashtag1","hashtag2"]},{"1332869056":["hashtag1","hashtag2"]},{"1332869065":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332869075, 1332869056, 1332869065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.24995732307434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 04:30:03.145339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/24/image_28012025_20_24_25_10369.jpg', '/home/pi/Desktop/images/28012025/20/24/image_28012025_20_24_35_10375.jpg', '/home/pi/Desktop/images/28012025/20/24/image_28012025_20_24_45_9360.jpg', '/home/pi/Desktop/images/28012025/20/24/image_28012025_20_24_55_10419.jpg', '/home/pi/Desktop/images/28012025/20/24/image_28012025_20_25_05_9349.jpg', '/home/pi/Desktop/images/28012025/20/25/image_28012025_20_25_15_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/20/24/image_28012025_20_24_25_10369.jpg
/home/pi/Desktop/images/28012025/20/24/image_28012025_20_24_35_10375.jpg
/home/pi/Desktop/images/28012025/20/24/image_28012025_20_24_45_9360.jpg
/home/pi/Desktop/images/28012025/20/24/image_28012025_20_24_55_10419.jpg
/home/pi/Desktop/images/28012025/20/24/image_28012025_20_25_05_9349.jpg
/home/pi/Desktop/images/28012025/20/25/image_28012025_20_25_15_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":["1332869401","1332869142","1332869255","1332869092","1332869095","1332869488"],"photo_ids_order":["1332869092","1332869095","1332869142","1332869255","1332869401","1332869488"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f0d19aeb29ae228fca6321f4af09711a.jpg","text":"TemporaryFile(/tmp/multipartBody2781181225346765533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207864831,"filename":"image_28012025_20_25_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/30/0066a643d540ed89ceb76e88f1cdd3ac.jpg","text":"TemporaryFile(/tmp/multipartBody3104961799245136240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207864831,"filename":"image_28012025_20_24_45_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/185dac1474f4289aee8c0c3cbb7c5ef9.jpg","text":"TemporaryFile(/tmp/multipartBody3473896683770611947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207864831,"filename":"image_28012025_20_24_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/30/74cdf897033f2c60881b4dd6a338d502.jpg","text":"TemporaryFile(/tmp/multipartBody4829134489332020863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207864831,"filename":"image_28012025_20_24_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/30/2cb3e4a8458e113d4d446ee20e78991c.jpg","text":"TemporaryFile(/tmp/multipartBody4665598921335821379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207864831,"filename":"image_28012025_20_24_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/30/07672f9d5d8d90d58cd47e2737638be8.jpg","text":"TemporaryFile(/tmp/multipartBody4346063347932122421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207864831,"filename":"image_28012025_20_25_15_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332869142","file1":"1332869095","file0":"1332869092","file4":"1332869401","file5":"1332869488","file3":"1332869255"},"map_files_photo_id_array":[{"photo_id":"1332869488","filename":"file5"},{"photo_id":"1332869142","filename":"file2"},{"photo_id":"1332869401","filename":"file4"},{"photo_id":"1332869095","filename":"file1"},{"photo_id":"1332869092","filename":"file0"},{"photo_id":"1332869255","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332869401":["hashtag1","hashtag2"]},{"1332869142":["hashtag1","hashtag2"]},{"1332869255":["hashtag1","hashtag2"]},{"1332869092":["hashtag1","hashtag2"]},{"1332869095":["hashtag1","hashtag2"]},{"1332869488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332869401, 1332869142, 1332869255, 1332869092, 1332869095, 1332869488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.28058433532715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:30:52.456701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/29/image_30012025_04_29_56_10440.jpg', '/home/pi/Desktop/images/30012025/04/29/image_30012025_04_30_06_9355.jpg', '/home/pi/Desktop/images/30012025/04/30/image_30012025_04_30_16_10358.jpg', '/home/pi/Desktop/images/30012025/04/30/image_30012025_04_30_36_9364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/29/image_30012025_04_29_56_10440.jpg
/home/pi/Desktop/images/30012025/04/29/image_30012025_04_30_06_9355.jpg
/home/pi/Desktop/images/30012025/04/30/image_30012025_04_30_16_10358.jpg
/home/pi/Desktop/images/30012025/04/30/image_30012025_04_30_36_9364.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332869862","1332869873","1332869893","1332869995"],"photo_ids_order":["1332869862","1332869873","1332869893","1332869995"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2c3a29dcdc424686c7882665f2944a8d.jpg","text":"TemporaryFile(/tmp/multipartBody741088077810089618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207913337,"filename":"image_30012025_04_29_56_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/30/fb2b2e55b3fc46716c47ec84fc84fda6.jpg","text":"TemporaryFile(/tmp/multipartBody5840950677606683324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207913337,"filename":"image_30012025_04_30_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/30/626a0ac3beb2d48a2cf8d85df9b4bcf1.jpg","text":"TemporaryFile(/tmp/multipartBody752806775394041341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207913337,"filename":"image_30012025_04_30_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/30/e940f1ced18b79804904f3a965960480.jpg","text":"TemporaryFile(/tmp/multipartBody8941773499660142626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207913337,"filename":"image_30012025_04_30_36_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332869893","file1":"1332869873","file0":"1332869862","file3":"1332869995"},"map_files_photo_id_array":[{"photo_id":"1332869893","filename":"file2"},{"photo_id":"1332869873","filename":"file1"},{"photo_id":"1332869862","filename":"file0"},{"photo_id":"1332869995","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332869862":["hashtag1","hashtag2"]},{"1332869873":["hashtag1","hashtag2"]},{"1332869893":["hashtag1","hashtag2"]},{"1332869995":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332869862, 1332869873, 1332869893, 1332869995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.56948471069336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:31:32.651529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/30/image_30012025_04_30_46_10441.jpg', '/home/pi/Desktop/images/30012025/04/31/image_30012025_04_31_26_9418.jpg', '/home/pi/Desktop/images/30012025/04/31/image_30012025_04_31_45_9370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/30/image_30012025_04_30_46_10441.jpg
/home/pi/Desktop/images/30012025/04/31/image_30012025_04_31_26_9418.jpg
/home/pi/Desktop/images/30012025/04/31/image_30012025_04_31_45_9370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332870092","1332870107","1332870061"],"photo_ids_order":["1332870061","1332870092","1332870107"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fb653b9a092ef6203a217a6549dc7cbe.jpg","text":"TemporaryFile(/tmp/multipartBody8510942232668792009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207953523,"filename":"image_30012025_04_31_26_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/30/1feec82fa84a9031b87991930bedda29.jpg","text":"TemporaryFile(/tmp/multipartBody1670859095866900373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207953523,"filename":"image_30012025_04_31_45_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/30/8f52e9dadb1c07e10dcf8c3a31e5a9ae.jpg","text":"TemporaryFile(/tmp/multipartBody1002007212121036037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207953523,"filename":"image_30012025_04_30_46_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332870107","file1":"1332870092","file0":"1332870061"},"map_files_photo_id_array":[{"photo_id":"1332870107","filename":"file2"},{"photo_id":"1332870092","filename":"file1"},{"photo_id":"1332870061","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332870092":["hashtag1","hashtag2"]},{"1332870107":["hashtag1","hashtag2"]},{"1332870061":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332870092, 1332870107, 1332870061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.787983179092407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 04:32:03.470626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/25/image_28012025_20_25_25_10358.jpg', '/home/pi/Desktop/images/28012025/20/25/image_28012025_20_25_35_9333.jpg', '/home/pi/Desktop/images/28012025/20/25/image_28012025_20_25_45_10340.jpg', '/home/pi/Desktop/images/28012025/20/25/image_28012025_20_25_55_10359.jpg', '/home/pi/Desktop/images/28012025/20/25/image_28012025_20_26_05_9385.jpg', '/home/pi/Desktop/images/28012025/20/26/image_28012025_20_26_15_10378.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/25/image_28012025_20_25_25_10358.jpg
/home/pi/Desktop/images/28012025/20/25/image_28012025_20_25_35_9333.jpg
/home/pi/Desktop/images/28012025/20/25/image_28012025_20_25_45_10340.jpg
/home/pi/Desktop/images/28012025/20/25/image_28012025_20_25_55_10359.jpg
/home/pi/Desktop/images/28012025/20/25/image_28012025_20_26_05_9385.jpg
/home/pi/Desktop/images/28012025/20/26/image_28012025_20_26_15_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":["1332870259","1332870118","1332870234","1332870287","1332870204","1332870203"],"photo_ids_order":["1332870118","1332870203","1332870204","1332870234","1332870259","1332870287"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/022b081ef33cf711461e831427b3283e.jpg","text":"TemporaryFile(/tmp/multipartBody3269273757495237552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207985170,"filename":"image_28012025_20_26_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/30/ccb05cf95fe004d28a6a300b558f2bfc.jpg","text":"TemporaryFile(/tmp/multipartBody7112075668072689864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207985170,"filename":"image_28012025_20_25_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/30/b72f5e81072fc11cecbe37b943c49ff3.jpg","text":"TemporaryFile(/tmp/multipartBody7919953412747109174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207985170,"filename":"image_28012025_20_25_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/30/9b2e56d720454af96de64be02a31b000.jpg","text":"TemporaryFile(/tmp/multipartBody74168644100739322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207985170,"filename":"image_28012025_20_26_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/30/9275f359baa1f4de151e97ad9930eac9.jpg","text":"TemporaryFile(/tmp/multipartBody6080552439652826015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207985170,"filename":"image_28012025_20_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/30/1a8299d6804e018727cf71b8d1f8c32e.jpg","text":"TemporaryFile(/tmp/multipartBody653164013072081322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738207985170,"filename":"image_28012025_20_25_35_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332870204","file1":"1332870203","file0":"1332870118","file4":"1332870259","file5":"1332870287","file3":"1332870234"},"map_files_photo_id_array":[{"photo_id":"1332870287","filename":"file5"},{"photo_id":"1332870204","filename":"file2"},{"photo_id":"1332870259","filename":"file4"},{"photo_id":"1332870203","filename":"file1"},{"photo_id":"1332870118","filename":"file0"},{"photo_id":"1332870234","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332870259":["hashtag1","hashtag2"]},{"1332870118":["hashtag1","hashtag2"]},{"1332870234":["hashtag1","hashtag2"]},{"1332870287":["hashtag1","hashtag2"]},{"1332870204":["hashtag1","hashtag2"]},{"1332870203":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332870259, 1332870118, 1332870234, 1332870287, 1332870204, 1332870203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.368326902389526 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:32:52.996051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/31/image_30012025_04_31_56_10369.jpg', '/home/pi/Desktop/images/30012025/04/31/image_30012025_04_32_06_10426.jpg', '/home/pi/Desktop/images/30012025/04/32/image_30012025_04_32_16_9386.jpg', '/home/pi/Desktop/images/30012025/04/32/image_30012025_04_32_26_10453.jpg', '/home/pi/Desktop/images/30012025/04/32/image_30012025_04_32_35_9356.jpg', '/home/pi/Desktop/images/30012025/04/32/image_30012025_04_32_46_10448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/31/image_30012025_04_31_56_10369.jpg
/home/pi/Desktop/images/30012025/04/31/image_30012025_04_32_06_10426.jpg
/home/pi/Desktop/images/30012025/04/32/image_30012025_04_32_16_9386.jpg
/home/pi/Desktop/images/30012025/04/32/image_30012025_04_32_26_10453.jpg
/home/pi/Desktop/images/30012025/04/32/image_30012025_04_32_35_9356.jpg
/home/pi/Desktop/images/30012025/04/32/image_30012025_04_32_46_10448.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5601065158843994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 04:33:03.627443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/31/image_30012025_04_31_56_10369.jpg', '/home/pi/Desktop/images/30012025/04/31/image_30012025_04_32_06_10426.jpg', '/home/pi/Desktop/images/30012025/04/32/image_30012025_04_32_16_9386.jpg', '/home/pi/Desktop/images/30012025/04/32/image_30012025_04_32_26_10453.jpg', '/home/pi/Desktop/images/30012025/04/32/image_30012025_04_32_35_9356.jpg', '/home/pi/Desktop/images/30012025/04/32/image_30012025_04_32_46_10448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/31/image_30012025_04_31_56_10369.jpg
/home/pi/Desktop/images/30012025/04/31/image_30012025_04_32_06_10426.jpg
/home/pi/Desktop/images/30012025/04/32/image_30012025_04_32_16_9386.jpg
/home/pi/Desktop/images/30012025/04/32/image_30012025_04_32_26_10453.jpg
/home/pi/Desktop/images/30012025/04/32/image_30012025_04_32_35_9356.jpg
/home/pi/Desktop/images/30012025/04/32/image_30012025_04_32_46_10448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332870322","1332870325","1332870330","1332870318","1332870332","1332870328"],"photo_ids_order":["1332870318","1332870322","1332870325","1332870328","1332870330","1332870332"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bdc7882952ea161f15358f88d0459d50.jpg","text":"TemporaryFile(/tmp/multipartBody2947509869245339775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208044715,"filename":"image_30012025_04_32_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/30/a20b39e6a38d4326f6363093be850763.jpg","text":"TemporaryFile(/tmp/multipartBody6383065558544956516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208044715,"filename":"image_30012025_04_32_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/30/f073aa53b38b4cad116246f604fc40a5.jpg","text":"TemporaryFile(/tmp/multipartBody3227888360999525784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208044715,"filename":"image_30012025_04_32_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/30/2a3b927dd645217cd1f78a28306293a7.jpg","text":"TemporaryFile(/tmp/multipartBody5686064697069994554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208044715,"filename":"image_30012025_04_31_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/30/5b87a96437b9d4360f898b89de1209af.jpg","text":"TemporaryFile(/tmp/multipartBody7673845495576494180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208044715,"filename":"image_30012025_04_32_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/30/343ac71eaf6e4953ba622aa3c1de2c4a.jpg","text":"TemporaryFile(/tmp/multipartBody3996167470295839959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208044715,"filename":"image_30012025_04_32_26_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332870325","file1":"1332870322","file0":"1332870318","file4":"1332870330","file5":"1332870332","file3":"1332870328"},"map_files_photo_id_array":[{"photo_id":"1332870332","filename":"file5"},{"photo_id":"1332870325","filename":"file2"},{"photo_id":"1332870330","filename":"file4"},{"photo_id":"1332870322","filename":"file1"},{"photo_id":"1332870318","filename":"file0"},{"photo_id":"1332870328","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332870322":["hashtag1","hashtag2"]},{"1332870325":["hashtag1","hashtag2"]},{"1332870330":["hashtag1","hashtag2"]},{"1332870318":["hashtag1","hashtag2"]},{"1332870332":["hashtag1","hashtag2"]},{"1332870328":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332870322, 1332870325, 1332870330, 1332870318, 1332870332, 1332870328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.58269238471985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:33:52.155904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/32/image_30012025_04_32_56_10371.jpg', '/home/pi/Desktop/images/30012025/04/32/image_30012025_04_33_06_9334.jpg', '/home/pi/Desktop/images/30012025/04/33/image_30012025_04_33_16_10444.jpg', '/home/pi/Desktop/images/30012025/04/33/image_30012025_04_33_25_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/32/image_30012025_04_32_56_10371.jpg
/home/pi/Desktop/images/30012025/04/32/image_30012025_04_33_06_9334.jpg
/home/pi/Desktop/images/30012025/04/33/image_30012025_04_33_16_10444.jpg
/home/pi/Desktop/images/30012025/04/33/image_30012025_04_33_25_9353.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332870363","1332870369","1332870354","1332870367"],"photo_ids_order":["1332870354","1332870363","1332870367","1332870369"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/78c911911cff400bdf4a5ef42ef9d516.jpg","text":"TemporaryFile(/tmp/multipartBody606536345943405019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208093048,"filename":"image_30012025_04_33_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/30/6b5107ea5536673d84d8e88a91a83027.jpg","text":"TemporaryFile(/tmp/multipartBody6590952928039226887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208093048,"filename":"image_30012025_04_33_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/30/03a1b718afb4b59a9b3a36fd024df6fa.jpg","text":"TemporaryFile(/tmp/multipartBody1627507797792204602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208093048,"filename":"image_30012025_04_32_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/30/cf11adfaa2f05e996f32430e27eeb8b3.jpg","text":"TemporaryFile(/tmp/multipartBody7136910061446688052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208093048,"filename":"image_30012025_04_33_16_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332870367","file1":"1332870363","file0":"1332870354","file3":"1332870369"},"map_files_photo_id_array":[{"photo_id":"1332870367","filename":"file2"},{"photo_id":"1332870363","filename":"file1"},{"photo_id":"1332870354","filename":"file0"},{"photo_id":"1332870369","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332870363":["hashtag1","hashtag2"]},{"1332870369":["hashtag1","hashtag2"]},{"1332870354":["hashtag1","hashtag2"]},{"1332870367":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332870363, 1332870369, 1332870354, 1332870367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 33.14298987388611 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:34:32.319873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/33/image_30012025_04_33_55_9351.jpg', '/home/pi/Desktop/images/30012025/04/33/image_30012025_04_34_06_10368.jpg', '/home/pi/Desktop/images/30012025/04/34/image_30012025_04_34_16_10354.jpg', '/home/pi/Desktop/images/30012025/04/34/image_30012025_04_34_26_9375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/33/image_30012025_04_33_55_9351.jpg
/home/pi/Desktop/images/30012025/04/33/image_30012025_04_34_06_10368.jpg
/home/pi/Desktop/images/30012025/04/34/image_30012025_04_34_16_10354.jpg
/home/pi/Desktop/images/30012025/04/34/image_30012025_04_34_26_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":["1332870406","1332870390","1332870380","1332870416"],"photo_ids_order":["1332870380","1332870390","1332870406","1332870416"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cd16e761fa0a6ac2801e5abeef340c2b.jpg","text":"TemporaryFile(/tmp/multipartBody1511421996410108896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208133197,"filename":"image_30012025_04_34_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/30/eb6ecf93d40e79d680baa7de00b012a1.jpg","text":"TemporaryFile(/tmp/multipartBody5400369842199144975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208133197,"filename":"image_30012025_04_34_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/30/634285a3e9f15bb0d508e4bfb6a2bd11.jpg","text":"TemporaryFile(/tmp/multipartBody8536870070003347062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208133197,"filename":"image_30012025_04_33_55_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bea13d6328ad6ffd0cbe8dc0bf9d31a3.jpg","text":"TemporaryFile(/tmp/multipartBody3193977181054633885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208133197,"filename":"image_30012025_04_34_26_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332870406","file1":"1332870390","file0":"1332870380","file3":"1332870416"},"map_files_photo_id_array":[{"photo_id":"1332870406","filename":"file2"},{"photo_id":"1332870390","filename":"file1"},{"photo_id":"1332870380","filename":"file0"},{"photo_id":"1332870416","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332870406":["hashtag1","hashtag2"]},{"1332870390":["hashtag1","hashtag2"]},{"1332870380":["hashtag1","hashtag2"]},{"1332870416":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332870406, 1332870390, 1332870380, 1332870416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.016439199447632 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:35:32.505740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/34/image_30012025_04_34_36_10365.jpg', '/home/pi/Desktop/images/30012025/04/35/image_30012025_04_35_15_9325.jpg', '/home/pi/Desktop/images/30012025/04/35/image_30012025_04_35_26_10420.jpg', '/home/pi/Desktop/images/30012025/04/35/image_30012025_04_35_36_10399.jpg', '/home/pi/Desktop/images/30012025/04/35/image_30012025_04_35_46_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/34/image_30012025_04_34_36_10365.jpg
/home/pi/Desktop/images/30012025/04/35/image_30012025_04_35_15_9325.jpg
/home/pi/Desktop/images/30012025/04/35/image_30012025_04_35_26_10420.jpg
/home/pi/Desktop/images/30012025/04/35/image_30012025_04_35_36_10399.jpg
/home/pi/Desktop/images/30012025/04/35/image_30012025_04_35_46_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":["1332870462","1332870453","1332870449","1332870458","1332870463"],"photo_ids_order":["1332870449","1332870453","1332870458","1332870462","1332870463"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5027bd3b9f654b7d90484b01e43cc15c.jpg","text":"TemporaryFile(/tmp/multipartBody3799473680165298463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208193407,"filename":"image_30012025_04_35_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/30/e36b60571d1e29a89b73051f0efbaaf6.jpg","text":"TemporaryFile(/tmp/multipartBody5669780874172739788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208193407,"filename":"image_30012025_04_35_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/30/beea3a824134dbe992ed89cb030ef009.jpg","text":"TemporaryFile(/tmp/multipartBody6008503800729714336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208193407,"filename":"image_30012025_04_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/30/c6a651a8475386bbb6327a4f20ac6d57.jpg","text":"TemporaryFile(/tmp/multipartBody2960366782982887968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208193407,"filename":"image_30012025_04_35_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/30/e44cce995cbcff20a520a2e2f2aebb33.jpg","text":"TemporaryFile(/tmp/multipartBody7906300585455117509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208193407,"filename":"image_30012025_04_35_46_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332870458","file1":"1332870453","file0":"1332870449","file4":"1332870463","file3":"1332870462"},"map_files_photo_id_array":[{"photo_id":"1332870458","filename":"file2"},{"photo_id":"1332870463","filename":"file4"},{"photo_id":"1332870453","filename":"file1"},{"photo_id":"1332870449","filename":"file0"},{"photo_id":"1332870462","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332870462":["hashtag1","hashtag2"]},{"1332870453":["hashtag1","hashtag2"]},{"1332870449":["hashtag1","hashtag2"]},{"1332870458":["hashtag1","hashtag2"]},{"1332870463":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332870462, 1332870453, 1332870449, 1332870458, 1332870463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.68280339241028 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:36:32.792771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/35/image_30012025_04_35_56_10450.jpg', '/home/pi/Desktop/images/30012025/04/35/image_30012025_04_36_05_9339.jpg', '/home/pi/Desktop/images/30012025/04/36/image_30012025_04_36_16_10347.jpg', '/home/pi/Desktop/images/30012025/04/36/image_30012025_04_36_26_10429.jpg', '/home/pi/Desktop/images/30012025/04/36/image_30012025_04_36_36_9428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/35/image_30012025_04_35_56_10450.jpg
/home/pi/Desktop/images/30012025/04/35/image_30012025_04_36_05_9339.jpg
/home/pi/Desktop/images/30012025/04/36/image_30012025_04_36_16_10347.jpg
/home/pi/Desktop/images/30012025/04/36/image_30012025_04_36_26_10429.jpg
/home/pi/Desktop/images/30012025/04/36/image_30012025_04_36_36_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":["1332870561","1332870491","1332870488","1332870484","1332870478"],"photo_ids_order":["1332870478","1332870484","1332870488","1332870491","1332870561"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/82f3dfcb39d303ebb9611d1bc57f5f95.jpg","text":"TemporaryFile(/tmp/multipartBody3914576985579212262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208253693,"filename":"image_30012025_04_36_36_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/30/9572fcc33955302f5d20210344aa28ea.jpg","text":"TemporaryFile(/tmp/multipartBody4184211425508946978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208253693,"filename":"image_30012025_04_36_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/30/8616528391d7a2c65588fd2b146921e3.jpg","text":"TemporaryFile(/tmp/multipartBody3378764929525445213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208253693,"filename":"image_30012025_04_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/30/ff32e4cda2ca73d8a03e0dfaa0023094.jpg","text":"TemporaryFile(/tmp/multipartBody306562480344893732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208253693,"filename":"image_30012025_04_36_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/30/39776d8838226b230586677c511ba46d.jpg","text":"TemporaryFile(/tmp/multipartBody7014526689658496829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208253693,"filename":"image_30012025_04_35_56_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332870488","file1":"1332870484","file0":"1332870478","file4":"1332870561","file3":"1332870491"},"map_files_photo_id_array":[{"photo_id":"1332870488","filename":"file2"},{"photo_id":"1332870561","filename":"file4"},{"photo_id":"1332870484","filename":"file1"},{"photo_id":"1332870478","filename":"file0"},{"photo_id":"1332870491","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332870561":["hashtag1","hashtag2"]},{"1332870491":["hashtag1","hashtag2"]},{"1332870488":["hashtag1","hashtag2"]},{"1332870484":["hashtag1","hashtag2"]},{"1332870478":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332870561, 1332870491, 1332870488, 1332870484, 1332870478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.36857748031616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:37:32.866766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/36/image_30012025_04_36_46_10429.jpg', '/home/pi/Desktop/images/30012025/04/36/image_30012025_04_37_06_10335.jpg', '/home/pi/Desktop/images/30012025/04/37/image_30012025_04_37_16_10431.jpg', '/home/pi/Desktop/images/30012025/04/37/image_30012025_04_37_26_9369.jpg', '/home/pi/Desktop/images/30012025/04/37/image_30012025_04_37_36_10519.jpg', '/home/pi/Desktop/images/30012025/04/37/image_30012025_04_37_45_9440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/36/image_30012025_04_36_46_10429.jpg
/home/pi/Desktop/images/30012025/04/36/image_30012025_04_37_06_10335.jpg
/home/pi/Desktop/images/30012025/04/37/image_30012025_04_37_16_10431.jpg
/home/pi/Desktop/images/30012025/04/37/image_30012025_04_37_26_9369.jpg
/home/pi/Desktop/images/30012025/04/37/image_30012025_04_37_36_10519.jpg
/home/pi/Desktop/images/30012025/04/37/image_30012025_04_37_45_9440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332870891","1332870802","1332870726","1332870635","1332871048","1332870979"],"photo_ids_order":["1332870635","1332870726","1332870802","1332870891","1332870979","1332871048"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c0503cf5c8ad58723bdbd0f5a1eb9d1b.jpg","text":"TemporaryFile(/tmp/multipartBody9218080097058852541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208313774,"filename":"image_30012025_04_37_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/30/518be3dd16cbd1015db4932a0921e6a2.jpg","text":"TemporaryFile(/tmp/multipartBody3000672947982902422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208313774,"filename":"image_30012025_04_37_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/30/a0227827d3d36490ede72e3b78fcbd8e.jpg","text":"TemporaryFile(/tmp/multipartBody31592632511520595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208313774,"filename":"image_30012025_04_37_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/30/02a927bc3827e5bada3284a6d64d2c3a.jpg","text":"TemporaryFile(/tmp/multipartBody6515123468558027797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208313774,"filename":"image_30012025_04_36_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/30/b1cbfbf3131bd5338bcfbb9b90d1d2c2.jpg","text":"TemporaryFile(/tmp/multipartBody8982827954168058749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208313774,"filename":"image_30012025_04_37_45_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/30/a642d32ef814011728a5a629d3e2b779.jpg","text":"TemporaryFile(/tmp/multipartBody6369328830458601599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208313774,"filename":"image_30012025_04_37_36_10519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332870802","file1":"1332870726","file0":"1332870635","file4":"1332870979","file5":"1332871048","file3":"1332870891"},"map_files_photo_id_array":[{"photo_id":"1332871048","filename":"file5"},{"photo_id":"1332870802","filename":"file2"},{"photo_id":"1332870979","filename":"file4"},{"photo_id":"1332870726","filename":"file1"},{"photo_id":"1332870635","filename":"file0"},{"photo_id":"1332870891","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332870891":["hashtag1","hashtag2"]},{"1332870802":["hashtag1","hashtag2"]},{"1332870726":["hashtag1","hashtag2"]},{"1332870635":["hashtag1","hashtag2"]},{"1332871048":["hashtag1","hashtag2"]},{"1332870979":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332870891, 1332870802, 1332870726, 1332870635, 1332871048, 1332870979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5863823890686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:38:32.123867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/37/image_30012025_04_37_56_10361.jpg', '/home/pi/Desktop/images/30012025/04/38/image_30012025_04_38_35_9438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/37/image_30012025_04_37_56_10361.jpg
/home/pi/Desktop/images/30012025/04/38/image_30012025_04_38_35_9438.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332871176","1332871086"],"photo_ids_order":["1332871086","1332871176"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/87f0a2862c291de1c6f5b7bc0b38eddc.jpg","text":"TemporaryFile(/tmp/multipartBody466416653525832313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208372967,"filename":"image_30012025_04_38_35_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/30/7c0ad04c8aa143903bc48cc074dc8893.jpg","text":"TemporaryFile(/tmp/multipartBody1362995687419098423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208372967,"filename":"image_30012025_04_37_56_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1332871176","file0":"1332871086"},"map_files_photo_id_array":[{"photo_id":"1332871176","filename":"file1"},{"photo_id":"1332871086","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332871176":["hashtag1","hashtag2"]},{"1332871086":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332871176, 1332871086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.44397759437561 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:38:52.287013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/26/image_28012025_20_26_24_9404.jpg', '/home/pi/Desktop/images/28012025/20/26/image_28012025_20_26_35_10353.jpg', '/home/pi/Desktop/images/28012025/20/26/image_28012025_20_26_45_10409.jpg', '/home/pi/Desktop/images/28012025/20/27/image_28012025_20_27_14_9449.jpg', '/home/pi/Desktop/images/28012025/20/27/image_28012025_20_27_25_10361.jpg', '/home/pi/Desktop/images/28012025/20/27/image_28012025_20_27_35_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/26/image_28012025_20_26_24_9404.jpg
/home/pi/Desktop/images/28012025/20/26/image_28012025_20_26_35_10353.jpg
/home/pi/Desktop/images/28012025/20/26/image_28012025_20_26_45_10409.jpg
/home/pi/Desktop/images/28012025/20/27/image_28012025_20_27_14_9449.jpg
/home/pi/Desktop/images/28012025/20/27/image_28012025_20_27_25_10361.jpg
/home/pi/Desktop/images/28012025/20/27/image_28012025_20_27_35_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":["1332871476","1332871271","1332871472","1332871268","1332871264","1332871287"],"photo_ids_order":["1332871264","1332871268","1332871271","1332871287","1332871472","1332871476"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6fbb05e9a49677fa0945b6d2870ba1b3.jpg","text":"TemporaryFile(/tmp/multipartBody951063580755919832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208394757,"filename":"image_28012025_20_27_35_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/30/b28a3f6e98c3ac42c0ba22517acfaeb3.jpg","text":"TemporaryFile(/tmp/multipartBody193860385248995667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208394757,"filename":"image_28012025_20_26_45_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2e6744975d9fb022a0bb091a67eb1fa9.jpg","text":"TemporaryFile(/tmp/multipartBody7108522049970549521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208394757,"filename":"image_28012025_20_27_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/30/67a840108caf2103bf28a74a6369efbb.jpg","text":"TemporaryFile(/tmp/multipartBody2516455475171652309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208394757,"filename":"image_28012025_20_26_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/30/c448dbb9cfc102b1f32b2c9c273eea10.jpg","text":"TemporaryFile(/tmp/multipartBody4831683315765019463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208394757,"filename":"image_28012025_20_26_24_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/30/e13a5f3f7129457e78f7b26dc3f0af27.jpg","text":"TemporaryFile(/tmp/multipartBody1728287155054897338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208394757,"filename":"image_28012025_20_27_14_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332871271","file1":"1332871268","file0":"1332871264","file4":"1332871472","file5":"1332871476","file3":"1332871287"},"map_files_photo_id_array":[{"photo_id":"1332871476","filename":"file5"},{"photo_id":"1332871271","filename":"file2"},{"photo_id":"1332871472","filename":"file4"},{"photo_id":"1332871268","filename":"file1"},{"photo_id":"1332871264","filename":"file0"},{"photo_id":"1332871287","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332871476":["hashtag1","hashtag2"]},{"1332871271":["hashtag1","hashtag2"]},{"1332871472":["hashtag1","hashtag2"]},{"1332871268":["hashtag1","hashtag2"]},{"1332871264":["hashtag1","hashtag2"]},{"1332871287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332871476, 1332871271, 1332871472, 1332871268, 1332871264, 1332871287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.01510691642761 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 04:39:42.641875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/38/image_30012025_04_38_46_10481.jpg', '/home/pi/Desktop/images/30012025/04/39/image_30012025_04_39_45_9386.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/38/image_30012025_04_38_46_10481.jpg
/home/pi/Desktop/images/30012025/04/39/image_30012025_04_39_45_9386.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332871488","1332871500"],"photo_ids_order":["1332871488","1332871500"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/992e6a86fec9cc31af89d579d0a0b9a1.jpg","text":"TemporaryFile(/tmp/multipartBody8115800227890403290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208443488,"filename":"image_30012025_04_38_46_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/30/d41723276937b3ac3bc3b98bd6b4ab33.jpg","text":"TemporaryFile(/tmp/multipartBody1918002086633631013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208443488,"filename":"image_30012025_04_39_45_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1332871500","file0":"1332871488"},"map_files_photo_id_array":[{"photo_id":"1332871500","filename":"file1"},{"photo_id":"1332871488","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332871488":["hashtag1","hashtag2"]},{"1332871500":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332871488, 1332871500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.828985929489136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 04:40:03.241302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/27/image_28012025_20_27_45_9344.jpg', '/home/pi/Desktop/images/28012025/20/27/image_28012025_20_27_55_10375.jpg', '/home/pi/Desktop/images/28012025/20/27/image_28012025_20_28_05_10372.jpg', '/home/pi/Desktop/images/28012025/20/28/image_28012025_20_28_15_9338.jpg', '/home/pi/Desktop/images/28012025/20/28/image_28012025_20_28_25_10419.jpg', '/home/pi/Desktop/images/28012025/20/28/image_28012025_20_28_34_9398.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/27/image_28012025_20_27_45_9344.jpg
/home/pi/Desktop/images/28012025/20/27/image_28012025_20_27_55_10375.jpg
/home/pi/Desktop/images/28012025/20/27/image_28012025_20_28_05_10372.jpg
/home/pi/Desktop/images/28012025/20/28/image_28012025_20_28_15_9338.jpg
/home/pi/Desktop/images/28012025/20/28/image_28012025_20_28_25_10419.jpg
/home/pi/Desktop/images/28012025/20/28/image_28012025_20_28_34_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":["1332871587","1332871572","1332871580","1332871567","1332871576","1332871552"],"photo_ids_order":["1332871552","1332871567","1332871572","1332871576","1332871580","1332871587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6ddfce76b68f2b607a2d0dc20ab3bf5f.jpg","text":"TemporaryFile(/tmp/multipartBody4242530455574374405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208464943,"filename":"image_28012025_20_28_34_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/83411eaf8eead5926a26361dc34b03a8.jpg","text":"TemporaryFile(/tmp/multipartBody8166451229303588277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208464943,"filename":"image_28012025_20_28_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/30/41f6a0876da3735a63196d21d9bee376.jpg","text":"TemporaryFile(/tmp/multipartBody2564811586443782683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208464943,"filename":"image_28012025_20_28_25_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/30/89a529f18a5cd4632b70714c6800707f.jpg","text":"TemporaryFile(/tmp/multipartBody1436662169109574910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208464943,"filename":"image_28012025_20_27_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/30/dddbacb0e43772f04726dc450650466e.jpg","text":"TemporaryFile(/tmp/multipartBody4673139861484694394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208464943,"filename":"image_28012025_20_28_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/30/0aa48b0d71ce882645f9b24acc8e8df8.jpg","text":"TemporaryFile(/tmp/multipartBody362728718247867288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208464943,"filename":"image_28012025_20_27_45_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332871572","file1":"1332871567","file0":"1332871552","file4":"1332871580","file5":"1332871587","file3":"1332871576"},"map_files_photo_id_array":[{"photo_id":"1332871587","filename":"file5"},{"photo_id":"1332871572","filename":"file2"},{"photo_id":"1332871580","filename":"file4"},{"photo_id":"1332871567","filename":"file1"},{"photo_id":"1332871552","filename":"file0"},{"photo_id":"1332871576","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332871587":["hashtag1","hashtag2"]},{"1332871572":["hashtag1","hashtag2"]},{"1332871580":["hashtag1","hashtag2"]},{"1332871567":["hashtag1","hashtag2"]},{"1332871576":["hashtag1","hashtag2"]},{"1332871552":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332871587, 1332871572, 1332871580, 1332871567, 1332871576, 1332871552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.77678060531616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 04:41:04.472681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/39/image_30012025_04_39_56_10338.jpg', '/home/pi/Desktop/images/30012025/04/39/image_30012025_04_40_06_10368.jpg', '/home/pi/Desktop/images/30012025/04/40/image_30012025_04_40_15_9362.jpg', '/home/pi/Desktop/images/30012025/04/40/image_30012025_04_40_26_10521.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/39/image_30012025_04_39_56_10338.jpg
/home/pi/Desktop/images/30012025/04/39/image_30012025_04_40_06_10368.jpg
/home/pi/Desktop/images/30012025/04/40/image_30012025_04_40_15_9362.jpg
/home/pi/Desktop/images/30012025/04/40/image_30012025_04_40_26_10521.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332871641","1332871619","1332871616","1332871618"],"photo_ids_order":["1332871616","1332871618","1332871619","1332871641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/53db801d952506e35264904ec99a0302.jpg","text":"TemporaryFile(/tmp/multipartBody6617189765485219525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208525488,"filename":"image_30012025_04_40_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/30/3fb3a5d2d2ae3e1ab39249e247c40e92.jpg","text":"TemporaryFile(/tmp/multipartBody4147951692083228845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208525488,"filename":"image_30012025_04_40_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/30/7fcaadb332284b0be451c3db265ae5f3.jpg","text":"TemporaryFile(/tmp/multipartBody2247385506825490497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208525488,"filename":"image_30012025_04_39_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/30/e7774447fc6d3beee4d11a2e6689b65a.jpg","text":"TemporaryFile(/tmp/multipartBody7497652211223718612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208525488,"filename":"image_30012025_04_40_06_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332871619","file1":"1332871618","file0":"1332871616","file3":"1332871641"},"map_files_photo_id_array":[{"photo_id":"1332871619","filename":"file2"},{"photo_id":"1332871618","filename":"file1"},{"photo_id":"1332871616","filename":"file0"},{"photo_id":"1332871641","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332871641":["hashtag1","hashtag2"]},{"1332871619":["hashtag1","hashtag2"]},{"1332871616":["hashtag1","hashtag2"]},{"1332871618":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332871641, 1332871619, 1332871616, 1332871618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.621136903762817 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 04:41:42.806159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/40/image_30012025_04_40_35_9416.jpg', '/home/pi/Desktop/images/30012025/04/40/image_30012025_04_41_06_9334.jpg', '/home/pi/Desktop/images/30012025/04/41/image_30012025_04_41_16_10413.jpg', '/home/pi/Desktop/images/30012025/04/41/image_30012025_04_41_25_9373.jpg', '/home/pi/Desktop/images/30012025/04/41/image_30012025_04_41_36_10383.jpg', '/home/pi/Desktop/images/30012025/04/41/image_30012025_04_41_46_10442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/40/image_30012025_04_40_35_9416.jpg
/home/pi/Desktop/images/30012025/04/40/image_30012025_04_41_06_9334.jpg
/home/pi/Desktop/images/30012025/04/41/image_30012025_04_41_16_10413.jpg
/home/pi/Desktop/images/30012025/04/41/image_30012025_04_41_25_9373.jpg
/home/pi/Desktop/images/30012025/04/41/image_30012025_04_41_36_10383.jpg
/home/pi/Desktop/images/30012025/04/41/image_30012025_04_41_46_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":["1332871671","1332871668","1332871710","1332871673","1332871856","1332871768"],"photo_ids_order":["1332871668","1332871671","1332871673","1332871710","1332871768","1332871856"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f54d5d0f4cf1fd82bc5a9e342e4718fe.jpg","text":"TemporaryFile(/tmp/multipartBody7577549230874465276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208563713,"filename":"image_30012025_04_41_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/30/0e62a5988804a1c524ff2c2402eb0880.jpg","text":"TemporaryFile(/tmp/multipartBody7740133226268667477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208563713,"filename":"image_30012025_04_40_35_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/30/9a2d393a27af554e8a542f5ea03a5d6b.jpg","text":"TemporaryFile(/tmp/multipartBody5089052124021067935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208563713,"filename":"image_30012025_04_41_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/30/49387a624d296541513eb72b3ef1635b.jpg","text":"TemporaryFile(/tmp/multipartBody6434400074520906664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208563713,"filename":"image_30012025_04_41_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/30/43c2803fbb624d9d0552172faacee1c3.jpg","text":"TemporaryFile(/tmp/multipartBody8966383524939235243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208563713,"filename":"image_30012025_04_41_46_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/30/854a02913c3ab7cb756d097bae20bf9a.jpg","text":"TemporaryFile(/tmp/multipartBody3085151626111260421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208563713,"filename":"image_30012025_04_41_36_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332871673","file1":"1332871671","file0":"1332871668","file4":"1332871768","file5":"1332871856","file3":"1332871710"},"map_files_photo_id_array":[{"photo_id":"1332871856","filename":"file5"},{"photo_id":"1332871673","filename":"file2"},{"photo_id":"1332871768","filename":"file4"},{"photo_id":"1332871671","filename":"file1"},{"photo_id":"1332871668","filename":"file0"},{"photo_id":"1332871710","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332871671":["hashtag1","hashtag2"]},{"1332871668":["hashtag1","hashtag2"]},{"1332871710":["hashtag1","hashtag2"]},{"1332871673":["hashtag1","hashtag2"]},{"1332871856":["hashtag1","hashtag2"]},{"1332871768":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332871671, 1332871668, 1332871710, 1332871673, 1332871856, 1332871768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.76679444313049 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:42:33.071901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/41/image_30012025_04_41_56_9353.jpg', '/home/pi/Desktop/images/30012025/04/41/image_30012025_04_42_06_10360.jpg', '/home/pi/Desktop/images/30012025/04/42/image_30012025_04_42_16_10417.jpg', '/home/pi/Desktop/images/30012025/04/42/image_30012025_04_42_26_9350.jpg', '/home/pi/Desktop/images/30012025/04/42/image_30012025_04_42_36_10461.jpg', '/home/pi/Desktop/images/30012025/04/42/image_30012025_04_42_45_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/41/image_30012025_04_41_56_9353.jpg
/home/pi/Desktop/images/30012025/04/41/image_30012025_04_42_06_10360.jpg
/home/pi/Desktop/images/30012025/04/42/image_30012025_04_42_16_10417.jpg
/home/pi/Desktop/images/30012025/04/42/image_30012025_04_42_26_9350.jpg
/home/pi/Desktop/images/30012025/04/42/image_30012025_04_42_36_10461.jpg
/home/pi/Desktop/images/30012025/04/42/image_30012025_04_42_45_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":["1332872106","1332872109","1332872125","1332872116","1332872166","1332872121"],"photo_ids_order":["1332872106","1332872109","1332872116","1332872121","1332872125","1332872166"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e01c7d39eb0ab49d2a6f79f441c847f8.jpg","text":"TemporaryFile(/tmp/multipartBody8559919453501816008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208613981,"filename":"image_30012025_04_41_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/30/a3bead31d0ee30e0646e9d46bada2b90.jpg","text":"TemporaryFile(/tmp/multipartBody4473770064855334885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208613981,"filename":"image_30012025_04_42_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/30/906f43e3dddc0963a6145938aa8e9911.jpg","text":"TemporaryFile(/tmp/multipartBody8020796294337709948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208613981,"filename":"image_30012025_04_42_36_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/30/5a9bb885e98a1070339aaced4055a0b2.jpg","text":"TemporaryFile(/tmp/multipartBody8564713300228516884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208613981,"filename":"image_30012025_04_42_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/30/c82437bb592aa2ee6f7a5154fb346d39.jpg","text":"TemporaryFile(/tmp/multipartBody8806008454798144803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208613981,"filename":"image_30012025_04_42_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/30/7b45c41dded0dea65a0fd5d7158378f4.jpg","text":"TemporaryFile(/tmp/multipartBody129514884566142510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208613981,"filename":"image_30012025_04_42_26_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332872116","file1":"1332872109","file0":"1332872106","file4":"1332872125","file5":"1332872166","file3":"1332872121"},"map_files_photo_id_array":[{"photo_id":"1332872166","filename":"file5"},{"photo_id":"1332872116","filename":"file2"},{"photo_id":"1332872125","filename":"file4"},{"photo_id":"1332872109","filename":"file1"},{"photo_id":"1332872106","filename":"file0"},{"photo_id":"1332872121","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332872106":["hashtag1","hashtag2"]},{"1332872109":["hashtag1","hashtag2"]},{"1332872125":["hashtag1","hashtag2"]},{"1332872116":["hashtag1","hashtag2"]},{"1332872166":["hashtag1","hashtag2"]},{"1332872121":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332872106, 1332872109, 1332872125, 1332872116, 1332872166, 1332872121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.64362573623657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:43:33.143695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/42/image_30012025_04_42_56_10496.jpg', '/home/pi/Desktop/images/30012025/04/42/image_30012025_04_43_06_10357.jpg', '/home/pi/Desktop/images/30012025/04/43/image_30012025_04_43_16_9354.jpg', '/home/pi/Desktop/images/30012025/04/43/image_30012025_04_43_26_10451.jpg', '/home/pi/Desktop/images/30012025/04/43/image_30012025_04_43_35_9336.jpg', '/home/pi/Desktop/images/30012025/04/43/image_30012025_04_43_46_10434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/42/image_30012025_04_42_56_10496.jpg
/home/pi/Desktop/images/30012025/04/42/image_30012025_04_43_06_10357.jpg
/home/pi/Desktop/images/30012025/04/43/image_30012025_04_43_16_9354.jpg
/home/pi/Desktop/images/30012025/04/43/image_30012025_04_43_26_10451.jpg
/home/pi/Desktop/images/30012025/04/43/image_30012025_04_43_35_9336.jpg
/home/pi/Desktop/images/30012025/04/43/image_30012025_04_43_46_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":["1332872393","1332872396","1332872398","1332872392","1332872389","1332872335"],"photo_ids_order":["1332872335","1332872389","1332872392","1332872393","1332872396","1332872398"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2ee7f4a72cd263362f348f7c56efee95.jpg","text":"TemporaryFile(/tmp/multipartBody4597083187075703136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208674076,"filename":"image_30012025_04_43_26_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/30/f0590dc8b743847fdaced5ee1a1d4017.jpg","text":"TemporaryFile(/tmp/multipartBody4002008466061085624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208674076,"filename":"image_30012025_04_43_35_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f6836f592c76c11a1678205d9ee1e984.jpg","text":"TemporaryFile(/tmp/multipartBody8741497086707409524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208674076,"filename":"image_30012025_04_43_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/30/da82fad6ece7e5301c2de7151593b1a9.jpg","text":"TemporaryFile(/tmp/multipartBody1575072145113471306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208674076,"filename":"image_30012025_04_43_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/30/6c77ce42fac88a5e8c0f1202521c2513.jpg","text":"TemporaryFile(/tmp/multipartBody4570346911530501693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208674076,"filename":"image_30012025_04_43_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/30/7182ac5804dba05b8faa94f99a4e13a6.jpg","text":"TemporaryFile(/tmp/multipartBody3666335872377884683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208674076,"filename":"image_30012025_04_42_56_10496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332872392","file1":"1332872389","file0":"1332872335","file4":"1332872396","file5":"1332872398","file3":"1332872393"},"map_files_photo_id_array":[{"photo_id":"1332872398","filename":"file5"},{"photo_id":"1332872392","filename":"file2"},{"photo_id":"1332872396","filename":"file4"},{"photo_id":"1332872389","filename":"file1"},{"photo_id":"1332872335","filename":"file0"},{"photo_id":"1332872393","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332872393":["hashtag1","hashtag2"]},{"1332872396":["hashtag1","hashtag2"]},{"1332872398":["hashtag1","hashtag2"]},{"1332872392":["hashtag1","hashtag2"]},{"1332872389":["hashtag1","hashtag2"]},{"1332872335":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332872393, 1332872396, 1332872398, 1332872392, 1332872389, 1332872335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.217379331588745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:44:32.382615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/43/image_30012025_04_43_55_9454.jpg', '/home/pi/Desktop/images/30012025/04/43/image_30012025_04_44_06_10362.jpg', '/home/pi/Desktop/images/30012025/04/44/image_30012025_04_44_16_10331.jpg', '/home/pi/Desktop/images/30012025/04/44/image_30012025_04_44_25_9358.jpg', '/home/pi/Desktop/images/30012025/04/44/image_30012025_04_44_36_10364.jpg', '/home/pi/Desktop/images/30012025/04/44/image_30012025_04_44_46_10456.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/43/image_30012025_04_43_55_9454.jpg
/home/pi/Desktop/images/30012025/04/43/image_30012025_04_44_06_10362.jpg
/home/pi/Desktop/images/30012025/04/44/image_30012025_04_44_16_10331.jpg
/home/pi/Desktop/images/30012025/04/44/image_30012025_04_44_25_9358.jpg
/home/pi/Desktop/images/30012025/04/44/image_30012025_04_44_36_10364.jpg
/home/pi/Desktop/images/30012025/04/44/image_30012025_04_44_46_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":["1332872421","1332872435","1332872437","1332872431","1332872439","1332872427"],"photo_ids_order":["1332872421","1332872427","1332872431","1332872435","1332872437","1332872439"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d563ee8b02cab6d977f0acfbc886b6b4.jpg","text":"TemporaryFile(/tmp/multipartBody1307764954287557738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208733317,"filename":"image_30012025_04_43_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/30/a6cc9b26df2801b4748546c97fa73335.jpg","text":"TemporaryFile(/tmp/multipartBody3741298226070792794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208733317,"filename":"image_30012025_04_44_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/30/461c26016bc69e4713e58d4e247b31cc.jpg","text":"TemporaryFile(/tmp/multipartBody6730943643091989712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208733317,"filename":"image_30012025_04_44_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/30/f9bea74f95f795d0c41620100cb33c50.jpg","text":"TemporaryFile(/tmp/multipartBody2979433398426969136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208733317,"filename":"image_30012025_04_44_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/30/6322b9f03984f8d28130f7b2f7b766d9.jpg","text":"TemporaryFile(/tmp/multipartBody1484963737127189581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208733317,"filename":"image_30012025_04_44_46_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/30d5040efc8c4d734ada96f8647bd6fe.jpg","text":"TemporaryFile(/tmp/multipartBody84133595904109283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208733317,"filename":"image_30012025_04_44_06_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332872431","file1":"1332872427","file0":"1332872421","file4":"1332872437","file5":"1332872439","file3":"1332872435"},"map_files_photo_id_array":[{"photo_id":"1332872439","filename":"file5"},{"photo_id":"1332872431","filename":"file2"},{"photo_id":"1332872437","filename":"file4"},{"photo_id":"1332872427","filename":"file1"},{"photo_id":"1332872421","filename":"file0"},{"photo_id":"1332872435","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332872421":["hashtag1","hashtag2"]},{"1332872435":["hashtag1","hashtag2"]},{"1332872437":["hashtag1","hashtag2"]},{"1332872431":["hashtag1","hashtag2"]},{"1332872439":["hashtag1","hashtag2"]},{"1332872427":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332872421, 1332872435, 1332872437, 1332872431, 1332872439, 1332872427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.80899715423584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:45:32.741928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/44/image_30012025_04_44_56_9354.jpg', '/home/pi/Desktop/images/30012025/04/44/image_30012025_04_45_06_10432.jpg', '/home/pi/Desktop/images/30012025/04/45/image_30012025_04_45_15_9396.jpg', '/home/pi/Desktop/images/30012025/04/45/image_30012025_04_45_26_10373.jpg', '/home/pi/Desktop/images/30012025/04/45/image_30012025_04_45_36_10435.jpg', '/home/pi/Desktop/images/30012025/04/45/image_30012025_04_45_46_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/44/image_30012025_04_44_56_9354.jpg
/home/pi/Desktop/images/30012025/04/44/image_30012025_04_45_06_10432.jpg
/home/pi/Desktop/images/30012025/04/45/image_30012025_04_45_15_9396.jpg
/home/pi/Desktop/images/30012025/04/45/image_30012025_04_45_26_10373.jpg
/home/pi/Desktop/images/30012025/04/45/image_30012025_04_45_36_10435.jpg
/home/pi/Desktop/images/30012025/04/45/image_30012025_04_45_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":["1332873236","1332873247","1332873241","1332873244","1332873232","1332873095"],"photo_ids_order":["1332873095","1332873232","1332873236","1332873241","1332873244","1332873247"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7fc7793f3a7698258b1361b40b6b88ae.jpg","text":"TemporaryFile(/tmp/multipartBody3360938948909069198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208793660,"filename":"image_30012025_04_45_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/30/f6ac00684d9e84cef1e452650977ba5c.jpg","text":"TemporaryFile(/tmp/multipartBody4696838394743540937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208793660,"filename":"image_30012025_04_45_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/30/55ab27864409424ce176d88a57e549d7.jpg","text":"TemporaryFile(/tmp/multipartBody5728727945849778095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208793660,"filename":"image_30012025_04_45_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/30/661bc9d17d6084cac7f6e35b36004447.jpg","text":"TemporaryFile(/tmp/multipartBody3092650515582389634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208793660,"filename":"image_30012025_04_45_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/30/fde1ee7db5a056cb22b44e41ccf03463.jpg","text":"TemporaryFile(/tmp/multipartBody4592454301849375949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208793660,"filename":"image_30012025_04_45_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/30/eb16cc4076c75d73a01f0ba26708b10a.jpg","text":"TemporaryFile(/tmp/multipartBody2208728344694267547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208793660,"filename":"image_30012025_04_44_56_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332873236","file1":"1332873232","file0":"1332873095","file4":"1332873244","file5":"1332873247","file3":"1332873241"},"map_files_photo_id_array":[{"photo_id":"1332873247","filename":"file5"},{"photo_id":"1332873236","filename":"file2"},{"photo_id":"1332873244","filename":"file4"},{"photo_id":"1332873232","filename":"file1"},{"photo_id":"1332873095","filename":"file0"},{"photo_id":"1332873241","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332873236":["hashtag1","hashtag2"]},{"1332873247":["hashtag1","hashtag2"]},{"1332873241":["hashtag1","hashtag2"]},{"1332873244":["hashtag1","hashtag2"]},{"1332873232":["hashtag1","hashtag2"]},{"1332873095":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332873236, 1332873247, 1332873241, 1332873244, 1332873232, 1332873095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.874935150146484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:46:32.908378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/45/image_30012025_04_45_56_10407.jpg', '/home/pi/Desktop/images/30012025/04/45/image_30012025_04_46_06_10350.jpg', '/home/pi/Desktop/images/30012025/04/46/image_30012025_04_46_26_10392.jpg', '/home/pi/Desktop/images/30012025/04/46/image_30012025_04_46_36_9418.jpg', '/home/pi/Desktop/images/30012025/04/46/image_30012025_04_46_46_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/45/image_30012025_04_45_56_10407.jpg
/home/pi/Desktop/images/30012025/04/45/image_30012025_04_46_06_10350.jpg
/home/pi/Desktop/images/30012025/04/46/image_30012025_04_46_26_10392.jpg
/home/pi/Desktop/images/30012025/04/46/image_30012025_04_46_36_9418.jpg
/home/pi/Desktop/images/30012025/04/46/image_30012025_04_46_46_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":["1332873275","1332873269","1332873266","1332873262","1332873272"],"photo_ids_order":["1332873262","1332873266","1332873269","1332873272","1332873275"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3e5b7af345be3806d0d755e21f6d1d20.jpg","text":"TemporaryFile(/tmp/multipartBody8084280587395296387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208853845,"filename":"image_30012025_04_46_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/30/61d086d4edec736a3ddfb08e90e1a8d7.jpg","text":"TemporaryFile(/tmp/multipartBody7661624682770968433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208853845,"filename":"image_30012025_04_46_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/30/cd4e0bddb91144d698cd06c2ccae7e76.jpg","text":"TemporaryFile(/tmp/multipartBody8244891478144126056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208853845,"filename":"image_30012025_04_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/30/103f5368bee690261afc475aa65853f5.jpg","text":"TemporaryFile(/tmp/multipartBody8491965228266626855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208853845,"filename":"image_30012025_04_45_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/30/5b7411357b68b5787038e73b5c318062.jpg","text":"TemporaryFile(/tmp/multipartBody3490697461438528934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208853845,"filename":"image_30012025_04_46_36_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332873269","file1":"1332873266","file0":"1332873262","file4":"1332873275","file3":"1332873272"},"map_files_photo_id_array":[{"photo_id":"1332873269","filename":"file2"},{"photo_id":"1332873275","filename":"file4"},{"photo_id":"1332873266","filename":"file1"},{"photo_id":"1332873262","filename":"file0"},{"photo_id":"1332873272","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332873275":["hashtag1","hashtag2"]},{"1332873269":["hashtag1","hashtag2"]},{"1332873266":["hashtag1","hashtag2"]},{"1332873262":["hashtag1","hashtag2"]},{"1332873272":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332873275, 1332873269, 1332873266, 1332873262, 1332873272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.914830446243286 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:47:33.216688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/46/image_30012025_04_46_56_10425.jpg', '/home/pi/Desktop/images/30012025/04/46/image_30012025_04_47_06_9330.jpg', '/home/pi/Desktop/images/30012025/04/47/image_30012025_04_47_16_10407.jpg', '/home/pi/Desktop/images/30012025/04/47/image_30012025_04_47_25_9393.jpg', '/home/pi/Desktop/images/30012025/04/47/image_30012025_04_47_36_10408.jpg', '/home/pi/Desktop/images/30012025/04/47/image_30012025_04_47_46_10461.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/46/image_30012025_04_46_56_10425.jpg
/home/pi/Desktop/images/30012025/04/46/image_30012025_04_47_06_9330.jpg
/home/pi/Desktop/images/30012025/04/47/image_30012025_04_47_16_10407.jpg
/home/pi/Desktop/images/30012025/04/47/image_30012025_04_47_25_9393.jpg
/home/pi/Desktop/images/30012025/04/47/image_30012025_04_47_36_10408.jpg
/home/pi/Desktop/images/30012025/04/47/image_30012025_04_47_46_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":["1332873740","1332873710","1332873742","1332873679","1332873687","1332873683"],"photo_ids_order":["1332873679","1332873683","1332873687","1332873710","1332873740","1332873742"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5752ccff7c96a4bb150690e958b06ec7.jpg","text":"TemporaryFile(/tmp/multipartBody3560690942322464091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208914127,"filename":"image_30012025_04_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/30/fa9453d4b5fe0aa8f787f6f483ec930a.jpg","text":"TemporaryFile(/tmp/multipartBody5805504026238002322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208914127,"filename":"image_30012025_04_47_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/30/8add61965d55d1187fbdfc504e7822a1.jpg","text":"TemporaryFile(/tmp/multipartBody8016080943539305927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208914127,"filename":"image_30012025_04_47_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/30/e24ee4d56ff23f60a7d20c54c57684b0.jpg","text":"TemporaryFile(/tmp/multipartBody6848393027204142011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208914127,"filename":"image_30012025_04_46_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/30/67a7afd6279f08aab36a52c177d712dd.jpg","text":"TemporaryFile(/tmp/multipartBody606735834035260357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208914127,"filename":"image_30012025_04_47_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/30/e70201531b2203bf08b93629ec44027c.jpg","text":"TemporaryFile(/tmp/multipartBody8160965851987051564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208914127,"filename":"image_30012025_04_47_06_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332873687","file1":"1332873683","file0":"1332873679","file4":"1332873740","file5":"1332873742","file3":"1332873710"},"map_files_photo_id_array":[{"photo_id":"1332873742","filename":"file5"},{"photo_id":"1332873687","filename":"file2"},{"photo_id":"1332873740","filename":"file4"},{"photo_id":"1332873683","filename":"file1"},{"photo_id":"1332873679","filename":"file0"},{"photo_id":"1332873710","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332873740":["hashtag1","hashtag2"]},{"1332873710":["hashtag1","hashtag2"]},{"1332873742":["hashtag1","hashtag2"]},{"1332873679":["hashtag1","hashtag2"]},{"1332873687":["hashtag1","hashtag2"]},{"1332873683":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332873740, 1332873710, 1332873742, 1332873679, 1332873687, 1332873683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.71392631530762 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:48:32.327598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/47/image_30012025_04_47_56_9382.jpg', '/home/pi/Desktop/images/30012025/04/47/image_30012025_04_48_06_10399.jpg', '/home/pi/Desktop/images/30012025/04/48/image_30012025_04_48_15_9347.jpg', '/home/pi/Desktop/images/30012025/04/48/image_30012025_04_48_26_10363.jpg', '/home/pi/Desktop/images/30012025/04/48/image_30012025_04_48_36_10432.jpg', '/home/pi/Desktop/images/30012025/04/48/image_30012025_04_48_46_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/47/image_30012025_04_47_56_9382.jpg
/home/pi/Desktop/images/30012025/04/47/image_30012025_04_48_06_10399.jpg
/home/pi/Desktop/images/30012025/04/48/image_30012025_04_48_15_9347.jpg
/home/pi/Desktop/images/30012025/04/48/image_30012025_04_48_26_10363.jpg
/home/pi/Desktop/images/30012025/04/48/image_30012025_04_48_36_10432.jpg
/home/pi/Desktop/images/30012025/04/48/image_30012025_04_48_46_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332873899","1332873862","1332873891","1332873858","1332873903","1332873896"],"photo_ids_order":["1332873858","1332873862","1332873891","1332873896","1332873899","1332873903"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/30c1a6b67ffe454e2578bbc62476ae7f.jpg","text":"TemporaryFile(/tmp/multipartBody3645068945264661903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208973253,"filename":"image_30012025_04_48_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/30/111a9966aded4c2aeef813090fb0e938.jpg","text":"TemporaryFile(/tmp/multipartBody5104384618719841360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208973253,"filename":"image_30012025_04_48_06_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/30/de7b5c1705e8a815de367f89044254bc.jpg","text":"TemporaryFile(/tmp/multipartBody878640564514696308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208973253,"filename":"image_30012025_04_48_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/30/81cd53372a8fdd5f6597e3ef65a0558d.jpg","text":"TemporaryFile(/tmp/multipartBody4725028001719901881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208973253,"filename":"image_30012025_04_47_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/30/74035a76b2d261ec7eeadff2f458643e.jpg","text":"TemporaryFile(/tmp/multipartBody5157006011326524070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208973253,"filename":"image_30012025_04_48_46_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c7cc9b83df2b24a7bf370979b19a8ef9.jpg","text":"TemporaryFile(/tmp/multipartBody3866382223617229619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738208973253,"filename":"image_30012025_04_48_26_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332873891","file1":"1332873862","file0":"1332873858","file4":"1332873899","file5":"1332873903","file3":"1332873896"},"map_files_photo_id_array":[{"photo_id":"1332873903","filename":"file5"},{"photo_id":"1332873891","filename":"file2"},{"photo_id":"1332873899","filename":"file4"},{"photo_id":"1332873862","filename":"file1"},{"photo_id":"1332873858","filename":"file0"},{"photo_id":"1332873896","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332873899":["hashtag1","hashtag2"]},{"1332873862":["hashtag1","hashtag2"]},{"1332873891":["hashtag1","hashtag2"]},{"1332873858":["hashtag1","hashtag2"]},{"1332873903":["hashtag1","hashtag2"]},{"1332873896":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332873899, 1332873862, 1332873891, 1332873858, 1332873903, 1332873896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.538660287857056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:49:32.495525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/48/image_30012025_04_48_56_10451.jpg', '/home/pi/Desktop/images/30012025/04/49/image_30012025_04_49_16_10341.jpg', '/home/pi/Desktop/images/30012025/04/49/image_30012025_04_49_26_10458.jpg', '/home/pi/Desktop/images/30012025/04/49/image_30012025_04_49_36_9336.jpg', '/home/pi/Desktop/images/30012025/04/49/image_30012025_04_49_46_10480.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/48/image_30012025_04_48_56_10451.jpg
/home/pi/Desktop/images/30012025/04/49/image_30012025_04_49_16_10341.jpg
/home/pi/Desktop/images/30012025/04/49/image_30012025_04_49_26_10458.jpg
/home/pi/Desktop/images/30012025/04/49/image_30012025_04_49_36_9336.jpg
/home/pi/Desktop/images/30012025/04/49/image_30012025_04_49_46_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":["1332873926","1332873914","1332873921","1332873924","1332873918"],"photo_ids_order":["1332873914","1332873918","1332873921","1332873924","1332873926"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bb57b902fd58773354dff1fff57af100.jpg","text":"TemporaryFile(/tmp/multipartBody3856859470106708858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209033403,"filename":"image_30012025_04_49_46_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/30/b711360e4dcbb40917e7ac797ceb5b89.jpg","text":"TemporaryFile(/tmp/multipartBody921135689587657697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209033403,"filename":"image_30012025_04_48_56_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/30/1ce84c0fac345507b806b1e1d34aaceb.jpg","text":"TemporaryFile(/tmp/multipartBody41146057058403021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209033403,"filename":"image_30012025_04_49_26_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/30/5c597bb88ff2c67abb94ce4cfe1e3236.jpg","text":"TemporaryFile(/tmp/multipartBody4288784304036151263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209033403,"filename":"image_30012025_04_49_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/30/d647288b56181045a29a0a0fc4639265.jpg","text":"TemporaryFile(/tmp/multipartBody8205856242355456383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209033403,"filename":"image_30012025_04_49_16_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332873921","file1":"1332873918","file0":"1332873914","file4":"1332873926","file3":"1332873924"},"map_files_photo_id_array":[{"photo_id":"1332873921","filename":"file2"},{"photo_id":"1332873926","filename":"file4"},{"photo_id":"1332873918","filename":"file1"},{"photo_id":"1332873914","filename":"file0"},{"photo_id":"1332873924","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332873926":["hashtag1","hashtag2"]},{"1332873914":["hashtag1","hashtag2"]},{"1332873921":["hashtag1","hashtag2"]},{"1332873924":["hashtag1","hashtag2"]},{"1332873918":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332873926, 1332873914, 1332873921, 1332873924, 1332873918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.971091985702515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:50:32.735883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/49/image_30012025_04_49_55_9408.jpg', '/home/pi/Desktop/images/30012025/04/50/image_30012025_04_50_15_9428.jpg', '/home/pi/Desktop/images/30012025/04/50/image_30012025_04_50_26_10410.jpg', '/home/pi/Desktop/images/30012025/04/50/image_30012025_04_50_36_10445.jpg', '/home/pi/Desktop/images/30012025/04/50/image_30012025_04_50_46_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/49/image_30012025_04_49_55_9408.jpg
/home/pi/Desktop/images/30012025/04/50/image_30012025_04_50_15_9428.jpg
/home/pi/Desktop/images/30012025/04/50/image_30012025_04_50_26_10410.jpg
/home/pi/Desktop/images/30012025/04/50/image_30012025_04_50_36_10445.jpg
/home/pi/Desktop/images/30012025/04/50/image_30012025_04_50_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":["1332873947","1332873957","1332873951","1332873954","1332873942"],"photo_ids_order":["1332873942","1332873947","1332873951","1332873954","1332873957"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d9a565aec838f07ba23d2f54465ee789.jpg","text":"TemporaryFile(/tmp/multipartBody7441085536414455009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209093632,"filename":"image_30012025_04_50_15_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/30/14876ba89c5b886b0fb0577cec7003e6.jpg","text":"TemporaryFile(/tmp/multipartBody7737627601802544025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209093632,"filename":"image_30012025_04_50_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/30/ef1746dadd89786de36ab8e9e4f907db.jpg","text":"TemporaryFile(/tmp/multipartBody5101387048706638500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209093632,"filename":"image_30012025_04_50_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/30/df5c262dde4cb905c781b983dde5dd89.jpg","text":"TemporaryFile(/tmp/multipartBody4338523248630456554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209093632,"filename":"image_30012025_04_50_36_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d56465bb6a731946c65c106d23602f44.jpg","text":"TemporaryFile(/tmp/multipartBody8188945950216928400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209093632,"filename":"image_30012025_04_49_55_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332873951","file1":"1332873947","file0":"1332873942","file4":"1332873957","file3":"1332873954"},"map_files_photo_id_array":[{"photo_id":"1332873951","filename":"file2"},{"photo_id":"1332873957","filename":"file4"},{"photo_id":"1332873947","filename":"file1"},{"photo_id":"1332873942","filename":"file0"},{"photo_id":"1332873954","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332873947":["hashtag1","hashtag2"]},{"1332873957":["hashtag1","hashtag2"]},{"1332873951":["hashtag1","hashtag2"]},{"1332873954":["hashtag1","hashtag2"]},{"1332873942":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332873947, 1332873957, 1332873951, 1332873954, 1332873942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.39398264884949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:51:33.064064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/50/image_30012025_04_50_56_10439.jpg', '/home/pi/Desktop/images/30012025/04/50/image_30012025_04_51_05_9333.jpg', '/home/pi/Desktop/images/30012025/04/51/image_30012025_04_51_16_10394.jpg', '/home/pi/Desktop/images/30012025/04/51/image_30012025_04_51_26_10452.jpg', '/home/pi/Desktop/images/30012025/04/51/image_30012025_04_51_46_10473.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/50/image_30012025_04_50_56_10439.jpg
/home/pi/Desktop/images/30012025/04/50/image_30012025_04_51_05_9333.jpg
/home/pi/Desktop/images/30012025/04/51/image_30012025_04_51_16_10394.jpg
/home/pi/Desktop/images/30012025/04/51/image_30012025_04_51_26_10452.jpg
/home/pi/Desktop/images/30012025/04/51/image_30012025_04_51_46_10473.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332873983","1332873996","1332874014","1332874008","1332873987"],"photo_ids_order":["1332873983","1332873987","1332873996","1332874008","1332874014"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/11e46408cb9f0a26c123027745918057.jpg","text":"TemporaryFile(/tmp/multipartBody339474466037188714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209153985,"filename":"image_30012025_04_50_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/30/8734fd834d87d8fd5639df3758b4fc90.jpg","text":"TemporaryFile(/tmp/multipartBody8960552585497040047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209153985,"filename":"image_30012025_04_51_16_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2b199f7cb19caf9ebbe87a3b62cfcbeb.jpg","text":"TemporaryFile(/tmp/multipartBody3525479215998100085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209153985,"filename":"image_30012025_04_51_46_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cf0c19cf9cbcf3f100d51475aa450d54.jpg","text":"TemporaryFile(/tmp/multipartBody3661756069374001091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209153985,"filename":"image_30012025_04_51_26_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/30/73fb91052b76291509d0695755440dd1.jpg","text":"TemporaryFile(/tmp/multipartBody4950793027558053889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209153985,"filename":"image_30012025_04_51_05_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332873996","file1":"1332873987","file0":"1332873983","file4":"1332874014","file3":"1332874008"},"map_files_photo_id_array":[{"photo_id":"1332873996","filename":"file2"},{"photo_id":"1332874014","filename":"file4"},{"photo_id":"1332873987","filename":"file1"},{"photo_id":"1332873983","filename":"file0"},{"photo_id":"1332874008","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332873983":["hashtag1","hashtag2"]},{"1332873996":["hashtag1","hashtag2"]},{"1332874014":["hashtag1","hashtag2"]},{"1332874008":["hashtag1","hashtag2"]},{"1332873987":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332873983, 1332873996, 1332874014, 1332874008, 1332873987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.32382297515869 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:52:33.166679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/51/image_30012025_04_51_55_9347.jpg', '/home/pi/Desktop/images/30012025/04/51/image_30012025_04_52_06_10390.jpg', '/home/pi/Desktop/images/30012025/04/52/image_30012025_04_52_16_10433.jpg', '/home/pi/Desktop/images/30012025/04/52/image_30012025_04_52_26_9371.jpg', '/home/pi/Desktop/images/30012025/04/52/image_30012025_04_52_36_10438.jpg', '/home/pi/Desktop/images/30012025/04/52/image_30012025_04_52_45_9409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/51/image_30012025_04_51_55_9347.jpg
/home/pi/Desktop/images/30012025/04/51/image_30012025_04_52_06_10390.jpg
/home/pi/Desktop/images/30012025/04/52/image_30012025_04_52_16_10433.jpg
/home/pi/Desktop/images/30012025/04/52/image_30012025_04_52_26_9371.jpg
/home/pi/Desktop/images/30012025/04/52/image_30012025_04_52_36_10438.jpg
/home/pi/Desktop/images/30012025/04/52/image_30012025_04_52_45_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":["1332874052","1332874042","1332874036","1332874030","1332874047","1332874032"],"photo_ids_order":["1332874030","1332874032","1332874036","1332874042","1332874047","1332874052"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/da377ebf1468425e12618c0e69dc4b20.jpg","text":"TemporaryFile(/tmp/multipartBody1595227979480309930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209214076,"filename":"image_30012025_04_52_45_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/30/189ab44fd6c7959361d65b3b73179b2a.jpg","text":"TemporaryFile(/tmp/multipartBody6300125648758852598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209214076,"filename":"image_30012025_04_52_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/30/a17c22b52cf5439535e8c3aed1ba1bee.jpg","text":"TemporaryFile(/tmp/multipartBody4197428106314116842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209214076,"filename":"image_30012025_04_52_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/30/96320fc1f79314527cc7d946f59873d4.jpg","text":"TemporaryFile(/tmp/multipartBody8322022213236599864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209214076,"filename":"image_30012025_04_51_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/30/2681cbea3dbddadd3dd7c2fb62003772.jpg","text":"TemporaryFile(/tmp/multipartBody945280326404243773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209214076,"filename":"image_30012025_04_52_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/30/b79654e6561473860c0731a7680906f9.jpg","text":"TemporaryFile(/tmp/multipartBody7976512824797084360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209214076,"filename":"image_30012025_04_52_06_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332874036","file1":"1332874032","file0":"1332874030","file4":"1332874047","file5":"1332874052","file3":"1332874042"},"map_files_photo_id_array":[{"photo_id":"1332874052","filename":"file5"},{"photo_id":"1332874036","filename":"file2"},{"photo_id":"1332874047","filename":"file4"},{"photo_id":"1332874032","filename":"file1"},{"photo_id":"1332874030","filename":"file0"},{"photo_id":"1332874042","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332874052":["hashtag1","hashtag2"]},{"1332874042":["hashtag1","hashtag2"]},{"1332874036":["hashtag1","hashtag2"]},{"1332874030":["hashtag1","hashtag2"]},{"1332874047":["hashtag1","hashtag2"]},{"1332874032":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332874052, 1332874042, 1332874036, 1332874030, 1332874047, 1332874032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.429152488708496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:53:32.454145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/52/image_30012025_04_52_56_10413.jpg', '/home/pi/Desktop/images/30012025/04/52/image_30012025_04_53_06_10418.jpg', '/home/pi/Desktop/images/30012025/04/53/image_30012025_04_53_16_9360.jpg', '/home/pi/Desktop/images/30012025/04/53/image_30012025_04_53_26_10448.jpg', '/home/pi/Desktop/images/30012025/04/53/image_30012025_04_53_35_9339.jpg', '/home/pi/Desktop/images/30012025/04/53/image_30012025_04_53_46_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/52/image_30012025_04_52_56_10413.jpg
/home/pi/Desktop/images/30012025/04/52/image_30012025_04_53_06_10418.jpg
/home/pi/Desktop/images/30012025/04/53/image_30012025_04_53_16_9360.jpg
/home/pi/Desktop/images/30012025/04/53/image_30012025_04_53_26_10448.jpg
/home/pi/Desktop/images/30012025/04/53/image_30012025_04_53_35_9339.jpg
/home/pi/Desktop/images/30012025/04/53/image_30012025_04_53_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":["1332874066","1332874075","1332874073","1332874061","1332874079","1332874070"],"photo_ids_order":["1332874061","1332874066","1332874070","1332874073","1332874075","1332874079"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5c458aec7beb64428de17314c8af9218.jpg","text":"TemporaryFile(/tmp/multipartBody3203359792904843373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209273363,"filename":"image_30012025_04_53_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/30/940f22ff75cff234eb9f4f58941596ca.jpg","text":"TemporaryFile(/tmp/multipartBody2339276137978003751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209273363,"filename":"image_30012025_04_53_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/30/ed60834849546cf4644b596fff815a0e.jpg","text":"TemporaryFile(/tmp/multipartBody1796419874995480954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209273363,"filename":"image_30012025_04_53_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/30/1999fa98cd6d08633577522c5fb94437.jpg","text":"TemporaryFile(/tmp/multipartBody8690055879580359429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209273363,"filename":"image_30012025_04_52_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/30/dfaaeb1398461a39b7dc86b79d03c4c0.jpg","text":"TemporaryFile(/tmp/multipartBody5851934069839845135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209273363,"filename":"image_30012025_04_53_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/30/3f19ee9abe5fec87757e281f73282e23.jpg","text":"TemporaryFile(/tmp/multipartBody3839503003032449751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209273363,"filename":"image_30012025_04_53_16_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332874070","file1":"1332874066","file0":"1332874061","file4":"1332874075","file5":"1332874079","file3":"1332874073"},"map_files_photo_id_array":[{"photo_id":"1332874079","filename":"file5"},{"photo_id":"1332874070","filename":"file2"},{"photo_id":"1332874075","filename":"file4"},{"photo_id":"1332874066","filename":"file1"},{"photo_id":"1332874061","filename":"file0"},{"photo_id":"1332874073","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332874066":["hashtag1","hashtag2"]},{"1332874075":["hashtag1","hashtag2"]},{"1332874073":["hashtag1","hashtag2"]},{"1332874061":["hashtag1","hashtag2"]},{"1332874079":["hashtag1","hashtag2"]},{"1332874070":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332874066, 1332874075, 1332874073, 1332874061, 1332874079, 1332874070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.82022523880005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:54:32.502800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/53/image_30012025_04_53_56_10381.jpg', '/home/pi/Desktop/images/30012025/04/53/image_30012025_04_54_06_9346.jpg', '/home/pi/Desktop/images/30012025/04/54/image_30012025_04_54_16_10472.jpg', '/home/pi/Desktop/images/30012025/04/54/image_30012025_04_54_25_9360.jpg', '/home/pi/Desktop/images/30012025/04/54/image_30012025_04_54_36_10364.jpg', '/home/pi/Desktop/images/30012025/04/54/image_30012025_04_54_46_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/53/image_30012025_04_53_56_10381.jpg
/home/pi/Desktop/images/30012025/04/53/image_30012025_04_54_06_9346.jpg
/home/pi/Desktop/images/30012025/04/54/image_30012025_04_54_16_10472.jpg
/home/pi/Desktop/images/30012025/04/54/image_30012025_04_54_25_9360.jpg
/home/pi/Desktop/images/30012025/04/54/image_30012025_04_54_36_10364.jpg
/home/pi/Desktop/images/30012025/04/54/image_30012025_04_54_46_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332874130","1332874090","1332874141","1332874095","1332874116","1332874101"],"photo_ids_order":["1332874090","1332874095","1332874101","1332874116","1332874130","1332874141"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bd8fc55e850a172a1470e5c5410713f0.jpg","text":"TemporaryFile(/tmp/multipartBody7899110012236124952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209333411,"filename":"image_30012025_04_54_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/30/992c8ee478713cf1c0f9adf48ac04663.jpg","text":"TemporaryFile(/tmp/multipartBody1307503173373408238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209333411,"filename":"image_30012025_04_53_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/30/49879643b36d3d9af2949665ca2dc4ce.jpg","text":"TemporaryFile(/tmp/multipartBody8947469051298236168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209333411,"filename":"image_30012025_04_54_46_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b56e67841e549d29201778a8cf4f9114.jpg","text":"TemporaryFile(/tmp/multipartBody3222380466112698128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209333411,"filename":"image_30012025_04_54_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/30/22bb64c05bcdc334bea9b6abfc09ac66.jpg","text":"TemporaryFile(/tmp/multipartBody1620831054281934856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209333411,"filename":"image_30012025_04_54_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/30/cd12e931f01de938503bbf8976e1a0db.jpg","text":"TemporaryFile(/tmp/multipartBody859191253070680848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209333411,"filename":"image_30012025_04_54_16_10472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332874101","file1":"1332874095","file0":"1332874090","file4":"1332874130","file5":"1332874141","file3":"1332874116"},"map_files_photo_id_array":[{"photo_id":"1332874141","filename":"file5"},{"photo_id":"1332874101","filename":"file2"},{"photo_id":"1332874130","filename":"file4"},{"photo_id":"1332874095","filename":"file1"},{"photo_id":"1332874090","filename":"file0"},{"photo_id":"1332874116","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332874130":["hashtag1","hashtag2"]},{"1332874090":["hashtag1","hashtag2"]},{"1332874141":["hashtag1","hashtag2"]},{"1332874095":["hashtag1","hashtag2"]},{"1332874116":["hashtag1","hashtag2"]},{"1332874101":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332874130, 1332874090, 1332874141, 1332874095, 1332874116, 1332874101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.79196810722351 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:55:32.719006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/54/image_30012025_04_54_56_9359.jpg', '/home/pi/Desktop/images/30012025/04/54/image_30012025_04_55_06_10368.jpg', '/home/pi/Desktop/images/30012025/04/55/image_30012025_04_55_16_10399.jpg', '/home/pi/Desktop/images/30012025/04/55/image_30012025_04_55_26_9361.jpg', '/home/pi/Desktop/images/30012025/04/55/image_30012025_04_55_36_10395.jpg', '/home/pi/Desktop/images/30012025/04/55/image_30012025_04_55_45_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/54/image_30012025_04_54_56_9359.jpg
/home/pi/Desktop/images/30012025/04/54/image_30012025_04_55_06_10368.jpg
/home/pi/Desktop/images/30012025/04/55/image_30012025_04_55_16_10399.jpg
/home/pi/Desktop/images/30012025/04/55/image_30012025_04_55_26_9361.jpg
/home/pi/Desktop/images/30012025/04/55/image_30012025_04_55_36_10395.jpg
/home/pi/Desktop/images/30012025/04/55/image_30012025_04_55_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":["1332874171","1332874168","1332874158","1332874166","1332874160","1332874163"],"photo_ids_order":["1332874158","1332874160","1332874163","1332874166","1332874168","1332874171"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ab5348383db03f55e1382094b753e8b4.jpg","text":"TemporaryFile(/tmp/multipartBody2873942946737818626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209393626,"filename":"image_30012025_04_55_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/30/10f28a43dc815faed21099dff13238b4.jpg","text":"TemporaryFile(/tmp/multipartBody5261749169243228939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209393626,"filename":"image_30012025_04_55_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/30/920292f54157ba2eb3aba785d1d0e65d.jpg","text":"TemporaryFile(/tmp/multipartBody1880461676605997051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209393626,"filename":"image_30012025_04_54_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/30/5769e97a95564a94a00726b12570c27c.jpg","text":"TemporaryFile(/tmp/multipartBody379125422722859785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209393626,"filename":"image_30012025_04_55_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/30/d7499d5912cb5b2aecfefe25243a421f.jpg","text":"TemporaryFile(/tmp/multipartBody7745866313920104717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209393626,"filename":"image_30012025_04_55_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/30/b30e7d7c655482cb61a33c6ce29ec63d.jpg","text":"TemporaryFile(/tmp/multipartBody6032763759290049123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209393626,"filename":"image_30012025_04_55_16_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332874163","file1":"1332874160","file0":"1332874158","file4":"1332874168","file5":"1332874171","file3":"1332874166"},"map_files_photo_id_array":[{"photo_id":"1332874171","filename":"file5"},{"photo_id":"1332874163","filename":"file2"},{"photo_id":"1332874168","filename":"file4"},{"photo_id":"1332874160","filename":"file1"},{"photo_id":"1332874158","filename":"file0"},{"photo_id":"1332874166","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332874171":["hashtag1","hashtag2"]},{"1332874168":["hashtag1","hashtag2"]},{"1332874158":["hashtag1","hashtag2"]},{"1332874166":["hashtag1","hashtag2"]},{"1332874160":["hashtag1","hashtag2"]},{"1332874163":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332874171, 1332874168, 1332874158, 1332874166, 1332874160, 1332874163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.009228467941284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:56:32.902572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/55/image_30012025_04_55_56_10424.jpg', '/home/pi/Desktop/images/30012025/04/55/image_30012025_04_56_06_10390.jpg', '/home/pi/Desktop/images/30012025/04/56/image_30012025_04_56_16_9409.jpg', '/home/pi/Desktop/images/30012025/04/56/image_30012025_04_56_26_10443.jpg', '/home/pi/Desktop/images/30012025/04/56/image_30012025_04_56_35_9340.jpg', '/home/pi/Desktop/images/30012025/04/56/image_30012025_04_56_46_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/55/image_30012025_04_55_56_10424.jpg
/home/pi/Desktop/images/30012025/04/55/image_30012025_04_56_06_10390.jpg
/home/pi/Desktop/images/30012025/04/56/image_30012025_04_56_16_9409.jpg
/home/pi/Desktop/images/30012025/04/56/image_30012025_04_56_26_10443.jpg
/home/pi/Desktop/images/30012025/04/56/image_30012025_04_56_35_9340.jpg
/home/pi/Desktop/images/30012025/04/56/image_30012025_04_56_46_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332874202","1332874191","1332874194","1332874197","1332874199","1332874187"],"photo_ids_order":["1332874187","1332874191","1332874194","1332874197","1332874199","1332874202"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f075b42a4b21b905625d6a6b68679515.jpg","text":"TemporaryFile(/tmp/multipartBody1708949149684769824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209453815,"filename":"image_30012025_04_56_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/30/39f45f1cccb060b77308d989e03dcec9.jpg","text":"TemporaryFile(/tmp/multipartBody9185919142755514334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209453815,"filename":"image_30012025_04_56_06_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/30/b4775f4626032dad5daf54af0324c2a0.jpg","text":"TemporaryFile(/tmp/multipartBody1726681426919783679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209453815,"filename":"image_30012025_04_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/30/6749cb5b36176e6a0e94941ce06d0cb7.jpg","text":"TemporaryFile(/tmp/multipartBody9108611100745491779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209453815,"filename":"image_30012025_04_56_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/30/a16f8099528dcb89179adf384eb36a5b.jpg","text":"TemporaryFile(/tmp/multipartBody8794888619296869872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209453815,"filename":"image_30012025_04_56_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/30/cb97ed4487dc69e901c6d68c57525621.jpg","text":"TemporaryFile(/tmp/multipartBody2831409865907739132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209453815,"filename":"image_30012025_04_55_56_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332874194","file1":"1332874191","file0":"1332874187","file4":"1332874199","file5":"1332874202","file3":"1332874197"},"map_files_photo_id_array":[{"photo_id":"1332874202","filename":"file5"},{"photo_id":"1332874194","filename":"file2"},{"photo_id":"1332874199","filename":"file4"},{"photo_id":"1332874191","filename":"file1"},{"photo_id":"1332874187","filename":"file0"},{"photo_id":"1332874197","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332874202":["hashtag1","hashtag2"]},{"1332874191":["hashtag1","hashtag2"]},{"1332874194":["hashtag1","hashtag2"]},{"1332874197":["hashtag1","hashtag2"]},{"1332874199":["hashtag1","hashtag2"]},{"1332874187":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332874202, 1332874191, 1332874194, 1332874197, 1332874199, 1332874187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.874308347702026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:57:33.023299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/56/image_30012025_04_56_56_10357.jpg', '/home/pi/Desktop/images/30012025/04/56/image_30012025_04_57_05_9364.jpg', '/home/pi/Desktop/images/30012025/04/57/image_30012025_04_57_16_10353.jpg', '/home/pi/Desktop/images/30012025/04/57/image_30012025_04_57_36_9351.jpg', '/home/pi/Desktop/images/30012025/04/57/image_30012025_04_57_46_10475.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/56/image_30012025_04_56_56_10357.jpg
/home/pi/Desktop/images/30012025/04/56/image_30012025_04_57_05_9364.jpg
/home/pi/Desktop/images/30012025/04/57/image_30012025_04_57_16_10353.jpg
/home/pi/Desktop/images/30012025/04/57/image_30012025_04_57_36_9351.jpg
/home/pi/Desktop/images/30012025/04/57/image_30012025_04_57_46_10475.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-30 04:59:03.452894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/56/image_30012025_04_56_56_10357.jpg', '/home/pi/Desktop/images/30012025/04/56/image_30012025_04_57_05_9364.jpg', '/home/pi/Desktop/images/30012025/04/57/image_30012025_04_57_16_10353.jpg', '/home/pi/Desktop/images/30012025/04/57/image_30012025_04_57_36_9351.jpg', '/home/pi/Desktop/images/30012025/04/57/image_30012025_04_57_46_10475.jpg', '/home/pi/Desktop/images/30012025/04/57/image_30012025_04_57_55_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/56/image_30012025_04_56_56_10357.jpg
/home/pi/Desktop/images/30012025/04/56/image_30012025_04_57_05_9364.jpg
/home/pi/Desktop/images/30012025/04/57/image_30012025_04_57_16_10353.jpg
/home/pi/Desktop/images/30012025/04/57/image_30012025_04_57_36_9351.jpg
/home/pi/Desktop/images/30012025/04/57/image_30012025_04_57_46_10475.jpg
/home/pi/Desktop/images/30012025/04/57/image_30012025_04_57_55_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":["1332874288","1332874291","1332874269","1332874278","1332874283","1332874274"],"photo_ids_order":["1332874269","1332874274","1332874278","1332874283","1332874288","1332874291"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dbfd2189ae84f7e8a2bb7304a51fdaf3.jpg","text":"TemporaryFile(/tmp/multipartBody8585804237249018535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209604510,"filename":"image_30012025_04_57_46_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1509c397d75f7c5947c3da85dd550af4.jpg","text":"TemporaryFile(/tmp/multipartBody2268163259999124477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209604510,"filename":"image_30012025_04_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/30/335c08bd549667d4ff5d61e6389bab25.jpg","text":"TemporaryFile(/tmp/multipartBody397480126450552022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209604510,"filename":"image_30012025_04_56_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/30/0a57185497f7e9c2fa2fe6c2c9b8ccda.jpg","text":"TemporaryFile(/tmp/multipartBody4119876606511357358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209604510,"filename":"image_30012025_04_57_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/30/65f047d12a77519276a27b46934f18d7.jpg","text":"TemporaryFile(/tmp/multipartBody7019505684800538590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209604510,"filename":"image_30012025_04_57_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/30/f671e50d42f72c4924b230d35e147542.jpg","text":"TemporaryFile(/tmp/multipartBody1818382706581669964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209604510,"filename":"image_30012025_04_57_05_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332874278","file1":"1332874274","file0":"1332874269","file4":"1332874288","file5":"1332874291","file3":"1332874283"},"map_files_photo_id_array":[{"photo_id":"1332874291","filename":"file5"},{"photo_id":"1332874278","filename":"file2"},{"photo_id":"1332874288","filename":"file4"},{"photo_id":"1332874274","filename":"file1"},{"photo_id":"1332874269","filename":"file0"},{"photo_id":"1332874283","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332874288":["hashtag1","hashtag2"]},{"1332874291":["hashtag1","hashtag2"]},{"1332874269":["hashtag1","hashtag2"]},{"1332874278":["hashtag1","hashtag2"]},{"1332874283":["hashtag1","hashtag2"]},{"1332874274":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332874288, 1332874291, 1332874269, 1332874278, 1332874283, 1332874274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.78576731681824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 04:59:52.734856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/57/image_30012025_04_58_06_10354.jpg', '/home/pi/Desktop/images/30012025/04/58/image_30012025_04_58_16_10409.jpg', '/home/pi/Desktop/images/30012025/04/58/image_30012025_04_58_26_9342.jpg', '/home/pi/Desktop/images/30012025/04/58/image_30012025_04_58_36_10435.jpg', '/home/pi/Desktop/images/30012025/04/58/image_30012025_04_58_45_9374.jpg', '/home/pi/Desktop/images/30012025/04/58/image_30012025_04_58_56_10441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/57/image_30012025_04_58_06_10354.jpg
/home/pi/Desktop/images/30012025/04/58/image_30012025_04_58_16_10409.jpg
/home/pi/Desktop/images/30012025/04/58/image_30012025_04_58_26_9342.jpg
/home/pi/Desktop/images/30012025/04/58/image_30012025_04_58_36_10435.jpg
/home/pi/Desktop/images/30012025/04/58/image_30012025_04_58_45_9374.jpg
/home/pi/Desktop/images/30012025/04/58/image_30012025_04_58_56_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":["1332874322","1332874312","1332874315","1332874309","1332874305","1332874313"],"photo_ids_order":["1332874305","1332874309","1332874312","1332874313","1332874315","1332874322"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3fcb48fc7c9f1aa60bddddc90173e380.jpg","text":"TemporaryFile(/tmp/multipartBody1734235071828691820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209653668,"filename":"image_30012025_04_58_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/30/c17e54096656f64e8c15b50c131a7ddb.jpg","text":"TemporaryFile(/tmp/multipartBody5457951208799164098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209653668,"filename":"image_30012025_04_58_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/30/b8bcc23f82fa0b8fd9f5a7426187ba5d.jpg","text":"TemporaryFile(/tmp/multipartBody8061263417800609106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209653668,"filename":"image_30012025_04_58_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/30/3c56422755a0a667d42f650cc551c68e.jpg","text":"TemporaryFile(/tmp/multipartBody8837080500679423516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209653668,"filename":"image_30012025_04_58_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/30/5f383224382a2326a1c635e9c2fe7c2c.jpg","text":"TemporaryFile(/tmp/multipartBody1605042835772015931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209653668,"filename":"image_30012025_04_58_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/30/7d80a35ae6339954122ba661fa40ef3f.jpg","text":"TemporaryFile(/tmp/multipartBody4961675097006993570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209653668,"filename":"image_30012025_04_58_36_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332874312","file1":"1332874309","file0":"1332874305","file4":"1332874315","file5":"1332874322","file3":"1332874313"},"map_files_photo_id_array":[{"photo_id":"1332874322","filename":"file5"},{"photo_id":"1332874312","filename":"file2"},{"photo_id":"1332874315","filename":"file4"},{"photo_id":"1332874309","filename":"file1"},{"photo_id":"1332874305","filename":"file0"},{"photo_id":"1332874313","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332874322":["hashtag1","hashtag2"]},{"1332874312":["hashtag1","hashtag2"]},{"1332874315":["hashtag1","hashtag2"]},{"1332874309":["hashtag1","hashtag2"]},{"1332874305":["hashtag1","hashtag2"]},{"1332874313":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332874322, 1332874312, 1332874315, 1332874309, 1332874305, 1332874313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.770498514175415 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 05:00:43.018690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/58/image_30012025_04_59_06_10446.jpg', '/home/pi/Desktop/images/30012025/04/59/image_30012025_04_59_16_9341.jpg', '/home/pi/Desktop/images/30012025/04/59/image_30012025_04_59_26_10435.jpg', '/home/pi/Desktop/images/30012025/04/59/image_30012025_04_59_35_9368.jpg', '/home/pi/Desktop/images/30012025/04/59/image_30012025_04_59_46_10459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/58/image_30012025_04_59_06_10446.jpg
/home/pi/Desktop/images/30012025/04/59/image_30012025_04_59_16_9341.jpg
/home/pi/Desktop/images/30012025/04/59/image_30012025_04_59_26_10435.jpg
/home/pi/Desktop/images/30012025/04/59/image_30012025_04_59_35_9368.jpg
/home/pi/Desktop/images/30012025/04/59/image_30012025_04_59_46_10459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332874573","1332874545","1332874548","1332874515","1332874484"],"photo_ids_order":["1332874484","1332874515","1332874545","1332874548","1332874573"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d8f3e3a44bbe68b6d0bb3ab30ef8060f.jpg","text":"TemporaryFile(/tmp/multipartBody6607842326195970238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209703925,"filename":"image_30012025_04_59_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/30/6a1bbe46192fc3750a2f1c48df69ec59.jpg","text":"TemporaryFile(/tmp/multipartBody5687373062378588630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209703925,"filename":"image_30012025_04_59_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/30/4eeaac3a9fcb73ec34f606b456902e46.jpg","text":"TemporaryFile(/tmp/multipartBody319636529493169156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209703925,"filename":"image_30012025_04_59_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/30/8a8425f7c22a48a2ebc2e22f09a3dc35.jpg","text":"TemporaryFile(/tmp/multipartBody3952206085194838426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209703925,"filename":"image_30012025_04_59_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/30/3cadd52f8c3047ee82a50bfd6dcab1a2.jpg","text":"TemporaryFile(/tmp/multipartBody2174797488421760902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209703925,"filename":"image_30012025_04_59_06_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332874545","file1":"1332874515","file0":"1332874484","file4":"1332874573","file3":"1332874548"},"map_files_photo_id_array":[{"photo_id":"1332874545","filename":"file2"},{"photo_id":"1332874573","filename":"file4"},{"photo_id":"1332874515","filename":"file1"},{"photo_id":"1332874484","filename":"file0"},{"photo_id":"1332874548","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332874573":["hashtag1","hashtag2"]},{"1332874545":["hashtag1","hashtag2"]},{"1332874548":["hashtag1","hashtag2"]},{"1332874515":["hashtag1","hashtag2"]},{"1332874484":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332874573, 1332874545, 1332874548, 1332874515, 1332874484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.59870672225952 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:01:34.766521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/59/image_30012025_04_59_56_10401.jpg', '/home/pi/Desktop/images/30012025/05/01/image_30012025_05_01_15_10080.jpg', '/home/pi/Desktop/images/30012025/05/01/image_30012025_05_01_25_10450.jpg', '/home/pi/Desktop/images/30012025/05/01/image_30012025_05_01_35_10358.jpg', '/home/pi/Desktop/images/30012025/05/01/image_30012025_05_01_45_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/59/image_30012025_04_59_56_10401.jpg
/home/pi/Desktop/images/30012025/05/01/image_30012025_05_01_15_10080.jpg
/home/pi/Desktop/images/30012025/05/01/image_30012025_05_01_25_10450.jpg
/home/pi/Desktop/images/30012025/05/01/image_30012025_05_01_35_10358.jpg
/home/pi/Desktop/images/30012025/05/01/image_30012025_05_01_45_9360.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5099945068359375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 05:01:42.185917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/04/59/image_30012025_04_59_56_10401.jpg', '/home/pi/Desktop/images/30012025/05/01/image_30012025_05_01_15_10080.jpg', '/home/pi/Desktop/images/30012025/05/01/image_30012025_05_01_25_10450.jpg', '/home/pi/Desktop/images/30012025/05/01/image_30012025_05_01_35_10358.jpg', '/home/pi/Desktop/images/30012025/05/01/image_30012025_05_01_45_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/04/59/image_30012025_04_59_56_10401.jpg
/home/pi/Desktop/images/30012025/05/01/image_30012025_05_01_15_10080.jpg
/home/pi/Desktop/images/30012025/05/01/image_30012025_05_01_25_10450.jpg
/home/pi/Desktop/images/30012025/05/01/image_30012025_05_01_35_10358.jpg
/home/pi/Desktop/images/30012025/05/01/image_30012025_05_01_45_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332874613","1332874599","1332874590","1332874593","1332874608"],"photo_ids_order":["1332874590","1332874593","1332874599","1332874608","1332874613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5c699a84484d5c0822d588e3ff6d3072.jpg","text":"TemporaryFile(/tmp/multipartBody7434979664751956373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209763103,"filename":"image_30012025_05_01_45_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ca2fc7cd1047abbc787cb779760fdb17.jpg","text":"TemporaryFile(/tmp/multipartBody3080510152459893591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209763103,"filename":"image_30012025_05_01_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/30/ff7df134dd292cbf893757da32193dd9.jpg","text":"TemporaryFile(/tmp/multipartBody3864610347591239078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209763103,"filename":"image_30012025_04_59_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/30/0a0a45b6d141728cf9dc6122676a210c.jpg","text":"TemporaryFile(/tmp/multipartBody2801112655638823514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209763103,"filename":"image_30012025_05_01_15_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/30/4b272cc5b22984c8ba8c48cb307f20a0.jpg","text":"TemporaryFile(/tmp/multipartBody3753979617325583040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209763103,"filename":"image_30012025_05_01_35_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332874599","file1":"1332874593","file0":"1332874590","file4":"1332874613","file3":"1332874608"},"map_files_photo_id_array":[{"photo_id":"1332874599","filename":"file2"},{"photo_id":"1332874613","filename":"file4"},{"photo_id":"1332874593","filename":"file1"},{"photo_id":"1332874590","filename":"file0"},{"photo_id":"1332874608","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332874613":["hashtag1","hashtag2"]},{"1332874599":["hashtag1","hashtag2"]},{"1332874590":["hashtag1","hashtag2"]},{"1332874593":["hashtag1","hashtag2"]},{"1332874608":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332874613, 1332874599, 1332874590, 1332874593, 1332874608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.083168745040894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:02:32.459847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/01/image_30012025_05_01_55_10399.jpg', '/home/pi/Desktop/images/30012025/05/01/image_30012025_05_02_05_9350.jpg', '/home/pi/Desktop/images/30012025/05/02/image_30012025_05_02_15_10667.jpg', '/home/pi/Desktop/images/30012025/05/02/image_30012025_05_02_25_9387.jpg', '/home/pi/Desktop/images/30012025/05/02/image_30012025_05_02_35_10455.jpg', '/home/pi/Desktop/images/30012025/05/02/image_30012025_05_02_45_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/01/image_30012025_05_01_55_10399.jpg
/home/pi/Desktop/images/30012025/05/01/image_30012025_05_02_05_9350.jpg
/home/pi/Desktop/images/30012025/05/02/image_30012025_05_02_15_10667.jpg
/home/pi/Desktop/images/30012025/05/02/image_30012025_05_02_25_9387.jpg
/home/pi/Desktop/images/30012025/05/02/image_30012025_05_02_35_10455.jpg
/home/pi/Desktop/images/30012025/05/02/image_30012025_05_02_45_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332874690","1332874687","1332874651","1332874669","1332874664","1332874658"],"photo_ids_order":["1332874651","1332874658","1332874664","1332874669","1332874687","1332874690"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/da677348277f134bf4c67f1261458877.jpg","text":"TemporaryFile(/tmp/multipartBody3654297625462111944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209813402,"filename":"image_30012025_05_02_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/30/7f6617dcef9fd1214c8ef774cf0ea217.jpg","text":"TemporaryFile(/tmp/multipartBody4495387171356121753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209813402,"filename":"image_30012025_05_02_35_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7575c833864c82fdadeefde5cfa5056c.jpg","text":"TemporaryFile(/tmp/multipartBody4078211791025524847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209813402,"filename":"image_30012025_05_01_55_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/edb72d5c4aff63b3a21a74fbaaab3d98.jpg","text":"TemporaryFile(/tmp/multipartBody8879677646216794352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209813402,"filename":"image_30012025_05_02_25_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/30/6202a5f3e85d2c832d899c985728bf3a.jpg","text":"TemporaryFile(/tmp/multipartBody2609660245777961928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209813402,"filename":"image_30012025_05_02_15_10667.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4aaa448e3b9e1f4f7436ef8fbdd60403.jpg","text":"TemporaryFile(/tmp/multipartBody1106449332646514071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209813402,"filename":"image_30012025_05_02_05_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332874664","file1":"1332874658","file0":"1332874651","file4":"1332874687","file5":"1332874690","file3":"1332874669"},"map_files_photo_id_array":[{"photo_id":"1332874690","filename":"file5"},{"photo_id":"1332874664","filename":"file2"},{"photo_id":"1332874687","filename":"file4"},{"photo_id":"1332874658","filename":"file1"},{"photo_id":"1332874651","filename":"file0"},{"photo_id":"1332874669","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332874690":["hashtag1","hashtag2"]},{"1332874687":["hashtag1","hashtag2"]},{"1332874651":["hashtag1","hashtag2"]},{"1332874669":["hashtag1","hashtag2"]},{"1332874664":["hashtag1","hashtag2"]},{"1332874658":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332874690, 1332874687, 1332874651, 1332874669, 1332874664, 1332874658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.205461263656616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:03:32.807751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/02/image_30012025_05_02_55_9380.jpg', '/home/pi/Desktop/images/30012025/05/02/image_30012025_05_03_05_10404.jpg', '/home/pi/Desktop/images/30012025/05/03/image_30012025_05_03_25_9427.jpg', '/home/pi/Desktop/images/30012025/05/03/image_30012025_05_03_35_10385.jpg', '/home/pi/Desktop/images/30012025/05/03/image_30012025_05_03_45_9432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/02/image_30012025_05_02_55_9380.jpg
/home/pi/Desktop/images/30012025/05/02/image_30012025_05_03_05_10404.jpg
/home/pi/Desktop/images/30012025/05/03/image_30012025_05_03_25_9427.jpg
/home/pi/Desktop/images/30012025/05/03/image_30012025_05_03_35_10385.jpg
/home/pi/Desktop/images/30012025/05/03/image_30012025_05_03_45_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":["1332875179","1332875549","1332875066","1332874908","1332875392"],"photo_ids_order":["1332874908","1332875066","1332875179","1332875392","1332875549"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f9fe9149333c88075b6d8b96df3a9e56.jpg","text":"TemporaryFile(/tmp/multipartBody790177256702697605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209873697,"filename":"image_30012025_05_03_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/30/093248c3aa08ca93edcfe6ae69785636.jpg","text":"TemporaryFile(/tmp/multipartBody6474948710241247126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209873697,"filename":"image_30012025_05_03_45_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4933cd0f913af4f5f7da57b75e69da32.jpg","text":"TemporaryFile(/tmp/multipartBody6677291555536769573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209873697,"filename":"image_30012025_05_03_05_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/eed74ca24ab91bdea361fc28c1bd70b4.jpg","text":"TemporaryFile(/tmp/multipartBody8819284771095860583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209873697,"filename":"image_30012025_05_02_55_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/30/0dd199a0aafae85ac8eae8436d3e4d3b.jpg","text":"TemporaryFile(/tmp/multipartBody3926603803750459191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209873697,"filename":"image_30012025_05_03_35_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332875179","file1":"1332875066","file0":"1332874908","file4":"1332875549","file3":"1332875392"},"map_files_photo_id_array":[{"photo_id":"1332875179","filename":"file2"},{"photo_id":"1332875549","filename":"file4"},{"photo_id":"1332875066","filename":"file1"},{"photo_id":"1332874908","filename":"file0"},{"photo_id":"1332875392","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332875179":["hashtag1","hashtag2"]},{"1332875549":["hashtag1","hashtag2"]},{"1332875066":["hashtag1","hashtag2"]},{"1332874908":["hashtag1","hashtag2"]},{"1332875392":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332875179, 1332875549, 1332875066, 1332874908, 1332875392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 40.54785680770874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:04:32.928535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/03/image_30012025_05_03_55_10357.jpg', '/home/pi/Desktop/images/30012025/05/03/image_30012025_05_04_06_10355.jpg', '/home/pi/Desktop/images/30012025/05/04/image_30012025_05_04_15_9455.jpg', '/home/pi/Desktop/images/30012025/05/04/image_30012025_05_04_25_10415.jpg', '/home/pi/Desktop/images/30012025/05/04/image_30012025_05_04_35_9350.jpg', '/home/pi/Desktop/images/30012025/05/04/image_30012025_05_04_45_10441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/03/image_30012025_05_03_55_10357.jpg
/home/pi/Desktop/images/30012025/05/03/image_30012025_05_04_06_10355.jpg
/home/pi/Desktop/images/30012025/05/04/image_30012025_05_04_15_9455.jpg
/home/pi/Desktop/images/30012025/05/04/image_30012025_05_04_25_10415.jpg
/home/pi/Desktop/images/30012025/05/04/image_30012025_05_04_35_9350.jpg
/home/pi/Desktop/images/30012025/05/04/image_30012025_05_04_45_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":["1332875959","1332875996","1332875907","1332875813","1332875837","1332876022"],"photo_ids_order":["1332875813","1332875837","1332875907","1332875959","1332875996","1332876022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/167bdf9aeba86abdc18d54709bc91580.jpg","text":"TemporaryFile(/tmp/multipartBody2056794549799147459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209933843,"filename":"image_30012025_05_04_25_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c8f6caf8a4f1a38ffc212bd16efaf3e9.jpg","text":"TemporaryFile(/tmp/multipartBody6300621919802069416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209933843,"filename":"image_30012025_05_04_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/30/617cf93003decb27be3c5a63e1aa5a34.jpg","text":"TemporaryFile(/tmp/multipartBody2804595483089987470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209933843,"filename":"image_30012025_05_04_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/30/b013c37668da7ff26a99f62706023ac2.jpg","text":"TemporaryFile(/tmp/multipartBody1741132243275326485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209933843,"filename":"image_30012025_05_03_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/30/9a67e6dbb4e8c8f5f70e43bbe3b4bf3e.jpg","text":"TemporaryFile(/tmp/multipartBody4822205912109015059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209933843,"filename":"image_30012025_05_04_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/30/65bc5effff0a1c65dd970885d706e4e9.jpg","text":"TemporaryFile(/tmp/multipartBody1921480749214938177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209933843,"filename":"image_30012025_05_04_45_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332875907","file1":"1332875837","file0":"1332875813","file4":"1332875996","file5":"1332876022","file3":"1332875959"},"map_files_photo_id_array":[{"photo_id":"1332876022","filename":"file5"},{"photo_id":"1332875907","filename":"file2"},{"photo_id":"1332875996","filename":"file4"},{"photo_id":"1332875837","filename":"file1"},{"photo_id":"1332875813","filename":"file0"},{"photo_id":"1332875959","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332875959":["hashtag1","hashtag2"]},{"1332875996":["hashtag1","hashtag2"]},{"1332875907":["hashtag1","hashtag2"]},{"1332875813":["hashtag1","hashtag2"]},{"1332875837":["hashtag1","hashtag2"]},{"1332876022":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332875959, 1332875996, 1332875907, 1332875813, 1332875837, 1332876022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.36828684806824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:05:32.103136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/04/image_30012025_05_04_56_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/04/image_30012025_05_04_56_10349.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332876118"],"photo_id":"1332876118","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/054e283d24c5e4a3cba034a02c0f7f8c.jpg","text":"TemporaryFile(/tmp/multipartBody8279182208720531439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738209992921,"filename":"image_30012025_05_04_56_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1332876118"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1332876118"}],"hashtags":[],"portfolio_id":"20052290","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.776045322418213 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:05:52.110927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/28/image_28012025_20_28_45_10434.jpg', '/home/pi/Desktop/images/28012025/20/28/image_28012025_20_28_55_10480.jpg', '/home/pi/Desktop/images/28012025/20/28/image_28012025_20_29_05_9417.jpg', '/home/pi/Desktop/images/28012025/20/29/image_28012025_20_29_15_10410.jpg', '/home/pi/Desktop/images/28012025/20/29/image_28012025_20_29_25_9350.jpg', '/home/pi/Desktop/images/28012025/20/29/image_28012025_20_29_35_10355.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/28/image_28012025_20_28_45_10434.jpg
/home/pi/Desktop/images/28012025/20/28/image_28012025_20_28_55_10480.jpg
/home/pi/Desktop/images/28012025/20/28/image_28012025_20_29_05_9417.jpg
/home/pi/Desktop/images/28012025/20/29/image_28012025_20_29_15_10410.jpg
/home/pi/Desktop/images/28012025/20/29/image_28012025_20_29_25_9350.jpg
/home/pi/Desktop/images/28012025/20/29/image_28012025_20_29_35_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: 2.107417345046997 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 05:06:02.968624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/28/image_28012025_20_28_45_10434.jpg', '/home/pi/Desktop/images/28012025/20/28/image_28012025_20_28_55_10480.jpg', '/home/pi/Desktop/images/28012025/20/28/image_28012025_20_29_05_9417.jpg', '/home/pi/Desktop/images/28012025/20/29/image_28012025_20_29_15_10410.jpg', '/home/pi/Desktop/images/28012025/20/29/image_28012025_20_29_25_9350.jpg', '/home/pi/Desktop/images/28012025/20/29/image_28012025_20_29_35_10355.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/28/image_28012025_20_28_45_10434.jpg
/home/pi/Desktop/images/28012025/20/28/image_28012025_20_28_55_10480.jpg
/home/pi/Desktop/images/28012025/20/28/image_28012025_20_29_05_9417.jpg
/home/pi/Desktop/images/28012025/20/29/image_28012025_20_29_15_10410.jpg
/home/pi/Desktop/images/28012025/20/29/image_28012025_20_29_25_9350.jpg
/home/pi/Desktop/images/28012025/20/29/image_28012025_20_29_35_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":["1332876336","1332876333","1332876320","1332876323","1332876286","1332876328"],"photo_ids_order":["1332876286","1332876320","1332876323","1332876328","1332876333","1332876336"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/43428f249f7483a84af71d305d7f1692.jpg","text":"TemporaryFile(/tmp/multipartBody5895260412918577164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210024628,"filename":"image_28012025_20_29_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/30/5c723820144e33f8d8dc3341e629c0fc.jpg","text":"TemporaryFile(/tmp/multipartBody9022975375872397219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210024628,"filename":"image_28012025_20_29_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/30/70027dc65e13a878594e721dc7d6b866.jpg","text":"TemporaryFile(/tmp/multipartBody5008205600643679663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210024628,"filename":"image_28012025_20_28_55_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/30/af1a8d9d3e949f0354c7255161e7b8fa.jpg","text":"TemporaryFile(/tmp/multipartBody7832323478926333179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210024628,"filename":"image_28012025_20_29_05_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/183f03bb1d90b7cc0b2486d5a12035a7.jpg","text":"TemporaryFile(/tmp/multipartBody4102692403043763184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210024628,"filename":"image_28012025_20_28_45_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/30/391965f3a5f33504e55412003fe6d902.jpg","text":"TemporaryFile(/tmp/multipartBody6536066442560512007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210024628,"filename":"image_28012025_20_29_15_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332876323","file1":"1332876320","file0":"1332876286","file4":"1332876333","file5":"1332876336","file3":"1332876328"},"map_files_photo_id_array":[{"photo_id":"1332876336","filename":"file5"},{"photo_id":"1332876323","filename":"file2"},{"photo_id":"1332876333","filename":"file4"},{"photo_id":"1332876320","filename":"file1"},{"photo_id":"1332876286","filename":"file0"},{"photo_id":"1332876328","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332876336":["hashtag1","hashtag2"]},{"1332876333":["hashtag1","hashtag2"]},{"1332876320":["hashtag1","hashtag2"]},{"1332876323":["hashtag1","hashtag2"]},{"1332876286":["hashtag1","hashtag2"]},{"1332876328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332876336, 1332876333, 1332876320, 1332876323, 1332876286, 1332876328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.14582586288452 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:06:52.262426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/05/image_30012025_05_05_55_9412.jpg', '/home/pi/Desktop/images/30012025/05/05/image_30012025_05_06_05_10423.jpg', '/home/pi/Desktop/images/30012025/05/06/image_30012025_05_06_15_9431.jpg', '/home/pi/Desktop/images/30012025/05/06/image_30012025_05_06_36_10438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/05/image_30012025_05_05_55_9412.jpg
/home/pi/Desktop/images/30012025/05/05/image_30012025_05_06_05_10423.jpg
/home/pi/Desktop/images/30012025/05/06/image_30012025_05_06_15_9431.jpg
/home/pi/Desktop/images/30012025/05/06/image_30012025_05_06_36_10438.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332876345","1332876348","1332876352","1332876355"],"photo_ids_order":["1332876345","1332876348","1332876352","1332876355"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/768dd313368e44f88382d1864ea8ce46.jpg","text":"TemporaryFile(/tmp/multipartBody7975840981263869060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210073138,"filename":"image_30012025_05_05_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/30/ee3a9a03793bbe176cdc1e8e3fcdea55.jpg","text":"TemporaryFile(/tmp/multipartBody1988241505129641113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210073138,"filename":"image_30012025_05_06_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/30/ef662519817e01e90a1e9285b8a36f2e.jpg","text":"TemporaryFile(/tmp/multipartBody9001447077825231268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210073138,"filename":"image_30012025_05_06_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/30/0eabdde6203a98f2027c62b859d294de.jpg","text":"TemporaryFile(/tmp/multipartBody7250742804478486552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210073138,"filename":"image_30012025_05_06_36_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332876352","file1":"1332876348","file0":"1332876345","file3":"1332876355"},"map_files_photo_id_array":[{"photo_id":"1332876352","filename":"file2"},{"photo_id":"1332876348","filename":"file1"},{"photo_id":"1332876345","filename":"file0"},{"photo_id":"1332876355","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332876345":["hashtag1","hashtag2"]},{"1332876348":["hashtag1","hashtag2"]},{"1332876352":["hashtag1","hashtag2"]},{"1332876355":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332876345, 1332876348, 1332876352, 1332876355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.614184856414795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:07:32.486257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/06/image_30012025_05_06_55_10404.jpg', '/home/pi/Desktop/images/30012025/05/06/image_30012025_05_07_05_9371.jpg', '/home/pi/Desktop/images/30012025/05/07/image_30012025_05_07_15_10351.jpg', '/home/pi/Desktop/images/30012025/05/07/image_30012025_05_07_45_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/06/image_30012025_05_06_55_10404.jpg
/home/pi/Desktop/images/30012025/05/06/image_30012025_05_07_05_9371.jpg
/home/pi/Desktop/images/30012025/05/07/image_30012025_05_07_15_10351.jpg
/home/pi/Desktop/images/30012025/05/07/image_30012025_05_07_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":["1332876400","1332876403","1332876406","1332876386"],"photo_ids_order":["1332876386","1332876400","1332876403","1332876406"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f750efbb9d7ac40b9a8575c9345e970a.jpg","text":"TemporaryFile(/tmp/multipartBody8435670137525954027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210113363,"filename":"image_30012025_05_07_05_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/30/6588b3bf9149adc6ed7ebda921108a1e.jpg","text":"TemporaryFile(/tmp/multipartBody7209599443269756504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210113363,"filename":"image_30012025_05_07_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/30/a35ba94aa1d5b4a5bc50da6c44881231.jpg","text":"TemporaryFile(/tmp/multipartBody2215905344213468454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210113363,"filename":"image_30012025_05_07_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/30/90e9ff0f453cca9004cc1d38f335549b.jpg","text":"TemporaryFile(/tmp/multipartBody206445616195595466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210113363,"filename":"image_30012025_05_06_55_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332876403","file1":"1332876400","file0":"1332876386","file3":"1332876406"},"map_files_photo_id_array":[{"photo_id":"1332876403","filename":"file2"},{"photo_id":"1332876400","filename":"file1"},{"photo_id":"1332876386","filename":"file0"},{"photo_id":"1332876406","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332876400":["hashtag1","hashtag2"]},{"1332876403":["hashtag1","hashtag2"]},{"1332876406":["hashtag1","hashtag2"]},{"1332876386":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332876400, 1332876403, 1332876406, 1332876386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 32.660221338272095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:08:32.722490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/07/image_30012025_05_07_56_10357.jpg', '/home/pi/Desktop/images/30012025/05/07/image_30012025_05_08_05_9445.jpg', '/home/pi/Desktop/images/30012025/05/08/image_30012025_05_08_15_10424.jpg', '/home/pi/Desktop/images/30012025/05/08/image_30012025_05_08_35_10436.jpg', '/home/pi/Desktop/images/30012025/05/08/image_30012025_05_08_45_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/07/image_30012025_05_07_56_10357.jpg
/home/pi/Desktop/images/30012025/05/07/image_30012025_05_08_05_9445.jpg
/home/pi/Desktop/images/30012025/05/08/image_30012025_05_08_15_10424.jpg
/home/pi/Desktop/images/30012025/05/08/image_30012025_05_08_35_10436.jpg
/home/pi/Desktop/images/30012025/05/08/image_30012025_05_08_45_9355.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5070924758911133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 05:08:42.751823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/07/image_30012025_05_07_56_10357.jpg', '/home/pi/Desktop/images/30012025/05/07/image_30012025_05_08_05_9445.jpg', '/home/pi/Desktop/images/30012025/05/08/image_30012025_05_08_15_10424.jpg', '/home/pi/Desktop/images/30012025/05/08/image_30012025_05_08_35_10436.jpg', '/home/pi/Desktop/images/30012025/05/08/image_30012025_05_08_45_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/07/image_30012025_05_07_56_10357.jpg
/home/pi/Desktop/images/30012025/05/07/image_30012025_05_08_05_9445.jpg
/home/pi/Desktop/images/30012025/05/08/image_30012025_05_08_15_10424.jpg
/home/pi/Desktop/images/30012025/05/08/image_30012025_05_08_35_10436.jpg
/home/pi/Desktop/images/30012025/05/08/image_30012025_05_08_45_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":["1332876642","1332876661","1332876670","1332876658","1332876646"],"photo_ids_order":["1332876642","1332876646","1332876658","1332876661","1332876670"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c988adda641404d45dc1c9fdeb1ea60c.jpg","text":"TemporaryFile(/tmp/multipartBody2142307589674942308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210183643,"filename":"image_30012025_05_07_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/30/4f74cac82b6bfbf491c7bc32ef226cbe.jpg","text":"TemporaryFile(/tmp/multipartBody730134403181187393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210183643,"filename":"image_30012025_05_08_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/30/a296eb03363d8156371749ca54f26ac3.jpg","text":"TemporaryFile(/tmp/multipartBody8142697252236686727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210183643,"filename":"image_30012025_05_08_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/30/13792b23903dc45f021d8a8304bd3ea8.jpg","text":"TemporaryFile(/tmp/multipartBody2966792307712536276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210183643,"filename":"image_30012025_05_08_15_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6df2a6c7863b6d2feba4fd69491ed7e4.jpg","text":"TemporaryFile(/tmp/multipartBody3612896789136828475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210183643,"filename":"image_30012025_05_08_05_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332876658","file1":"1332876646","file0":"1332876642","file4":"1332876670","file3":"1332876661"},"map_files_photo_id_array":[{"photo_id":"1332876658","filename":"file2"},{"photo_id":"1332876670","filename":"file4"},{"photo_id":"1332876646","filename":"file1"},{"photo_id":"1332876642","filename":"file0"},{"photo_id":"1332876661","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332876642":["hashtag1","hashtag2"]},{"1332876661":["hashtag1","hashtag2"]},{"1332876670":["hashtag1","hashtag2"]},{"1332876658":["hashtag1","hashtag2"]},{"1332876646":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332876642, 1332876661, 1332876670, 1332876658, 1332876646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.627970457077026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:09:32.938164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/08/image_30012025_05_08_55_10525.jpg', '/home/pi/Desktop/images/30012025/05/08/image_30012025_05_09_06_10349.jpg', '/home/pi/Desktop/images/30012025/05/09/image_30012025_05_09_15_9332.jpg', '/home/pi/Desktop/images/30012025/05/09/image_30012025_05_09_25_10445.jpg', '/home/pi/Desktop/images/30012025/05/09/image_30012025_05_09_35_9344.jpg', '/home/pi/Desktop/images/30012025/05/09/image_30012025_05_09_45_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/08/image_30012025_05_08_55_10525.jpg
/home/pi/Desktop/images/30012025/05/08/image_30012025_05_09_06_10349.jpg
/home/pi/Desktop/images/30012025/05/09/image_30012025_05_09_15_9332.jpg
/home/pi/Desktop/images/30012025/05/09/image_30012025_05_09_25_10445.jpg
/home/pi/Desktop/images/30012025/05/09/image_30012025_05_09_35_9344.jpg
/home/pi/Desktop/images/30012025/05/09/image_30012025_05_09_45_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":["1332876765","1332876750","1332876753","1332876784","1332876781","1332876769"],"photo_ids_order":["1332876750","1332876753","1332876765","1332876769","1332876781","1332876784"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ddf368dbde99026e0465a4e871c0a685.jpg","text":"TemporaryFile(/tmp/multipartBody1025715796989282520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210233873,"filename":"image_30012025_05_09_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/30/e9609cbfc42e2ae81c22f4586fe82b44.jpg","text":"TemporaryFile(/tmp/multipartBody779166332835636159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210233873,"filename":"image_30012025_05_08_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/30/c31cd296bbc00e84a3940991ac3525b7.jpg","text":"TemporaryFile(/tmp/multipartBody993002491244397136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210233873,"filename":"image_30012025_05_09_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/30/ccd8b20110ad7e3b9f9015766331f54c.jpg","text":"TemporaryFile(/tmp/multipartBody3363495255138685028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210233873,"filename":"image_30012025_05_09_45_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/30/a84bab6be165b9bb76b22b8450a20320.jpg","text":"TemporaryFile(/tmp/multipartBody9037376164169746051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210233873,"filename":"image_30012025_05_09_35_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e9266c738835f06e87e645c52385d449.jpg","text":"TemporaryFile(/tmp/multipartBody8622126188293591440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210233873,"filename":"image_30012025_05_09_25_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332876765","file1":"1332876753","file0":"1332876750","file4":"1332876781","file5":"1332876784","file3":"1332876769"},"map_files_photo_id_array":[{"photo_id":"1332876784","filename":"file5"},{"photo_id":"1332876765","filename":"file2"},{"photo_id":"1332876781","filename":"file4"},{"photo_id":"1332876753","filename":"file1"},{"photo_id":"1332876750","filename":"file0"},{"photo_id":"1332876769","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332876765":["hashtag1","hashtag2"]},{"1332876750":["hashtag1","hashtag2"]},{"1332876753":["hashtag1","hashtag2"]},{"1332876784":["hashtag1","hashtag2"]},{"1332876781":["hashtag1","hashtag2"]},{"1332876769":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332876765, 1332876750, 1332876753, 1332876784, 1332876781, 1332876769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.519047021865845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:10:32.153118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/09/image_30012025_05_09_55_10350.jpg', '/home/pi/Desktop/images/30012025/05/09/image_30012025_05_10_05_9345.jpg', '/home/pi/Desktop/images/30012025/05/10/image_30012025_05_10_15_10418.jpg', '/home/pi/Desktop/images/30012025/05/10/image_30012025_05_10_26_10352.jpg', '/home/pi/Desktop/images/30012025/05/10/image_30012025_05_10_35_9367.jpg', '/home/pi/Desktop/images/30012025/05/10/image_30012025_05_10_45_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/09/image_30012025_05_09_55_10350.jpg
/home/pi/Desktop/images/30012025/05/09/image_30012025_05_10_05_9345.jpg
/home/pi/Desktop/images/30012025/05/10/image_30012025_05_10_15_10418.jpg
/home/pi/Desktop/images/30012025/05/10/image_30012025_05_10_26_10352.jpg
/home/pi/Desktop/images/30012025/05/10/image_30012025_05_10_35_9367.jpg
/home/pi/Desktop/images/30012025/05/10/image_30012025_05_10_45_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":["1332876814","1332876808","1332876816","1332876804","1332876812","1332876799"],"photo_ids_order":["1332876799","1332876804","1332876808","1332876812","1332876814","1332876816"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/88f0d640d2b53a6a7cb30b90db8a86ef.jpg","text":"TemporaryFile(/tmp/multipartBody9039011084340369616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210293093,"filename":"image_30012025_05_10_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/30/d981163080af75a576acc6371cc8d22b.jpg","text":"TemporaryFile(/tmp/multipartBody4766754759373658493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210293093,"filename":"image_30012025_05_10_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/30/65bc7ae10b37bd88d7efd571c5296d9a.jpg","text":"TemporaryFile(/tmp/multipartBody3151353024171765974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210293093,"filename":"image_30012025_05_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/30/8a0475a22e50095621674626d541da3c.jpg","text":"TemporaryFile(/tmp/multipartBody8682354205808764873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210293093,"filename":"image_30012025_05_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/30/9a310df145aa3ed7431e0a1bfea638e0.jpg","text":"TemporaryFile(/tmp/multipartBody4619985581732609813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210293093,"filename":"image_30012025_05_10_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/30/e82b1ac7b3cf1503ebbadfea93a5db3d.jpg","text":"TemporaryFile(/tmp/multipartBody4386906900009153284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210293093,"filename":"image_30012025_05_09_55_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332876808","file1":"1332876804","file0":"1332876799","file4":"1332876814","file5":"1332876816","file3":"1332876812"},"map_files_photo_id_array":[{"photo_id":"1332876816","filename":"file5"},{"photo_id":"1332876808","filename":"file2"},{"photo_id":"1332876814","filename":"file4"},{"photo_id":"1332876804","filename":"file1"},{"photo_id":"1332876799","filename":"file0"},{"photo_id":"1332876812","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332876814":["hashtag1","hashtag2"]},{"1332876808":["hashtag1","hashtag2"]},{"1332876816":["hashtag1","hashtag2"]},{"1332876804":["hashtag1","hashtag2"]},{"1332876812":["hashtag1","hashtag2"]},{"1332876799":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332876814, 1332876808, 1332876816, 1332876804, 1332876812, 1332876799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.16481137275696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:11:32.367388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/10/image_30012025_05_10_55_9377.jpg', '/home/pi/Desktop/images/30012025/05/11/image_30012025_05_11_15_10343.jpg', '/home/pi/Desktop/images/30012025/05/11/image_30012025_05_11_25_9383.jpg', '/home/pi/Desktop/images/30012025/05/11/image_30012025_05_11_35_10408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/10/image_30012025_05_10_55_9377.jpg
/home/pi/Desktop/images/30012025/05/11/image_30012025_05_11_15_10343.jpg
/home/pi/Desktop/images/30012025/05/11/image_30012025_05_11_25_9383.jpg
/home/pi/Desktop/images/30012025/05/11/image_30012025_05_11_35_10408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332876826","1332876834","1332876837","1332876830"],"photo_ids_order":["1332876826","1332876830","1332876834","1332876837"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8ba13baa2e9e536e1d52468b31a95388.jpg","text":"TemporaryFile(/tmp/multipartBody3002442583139648426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210353249,"filename":"image_30012025_05_10_55_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/30/4bcf4e4d0a7820e1b661bd665cdb0aa9.jpg","text":"TemporaryFile(/tmp/multipartBody5771799991124563675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210353249,"filename":"image_30012025_05_11_25_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/30/28b7067efeb9de0fb96f3e35294e9e76.jpg","text":"TemporaryFile(/tmp/multipartBody1424866285308325763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210353249,"filename":"image_30012025_05_11_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/30/51ab716f6019014cd6d79dd084c1207e.jpg","text":"TemporaryFile(/tmp/multipartBody5179416875941007331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210353249,"filename":"image_30012025_05_11_15_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332876834","file1":"1332876830","file0":"1332876826","file3":"1332876837"},"map_files_photo_id_array":[{"photo_id":"1332876834","filename":"file2"},{"photo_id":"1332876830","filename":"file1"},{"photo_id":"1332876826","filename":"file0"},{"photo_id":"1332876837","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332876826":["hashtag1","hashtag2"]},{"1332876834":["hashtag1","hashtag2"]},{"1332876837":["hashtag1","hashtag2"]},{"1332876830":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332876826, 1332876834, 1332876837, 1332876830)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 30.130212545394897 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:12:32.617438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/11/image_30012025_05_11_55_10441.jpg', '/home/pi/Desktop/images/30012025/05/11/image_30012025_05_12_05_10361.jpg', '/home/pi/Desktop/images/30012025/05/12/image_30012025_05_12_25_10433.jpg', '/home/pi/Desktop/images/30012025/05/12/image_30012025_05_12_35_9355.jpg', '/home/pi/Desktop/images/30012025/05/12/image_30012025_05_12_45_10421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/11/image_30012025_05_11_55_10441.jpg
/home/pi/Desktop/images/30012025/05/11/image_30012025_05_12_05_10361.jpg
/home/pi/Desktop/images/30012025/05/12/image_30012025_05_12_25_10433.jpg
/home/pi/Desktop/images/30012025/05/12/image_30012025_05_12_35_9355.jpg
/home/pi/Desktop/images/30012025/05/12/image_30012025_05_12_45_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":["1332876981","1332876927","1332877343","1332876923","1332877185"],"photo_ids_order":["1332876923","1332876927","1332876981","1332877185","1332877343"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e961ea807191c547e617c7e6c9ceb584.jpg","text":"TemporaryFile(/tmp/multipartBody2570907852358063628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210413525,"filename":"image_30012025_05_12_25_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/30/7c89946b31b17b3af1cc6bf372f2c1c6.jpg","text":"TemporaryFile(/tmp/multipartBody6436535499364698534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210413525,"filename":"image_30012025_05_12_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/30/06280684ef8ed4033866ddeeccdfe913.jpg","text":"TemporaryFile(/tmp/multipartBody6314239362692050394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210413525,"filename":"image_30012025_05_12_45_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/eebd0de0ae7cbc7baa676a8c487a6189.jpg","text":"TemporaryFile(/tmp/multipartBody5634186563928223554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210413525,"filename":"image_30012025_05_11_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/30/bdfbce2f6c84e63b0d99daf9a391d081.jpg","text":"TemporaryFile(/tmp/multipartBody8584610931062001754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210413525,"filename":"image_30012025_05_12_35_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332876981","file1":"1332876927","file0":"1332876923","file4":"1332877343","file3":"1332877185"},"map_files_photo_id_array":[{"photo_id":"1332876981","filename":"file2"},{"photo_id":"1332877343","filename":"file4"},{"photo_id":"1332876927","filename":"file1"},{"photo_id":"1332876923","filename":"file0"},{"photo_id":"1332877185","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332876981":["hashtag1","hashtag2"]},{"1332876927":["hashtag1","hashtag2"]},{"1332877343":["hashtag1","hashtag2"]},{"1332876923":["hashtag1","hashtag2"]},{"1332877185":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332876981, 1332876927, 1332877343, 1332876923, 1332877185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.90287375450134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:13:32.815931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/12/image_30012025_05_12_56_10362.jpg', '/home/pi/Desktop/images/30012025/05/12/image_30012025_05_13_05_9491.jpg', '/home/pi/Desktop/images/30012025/05/13/image_30012025_05_13_15_10393.jpg', '/home/pi/Desktop/images/30012025/05/13/image_30012025_05_13_25_9362.jpg', '/home/pi/Desktop/images/30012025/05/13/image_30012025_05_13_35_10357.jpg', '/home/pi/Desktop/images/30012025/05/13/image_30012025_05_13_46_10397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/12/image_30012025_05_12_56_10362.jpg
/home/pi/Desktop/images/30012025/05/12/image_30012025_05_13_05_9491.jpg
/home/pi/Desktop/images/30012025/05/13/image_30012025_05_13_15_10393.jpg
/home/pi/Desktop/images/30012025/05/13/image_30012025_05_13_25_9362.jpg
/home/pi/Desktop/images/30012025/05/13/image_30012025_05_13_35_10357.jpg
/home/pi/Desktop/images/30012025/05/13/image_30012025_05_13_46_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":["1332877572","1332877539","1332877569","1332877500","1332877487","1332877504"],"photo_ids_order":["1332877487","1332877500","1332877504","1332877539","1332877569","1332877572"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7dd28cd9619b47bd9ee5f9d17c7666ee.jpg","text":"TemporaryFile(/tmp/multipartBody2008014130122972596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210473725,"filename":"image_30012025_05_13_46_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/30/e4e7bb03f71ff09466d6e84b04f6b960.jpg","text":"TemporaryFile(/tmp/multipartBody1046717941767905477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210473725,"filename":"image_30012025_05_13_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/30/44fc69cffc6a5b379f82fee6106f44c2.jpg","text":"TemporaryFile(/tmp/multipartBody167429760437377545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210473725,"filename":"image_30012025_05_13_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/30/1691b32ae73264d14a8f7a7f2d981cf3.jpg","text":"TemporaryFile(/tmp/multipartBody5460467295130484089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210473725,"filename":"image_30012025_05_13_05_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/66d8d16b437de0bea5c760782704bbc2.jpg","text":"TemporaryFile(/tmp/multipartBody7526317221025467268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210473725,"filename":"image_30012025_05_12_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/30/54bb73d0899bdaf244261429b0631300.jpg","text":"TemporaryFile(/tmp/multipartBody2051384073849824407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210473725,"filename":"image_30012025_05_13_15_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332877504","file1":"1332877500","file0":"1332877487","file4":"1332877569","file5":"1332877572","file3":"1332877539"},"map_files_photo_id_array":[{"photo_id":"1332877572","filename":"file5"},{"photo_id":"1332877504","filename":"file2"},{"photo_id":"1332877569","filename":"file4"},{"photo_id":"1332877500","filename":"file1"},{"photo_id":"1332877487","filename":"file0"},{"photo_id":"1332877539","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332877572":["hashtag1","hashtag2"]},{"1332877539":["hashtag1","hashtag2"]},{"1332877569":["hashtag1","hashtag2"]},{"1332877500":["hashtag1","hashtag2"]},{"1332877487":["hashtag1","hashtag2"]},{"1332877504":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332877572, 1332877539, 1332877569, 1332877500, 1332877487, 1332877504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.521403551101685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:14:33.029165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/13/image_30012025_05_13_55_9401.jpg', '/home/pi/Desktop/images/30012025/05/14/image_30012025_05_14_15_9329.jpg', '/home/pi/Desktop/images/30012025/05/14/image_30012025_05_14_25_10466.jpg', '/home/pi/Desktop/images/30012025/05/14/image_30012025_05_14_35_10350.jpg', '/home/pi/Desktop/images/30012025/05/14/image_30012025_05_14_45_9369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/13/image_30012025_05_13_55_9401.jpg
/home/pi/Desktop/images/30012025/05/14/image_30012025_05_14_15_9329.jpg
/home/pi/Desktop/images/30012025/05/14/image_30012025_05_14_25_10466.jpg
/home/pi/Desktop/images/30012025/05/14/image_30012025_05_14_35_10350.jpg
/home/pi/Desktop/images/30012025/05/14/image_30012025_05_14_45_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":["1332877746","1332877725","1332877730","1332877741","1332877735"],"photo_ids_order":["1332877725","1332877730","1332877735","1332877741","1332877746"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3f5bcca9ff910cdd64d5a8073f8c66de.jpg","text":"TemporaryFile(/tmp/multipartBody3225956544361926486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210533923,"filename":"image_30012025_05_14_45_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/30/2c0b435e4f3b61176bc34719a410e830.jpg","text":"TemporaryFile(/tmp/multipartBody5485464734471692092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210533923,"filename":"image_30012025_05_13_55_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a78396af9619c85bd842bc81a4b6c217.jpg","text":"TemporaryFile(/tmp/multipartBody4189602809950681711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210533923,"filename":"image_30012025_05_14_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/30/51be9459aff8a178910579f7cbc47724.jpg","text":"TemporaryFile(/tmp/multipartBody1634773287508430700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210533923,"filename":"image_30012025_05_14_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/30/e51695cb3394e7f289311017b5f6b95c.jpg","text":"TemporaryFile(/tmp/multipartBody9155916431928870672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210533923,"filename":"image_30012025_05_14_25_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332877735","file1":"1332877730","file0":"1332877725","file4":"1332877746","file3":"1332877741"},"map_files_photo_id_array":[{"photo_id":"1332877735","filename":"file2"},{"photo_id":"1332877746","filename":"file4"},{"photo_id":"1332877730","filename":"file1"},{"photo_id":"1332877725","filename":"file0"},{"photo_id":"1332877741","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332877746":["hashtag1","hashtag2"]},{"1332877725":["hashtag1","hashtag2"]},{"1332877730":["hashtag1","hashtag2"]},{"1332877741":["hashtag1","hashtag2"]},{"1332877735":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332877746, 1332877725, 1332877730, 1332877741, 1332877735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.08008646965027 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:15:32.266121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/14/image_30012025_05_14_55_10357.jpg', '/home/pi/Desktop/images/30012025/05/14/image_30012025_05_15_06_10365.jpg', '/home/pi/Desktop/images/30012025/05/15/image_30012025_05_15_15_9435.jpg', '/home/pi/Desktop/images/30012025/05/15/image_30012025_05_15_45_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/14/image_30012025_05_14_55_10357.jpg
/home/pi/Desktop/images/30012025/05/14/image_30012025_05_15_06_10365.jpg
/home/pi/Desktop/images/30012025/05/15/image_30012025_05_15_15_9435.jpg
/home/pi/Desktop/images/30012025/05/15/image_30012025_05_15_45_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332877770","1332877764","1332877760","1332877768"],"photo_ids_order":["1332877760","1332877764","1332877768","1332877770"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9e36eda8529e551ff8bc2c1658355a85.jpg","text":"TemporaryFile(/tmp/multipartBody7178763015159414321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210593142,"filename":"image_30012025_05_15_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/30/4ed74dc1346deab18736dd0c2e52e8d1.jpg","text":"TemporaryFile(/tmp/multipartBody4794870791920588786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210593142,"filename":"image_30012025_05_15_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/30/b0f645c606d500bc3c59f9533445cb74.jpg","text":"TemporaryFile(/tmp/multipartBody2706443849963599983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210593142,"filename":"image_30012025_05_14_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/30/076a21684f107692262c5e8e81d347ef.jpg","text":"TemporaryFile(/tmp/multipartBody8953227456626509982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210593142,"filename":"image_30012025_05_15_15_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332877768","file1":"1332877764","file0":"1332877760","file3":"1332877770"},"map_files_photo_id_array":[{"photo_id":"1332877768","filename":"file2"},{"photo_id":"1332877764","filename":"file1"},{"photo_id":"1332877760","filename":"file0"},{"photo_id":"1332877770","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332877770":["hashtag1","hashtag2"]},{"1332877764":["hashtag1","hashtag2"]},{"1332877760":["hashtag1","hashtag2"]},{"1332877768":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332877770, 1332877764, 1332877760, 1332877768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.92060375213623 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:16:32.415250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/15/image_30012025_05_15_55_10395.jpg', '/home/pi/Desktop/images/30012025/05/15/image_30012025_05_16_05_9387.jpg', '/home/pi/Desktop/images/30012025/05/16/image_30012025_05_16_15_10357.jpg', '/home/pi/Desktop/images/30012025/05/16/image_30012025_05_16_26_10392.jpg', '/home/pi/Desktop/images/30012025/05/16/image_30012025_05_16_35_9395.jpg', '/home/pi/Desktop/images/30012025/05/16/image_30012025_05_16_45_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/15/image_30012025_05_15_55_10395.jpg
/home/pi/Desktop/images/30012025/05/15/image_30012025_05_16_05_9387.jpg
/home/pi/Desktop/images/30012025/05/16/image_30012025_05_16_15_10357.jpg
/home/pi/Desktop/images/30012025/05/16/image_30012025_05_16_26_10392.jpg
/home/pi/Desktop/images/30012025/05/16/image_30012025_05_16_35_9395.jpg
/home/pi/Desktop/images/30012025/05/16/image_30012025_05_16_45_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":["1332878065","1332877813","1332877899","1332877971","1332878037","1332877968"],"photo_ids_order":["1332877813","1332877899","1332877968","1332877971","1332878037","1332878065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f33c1a528d80f0c64cf6c7a270925c41.jpg","text":"TemporaryFile(/tmp/multipartBody6605865287053824071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210653338,"filename":"image_30012025_05_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/30/67909a63374823c4f9b0c63fef3c98c6.jpg","text":"TemporaryFile(/tmp/multipartBody8043068752876223995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210653338,"filename":"image_30012025_05_15_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/30/f076b4b39023f557814c28550f8343ab.jpg","text":"TemporaryFile(/tmp/multipartBody6895295435064683402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210653338,"filename":"image_30012025_05_16_05_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4bfc8bb937cec5fb5f6f52909b5d566c.jpg","text":"TemporaryFile(/tmp/multipartBody7457621028855614310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210653338,"filename":"image_30012025_05_16_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/30/5e6cf7646c4317e06fa39d4a1e36ba13.jpg","text":"TemporaryFile(/tmp/multipartBody2210428275630110476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210653338,"filename":"image_30012025_05_16_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/30/715109104c7384861da2d58b2b0195fb.jpg","text":"TemporaryFile(/tmp/multipartBody3706358204629752784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210653338,"filename":"image_30012025_05_16_15_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332877968","file1":"1332877899","file0":"1332877813","file4":"1332878037","file5":"1332878065","file3":"1332877971"},"map_files_photo_id_array":[{"photo_id":"1332878065","filename":"file5"},{"photo_id":"1332877968","filename":"file2"},{"photo_id":"1332878037","filename":"file4"},{"photo_id":"1332877899","filename":"file1"},{"photo_id":"1332877813","filename":"file0"},{"photo_id":"1332877971","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332878065":["hashtag1","hashtag2"]},{"1332877813":["hashtag1","hashtag2"]},{"1332877899":["hashtag1","hashtag2"]},{"1332877971":["hashtag1","hashtag2"]},{"1332878037":["hashtag1","hashtag2"]},{"1332877968":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332878065, 1332877813, 1332877899, 1332877971, 1332878037, 1332877968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.62329125404358 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:17:32.675498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/16/image_30012025_05_16_55_9333.jpg', '/home/pi/Desktop/images/30012025/05/16/image_30012025_05_17_05_10434.jpg', '/home/pi/Desktop/images/30012025/05/17/image_30012025_05_17_15_10351.jpg', '/home/pi/Desktop/images/30012025/05/17/image_30012025_05_17_25_9350.jpg', '/home/pi/Desktop/images/30012025/05/17/image_30012025_05_17_35_10668.jpg', '/home/pi/Desktop/images/30012025/05/17/image_30012025_05_17_45_9364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/16/image_30012025_05_16_55_9333.jpg
/home/pi/Desktop/images/30012025/05/16/image_30012025_05_17_05_10434.jpg
/home/pi/Desktop/images/30012025/05/17/image_30012025_05_17_15_10351.jpg
/home/pi/Desktop/images/30012025/05/17/image_30012025_05_17_25_9350.jpg
/home/pi/Desktop/images/30012025/05/17/image_30012025_05_17_35_10668.jpg
/home/pi/Desktop/images/30012025/05/17/image_30012025_05_17_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":["1332878225","1332878228","1332878221","1332878218","1332878227","1332878229"],"photo_ids_order":["1332878218","1332878221","1332878225","1332878227","1332878228","1332878229"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c416b41a251b8070bbd4776cdac20fd7.jpg","text":"TemporaryFile(/tmp/multipartBody1259030021154468503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210713583,"filename":"image_30012025_05_17_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/30/133983742fe78463a63ce3273594d4e0.jpg","text":"TemporaryFile(/tmp/multipartBody1019496919325134105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210713583,"filename":"image_30012025_05_17_35_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/30/273bcc17652d52856ca64eee84ebabd6.jpg","text":"TemporaryFile(/tmp/multipartBody3444002775278890320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210713583,"filename":"image_30012025_05_17_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/30/3b39cf6b2e1bde88f7bfdd31cb967527.jpg","text":"TemporaryFile(/tmp/multipartBody7583095507198610911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210713583,"filename":"image_30012025_05_16_55_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/30/2594738a3930d3bdf51d17a381c4e1bc.jpg","text":"TemporaryFile(/tmp/multipartBody5086631463212057772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210713583,"filename":"image_30012025_05_17_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/30/9caa9333462b543810556b4437aaecf9.jpg","text":"TemporaryFile(/tmp/multipartBody9222223143813995317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210713583,"filename":"image_30012025_05_17_45_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332878225","file1":"1332878221","file0":"1332878218","file4":"1332878228","file5":"1332878229","file3":"1332878227"},"map_files_photo_id_array":[{"photo_id":"1332878229","filename":"file5"},{"photo_id":"1332878225","filename":"file2"},{"photo_id":"1332878228","filename":"file4"},{"photo_id":"1332878221","filename":"file1"},{"photo_id":"1332878218","filename":"file0"},{"photo_id":"1332878227","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332878225":["hashtag1","hashtag2"]},{"1332878228":["hashtag1","hashtag2"]},{"1332878221":["hashtag1","hashtag2"]},{"1332878218":["hashtag1","hashtag2"]},{"1332878227":["hashtag1","hashtag2"]},{"1332878229":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332878225, 1332878228, 1332878221, 1332878218, 1332878227, 1332878229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07588315010071 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:18:32.856922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/17/image_30012025_05_17_55_10461.jpg', '/home/pi/Desktop/images/30012025/05/17/image_30012025_05_18_05_9356.jpg', '/home/pi/Desktop/images/30012025/05/18/image_30012025_05_18_15_10397.jpg', '/home/pi/Desktop/images/30012025/05/18/image_30012025_05_18_26_10422.jpg', '/home/pi/Desktop/images/30012025/05/18/image_30012025_05_18_35_9460.jpg', '/home/pi/Desktop/images/30012025/05/18/image_30012025_05_18_45_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/17/image_30012025_05_17_55_10461.jpg
/home/pi/Desktop/images/30012025/05/17/image_30012025_05_18_05_9356.jpg
/home/pi/Desktop/images/30012025/05/18/image_30012025_05_18_15_10397.jpg
/home/pi/Desktop/images/30012025/05/18/image_30012025_05_18_26_10422.jpg
/home/pi/Desktop/images/30012025/05/18/image_30012025_05_18_35_9460.jpg
/home/pi/Desktop/images/30012025/05/18/image_30012025_05_18_45_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":["1332878316","1332878297","1332878312","1332878309","1332878303","1332878325"],"photo_ids_order":["1332878297","1332878303","1332878309","1332878312","1332878316","1332878325"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b9d0b86bbc885d94f32084b78fa073ce.jpg","text":"TemporaryFile(/tmp/multipartBody2389649002434573532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210773758,"filename":"image_30012025_05_18_35_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/30/535d7c9edabd6444fe89a6398f1a5238.jpg","text":"TemporaryFile(/tmp/multipartBody8212466416587355332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210773758,"filename":"image_30012025_05_17_55_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1d012a5d707addfabf3d4f8f416c8ebc.jpg","text":"TemporaryFile(/tmp/multipartBody6182064255799038624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210773758,"filename":"image_30012025_05_18_26_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e50cb3b10cc011612a026de825688d9e.jpg","text":"TemporaryFile(/tmp/multipartBody7020772194912779334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210773758,"filename":"image_30012025_05_18_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/30/92d398fcc67ede1b0ebb012114a33b92.jpg","text":"TemporaryFile(/tmp/multipartBody3013806537004726171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210773758,"filename":"image_30012025_05_18_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/30/8ba418c9a09d462bc3b55a3c8d8aef7d.jpg","text":"TemporaryFile(/tmp/multipartBody2472406843011973903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210773758,"filename":"image_30012025_05_18_45_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332878309","file1":"1332878303","file0":"1332878297","file4":"1332878316","file5":"1332878325","file3":"1332878312"},"map_files_photo_id_array":[{"photo_id":"1332878325","filename":"file5"},{"photo_id":"1332878309","filename":"file2"},{"photo_id":"1332878316","filename":"file4"},{"photo_id":"1332878303","filename":"file1"},{"photo_id":"1332878297","filename":"file0"},{"photo_id":"1332878312","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332878316":["hashtag1","hashtag2"]},{"1332878297":["hashtag1","hashtag2"]},{"1332878312":["hashtag1","hashtag2"]},{"1332878309":["hashtag1","hashtag2"]},{"1332878303":["hashtag1","hashtag2"]},{"1332878325":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332878316, 1332878297, 1332878312, 1332878309, 1332878303, 1332878325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.896323680877686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:19:33.022790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/18/image_30012025_05_18_55_9345.jpg', '/home/pi/Desktop/images/30012025/05/18/image_30012025_05_19_05_10432.jpg', '/home/pi/Desktop/images/30012025/05/19/image_30012025_05_19_16_10404.jpg', '/home/pi/Desktop/images/30012025/05/19/image_30012025_05_19_25_9450.jpg', '/home/pi/Desktop/images/30012025/05/19/image_30012025_05_19_35_10424.jpg', '/home/pi/Desktop/images/30012025/05/19/image_30012025_05_19_45_9365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/18/image_30012025_05_18_55_9345.jpg
/home/pi/Desktop/images/30012025/05/18/image_30012025_05_19_05_10432.jpg
/home/pi/Desktop/images/30012025/05/19/image_30012025_05_19_16_10404.jpg
/home/pi/Desktop/images/30012025/05/19/image_30012025_05_19_25_9450.jpg
/home/pi/Desktop/images/30012025/05/19/image_30012025_05_19_35_10424.jpg
/home/pi/Desktop/images/30012025/05/19/image_30012025_05_19_45_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":["1332878381","1332878375","1332878378","1332878363","1332878371","1332878368"],"photo_ids_order":["1332878363","1332878368","1332878371","1332878375","1332878378","1332878381"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e7a7e691622f739c6415778883ab4486.jpg","text":"TemporaryFile(/tmp/multipartBody4119087338371280426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210833952,"filename":"image_30012025_05_19_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/30/bc05dbc47da1781af53707f95c14d758.jpg","text":"TemporaryFile(/tmp/multipartBody6816615022780601848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210833952,"filename":"image_30012025_05_19_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/30/f0b6e391574a2b2c9296fd9be283c537.jpg","text":"TemporaryFile(/tmp/multipartBody923430273938695372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210833952,"filename":"image_30012025_05_19_35_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8bb1da9dd908b0cb51465718816f9918.jpg","text":"TemporaryFile(/tmp/multipartBody5003112654095274128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210833952,"filename":"image_30012025_05_18_55_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fb68edb48cbda6deca0f07547dc9cb32.jpg","text":"TemporaryFile(/tmp/multipartBody7730702138774676108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210833952,"filename":"image_30012025_05_19_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/30/241d125348c0e9a1512d82dce25bac7e.jpg","text":"TemporaryFile(/tmp/multipartBody340046683904300113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210833952,"filename":"image_30012025_05_19_05_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332878371","file1":"1332878368","file0":"1332878363","file4":"1332878378","file5":"1332878381","file3":"1332878375"},"map_files_photo_id_array":[{"photo_id":"1332878381","filename":"file5"},{"photo_id":"1332878371","filename":"file2"},{"photo_id":"1332878378","filename":"file4"},{"photo_id":"1332878368","filename":"file1"},{"photo_id":"1332878363","filename":"file0"},{"photo_id":"1332878375","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332878381":["hashtag1","hashtag2"]},{"1332878375":["hashtag1","hashtag2"]},{"1332878378":["hashtag1","hashtag2"]},{"1332878363":["hashtag1","hashtag2"]},{"1332878371":["hashtag1","hashtag2"]},{"1332878368":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332878381, 1332878375, 1332878378, 1332878363, 1332878371, 1332878368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.210301876068115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:20:32.259949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/19/image_30012025_05_19_55_10420.jpg', '/home/pi/Desktop/images/30012025/05/19/image_30012025_05_20_06_10407.jpg', '/home/pi/Desktop/images/30012025/05/20/image_30012025_05_20_15_9381.jpg', '/home/pi/Desktop/images/30012025/05/20/image_30012025_05_20_25_10359.jpg', '/home/pi/Desktop/images/30012025/05/20/image_30012025_05_20_35_9432.jpg', '/home/pi/Desktop/images/30012025/05/20/image_30012025_05_20_45_10452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/19/image_30012025_05_19_55_10420.jpg
/home/pi/Desktop/images/30012025/05/19/image_30012025_05_20_06_10407.jpg
/home/pi/Desktop/images/30012025/05/20/image_30012025_05_20_15_9381.jpg
/home/pi/Desktop/images/30012025/05/20/image_30012025_05_20_25_10359.jpg
/home/pi/Desktop/images/30012025/05/20/image_30012025_05_20_35_9432.jpg
/home/pi/Desktop/images/30012025/05/20/image_30012025_05_20_45_10452.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5296781063079834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 05:20:42.264600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/19/image_30012025_05_19_55_10420.jpg', '/home/pi/Desktop/images/30012025/05/19/image_30012025_05_20_06_10407.jpg', '/home/pi/Desktop/images/30012025/05/20/image_30012025_05_20_15_9381.jpg', '/home/pi/Desktop/images/30012025/05/20/image_30012025_05_20_25_10359.jpg', '/home/pi/Desktop/images/30012025/05/20/image_30012025_05_20_35_9432.jpg', '/home/pi/Desktop/images/30012025/05/20/image_30012025_05_20_45_10452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/19/image_30012025_05_19_55_10420.jpg
/home/pi/Desktop/images/30012025/05/19/image_30012025_05_20_06_10407.jpg
/home/pi/Desktop/images/30012025/05/20/image_30012025_05_20_15_9381.jpg
/home/pi/Desktop/images/30012025/05/20/image_30012025_05_20_25_10359.jpg
/home/pi/Desktop/images/30012025/05/20/image_30012025_05_20_35_9432.jpg
/home/pi/Desktop/images/30012025/05/20/image_30012025_05_20_45_10452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332878415","1332878409","1332878399","1332878403","1332878413","1332878406"],"photo_ids_order":["1332878399","1332878403","1332878406","1332878409","1332878413","1332878415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/10aea92caf5a5e04838e3c9fc4ed5840.jpg","text":"TemporaryFile(/tmp/multipartBody2471383613264515926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210903169,"filename":"image_30012025_05_20_45_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/30/3a3610b8febb53f1afc6adefba391354.jpg","text":"TemporaryFile(/tmp/multipartBody3212111311200421380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210903169,"filename":"image_30012025_05_20_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/30/45c1f15eee4ed5f936bd7ba3dce02f19.jpg","text":"TemporaryFile(/tmp/multipartBody7797887221528459069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210903169,"filename":"image_30012025_05_19_55_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/30/467ab2740e27f6eb29348c6c808a89cc.jpg","text":"TemporaryFile(/tmp/multipartBody9010377833418974153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210903169,"filename":"image_30012025_05_20_06_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/30/b9f98ea5a7269d884a6997a0a460deb7.jpg","text":"TemporaryFile(/tmp/multipartBody4232765501527783410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210903169,"filename":"image_30012025_05_20_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/30/c69cd7a59e264559f5a3cd21da024a6d.jpg","text":"TemporaryFile(/tmp/multipartBody7608359326572817456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210903169,"filename":"image_30012025_05_20_15_9381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332878406","file1":"1332878403","file0":"1332878399","file4":"1332878413","file5":"1332878415","file3":"1332878409"},"map_files_photo_id_array":[{"photo_id":"1332878415","filename":"file5"},{"photo_id":"1332878406","filename":"file2"},{"photo_id":"1332878413","filename":"file4"},{"photo_id":"1332878403","filename":"file1"},{"photo_id":"1332878399","filename":"file0"},{"photo_id":"1332878409","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332878415":["hashtag1","hashtag2"]},{"1332878409":["hashtag1","hashtag2"]},{"1332878399":["hashtag1","hashtag2"]},{"1332878403":["hashtag1","hashtag2"]},{"1332878413":["hashtag1","hashtag2"]},{"1332878406":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332878415, 1332878409, 1332878399, 1332878403, 1332878413, 1332878406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.31282305717468 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:21:32.330581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/20/image_30012025_05_20_56_10357.jpg', '/home/pi/Desktop/images/30012025/05/20/image_30012025_05_21_05_9474.jpg', '/home/pi/Desktop/images/30012025/05/21/image_30012025_05_21_25_9367.jpg', '/home/pi/Desktop/images/30012025/05/21/image_30012025_05_21_35_10443.jpg', '/home/pi/Desktop/images/30012025/05/21/image_30012025_05_21_46_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/20/image_30012025_05_20_56_10357.jpg
/home/pi/Desktop/images/30012025/05/20/image_30012025_05_21_05_9474.jpg
/home/pi/Desktop/images/30012025/05/21/image_30012025_05_21_25_9367.jpg
/home/pi/Desktop/images/30012025/05/21/image_30012025_05_21_35_10443.jpg
/home/pi/Desktop/images/30012025/05/21/image_30012025_05_21_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":["1332878435","1332878440","1332878428","1332878431","1332878425"],"photo_ids_order":["1332878425","1332878428","1332878431","1332878435","1332878440"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9521ee8b17deb8e9062e306e5ecccbf2.jpg","text":"TemporaryFile(/tmp/multipartBody2010149988132650102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210953240,"filename":"image_30012025_05_21_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/30/51b853eb2d59e7a73e7a6d29c7f0f29f.jpg","text":"TemporaryFile(/tmp/multipartBody109554594776884485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210953240,"filename":"image_30012025_05_21_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/30/70e7e36248de70ab8e417c69434b5c31.jpg","text":"TemporaryFile(/tmp/multipartBody4200928109380009148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210953240,"filename":"image_30012025_05_21_05_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/30/2603a9e2e7e364d8b4de83b454342b60.jpg","text":"TemporaryFile(/tmp/multipartBody2545704808107972156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210953240,"filename":"image_30012025_05_21_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/30/2174ff309e5a3a95e047b507b865e44f.jpg","text":"TemporaryFile(/tmp/multipartBody7832409978637935204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738210953240,"filename":"image_30012025_05_20_56_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332878431","file1":"1332878428","file0":"1332878425","file4":"1332878440","file3":"1332878435"},"map_files_photo_id_array":[{"photo_id":"1332878431","filename":"file2"},{"photo_id":"1332878440","filename":"file4"},{"photo_id":"1332878428","filename":"file1"},{"photo_id":"1332878425","filename":"file0"},{"photo_id":"1332878435","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332878435":["hashtag1","hashtag2"]},{"1332878440":["hashtag1","hashtag2"]},{"1332878428":["hashtag1","hashtag2"]},{"1332878431":["hashtag1","hashtag2"]},{"1332878425":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332878435, 1332878440, 1332878428, 1332878431, 1332878425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.283198833465576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:22:32.663445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/21/image_30012025_05_21_55_9436.jpg', '/home/pi/Desktop/images/30012025/05/22/image_30012025_05_22_15_9341.jpg', '/home/pi/Desktop/images/30012025/05/22/image_30012025_05_22_25_10349.jpg', '/home/pi/Desktop/images/30012025/05/22/image_30012025_05_22_35_10376.jpg', '/home/pi/Desktop/images/30012025/05/22/image_30012025_05_22_45_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/21/image_30012025_05_21_55_9436.jpg
/home/pi/Desktop/images/30012025/05/22/image_30012025_05_22_15_9341.jpg
/home/pi/Desktop/images/30012025/05/22/image_30012025_05_22_25_10349.jpg
/home/pi/Desktop/images/30012025/05/22/image_30012025_05_22_35_10376.jpg
/home/pi/Desktop/images/30012025/05/22/image_30012025_05_22_45_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":["1332878508","1332878486","1332878489","1332878507","1332878499"],"photo_ids_order":["1332878486","1332878489","1332878499","1332878507","1332878508"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f2083dcc330f5b4d293f314e2c5870b6.jpg","text":"TemporaryFile(/tmp/multipartBody5472154054531447256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211013568,"filename":"image_30012025_05_22_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/30/9722ad06dc207813e6015a9892f64b20.jpg","text":"TemporaryFile(/tmp/multipartBody6535898094331471530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211013568,"filename":"image_30012025_05_21_55_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/30/64c91f6bc12e46be06002b1c5376c1ed.jpg","text":"TemporaryFile(/tmp/multipartBody3998377492703443811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211013568,"filename":"image_30012025_05_22_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/30/f5c83a9548e7d056111455adc6ceb03f.jpg","text":"TemporaryFile(/tmp/multipartBody9161135840874247259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211013568,"filename":"image_30012025_05_22_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/30/b3dea0b77b0d953e249e97e5efe06f42.jpg","text":"TemporaryFile(/tmp/multipartBody8824498883125621929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211013568,"filename":"image_30012025_05_22_25_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332878499","file1":"1332878489","file0":"1332878486","file4":"1332878508","file3":"1332878507"},"map_files_photo_id_array":[{"photo_id":"1332878499","filename":"file2"},{"photo_id":"1332878508","filename":"file4"},{"photo_id":"1332878489","filename":"file1"},{"photo_id":"1332878486","filename":"file0"},{"photo_id":"1332878507","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332878508":["hashtag1","hashtag2"]},{"1332878486":["hashtag1","hashtag2"]},{"1332878489":["hashtag1","hashtag2"]},{"1332878507":["hashtag1","hashtag2"]},{"1332878499":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332878508, 1332878486, 1332878489, 1332878507, 1332878499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.04488468170166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:23:32.881756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/22/image_30012025_05_22_55_10445.jpg', '/home/pi/Desktop/images/30012025/05/22/image_30012025_05_23_06_10361.jpg', '/home/pi/Desktop/images/30012025/05/23/image_30012025_05_23_15_9398.jpg', '/home/pi/Desktop/images/30012025/05/23/image_30012025_05_23_25_10374.jpg', '/home/pi/Desktop/images/30012025/05/23/image_30012025_05_23_35_9393.jpg', '/home/pi/Desktop/images/30012025/05/23/image_30012025_05_23_45_10433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/22/image_30012025_05_22_55_10445.jpg
/home/pi/Desktop/images/30012025/05/22/image_30012025_05_23_06_10361.jpg
/home/pi/Desktop/images/30012025/05/23/image_30012025_05_23_15_9398.jpg
/home/pi/Desktop/images/30012025/05/23/image_30012025_05_23_25_10374.jpg
/home/pi/Desktop/images/30012025/05/23/image_30012025_05_23_35_9393.jpg
/home/pi/Desktop/images/30012025/05/23/image_30012025_05_23_45_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332879752","1332879734","1332879748","1332879664","1332879771","1332879755"],"photo_ids_order":["1332879664","1332879734","1332879748","1332879752","1332879755","1332879771"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a9c93284c7bf8bd2540a59da98dc644e.jpg","text":"TemporaryFile(/tmp/multipartBody3574802710058357940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211073827,"filename":"image_30012025_05_23_25_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6dea7e4c13b6b7601625920420502fc3.jpg","text":"TemporaryFile(/tmp/multipartBody1562402755143175792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211073827,"filename":"image_30012025_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/30/5eb1a676be0daaa358bd6508784fe456.jpg","text":"TemporaryFile(/tmp/multipartBody5383253231220416685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211073827,"filename":"image_30012025_05_23_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/30/a6ea9ad3dbe07e3a2b3917557d5dafc5.jpg","text":"TemporaryFile(/tmp/multipartBody4271470823718523959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211073827,"filename":"image_30012025_05_22_55_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/30/1b91fa5d034f55363d0f4c95857a202c.jpg","text":"TemporaryFile(/tmp/multipartBody8435409975517631869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211073827,"filename":"image_30012025_05_23_45_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/441da4bce298c6a5316950c1373a5048.jpg","text":"TemporaryFile(/tmp/multipartBody2189400666738782211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211073827,"filename":"image_30012025_05_23_35_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332879748","file1":"1332879734","file0":"1332879664","file4":"1332879755","file5":"1332879771","file3":"1332879752"},"map_files_photo_id_array":[{"photo_id":"1332879771","filename":"file5"},{"photo_id":"1332879748","filename":"file2"},{"photo_id":"1332879755","filename":"file4"},{"photo_id":"1332879734","filename":"file1"},{"photo_id":"1332879664","filename":"file0"},{"photo_id":"1332879752","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332879752":["hashtag1","hashtag2"]},{"1332879734":["hashtag1","hashtag2"]},{"1332879748":["hashtag1","hashtag2"]},{"1332879664":["hashtag1","hashtag2"]},{"1332879771":["hashtag1","hashtag2"]},{"1332879755":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332879752, 1332879734, 1332879748, 1332879664, 1332879771, 1332879755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.755687952041626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:24:33.139810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/23/image_30012025_05_23_56_10353.jpg', '/home/pi/Desktop/images/30012025/05/23/image_30012025_05_24_05_9440.jpg', '/home/pi/Desktop/images/30012025/05/24/image_30012025_05_24_15_10368.jpg', '/home/pi/Desktop/images/30012025/05/24/image_30012025_05_24_25_9360.jpg', '/home/pi/Desktop/images/30012025/05/24/image_30012025_05_24_35_10439.jpg', '/home/pi/Desktop/images/30012025/05/24/image_30012025_05_24_46_10380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/23/image_30012025_05_23_56_10353.jpg
/home/pi/Desktop/images/30012025/05/23/image_30012025_05_24_05_9440.jpg
/home/pi/Desktop/images/30012025/05/24/image_30012025_05_24_15_10368.jpg
/home/pi/Desktop/images/30012025/05/24/image_30012025_05_24_25_9360.jpg
/home/pi/Desktop/images/30012025/05/24/image_30012025_05_24_35_10439.jpg
/home/pi/Desktop/images/30012025/05/24/image_30012025_05_24_46_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332880206","1332879878","1332880085","1332879808","1332879813","1332879804"],"photo_ids_order":["1332879804","1332879808","1332879813","1332879878","1332880085","1332880206"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9597035ae7fc5ef2ee1b1f7146336020.jpg","text":"TemporaryFile(/tmp/multipartBody6791870595303017240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211134047,"filename":"image_30012025_05_24_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/30/80891a003310f108f7e74a181b0ad994.jpg","text":"TemporaryFile(/tmp/multipartBody3618587511716927082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211134047,"filename":"image_30012025_05_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/30/3e87256866c6e1fb77e0f2cd066e1b72.jpg","text":"TemporaryFile(/tmp/multipartBody3392105303565466639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211134047,"filename":"image_30012025_05_24_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/30/3a48db438d8c3797165f7d0351426e22.jpg","text":"TemporaryFile(/tmp/multipartBody2390641634297291669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211134047,"filename":"image_30012025_05_24_05_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c8788c3f152338d710a60f0662d6a5f1.jpg","text":"TemporaryFile(/tmp/multipartBody3600444484132480397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211134047,"filename":"image_30012025_05_24_15_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/30/cb00b03d1fca994ee4ef1aa0db7cb1b4.jpg","text":"TemporaryFile(/tmp/multipartBody325900260155015817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211134047,"filename":"image_30012025_05_23_56_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332879813","file1":"1332879808","file0":"1332879804","file4":"1332880085","file5":"1332880206","file3":"1332879878"},"map_files_photo_id_array":[{"photo_id":"1332880206","filename":"file5"},{"photo_id":"1332879813","filename":"file2"},{"photo_id":"1332880085","filename":"file4"},{"photo_id":"1332879808","filename":"file1"},{"photo_id":"1332879804","filename":"file0"},{"photo_id":"1332879878","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332880206":["hashtag1","hashtag2"]},{"1332879878":["hashtag1","hashtag2"]},{"1332880085":["hashtag1","hashtag2"]},{"1332879808":["hashtag1","hashtag2"]},{"1332879813":["hashtag1","hashtag2"]},{"1332879804":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332880206, 1332879878, 1332880085, 1332879808, 1332879813, 1332879804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.4604218006134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:25:32.325320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/24/image_30012025_05_24_55_9462.jpg', '/home/pi/Desktop/images/30012025/05/24/image_30012025_05_25_05_10384.jpg', '/home/pi/Desktop/images/30012025/05/25/image_30012025_05_25_15_9351.jpg', '/home/pi/Desktop/images/30012025/05/25/image_30012025_05_25_25_10348.jpg', '/home/pi/Desktop/images/30012025/05/25/image_30012025_05_25_45_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/24/image_30012025_05_24_55_9462.jpg
/home/pi/Desktop/images/30012025/05/24/image_30012025_05_25_05_10384.jpg
/home/pi/Desktop/images/30012025/05/25/image_30012025_05_25_15_9351.jpg
/home/pi/Desktop/images/30012025/05/25/image_30012025_05_25_25_10348.jpg
/home/pi/Desktop/images/30012025/05/25/image_30012025_05_25_45_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332881021","1332880484","1332880651","1332880297","1332880848"],"photo_ids_order":["1332880297","1332880484","1332880651","1332880848","1332881021"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bbbbed5c3b2171ebd754f5c3487be302.jpg","text":"TemporaryFile(/tmp/multipartBody4610441460592324295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211193224,"filename":"image_30012025_05_25_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/30/d6121cff8bd24b668a48691c4b341170.jpg","text":"TemporaryFile(/tmp/multipartBody787829238260063483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211193224,"filename":"image_30012025_05_25_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/30/aa5eb36a44d0dcf8d2599880e7e55d77.jpg","text":"TemporaryFile(/tmp/multipartBody3445273655891451276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211193224,"filename":"image_30012025_05_25_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/30/32f60b8e98bf1c2a7d5285d19d50d815.jpg","text":"TemporaryFile(/tmp/multipartBody1035980374500130078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211193224,"filename":"image_30012025_05_24_55_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/30/f156032c755dd706911bf2fde4079132.jpg","text":"TemporaryFile(/tmp/multipartBody1018884876444179038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211193224,"filename":"image_30012025_05_25_25_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332880651","file1":"1332880484","file0":"1332880297","file4":"1332881021","file3":"1332880848"},"map_files_photo_id_array":[{"photo_id":"1332880651","filename":"file2"},{"photo_id":"1332881021","filename":"file4"},{"photo_id":"1332880484","filename":"file1"},{"photo_id":"1332880297","filename":"file0"},{"photo_id":"1332880848","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332881021":["hashtag1","hashtag2"]},{"1332880484":["hashtag1","hashtag2"]},{"1332880651":["hashtag1","hashtag2"]},{"1332880297":["hashtag1","hashtag2"]},{"1332880848":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332881021, 1332880484, 1332880651, 1332880297, 1332880848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 41.00488042831421 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:26:32.523204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/25/image_30012025_05_25_55_10375.jpg', '/home/pi/Desktop/images/30012025/05/25/image_30012025_05_26_06_10369.jpg', '/home/pi/Desktop/images/30012025/05/26/image_30012025_05_26_15_9342.jpg', '/home/pi/Desktop/images/30012025/05/26/image_30012025_05_26_25_10358.jpg', '/home/pi/Desktop/images/30012025/05/26/image_30012025_05_26_36_10342.jpg', '/home/pi/Desktop/images/30012025/05/26/image_30012025_05_26_45_9415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/25/image_30012025_05_25_55_10375.jpg
/home/pi/Desktop/images/30012025/05/25/image_30012025_05_26_06_10369.jpg
/home/pi/Desktop/images/30012025/05/26/image_30012025_05_26_15_9342.jpg
/home/pi/Desktop/images/30012025/05/26/image_30012025_05_26_25_10358.jpg
/home/pi/Desktop/images/30012025/05/26/image_30012025_05_26_36_10342.jpg
/home/pi/Desktop/images/30012025/05/26/image_30012025_05_26_45_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":["1332881726","1332881740","1332881734","1332881787","1332881730","1332881777"],"photo_ids_order":["1332881726","1332881730","1332881734","1332881740","1332881777","1332881787"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/211914f60cdf5143518d89a4fa5ad449.jpg","text":"TemporaryFile(/tmp/multipartBody4937349626975879860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211253450,"filename":"image_30012025_05_25_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/30/89644a9a7a1fdc8dabad4ac9f7bb3cd5.jpg","text":"TemporaryFile(/tmp/multipartBody6314215922872752726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211253450,"filename":"image_30012025_05_26_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/30/a698d0b5906d2e436eced10cfae671c9.jpg","text":"TemporaryFile(/tmp/multipartBody432366228185164700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211253450,"filename":"image_30012025_05_26_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/30/e797f76c6ede129600b99c0d79a0a55b.jpg","text":"TemporaryFile(/tmp/multipartBody356147572455220081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211253450,"filename":"image_30012025_05_26_45_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/30/9fd48075597e23c15c0477797e9b389d.jpg","text":"TemporaryFile(/tmp/multipartBody5863130843689029402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211253450,"filename":"image_30012025_05_26_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/30/06774b73a3e634c7f1cd16e297f344ce.jpg","text":"TemporaryFile(/tmp/multipartBody1757205188218415478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211253450,"filename":"image_30012025_05_26_36_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332881734","file1":"1332881730","file0":"1332881726","file4":"1332881777","file5":"1332881787","file3":"1332881740"},"map_files_photo_id_array":[{"photo_id":"1332881787","filename":"file5"},{"photo_id":"1332881734","filename":"file2"},{"photo_id":"1332881777","filename":"file4"},{"photo_id":"1332881730","filename":"file1"},{"photo_id":"1332881726","filename":"file0"},{"photo_id":"1332881740","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332881726":["hashtag1","hashtag2"]},{"1332881740":["hashtag1","hashtag2"]},{"1332881734":["hashtag1","hashtag2"]},{"1332881787":["hashtag1","hashtag2"]},{"1332881730":["hashtag1","hashtag2"]},{"1332881777":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332881726, 1332881740, 1332881734, 1332881787, 1332881730, 1332881777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.4738073348999 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:27:32.673521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/26/image_30012025_05_26_55_10375.jpg', '/home/pi/Desktop/images/30012025/05/26/image_30012025_05_27_05_9345.jpg', '/home/pi/Desktop/images/30012025/05/27/image_30012025_05_27_15_10348.jpg', '/home/pi/Desktop/images/30012025/05/27/image_30012025_05_27_25_10351.jpg', '/home/pi/Desktop/images/30012025/05/27/image_30012025_05_27_35_9371.jpg', '/home/pi/Desktop/images/30012025/05/27/image_30012025_05_27_45_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/26/image_30012025_05_26_55_10375.jpg
/home/pi/Desktop/images/30012025/05/26/image_30012025_05_27_05_9345.jpg
/home/pi/Desktop/images/30012025/05/27/image_30012025_05_27_15_10348.jpg
/home/pi/Desktop/images/30012025/05/27/image_30012025_05_27_25_10351.jpg
/home/pi/Desktop/images/30012025/05/27/image_30012025_05_27_35_9371.jpg
/home/pi/Desktop/images/30012025/05/27/image_30012025_05_27_45_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":["1332882206","1332882128","1332882021","1332882309","1332882275","1332882155"],"photo_ids_order":["1332882021","1332882128","1332882155","1332882206","1332882275","1332882309"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/314555f624bdda0c9db8bcdfaef7adc9.jpg","text":"TemporaryFile(/tmp/multipartBody5852277691715719653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211313572,"filename":"image_30012025_05_27_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/30/bf1691ac7a192f4f92962c8abcaa1c89.jpg","text":"TemporaryFile(/tmp/multipartBody4136343070960102931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211313572,"filename":"image_30012025_05_27_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/30/9495e8779633cbbc912d3bf2a6f8e180.jpg","text":"TemporaryFile(/tmp/multipartBody3595113103175401094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211313572,"filename":"image_30012025_05_26_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/30/06b3429a17427084f44bd9f38b44a80d.jpg","text":"TemporaryFile(/tmp/multipartBody5630772248433581864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211313572,"filename":"image_30012025_05_27_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/30/8953913fbb157b6806901f4d8e82a6a1.jpg","text":"TemporaryFile(/tmp/multipartBody2529814616882641601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211313572,"filename":"image_30012025_05_27_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/30/0b8ec0295a1e597146a9b431b81b530f.jpg","text":"TemporaryFile(/tmp/multipartBody8506281335320525038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211313572,"filename":"image_30012025_05_27_15_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332882155","file1":"1332882128","file0":"1332882021","file4":"1332882275","file5":"1332882309","file3":"1332882206"},"map_files_photo_id_array":[{"photo_id":"1332882309","filename":"file5"},{"photo_id":"1332882155","filename":"file2"},{"photo_id":"1332882275","filename":"file4"},{"photo_id":"1332882128","filename":"file1"},{"photo_id":"1332882021","filename":"file0"},{"photo_id":"1332882206","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332882206":["hashtag1","hashtag2"]},{"1332882128":["hashtag1","hashtag2"]},{"1332882021":["hashtag1","hashtag2"]},{"1332882309":["hashtag1","hashtag2"]},{"1332882275":["hashtag1","hashtag2"]},{"1332882155":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332882206, 1332882128, 1332882021, 1332882309, 1332882275, 1332882155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.32569217681885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:28:32.935982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/27/image_30012025_05_27_56_10364.jpg', '/home/pi/Desktop/images/30012025/05/27/image_30012025_05_28_05_9415.jpg', '/home/pi/Desktop/images/30012025/05/28/image_30012025_05_28_15_10429.jpg', '/home/pi/Desktop/images/30012025/05/28/image_30012025_05_28_25_9359.jpg', '/home/pi/Desktop/images/30012025/05/28/image_30012025_05_28_45_10397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/27/image_30012025_05_27_56_10364.jpg
/home/pi/Desktop/images/30012025/05/27/image_30012025_05_28_05_9415.jpg
/home/pi/Desktop/images/30012025/05/28/image_30012025_05_28_15_10429.jpg
/home/pi/Desktop/images/30012025/05/28/image_30012025_05_28_25_9359.jpg
/home/pi/Desktop/images/30012025/05/28/image_30012025_05_28_45_10397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332883240","1332882897","1332883151","1332883238","1332883177"],"photo_ids_order":["1332882897","1332883151","1332883177","1332883238","1332883240"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/34fa3cd2681f585e5ab20688d6cb6300.jpg","text":"TemporaryFile(/tmp/multipartBody6731266600655522038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211373825,"filename":"image_30012025_05_28_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/30/d783e66b18332f8d1c1daf8d165f8463.jpg","text":"TemporaryFile(/tmp/multipartBody7972419999846404613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211373825,"filename":"image_30012025_05_27_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/30/463aa76ed1a621d831c425dbab9a741c.jpg","text":"TemporaryFile(/tmp/multipartBody5639047577058742920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211373825,"filename":"image_30012025_05_28_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/30/b108dee2f5ecc594bc30f1ffddc288dc.jpg","text":"TemporaryFile(/tmp/multipartBody1670494858566395166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211373825,"filename":"image_30012025_05_28_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/30/d311db1295f8bdc8f6e0f59c8f61cf7c.jpg","text":"TemporaryFile(/tmp/multipartBody765080792921500982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211373825,"filename":"image_30012025_05_28_15_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332883177","file1":"1332883151","file0":"1332882897","file4":"1332883240","file3":"1332883238"},"map_files_photo_id_array":[{"photo_id":"1332883177","filename":"file2"},{"photo_id":"1332883240","filename":"file4"},{"photo_id":"1332883151","filename":"file1"},{"photo_id":"1332882897","filename":"file0"},{"photo_id":"1332883238","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332883240":["hashtag1","hashtag2"]},{"1332882897":["hashtag1","hashtag2"]},{"1332883151":["hashtag1","hashtag2"]},{"1332883238":["hashtag1","hashtag2"]},{"1332883177":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332883240, 1332882897, 1332883151, 1332883238, 1332883177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 40.700358867645264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:29:33.165999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/28/image_30012025_05_28_55_9365.jpg', '/home/pi/Desktop/images/30012025/05/28/image_30012025_05_29_05_10350.jpg', '/home/pi/Desktop/images/30012025/05/29/image_30012025_05_29_15_9396.jpg', '/home/pi/Desktop/images/30012025/05/29/image_30012025_05_29_25_10445.jpg', '/home/pi/Desktop/images/30012025/05/29/image_30012025_05_29_35_10371.jpg', '/home/pi/Desktop/images/30012025/05/29/image_30012025_05_29_45_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/28/image_30012025_05_28_55_9365.jpg
/home/pi/Desktop/images/30012025/05/28/image_30012025_05_29_05_10350.jpg
/home/pi/Desktop/images/30012025/05/29/image_30012025_05_29_15_9396.jpg
/home/pi/Desktop/images/30012025/05/29/image_30012025_05_29_25_10445.jpg
/home/pi/Desktop/images/30012025/05/29/image_30012025_05_29_35_10371.jpg
/home/pi/Desktop/images/30012025/05/29/image_30012025_05_29_45_9347.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5260176658630371 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 05:29:43.139700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/28/image_30012025_05_28_55_9365.jpg', '/home/pi/Desktop/images/30012025/05/28/image_30012025_05_29_05_10350.jpg', '/home/pi/Desktop/images/30012025/05/29/image_30012025_05_29_15_9396.jpg', '/home/pi/Desktop/images/30012025/05/29/image_30012025_05_29_25_10445.jpg', '/home/pi/Desktop/images/30012025/05/29/image_30012025_05_29_35_10371.jpg', '/home/pi/Desktop/images/30012025/05/29/image_30012025_05_29_45_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/28/image_30012025_05_28_55_9365.jpg
/home/pi/Desktop/images/30012025/05/28/image_30012025_05_29_05_10350.jpg
/home/pi/Desktop/images/30012025/05/29/image_30012025_05_29_15_9396.jpg
/home/pi/Desktop/images/30012025/05/29/image_30012025_05_29_25_10445.jpg
/home/pi/Desktop/images/30012025/05/29/image_30012025_05_29_35_10371.jpg
/home/pi/Desktop/images/30012025/05/29/image_30012025_05_29_45_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332883669","1332883677","1332883686","1332883671","1332883665","1332883697"],"photo_ids_order":["1332883665","1332883669","1332883671","1332883677","1332883686","1332883697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f6cf80d7296f4c3c45361f198da32fbf.jpg","text":"TemporaryFile(/tmp/multipartBody6429199041179874384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211444058,"filename":"image_30012025_05_29_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/30/b0967b5bf68d55e5b8eefc6205d57ddf.jpg","text":"TemporaryFile(/tmp/multipartBody2754617964319940222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211444058,"filename":"image_30012025_05_29_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/30/2959c78b326930588ff64f8cfde4e897.jpg","text":"TemporaryFile(/tmp/multipartBody3460116468235860418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211444058,"filename":"image_30012025_05_29_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/30/ab3f76601eb4a608171954426db8c566.jpg","text":"TemporaryFile(/tmp/multipartBody6913879766345593173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211444058,"filename":"image_30012025_05_29_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/30/90597a493120fa60d93d46ddff8a754f.jpg","text":"TemporaryFile(/tmp/multipartBody1918764482017952273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211444058,"filename":"image_30012025_05_28_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/30/3bea75b7383875beb24a836b7cee5651.jpg","text":"TemporaryFile(/tmp/multipartBody9046810256716445412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211444058,"filename":"image_30012025_05_29_45_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332883671","file1":"1332883669","file0":"1332883665","file4":"1332883686","file5":"1332883697","file3":"1332883677"},"map_files_photo_id_array":[{"photo_id":"1332883697","filename":"file5"},{"photo_id":"1332883671","filename":"file2"},{"photo_id":"1332883686","filename":"file4"},{"photo_id":"1332883669","filename":"file1"},{"photo_id":"1332883665","filename":"file0"},{"photo_id":"1332883677","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332883669":["hashtag1","hashtag2"]},{"1332883677":["hashtag1","hashtag2"]},{"1332883686":["hashtag1","hashtag2"]},{"1332883671":["hashtag1","hashtag2"]},{"1332883665":["hashtag1","hashtag2"]},{"1332883697":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332883669, 1332883677, 1332883686, 1332883671, 1332883665, 1332883697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.0329487323761 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:30:32.505048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/29/image_30012025_05_29_55_10437.jpg', '/home/pi/Desktop/images/30012025/05/29/image_30012025_05_30_05_9399.jpg', '/home/pi/Desktop/images/30012025/05/30/image_30012025_05_30_15_10483.jpg', '/home/pi/Desktop/images/30012025/05/30/image_30012025_05_30_25_10366.jpg', '/home/pi/Desktop/images/30012025/05/30/image_30012025_05_30_35_9342.jpg', '/home/pi/Desktop/images/30012025/05/30/image_30012025_05_30_45_10473.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/29/image_30012025_05_29_55_10437.jpg
/home/pi/Desktop/images/30012025/05/29/image_30012025_05_30_05_9399.jpg
/home/pi/Desktop/images/30012025/05/30/image_30012025_05_30_15_10483.jpg
/home/pi/Desktop/images/30012025/05/30/image_30012025_05_30_25_10366.jpg
/home/pi/Desktop/images/30012025/05/30/image_30012025_05_30_35_9342.jpg
/home/pi/Desktop/images/30012025/05/30/image_30012025_05_30_45_10473.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332883729","1332883717","1332883710","1332883728","1332883713","1332883722"],"photo_ids_order":["1332883710","1332883713","1332883717","1332883722","1332883728","1332883729"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dde7681af867439504c02a4f93f775bc.jpg","text":"TemporaryFile(/tmp/multipartBody3956416447740448406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211493417,"filename":"image_30012025_05_30_45_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9a681f15aded226dc4806a0aeca7dea4.jpg","text":"TemporaryFile(/tmp/multipartBody1957005767677162178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211493417,"filename":"image_30012025_05_30_15_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/30/6ce22a97cce6796eae3b225fe36c9968.jpg","text":"TemporaryFile(/tmp/multipartBody8136450634730655770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211493417,"filename":"image_30012025_05_29_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/30/12dbdd5f84d46e61055259161badb1a7.jpg","text":"TemporaryFile(/tmp/multipartBody3460829339063755033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211493417,"filename":"image_30012025_05_30_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/30/741a78aae68fc5f60dbdf2db570c11c4.jpg","text":"TemporaryFile(/tmp/multipartBody4195074526393606973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211493417,"filename":"image_30012025_05_30_05_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/30/b39ef942429bd19d2ba218fa09a74a31.jpg","text":"TemporaryFile(/tmp/multipartBody6903946803184692841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211493417,"filename":"image_30012025_05_30_25_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332883717","file1":"1332883713","file0":"1332883710","file4":"1332883728","file5":"1332883729","file3":"1332883722"},"map_files_photo_id_array":[{"photo_id":"1332883729","filename":"file5"},{"photo_id":"1332883717","filename":"file2"},{"photo_id":"1332883728","filename":"file4"},{"photo_id":"1332883713","filename":"file1"},{"photo_id":"1332883710","filename":"file0"},{"photo_id":"1332883722","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332883729":["hashtag1","hashtag2"]},{"1332883717":["hashtag1","hashtag2"]},{"1332883710":["hashtag1","hashtag2"]},{"1332883728":["hashtag1","hashtag2"]},{"1332883713":["hashtag1","hashtag2"]},{"1332883722":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332883729, 1332883717, 1332883710, 1332883728, 1332883713, 1332883722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.6662015914917 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:31:32.656014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/30/image_30012025_05_30_55_9338.jpg', '/home/pi/Desktop/images/30012025/05/30/image_30012025_05_31_05_10421.jpg', '/home/pi/Desktop/images/30012025/05/31/image_30012025_05_31_15_10412.jpg', '/home/pi/Desktop/images/30012025/05/31/image_30012025_05_31_25_9356.jpg', '/home/pi/Desktop/images/30012025/05/31/image_30012025_05_31_35_10349.jpg', '/home/pi/Desktop/images/30012025/05/31/image_30012025_05_31_46_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/30/image_30012025_05_30_55_9338.jpg
/home/pi/Desktop/images/30012025/05/30/image_30012025_05_31_05_10421.jpg
/home/pi/Desktop/images/30012025/05/31/image_30012025_05_31_15_10412.jpg
/home/pi/Desktop/images/30012025/05/31/image_30012025_05_31_25_9356.jpg
/home/pi/Desktop/images/30012025/05/31/image_30012025_05_31_35_10349.jpg
/home/pi/Desktop/images/30012025/05/31/image_30012025_05_31_46_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":["1332883753","1332883747","1332883752","1332883740","1332883750","1332883744"],"photo_ids_order":["1332883740","1332883744","1332883747","1332883750","1332883752","1332883753"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f4b94e775c93db0a20e0a485d15d1388.jpg","text":"TemporaryFile(/tmp/multipartBody8497137603401903426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211553567,"filename":"image_30012025_05_31_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/30/1e387d05a02fe83f1961c02504130240.jpg","text":"TemporaryFile(/tmp/multipartBody262941016110169612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211553567,"filename":"image_30012025_05_31_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/30/e6f279ea0108d6a75de30af26f6ac284.jpg","text":"TemporaryFile(/tmp/multipartBody6229596773271282285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211553567,"filename":"image_30012025_05_31_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/30/6e7eae5269191d06ef30cfbdf52087e3.jpg","text":"TemporaryFile(/tmp/multipartBody360629029244158083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211553567,"filename":"image_30012025_05_30_55_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0b17ab52cc140348ffc757ad04d9eb0f.jpg","text":"TemporaryFile(/tmp/multipartBody444596976934939802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211553567,"filename":"image_30012025_05_31_25_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fea9c1b0cc501bb71a47556e9c63c4b7.jpg","text":"TemporaryFile(/tmp/multipartBody6028383511125998423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211553567,"filename":"image_30012025_05_31_05_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332883747","file1":"1332883744","file0":"1332883740","file4":"1332883752","file5":"1332883753","file3":"1332883750"},"map_files_photo_id_array":[{"photo_id":"1332883753","filename":"file5"},{"photo_id":"1332883747","filename":"file2"},{"photo_id":"1332883752","filename":"file4"},{"photo_id":"1332883744","filename":"file1"},{"photo_id":"1332883740","filename":"file0"},{"photo_id":"1332883750","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332883753":["hashtag1","hashtag2"]},{"1332883747":["hashtag1","hashtag2"]},{"1332883752":["hashtag1","hashtag2"]},{"1332883740":["hashtag1","hashtag2"]},{"1332883750":["hashtag1","hashtag2"]},{"1332883744":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332883753, 1332883747, 1332883752, 1332883740, 1332883750, 1332883744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.99173378944397 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:32:32.848284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/31/image_30012025_05_31_55_9433.jpg', '/home/pi/Desktop/images/30012025/05/31/image_30012025_05_32_05_10367.jpg', '/home/pi/Desktop/images/30012025/05/32/image_30012025_05_32_15_9354.jpg', '/home/pi/Desktop/images/30012025/05/32/image_30012025_05_32_25_10366.jpg', '/home/pi/Desktop/images/30012025/05/32/image_30012025_05_32_35_10361.jpg', '/home/pi/Desktop/images/30012025/05/32/image_30012025_05_32_45_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/31/image_30012025_05_31_55_9433.jpg
/home/pi/Desktop/images/30012025/05/31/image_30012025_05_32_05_10367.jpg
/home/pi/Desktop/images/30012025/05/32/image_30012025_05_32_15_9354.jpg
/home/pi/Desktop/images/30012025/05/32/image_30012025_05_32_25_10366.jpg
/home/pi/Desktop/images/30012025/05/32/image_30012025_05_32_35_10361.jpg
/home/pi/Desktop/images/30012025/05/32/image_30012025_05_32_45_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332883788","1332883784","1332883778","1332883781","1332883775","1332883771"],"photo_ids_order":["1332883771","1332883775","1332883778","1332883781","1332883784","1332883788"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6fb2f93c926b0764e6df44f99c3da603.jpg","text":"TemporaryFile(/tmp/multipartBody3785092301180453747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211613779,"filename":"image_30012025_05_32_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/30/f0fe548b9775d3716ea9099ba68fe39b.jpg","text":"TemporaryFile(/tmp/multipartBody9095783417274062147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211613779,"filename":"image_30012025_05_32_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0a3b55837bdd4a61f585b07980dd5dce.jpg","text":"TemporaryFile(/tmp/multipartBody5876164831011617098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211613779,"filename":"image_30012025_05_32_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/30/2102efff3851b14bf21853fbba4b6af2.jpg","text":"TemporaryFile(/tmp/multipartBody3524229611501147331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211613779,"filename":"image_30012025_05_32_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/30/69de17f7fc6aae88e0be353aaea973e3.jpg","text":"TemporaryFile(/tmp/multipartBody524337976524507779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211613779,"filename":"image_30012025_05_32_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/30/62bf8bdc03e2adf16cc5d7d80c51a37f.jpg","text":"TemporaryFile(/tmp/multipartBody6501003272317889563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211613779,"filename":"image_30012025_05_31_55_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332883778","file1":"1332883775","file0":"1332883771","file4":"1332883784","file5":"1332883788","file3":"1332883781"},"map_files_photo_id_array":[{"photo_id":"1332883788","filename":"file5"},{"photo_id":"1332883778","filename":"file2"},{"photo_id":"1332883784","filename":"file4"},{"photo_id":"1332883775","filename":"file1"},{"photo_id":"1332883771","filename":"file0"},{"photo_id":"1332883781","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332883788":["hashtag1","hashtag2"]},{"1332883784":["hashtag1","hashtag2"]},{"1332883778":["hashtag1","hashtag2"]},{"1332883781":["hashtag1","hashtag2"]},{"1332883775":["hashtag1","hashtag2"]},{"1332883771":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332883788, 1332883784, 1332883778, 1332883781, 1332883775, 1332883771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.608872413635254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:33:33.192805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/32/image_30012025_05_32_55_10442.jpg', '/home/pi/Desktop/images/30012025/05/33/image_30012025_05_33_25_10377.jpg', '/home/pi/Desktop/images/30012025/05/33/image_30012025_05_33_35_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/32/image_30012025_05_32_55_10442.jpg
/home/pi/Desktop/images/30012025/05/33/image_30012025_05_33_25_10377.jpg
/home/pi/Desktop/images/30012025/05/33/image_30012025_05_33_35_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":["1332883846","1332883830","1332883827"],"photo_ids_order":["1332883827","1332883830","1332883846"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b8772f1536b2c65457331724eb9a182e.jpg","text":"TemporaryFile(/tmp/multipartBody8953469939859903995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211674064,"filename":"image_30012025_05_33_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/30/0bb1d05cfd6020bd27fd10acc31c6665.jpg","text":"TemporaryFile(/tmp/multipartBody4749022018311646395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211674064,"filename":"image_30012025_05_33_25_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/30/f25dce717e0f929b39cfc570f8ea050f.jpg","text":"TemporaryFile(/tmp/multipartBody3931510755300195752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211674064,"filename":"image_30012025_05_32_55_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332883846","file1":"1332883830","file0":"1332883827"},"map_files_photo_id_array":[{"photo_id":"1332883846","filename":"file2"},{"photo_id":"1332883830","filename":"file1"},{"photo_id":"1332883827","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332883846":["hashtag1","hashtag2"]},{"1332883830":["hashtag1","hashtag2"]},{"1332883827":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332883846, 1332883830, 1332883827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 26.215025186538696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 05:34:03.110517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/29/image_28012025_20_29_45_10367.jpg', '/home/pi/Desktop/images/28012025/20/29/image_28012025_20_29_55_9388.jpg', '/home/pi/Desktop/images/28012025/20/29/image_28012025_20_30_05_10345.jpg', '/home/pi/Desktop/images/28012025/20/30/image_28012025_20_30_15_10364.jpg', '/home/pi/Desktop/images/28012025/20/30/image_28012025_20_30_25_9338.jpg', '/home/pi/Desktop/images/28012025/20/30/image_28012025_20_30_35_10488.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/29/image_28012025_20_29_45_10367.jpg
/home/pi/Desktop/images/28012025/20/29/image_28012025_20_29_55_9388.jpg
/home/pi/Desktop/images/28012025/20/29/image_28012025_20_30_05_10345.jpg
/home/pi/Desktop/images/28012025/20/30/image_28012025_20_30_15_10364.jpg
/home/pi/Desktop/images/28012025/20/30/image_28012025_20_30_25_9338.jpg
/home/pi/Desktop/images/28012025/20/30/image_28012025_20_30_35_10488.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332883935","1332883865","1332883859","1332883850","1332883853","1332883862"],"photo_ids_order":["1332883850","1332883853","1332883859","1332883862","1332883865","1332883935"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5c93dd6b74f2327bd03e6522503a56bc.jpg","text":"TemporaryFile(/tmp/multipartBody5698972676939564227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211704811,"filename":"image_28012025_20_30_35_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/30/ebcff1a115dc28f820a620bf4523622f.jpg","text":"TemporaryFile(/tmp/multipartBody2730751634860721112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211704811,"filename":"image_28012025_20_30_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/30/7667eeeeadffceae7be7fa852cca745f.jpg","text":"TemporaryFile(/tmp/multipartBody8368043245218501650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211704811,"filename":"image_28012025_20_30_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/30/409b92cae9c3fe925d18c1cd7b448004.jpg","text":"TemporaryFile(/tmp/multipartBody697301461468896825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211704811,"filename":"image_28012025_20_29_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/30/1b100955928f7a397f21047a73d331de.jpg","text":"TemporaryFile(/tmp/multipartBody5895452264184572199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211704811,"filename":"image_28012025_20_29_55_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/30/4afa4734262bbcbfae08230304f5aae7.jpg","text":"TemporaryFile(/tmp/multipartBody7514237289166170896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211704811,"filename":"image_28012025_20_30_15_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332883859","file1":"1332883853","file0":"1332883850","file4":"1332883865","file5":"1332883935","file3":"1332883862"},"map_files_photo_id_array":[{"photo_id":"1332883935","filename":"file5"},{"photo_id":"1332883859","filename":"file2"},{"photo_id":"1332883865","filename":"file4"},{"photo_id":"1332883853","filename":"file1"},{"photo_id":"1332883850","filename":"file0"},{"photo_id":"1332883862","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332883935":["hashtag1","hashtag2"]},{"1332883865":["hashtag1","hashtag2"]},{"1332883859":["hashtag1","hashtag2"]},{"1332883850":["hashtag1","hashtag2"]},{"1332883853":["hashtag1","hashtag2"]},{"1332883862":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332883935, 1332883865, 1332883859, 1332883850, 1332883853, 1332883862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.58897924423218 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:34:52.506756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/33/image_30012025_05_33_45_10347.jpg', '/home/pi/Desktop/images/30012025/05/34/image_30012025_05_34_35_10447.jpg', '/home/pi/Desktop/images/30012025/05/34/image_30012025_05_34_46_10449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/33/image_30012025_05_33_45_10347.jpg
/home/pi/Desktop/images/30012025/05/34/image_30012025_05_34_35_10447.jpg
/home/pi/Desktop/images/30012025/05/34/image_30012025_05_34_46_10449.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332884135","1332884140","1332884137"],"photo_ids_order":["1332884135","1332884137","1332884140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c1f45684ed56d78133297397a9f13afc.jpg","text":"TemporaryFile(/tmp/multipartBody7905057977721256291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211753378,"filename":"image_30012025_05_33_45_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7b25156a80676d0c921ee2ab59c005fd.jpg","text":"TemporaryFile(/tmp/multipartBody8452144712227890494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211753378,"filename":"image_30012025_05_34_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/30/e76f4e0e7fe4a2482b2dcf549ed41660.jpg","text":"TemporaryFile(/tmp/multipartBody3543033293219625925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211753378,"filename":"image_30012025_05_34_35_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332884140","file1":"1332884137","file0":"1332884135"},"map_files_photo_id_array":[{"photo_id":"1332884140","filename":"file2"},{"photo_id":"1332884137","filename":"file1"},{"photo_id":"1332884135","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332884135":["hashtag1","hashtag2"]},{"1332884140":["hashtag1","hashtag2"]},{"1332884137":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332884135, 1332884140, 1332884137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 27.821564435958862 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:35:32.712451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/34/image_30012025_05_34_55_9438.jpg', '/home/pi/Desktop/images/30012025/05/34/image_30012025_05_35_05_10363.jpg', '/home/pi/Desktop/images/30012025/05/35/image_30012025_05_35_15_9361.jpg', '/home/pi/Desktop/images/30012025/05/35/image_30012025_05_35_25_10403.jpg', '/home/pi/Desktop/images/30012025/05/35/image_30012025_05_35_36_10368.jpg', '/home/pi/Desktop/images/30012025/05/35/image_30012025_05_35_45_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/34/image_30012025_05_34_55_9438.jpg
/home/pi/Desktop/images/30012025/05/34/image_30012025_05_35_05_10363.jpg
/home/pi/Desktop/images/30012025/05/35/image_30012025_05_35_15_9361.jpg
/home/pi/Desktop/images/30012025/05/35/image_30012025_05_35_25_10403.jpg
/home/pi/Desktop/images/30012025/05/35/image_30012025_05_35_36_10368.jpg
/home/pi/Desktop/images/30012025/05/35/image_30012025_05_35_45_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332884295","1332884250","1332884510","1332884371","1332884233","1332884257"],"photo_ids_order":["1332884233","1332884250","1332884257","1332884295","1332884371","1332884510"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/883ed0d323df7c2c7c96eed2a36ba58a.jpg","text":"TemporaryFile(/tmp/multipartBody3999377520293319974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211793614,"filename":"image_30012025_05_35_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/30/924f98d69b8a10eeaa0e3341b5266aa7.jpg","text":"TemporaryFile(/tmp/multipartBody3823786986063682284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211793614,"filename":"image_30012025_05_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/30/59056b65faa8f621a251f8ec0a478884.jpg","text":"TemporaryFile(/tmp/multipartBody1046834087257995738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211793614,"filename":"image_30012025_05_35_45_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f4aef109f382b90644fcfa8a3bd507f1.jpg","text":"TemporaryFile(/tmp/multipartBody5304440405694413664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211793614,"filename":"image_30012025_05_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/30/cca29a47b11d886c2715e94b5a3e7174.jpg","text":"TemporaryFile(/tmp/multipartBody3197778860812834347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211793614,"filename":"image_30012025_05_34_55_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/30/761723fece1502a895851d837bf66bc2.jpg","text":"TemporaryFile(/tmp/multipartBody3764175710794778026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211793614,"filename":"image_30012025_05_35_15_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332884257","file1":"1332884250","file0":"1332884233","file4":"1332884371","file5":"1332884510","file3":"1332884295"},"map_files_photo_id_array":[{"photo_id":"1332884510","filename":"file5"},{"photo_id":"1332884257","filename":"file2"},{"photo_id":"1332884371","filename":"file4"},{"photo_id":"1332884250","filename":"file1"},{"photo_id":"1332884233","filename":"file0"},{"photo_id":"1332884295","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332884295":["hashtag1","hashtag2"]},{"1332884250":["hashtag1","hashtag2"]},{"1332884510":["hashtag1","hashtag2"]},{"1332884371":["hashtag1","hashtag2"]},{"1332884233":["hashtag1","hashtag2"]},{"1332884257":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332884295, 1332884250, 1332884510, 1332884371, 1332884233, 1332884257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.34900498390198 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:36:32.981991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/35/image_30012025_05_35_55_10405.jpg', '/home/pi/Desktop/images/30012025/05/35/image_30012025_05_36_05_9444.jpg', '/home/pi/Desktop/images/30012025/05/36/image_30012025_05_36_15_10392.jpg', '/home/pi/Desktop/images/30012025/05/36/image_30012025_05_36_25_10346.jpg', '/home/pi/Desktop/images/30012025/05/36/image_30012025_05_36_35_9397.jpg', '/home/pi/Desktop/images/30012025/05/36/image_30012025_05_36_45_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/35/image_30012025_05_35_55_10405.jpg
/home/pi/Desktop/images/30012025/05/35/image_30012025_05_36_05_9444.jpg
/home/pi/Desktop/images/30012025/05/36/image_30012025_05_36_15_10392.jpg
/home/pi/Desktop/images/30012025/05/36/image_30012025_05_36_25_10346.jpg
/home/pi/Desktop/images/30012025/05/36/image_30012025_05_36_35_9397.jpg
/home/pi/Desktop/images/30012025/05/36/image_30012025_05_36_45_10419.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5216822624206543 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 05:36:42.937383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/35/image_30012025_05_35_55_10405.jpg', '/home/pi/Desktop/images/30012025/05/35/image_30012025_05_36_05_9444.jpg', '/home/pi/Desktop/images/30012025/05/36/image_30012025_05_36_15_10392.jpg', '/home/pi/Desktop/images/30012025/05/36/image_30012025_05_36_25_10346.jpg', '/home/pi/Desktop/images/30012025/05/36/image_30012025_05_36_35_9397.jpg', '/home/pi/Desktop/images/30012025/05/36/image_30012025_05_36_45_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/35/image_30012025_05_35_55_10405.jpg
/home/pi/Desktop/images/30012025/05/35/image_30012025_05_36_05_9444.jpg
/home/pi/Desktop/images/30012025/05/36/image_30012025_05_36_15_10392.jpg
/home/pi/Desktop/images/30012025/05/36/image_30012025_05_36_25_10346.jpg
/home/pi/Desktop/images/30012025/05/36/image_30012025_05_36_35_9397.jpg
/home/pi/Desktop/images/30012025/05/36/image_30012025_05_36_45_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332885159","1332885176","1332885155","1332885134","1332885184","1332885240"],"photo_ids_order":["1332885134","1332885155","1332885159","1332885176","1332885184","1332885240"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6de8b08fa1e1d922986460dd9e023c4b.jpg","text":"TemporaryFile(/tmp/multipartBody6681385919453651203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211863863,"filename":"image_30012025_05_36_15_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/30/796a22570e501d4c31567b0c33d34483.jpg","text":"TemporaryFile(/tmp/multipartBody876715533189959331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211863863,"filename":"image_30012025_05_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/30/1856889922ca122ea3222307c187fcb7.jpg","text":"TemporaryFile(/tmp/multipartBody4931983090482215592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211863863,"filename":"image_30012025_05_36_05_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/30/f521879afa362750cef045a00f036100.jpg","text":"TemporaryFile(/tmp/multipartBody7167684748378074416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211863863,"filename":"image_30012025_05_35_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/30/98ceee361f226dd658adc69d06884bea.jpg","text":"TemporaryFile(/tmp/multipartBody3996117859762235270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211863863,"filename":"image_30012025_05_36_35_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/414ce245ccc426f5dd8075c89cc4cff3.jpg","text":"TemporaryFile(/tmp/multipartBody5354682000245751257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211863863,"filename":"image_30012025_05_36_45_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332885159","file1":"1332885155","file0":"1332885134","file4":"1332885184","file5":"1332885240","file3":"1332885176"},"map_files_photo_id_array":[{"photo_id":"1332885240","filename":"file5"},{"photo_id":"1332885159","filename":"file2"},{"photo_id":"1332885184","filename":"file4"},{"photo_id":"1332885155","filename":"file1"},{"photo_id":"1332885134","filename":"file0"},{"photo_id":"1332885176","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332885159":["hashtag1","hashtag2"]},{"1332885176":["hashtag1","hashtag2"]},{"1332885155":["hashtag1","hashtag2"]},{"1332885134":["hashtag1","hashtag2"]},{"1332885184":["hashtag1","hashtag2"]},{"1332885240":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332885159, 1332885176, 1332885155, 1332885134, 1332885184, 1332885240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.84542369842529 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:37:33.256594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/36/image_30012025_05_36_56_10355.jpg', '/home/pi/Desktop/images/30012025/05/36/image_30012025_05_37_05_9410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/36/image_30012025_05_36_56_10355.jpg
/home/pi/Desktop/images/30012025/05/36/image_30012025_05_37_05_9410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332885378","1332885451"],"photo_ids_order":["1332885378","1332885451"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/25e25e2a55d34f450078ab5f97bfd847.jpg","text":"TemporaryFile(/tmp/multipartBody4324225023502255157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211914103,"filename":"image_30012025_05_36_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/30/104e5b3cafca00482af08e88c48809b8.jpg","text":"TemporaryFile(/tmp/multipartBody3569898924421224243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211914103,"filename":"image_30012025_05_37_05_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1332885451","file0":"1332885378"},"map_files_photo_id_array":[{"photo_id":"1332885451","filename":"file1"},{"photo_id":"1332885378","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332885378":["hashtag1","hashtag2"]},{"1332885451":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332885378, 1332885451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.42840266227722 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 05:38:03.103031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/30/image_28012025_20_30_45_9335.jpg', '/home/pi/Desktop/images/28012025/20/30/image_28012025_20_30_55_10367.jpg', '/home/pi/Desktop/images/28012025/20/30/image_28012025_20_31_05_10352.jpg', '/home/pi/Desktop/images/28012025/20/31/image_28012025_20_31_15_9407.jpg', '/home/pi/Desktop/images/28012025/20/31/image_28012025_20_31_25_10353.jpg', '/home/pi/Desktop/images/28012025/20/31/image_28012025_20_31_34_9424.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/30/image_28012025_20_30_45_9335.jpg
/home/pi/Desktop/images/28012025/20/30/image_28012025_20_30_55_10367.jpg
/home/pi/Desktop/images/28012025/20/30/image_28012025_20_31_05_10352.jpg
/home/pi/Desktop/images/28012025/20/31/image_28012025_20_31_15_9407.jpg
/home/pi/Desktop/images/28012025/20/31/image_28012025_20_31_25_10353.jpg
/home/pi/Desktop/images/28012025/20/31/image_28012025_20_31_34_9424.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.309950351715088 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:38:32.413298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/37/image_30012025_05_37_15_10363.jpg', '/home/pi/Desktop/images/30012025/05/38/image_30012025_05_38_35_9427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/37/image_30012025_05_37_15_10363.jpg
/home/pi/Desktop/images/30012025/05/38/image_30012025_05_38_35_9427.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332885534","1332885537"],"photo_ids_order":["1332885534","1332885537"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d04771fad40d86dbabdc64769e562e96.jpg","text":"TemporaryFile(/tmp/multipartBody88402146306577044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211973260,"filename":"image_30012025_05_37_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/30/454006fbb6b1c6f67c8c3c9bca1eae62.jpg","text":"TemporaryFile(/tmp/multipartBody7951175974994991287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211973260,"filename":"image_30012025_05_38_35_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1332885537","file0":"1332885534"},"map_files_photo_id_array":[{"photo_id":"1332885537","filename":"file1"},{"photo_id":"1332885534","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332885534":["hashtag1","hashtag2"]},{"1332885537":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332885534, 1332885537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.83281183242798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:38:52.409664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/30/image_28012025_20_30_45_9335.jpg', '/home/pi/Desktop/images/28012025/20/30/image_28012025_20_30_55_10367.jpg', '/home/pi/Desktop/images/28012025/20/30/image_28012025_20_31_05_10352.jpg', '/home/pi/Desktop/images/28012025/20/31/image_28012025_20_31_15_9407.jpg', '/home/pi/Desktop/images/28012025/20/31/image_28012025_20_31_25_10353.jpg', '/home/pi/Desktop/images/28012025/20/31/image_28012025_20_31_34_9424.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/30/image_28012025_20_30_45_9335.jpg
/home/pi/Desktop/images/28012025/20/30/image_28012025_20_30_55_10367.jpg
/home/pi/Desktop/images/28012025/20/30/image_28012025_20_31_05_10352.jpg
/home/pi/Desktop/images/28012025/20/31/image_28012025_20_31_15_9407.jpg
/home/pi/Desktop/images/28012025/20/31/image_28012025_20_31_25_10353.jpg
/home/pi/Desktop/images/28012025/20/31/image_28012025_20_31_34_9424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332885560","1332885572","1332885551","1332885568","1332885562","1332885565"],"photo_ids_order":["1332885551","1332885560","1332885562","1332885565","1332885568","1332885572"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dbd134e5eafb84ea75d624472e7d4ffe.jpg","text":"TemporaryFile(/tmp/multipartBody6563018638018598160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211994794,"filename":"image_28012025_20_30_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/30/ef4c38f9065d67ec2d0e181194368704.jpg","text":"TemporaryFile(/tmp/multipartBody1212941307597827154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211994794,"filename":"image_28012025_20_31_34_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/30/b742dc0c321eb6e4db98318071018ac3.jpg","text":"TemporaryFile(/tmp/multipartBody1806350898853167209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211994794,"filename":"image_28012025_20_30_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/30/086639c47e679851be0fc520ea1d5f3b.jpg","text":"TemporaryFile(/tmp/multipartBody5225927323285083903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211994794,"filename":"image_28012025_20_31_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/30/2ca098ea9755c2bbbb5695701e144cfd.jpg","text":"TemporaryFile(/tmp/multipartBody2645611020250600972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211994794,"filename":"image_28012025_20_31_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/30/a43472de2869f64dc4c5dfa1bce3ad54.jpg","text":"TemporaryFile(/tmp/multipartBody5675262881847717875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738211994794,"filename":"image_28012025_20_31_15_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332885562","file1":"1332885560","file0":"1332885551","file4":"1332885568","file5":"1332885572","file3":"1332885565"},"map_files_photo_id_array":[{"photo_id":"1332885572","filename":"file5"},{"photo_id":"1332885562","filename":"file2"},{"photo_id":"1332885568","filename":"file4"},{"photo_id":"1332885560","filename":"file1"},{"photo_id":"1332885551","filename":"file0"},{"photo_id":"1332885565","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332885560":["hashtag1","hashtag2"]},{"1332885572":["hashtag1","hashtag2"]},{"1332885551":["hashtag1","hashtag2"]},{"1332885568":["hashtag1","hashtag2"]},{"1332885562":["hashtag1","hashtag2"]},{"1332885565":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332885560, 1332885572, 1332885551, 1332885568, 1332885562, 1332885565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.43527340888977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 05:39:42.687550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/38/image_30012025_05_38_45_10361.jpg', '/home/pi/Desktop/images/30012025/05/39/image_30012025_05_39_15_10413.jpg', '/home/pi/Desktop/images/30012025/05/39/image_30012025_05_39_25_9396.jpg', '/home/pi/Desktop/images/30012025/05/39/image_30012025_05_39_35_10440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/38/image_30012025_05_38_45_10361.jpg
/home/pi/Desktop/images/30012025/05/39/image_30012025_05_39_15_10413.jpg
/home/pi/Desktop/images/30012025/05/39/image_30012025_05_39_25_9396.jpg
/home/pi/Desktop/images/30012025/05/39/image_30012025_05_39_35_10440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332885589","1332885597","1332885601","1332885585"],"photo_ids_order":["1332885585","1332885589","1332885597","1332885601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9945011d7e4133b074aa766071074a2c.jpg","text":"TemporaryFile(/tmp/multipartBody133934654993454916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212043579,"filename":"image_30012025_05_39_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/30/54a5c3084195d9286483afa1b697dc45.jpg","text":"TemporaryFile(/tmp/multipartBody9095669968623746201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212043579,"filename":"image_30012025_05_39_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/30/189017bae1e8067596fb3236585b1fbd.jpg","text":"TemporaryFile(/tmp/multipartBody5904908688097532922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212043579,"filename":"image_30012025_05_39_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/30/9bf9630f1c881b16e9bc045ad1163321.jpg","text":"TemporaryFile(/tmp/multipartBody2893073559853978274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212043579,"filename":"image_30012025_05_38_45_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332885597","file1":"1332885589","file0":"1332885585","file3":"1332885601"},"map_files_photo_id_array":[{"photo_id":"1332885597","filename":"file2"},{"photo_id":"1332885589","filename":"file1"},{"photo_id":"1332885585","filename":"file0"},{"photo_id":"1332885601","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332885589":["hashtag1","hashtag2"]},{"1332885597":["hashtag1","hashtag2"]},{"1332885601":["hashtag1","hashtag2"]},{"1332885585":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332885589, 1332885597, 1332885601, 1332885585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.121623516082764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:40:33.015230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/39/image_30012025_05_39_45_10397.jpg', '/home/pi/Desktop/images/30012025/05/39/image_30012025_05_40_05_10371.jpg', '/home/pi/Desktop/images/30012025/05/40/image_30012025_05_40_16_10351.jpg', '/home/pi/Desktop/images/30012025/05/40/image_30012025_05_40_25_9351.jpg', '/home/pi/Desktop/images/30012025/05/40/image_30012025_05_40_35_10373.jpg', '/home/pi/Desktop/images/30012025/05/40/image_30012025_05_40_45_9396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/39/image_30012025_05_39_45_10397.jpg
/home/pi/Desktop/images/30012025/05/39/image_30012025_05_40_05_10371.jpg
/home/pi/Desktop/images/30012025/05/40/image_30012025_05_40_16_10351.jpg
/home/pi/Desktop/images/30012025/05/40/image_30012025_05_40_25_9351.jpg
/home/pi/Desktop/images/30012025/05/40/image_30012025_05_40_35_10373.jpg
/home/pi/Desktop/images/30012025/05/40/image_30012025_05_40_45_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":["1332885653","1332885632","1332885640","1332885643","1332885637","1332885646"],"photo_ids_order":["1332885632","1332885637","1332885640","1332885643","1332885646","1332885653"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1be51171777fea37f690c470689c02b6.jpg","text":"TemporaryFile(/tmp/multipartBody4100005581268846429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212093925,"filename":"image_30012025_05_40_45_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/30/3bbe6eafa9f9cc0d1dbe72e569cadda0.jpg","text":"TemporaryFile(/tmp/multipartBody5871731762592875905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212093925,"filename":"image_30012025_05_39_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/30/bcc5484fd3ed4ecbeb11d023027425c1.jpg","text":"TemporaryFile(/tmp/multipartBody8391642956038168157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212093925,"filename":"image_30012025_05_40_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/30/3952cc2b8e65465ac45a6823ef34112b.jpg","text":"TemporaryFile(/tmp/multipartBody7311860728069541942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212093925,"filename":"image_30012025_05_40_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/30/4028cdf703f1818fd41f9a8e4d22f278.jpg","text":"TemporaryFile(/tmp/multipartBody8044694386849974115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212093925,"filename":"image_30012025_05_40_05_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2b116302cc7adb429654ed81c864b7df.jpg","text":"TemporaryFile(/tmp/multipartBody7710771945570042249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212093925,"filename":"image_30012025_05_40_35_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332885640","file1":"1332885637","file0":"1332885632","file4":"1332885646","file5":"1332885653","file3":"1332885643"},"map_files_photo_id_array":[{"photo_id":"1332885653","filename":"file5"},{"photo_id":"1332885640","filename":"file2"},{"photo_id":"1332885646","filename":"file4"},{"photo_id":"1332885637","filename":"file1"},{"photo_id":"1332885632","filename":"file0"},{"photo_id":"1332885643","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332885653":["hashtag1","hashtag2"]},{"1332885632":["hashtag1","hashtag2"]},{"1332885640":["hashtag1","hashtag2"]},{"1332885643":["hashtag1","hashtag2"]},{"1332885637":["hashtag1","hashtag2"]},{"1332885646":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332885653, 1332885632, 1332885640, 1332885643, 1332885637, 1332885646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.979315996170044 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:41:32.189341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/40/image_30012025_05_40_55_10444.jpg', '/home/pi/Desktop/images/30012025/05/40/image_30012025_05_41_05_10345.jpg', '/home/pi/Desktop/images/30012025/05/41/image_30012025_05_41_15_9426.jpg', '/home/pi/Desktop/images/30012025/05/41/image_30012025_05_41_25_10364.jpg', '/home/pi/Desktop/images/30012025/05/41/image_30012025_05_41_36_10361.jpg', '/home/pi/Desktop/images/30012025/05/41/image_30012025_05_41_45_9447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/40/image_30012025_05_40_55_10444.jpg
/home/pi/Desktop/images/30012025/05/40/image_30012025_05_41_05_10345.jpg
/home/pi/Desktop/images/30012025/05/41/image_30012025_05_41_15_9426.jpg
/home/pi/Desktop/images/30012025/05/41/image_30012025_05_41_25_10364.jpg
/home/pi/Desktop/images/30012025/05/41/image_30012025_05_41_36_10361.jpg
/home/pi/Desktop/images/30012025/05/41/image_30012025_05_41_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":["1332885704","1332885688","1332885673","1332885667","1332885712","1332885699"],"photo_ids_order":["1332885667","1332885673","1332885688","1332885699","1332885704","1332885712"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f00ff8b585b078e0c4f56756af9290cc.jpg","text":"TemporaryFile(/tmp/multipartBody1172015172747762059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212153121,"filename":"image_30012025_05_41_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/30/594226134a5c50c59bdbdfe459036a6c.jpg","text":"TemporaryFile(/tmp/multipartBody4013099090893874167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212153121,"filename":"image_30012025_05_41_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/30/c9c6d0feb6d34c43aea7bd1b6aaef41b.jpg","text":"TemporaryFile(/tmp/multipartBody6285127782291578027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212153121,"filename":"image_30012025_05_41_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/30/514860287feb2f50d6e5dbd0348a36e8.jpg","text":"TemporaryFile(/tmp/multipartBody4777692109259564934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212153121,"filename":"image_30012025_05_40_55_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/90438bb067e61d983666d7737c31f3d9.jpg","text":"TemporaryFile(/tmp/multipartBody7165961949041998193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212153121,"filename":"image_30012025_05_41_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/30/dda8b61239969807ea177007159cf645.jpg","text":"TemporaryFile(/tmp/multipartBody6859713037444127287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212153121,"filename":"image_30012025_05_41_25_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332885688","file1":"1332885673","file0":"1332885667","file4":"1332885704","file5":"1332885712","file3":"1332885699"},"map_files_photo_id_array":[{"photo_id":"1332885712","filename":"file5"},{"photo_id":"1332885688","filename":"file2"},{"photo_id":"1332885704","filename":"file4"},{"photo_id":"1332885673","filename":"file1"},{"photo_id":"1332885667","filename":"file0"},{"photo_id":"1332885699","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332885704":["hashtag1","hashtag2"]},{"1332885688":["hashtag1","hashtag2"]},{"1332885673":["hashtag1","hashtag2"]},{"1332885667":["hashtag1","hashtag2"]},{"1332885712":["hashtag1","hashtag2"]},{"1332885699":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332885704, 1332885688, 1332885673, 1332885667, 1332885712, 1332885699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.75006437301636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:42:32.536791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/41/image_30012025_05_41_55_10397.jpg', '/home/pi/Desktop/images/30012025/05/41/image_30012025_05_42_05_9405.jpg', '/home/pi/Desktop/images/30012025/05/42/image_30012025_05_42_15_10426.jpg', '/home/pi/Desktop/images/30012025/05/42/image_30012025_05_42_26_10354.jpg', '/home/pi/Desktop/images/30012025/05/42/image_30012025_05_42_35_9479.jpg', '/home/pi/Desktop/images/30012025/05/42/image_30012025_05_42_45_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/41/image_30012025_05_41_55_10397.jpg
/home/pi/Desktop/images/30012025/05/41/image_30012025_05_42_05_9405.jpg
/home/pi/Desktop/images/30012025/05/42/image_30012025_05_42_15_10426.jpg
/home/pi/Desktop/images/30012025/05/42/image_30012025_05_42_26_10354.jpg
/home/pi/Desktop/images/30012025/05/42/image_30012025_05_42_35_9479.jpg
/home/pi/Desktop/images/30012025/05/42/image_30012025_05_42_45_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":["1332885740","1332885764","1332885802","1332885730","1332885780","1332885727"],"photo_ids_order":["1332885727","1332885730","1332885740","1332885764","1332885780","1332885802"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6c9d96870c8ef8164402ce8c14cb06ce.jpg","text":"TemporaryFile(/tmp/multipartBody7457413602579278276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212213442,"filename":"image_30012025_05_42_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/30/f109582b5a7239385cfd653d0706bf8c.jpg","text":"TemporaryFile(/tmp/multipartBody6604228137687576121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212213442,"filename":"image_30012025_05_42_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/30/1222d33f45d0bbf20ee1815f45fa17b5.jpg","text":"TemporaryFile(/tmp/multipartBody4780253111079599794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212213442,"filename":"image_30012025_05_42_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/30/28d94bd16391390e6ca25a4dbeb52b63.jpg","text":"TemporaryFile(/tmp/multipartBody6299085481524403261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212213442,"filename":"image_30012025_05_42_05_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/954ceee587fba21aef71ac685878e8b1.jpg","text":"TemporaryFile(/tmp/multipartBody3749232051775852589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212213442,"filename":"image_30012025_05_42_35_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/30/fc889bf81875b2b243012a93e7c79510.jpg","text":"TemporaryFile(/tmp/multipartBody3436679220597560906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212213442,"filename":"image_30012025_05_41_55_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332885740","file1":"1332885730","file0":"1332885727","file4":"1332885780","file5":"1332885802","file3":"1332885764"},"map_files_photo_id_array":[{"photo_id":"1332885802","filename":"file5"},{"photo_id":"1332885740","filename":"file2"},{"photo_id":"1332885780","filename":"file4"},{"photo_id":"1332885730","filename":"file1"},{"photo_id":"1332885727","filename":"file0"},{"photo_id":"1332885764","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332885740":["hashtag1","hashtag2"]},{"1332885764":["hashtag1","hashtag2"]},{"1332885802":["hashtag1","hashtag2"]},{"1332885730":["hashtag1","hashtag2"]},{"1332885780":["hashtag1","hashtag2"]},{"1332885727":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332885740, 1332885764, 1332885802, 1332885730, 1332885780, 1332885727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.77185320854187 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:43:32.801954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/42/image_30012025_05_42_55_9334.jpg', '/home/pi/Desktop/images/30012025/05/42/image_30012025_05_43_05_10350.jpg', '/home/pi/Desktop/images/30012025/05/43/image_30012025_05_43_35_10433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/42/image_30012025_05_42_55_9334.jpg
/home/pi/Desktop/images/30012025/05/42/image_30012025_05_43_05_10350.jpg
/home/pi/Desktop/images/30012025/05/43/image_30012025_05_43_35_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332885924","1332885971","1332885975"],"photo_ids_order":["1332885924","1332885971","1332885975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/97e3d5f647fb259168650d25f0ddac13.jpg","text":"TemporaryFile(/tmp/multipartBody5217382517396252623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212273664,"filename":"image_30012025_05_42_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/30/449e2af879c90fee23a5515ce0310fa4.jpg","text":"TemporaryFile(/tmp/multipartBody5503684164407698394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212273664,"filename":"image_30012025_05_43_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/30/603e47db2646235569b505a9ca6ee719.jpg","text":"TemporaryFile(/tmp/multipartBody9165336064711271300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212273664,"filename":"image_30012025_05_43_35_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332885975","file1":"1332885971","file0":"1332885924"},"map_files_photo_id_array":[{"photo_id":"1332885975","filename":"file2"},{"photo_id":"1332885971","filename":"file1"},{"photo_id":"1332885924","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332885924":["hashtag1","hashtag2"]},{"1332885971":["hashtag1","hashtag2"]},{"1332885975":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332885924, 1332885971, 1332885975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.802603721618652 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 05:44:03.513177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/31/image_28012025_20_31_45_10358.jpg', '/home/pi/Desktop/images/28012025/20/31/image_28012025_20_31_55_10463.jpg', '/home/pi/Desktop/images/28012025/20/31/image_28012025_20_32_05_9338.jpg', '/home/pi/Desktop/images/28012025/20/32/image_28012025_20_32_15_10369.jpg', '/home/pi/Desktop/images/28012025/20/32/image_28012025_20_32_24_9470.jpg', '/home/pi/Desktop/images/28012025/20/32/image_28012025_20_32_35_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/20/31/image_28012025_20_31_45_10358.jpg
/home/pi/Desktop/images/28012025/20/31/image_28012025_20_31_55_10463.jpg
/home/pi/Desktop/images/28012025/20/31/image_28012025_20_32_05_9338.jpg
/home/pi/Desktop/images/28012025/20/32/image_28012025_20_32_15_10369.jpg
/home/pi/Desktop/images/28012025/20/32/image_28012025_20_32_24_9470.jpg
/home/pi/Desktop/images/28012025/20/32/image_28012025_20_32_35_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":["1332886264","1332886000","1332886003","1332886006","1332886143","1332885996"],"photo_ids_order":["1332885996","1332886000","1332886003","1332886006","1332886143","1332886264"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/84a898433687d0de7ece1f54900af732.jpg","text":"TemporaryFile(/tmp/multipartBody5788862980156807882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212305207,"filename":"image_28012025_20_32_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/30/790cd0b00c701c5841b826ecf685b42f.jpg","text":"TemporaryFile(/tmp/multipartBody2759909758563669122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212305207,"filename":"image_28012025_20_31_55_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/30/d9b4d141a77d1b858080b5e4c0cc6824.jpg","text":"TemporaryFile(/tmp/multipartBody7113967106308360323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212305207,"filename":"image_28012025_20_32_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/30/dbe14dd16c04ffd29fff7c39483f2253.jpg","text":"TemporaryFile(/tmp/multipartBody8603688726517093943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212305207,"filename":"image_28012025_20_32_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/30/bb5ec60bb1fe8cedcee38b328ce9afb5.jpg","text":"TemporaryFile(/tmp/multipartBody8371501376323941213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212305207,"filename":"image_28012025_20_32_24_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a9ab96e5bb44b5dff596d05935fae454.jpg","text":"TemporaryFile(/tmp/multipartBody6039632588980472346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212305207,"filename":"image_28012025_20_31_45_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332886003","file1":"1332886000","file0":"1332885996","file4":"1332886143","file5":"1332886264","file3":"1332886006"},"map_files_photo_id_array":[{"photo_id":"1332886264","filename":"file5"},{"photo_id":"1332886003","filename":"file2"},{"photo_id":"1332886143","filename":"file4"},{"photo_id":"1332886000","filename":"file1"},{"photo_id":"1332885996","filename":"file0"},{"photo_id":"1332886006","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332886264":["hashtag1","hashtag2"]},{"1332886000":["hashtag1","hashtag2"]},{"1332886003":["hashtag1","hashtag2"]},{"1332886006":["hashtag1","hashtag2"]},{"1332886143":["hashtag1","hashtag2"]},{"1332885996":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332886264, 1332886000, 1332886003, 1332886006, 1332886143, 1332885996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.139013051986694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:44:52.900917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/43/image_30012025_05_43_45_9362.jpg', '/home/pi/Desktop/images/30012025/05/43/image_30012025_05_44_06_10360.jpg', '/home/pi/Desktop/images/30012025/05/44/image_30012025_05_44_15_9397.jpg', '/home/pi/Desktop/images/30012025/05/44/image_30012025_05_44_25_10355.jpg', '/home/pi/Desktop/images/30012025/05/44/image_30012025_05_44_35_9353.jpg', '/home/pi/Desktop/images/30012025/05/44/image_30012025_05_44_45_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/43/image_30012025_05_43_45_9362.jpg
/home/pi/Desktop/images/30012025/05/43/image_30012025_05_44_06_10360.jpg
/home/pi/Desktop/images/30012025/05/44/image_30012025_05_44_15_9397.jpg
/home/pi/Desktop/images/30012025/05/44/image_30012025_05_44_25_10355.jpg
/home/pi/Desktop/images/30012025/05/44/image_30012025_05_44_35_9353.jpg
/home/pi/Desktop/images/30012025/05/44/image_30012025_05_44_45_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":["1332886326","1332886333","1332886315","1332886329","1332886323","1332886317"],"photo_ids_order":["1332886315","1332886317","1332886323","1332886326","1332886329","1332886333"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0351c64be2dcc4530071a1cd952cda17.jpg","text":"TemporaryFile(/tmp/multipartBody8707908232594534539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212353825,"filename":"image_30012025_05_44_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/30/4fd0ab6d3071ef22565b85d84c4d1391.jpg","text":"TemporaryFile(/tmp/multipartBody7466111138140338741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212353825,"filename":"image_30012025_05_44_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/30/c92e815ff1e3fcc61dbf95133325cacf.jpg","text":"TemporaryFile(/tmp/multipartBody7795086198334071310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212353825,"filename":"image_30012025_05_43_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/30/b49c5b64fb924e0ca70e2922dbf2af01.jpg","text":"TemporaryFile(/tmp/multipartBody6918381959013863304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212353825,"filename":"image_30012025_05_44_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/30/52aefe975a9601d3186374a2a3c01008.jpg","text":"TemporaryFile(/tmp/multipartBody1167480582785568667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212353825,"filename":"image_30012025_05_44_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/30/813bcfe230e2a1c16d01e4538536c7a3.jpg","text":"TemporaryFile(/tmp/multipartBody2833679583249123722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212353825,"filename":"image_30012025_05_44_06_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332886323","file1":"1332886317","file0":"1332886315","file4":"1332886329","file5":"1332886333","file3":"1332886326"},"map_files_photo_id_array":[{"photo_id":"1332886333","filename":"file5"},{"photo_id":"1332886323","filename":"file2"},{"photo_id":"1332886329","filename":"file4"},{"photo_id":"1332886317","filename":"file1"},{"photo_id":"1332886315","filename":"file0"},{"photo_id":"1332886326","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332886326":["hashtag1","hashtag2"]},{"1332886333":["hashtag1","hashtag2"]},{"1332886315":["hashtag1","hashtag2"]},{"1332886329":["hashtag1","hashtag2"]},{"1332886323":["hashtag1","hashtag2"]},{"1332886317":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332886326, 1332886333, 1332886315, 1332886329, 1332886323, 1332886317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.1969575881958 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 05:45:43.138693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/44/image_30012025_05_44_55_10360.jpg', '/home/pi/Desktop/images/30012025/05/44/image_30012025_05_45_05_9327.jpg', '/home/pi/Desktop/images/30012025/05/45/image_30012025_05_45_15_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/44/image_30012025_05_44_55_10360.jpg
/home/pi/Desktop/images/30012025/05/44/image_30012025_05_45_05_9327.jpg
/home/pi/Desktop/images/30012025/05/45/image_30012025_05_45_15_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":["1332886421","1332886534","1332886344"],"photo_ids_order":["1332886344","1332886421","1332886534"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/00e3ca4e10429c26041346f250d83e65.jpg","text":"TemporaryFile(/tmp/multipartBody1324988539741926894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212403999,"filename":"image_30012025_05_45_05_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/30/1a560aef272152439d67bc348604fdfe.jpg","text":"TemporaryFile(/tmp/multipartBody9185986415022358330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212403999,"filename":"image_30012025_05_45_15_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1a3f241dc88a98f9208e926825470d3b.jpg","text":"TemporaryFile(/tmp/multipartBody6551579859072625507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212403999,"filename":"image_30012025_05_44_55_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332886534","file1":"1332886421","file0":"1332886344"},"map_files_photo_id_array":[{"photo_id":"1332886534","filename":"file2"},{"photo_id":"1332886421","filename":"file1"},{"photo_id":"1332886344","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332886421":["hashtag1","hashtag2"]},{"1332886534":["hashtag1","hashtag2"]},{"1332886344":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332886421, 1332886534, 1332886344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.92522692680359 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:46:32.331481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/45/image_30012025_05_45_56_10370.jpg', '/home/pi/Desktop/images/30012025/05/46/image_30012025_05_46_15_10412.jpg', '/home/pi/Desktop/images/30012025/05/46/image_30012025_05_46_25_9367.jpg', '/home/pi/Desktop/images/30012025/05/46/image_30012025_05_46_35_10344.jpg', '/home/pi/Desktop/images/30012025/05/46/image_30012025_05_46_45_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/45/image_30012025_05_45_56_10370.jpg
/home/pi/Desktop/images/30012025/05/46/image_30012025_05_46_15_10412.jpg
/home/pi/Desktop/images/30012025/05/46/image_30012025_05_46_25_9367.jpg
/home/pi/Desktop/images/30012025/05/46/image_30012025_05_46_35_10344.jpg
/home/pi/Desktop/images/30012025/05/46/image_30012025_05_46_45_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332886757","1332886744","1332886755","1332886749","1332886731"],"photo_ids_order":["1332886731","1332886744","1332886749","1332886755","1332886757"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e27d87a00bc7e3cd2e6d1d5b9377fc3b.jpg","text":"TemporaryFile(/tmp/multipartBody8946133306694454481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212453222,"filename":"image_30012025_05_46_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/30/74d796ab2d6198e68c745ef08fca709d.jpg","text":"TemporaryFile(/tmp/multipartBody3850274241077017182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212453222,"filename":"image_30012025_05_46_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/30/b19c29934e4cdf35d222467e37ccf279.jpg","text":"TemporaryFile(/tmp/multipartBody2598870167877845930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212453222,"filename":"image_30012025_05_46_35_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e009c5e309b8f90e9e4ad6b77270f717.jpg","text":"TemporaryFile(/tmp/multipartBody1485771744308549807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212453222,"filename":"image_30012025_05_46_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/30/ab3446cbf443433c7199d0b921118fce.jpg","text":"TemporaryFile(/tmp/multipartBody8838396776643609476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212453222,"filename":"image_30012025_05_45_56_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332886749","file1":"1332886744","file0":"1332886731","file4":"1332886757","file3":"1332886755"},"map_files_photo_id_array":[{"photo_id":"1332886749","filename":"file2"},{"photo_id":"1332886757","filename":"file4"},{"photo_id":"1332886744","filename":"file1"},{"photo_id":"1332886731","filename":"file0"},{"photo_id":"1332886755","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332886757":["hashtag1","hashtag2"]},{"1332886744":["hashtag1","hashtag2"]},{"1332886755":["hashtag1","hashtag2"]},{"1332886749":["hashtag1","hashtag2"]},{"1332886731":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332886757, 1332886744, 1332886755, 1332886749, 1332886731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.76990866661072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:47:32.425843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/46/image_30012025_05_46_55_9409.jpg', '/home/pi/Desktop/images/30012025/05/47/image_30012025_05_47_16_10347.jpg', '/home/pi/Desktop/images/30012025/05/47/image_30012025_05_47_25_9471.jpg', '/home/pi/Desktop/images/30012025/05/47/image_30012025_05_47_35_10406.jpg', '/home/pi/Desktop/images/30012025/05/47/image_30012025_05_47_45_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/46/image_30012025_05_46_55_9409.jpg
/home/pi/Desktop/images/30012025/05/47/image_30012025_05_47_16_10347.jpg
/home/pi/Desktop/images/30012025/05/47/image_30012025_05_47_25_9471.jpg
/home/pi/Desktop/images/30012025/05/47/image_30012025_05_47_35_10406.jpg
/home/pi/Desktop/images/30012025/05/47/image_30012025_05_47_45_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332886815","1332886800","1332886793","1332886805","1332886797"],"photo_ids_order":["1332886793","1332886797","1332886800","1332886805","1332886815"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d1bb63677e977050c4fd0a3344389d33.jpg","text":"TemporaryFile(/tmp/multipartBody5095496379393786138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212513327,"filename":"image_30012025_05_47_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/30/beb4b137c17825b66ce5e0f24f512e73.jpg","text":"TemporaryFile(/tmp/multipartBody7327487108801039156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212513327,"filename":"image_30012025_05_47_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/30/e9941f4a6ad7b63eeb97916ccf678b63.jpg","text":"TemporaryFile(/tmp/multipartBody879232258415249362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212513327,"filename":"image_30012025_05_46_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/30/24c144d5bf1e288751fbd514c8d34aa8.jpg","text":"TemporaryFile(/tmp/multipartBody2360551994267398766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212513327,"filename":"image_30012025_05_47_35_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/30/4894f790927024fad9e6f6dc53cff302.jpg","text":"TemporaryFile(/tmp/multipartBody3220366236457605750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212513327,"filename":"image_30012025_05_47_16_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332886800","file1":"1332886797","file0":"1332886793","file4":"1332886815","file3":"1332886805"},"map_files_photo_id_array":[{"photo_id":"1332886800","filename":"file2"},{"photo_id":"1332886815","filename":"file4"},{"photo_id":"1332886797","filename":"file1"},{"photo_id":"1332886793","filename":"file0"},{"photo_id":"1332886805","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332886815":["hashtag1","hashtag2"]},{"1332886800":["hashtag1","hashtag2"]},{"1332886793":["hashtag1","hashtag2"]},{"1332886805":["hashtag1","hashtag2"]},{"1332886797":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332886815, 1332886800, 1332886793, 1332886805, 1332886797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.65063714981079 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:48:32.681311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/47/image_30012025_05_47_55_10379.jpg', '/home/pi/Desktop/images/30012025/05/47/image_30012025_05_48_06_10413.jpg', '/home/pi/Desktop/images/30012025/05/48/image_30012025_05_48_15_9440.jpg', '/home/pi/Desktop/images/30012025/05/48/image_30012025_05_48_25_10381.jpg', '/home/pi/Desktop/images/30012025/05/48/image_30012025_05_48_35_9416.jpg', '/home/pi/Desktop/images/30012025/05/48/image_30012025_05_48_45_10439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/47/image_30012025_05_47_55_10379.jpg
/home/pi/Desktop/images/30012025/05/47/image_30012025_05_48_06_10413.jpg
/home/pi/Desktop/images/30012025/05/48/image_30012025_05_48_15_9440.jpg
/home/pi/Desktop/images/30012025/05/48/image_30012025_05_48_25_10381.jpg
/home/pi/Desktop/images/30012025/05/48/image_30012025_05_48_35_9416.jpg
/home/pi/Desktop/images/30012025/05/48/image_30012025_05_48_45_10439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332887299","1332887089","1332887425","1332887388","1332887220","1332887409"],"photo_ids_order":["1332887089","1332887220","1332887299","1332887388","1332887409","1332887425"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ad79152a3f5b61351a3d97b27c979b19.jpg","text":"TemporaryFile(/tmp/multipartBody4312391935212427954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212573604,"filename":"image_30012025_05_48_15_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/30/b4184c325c99d6d9ff5bdeedf760485b.jpg","text":"TemporaryFile(/tmp/multipartBody8646956661505772992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212573604,"filename":"image_30012025_05_47_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/30/1dd1f25779c91e82d2409dcd68fbe9e0.jpg","text":"TemporaryFile(/tmp/multipartBody4609288809957428609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212573604,"filename":"image_30012025_05_48_45_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3b97077b0e9e8133264ea02f486deef4.jpg","text":"TemporaryFile(/tmp/multipartBody901144163341418481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212573604,"filename":"image_30012025_05_48_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/30/7becebeca55fd41083d5a148f622bfec.jpg","text":"TemporaryFile(/tmp/multipartBody6266306625945502179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212573604,"filename":"image_30012025_05_48_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/30/90ce37db26d095d359a2e54bb534f546.jpg","text":"TemporaryFile(/tmp/multipartBody906558619523585107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212573604,"filename":"image_30012025_05_48_35_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332887299","file1":"1332887220","file0":"1332887089","file4":"1332887409","file5":"1332887425","file3":"1332887388"},"map_files_photo_id_array":[{"photo_id":"1332887425","filename":"file5"},{"photo_id":"1332887299","filename":"file2"},{"photo_id":"1332887409","filename":"file4"},{"photo_id":"1332887220","filename":"file1"},{"photo_id":"1332887089","filename":"file0"},{"photo_id":"1332887388","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332887299":["hashtag1","hashtag2"]},{"1332887089":["hashtag1","hashtag2"]},{"1332887425":["hashtag1","hashtag2"]},{"1332887388":["hashtag1","hashtag2"]},{"1332887220":["hashtag1","hashtag2"]},{"1332887409":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332887299, 1332887089, 1332887425, 1332887388, 1332887220, 1332887409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.55496835708618 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:49:32.980272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/48/image_30012025_05_48_56_10337.jpg', '/home/pi/Desktop/images/30012025/05/48/image_30012025_05_49_05_9421.jpg', '/home/pi/Desktop/images/30012025/05/49/image_30012025_05_49_35_10403.jpg', '/home/pi/Desktop/images/30012025/05/49/image_30012025_05_49_45_9438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/48/image_30012025_05_48_56_10337.jpg
/home/pi/Desktop/images/30012025/05/48/image_30012025_05_49_05_9421.jpg
/home/pi/Desktop/images/30012025/05/49/image_30012025_05_49_35_10403.jpg
/home/pi/Desktop/images/30012025/05/49/image_30012025_05_49_45_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":["1332887522","1332887449","1332887667","1332887573"],"photo_ids_order":["1332887449","1332887522","1332887573","1332887667"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1a4f69d6cc70d9b59b969153bf78e5db.jpg","text":"TemporaryFile(/tmp/multipartBody7416458390554303241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212633850,"filename":"image_30012025_05_49_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/30/9e081c8108b72511edcee451d77731b3.jpg","text":"TemporaryFile(/tmp/multipartBody6884400943925265577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212633850,"filename":"image_30012025_05_48_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/30/368d68ba0be92a8964ae363c92ae4a58.jpg","text":"TemporaryFile(/tmp/multipartBody5641438393018238933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212633850,"filename":"image_30012025_05_49_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/30/3d757cbc645617ba6af5c0b35cec2bd0.jpg","text":"TemporaryFile(/tmp/multipartBody1094029899755300870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212633850,"filename":"image_30012025_05_49_35_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332887573","file1":"1332887522","file0":"1332887449","file3":"1332887667"},"map_files_photo_id_array":[{"photo_id":"1332887573","filename":"file2"},{"photo_id":"1332887522","filename":"file1"},{"photo_id":"1332887449","filename":"file0"},{"photo_id":"1332887667","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332887522":["hashtag1","hashtag2"]},{"1332887449":["hashtag1","hashtag2"]},{"1332887667":["hashtag1","hashtag2"]},{"1332887573":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332887522, 1332887449, 1332887667, 1332887573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.577437162399292 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:50:33.203289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/49/image_30012025_05_49_55_10492.jpg', '/home/pi/Desktop/images/30012025/05/49/image_30012025_05_50_05_10346.jpg', '/home/pi/Desktop/images/30012025/05/50/image_30012025_05_50_15_9425.jpg', '/home/pi/Desktop/images/30012025/05/50/image_30012025_05_50_35_9424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/49/image_30012025_05_49_55_10492.jpg
/home/pi/Desktop/images/30012025/05/49/image_30012025_05_50_05_10346.jpg
/home/pi/Desktop/images/30012025/05/50/image_30012025_05_50_15_9425.jpg
/home/pi/Desktop/images/30012025/05/50/image_30012025_05_50_35_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":["1332887810","1332887815","1332887812","1332887820"],"photo_ids_order":["1332887810","1332887812","1332887815","1332887820"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c892074be6daf868603c3cc6335a7561.jpg","text":"TemporaryFile(/tmp/multipartBody622488573555713792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212694077,"filename":"image_30012025_05_49_55_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fce707136fd6b1865d7d7c908b344ebe.jpg","text":"TemporaryFile(/tmp/multipartBody7510999779253968773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212694077,"filename":"image_30012025_05_50_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/30/eb4b3cac4ab1a005279f290e3f2e9f14.jpg","text":"TemporaryFile(/tmp/multipartBody2544883311192419865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212694077,"filename":"image_30012025_05_50_05_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c20a6e18d508da16e29c77ca6cf6088b.jpg","text":"TemporaryFile(/tmp/multipartBody2593745567139551610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212694077,"filename":"image_30012025_05_50_35_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332887815","file1":"1332887812","file0":"1332887810","file3":"1332887820"},"map_files_photo_id_array":[{"photo_id":"1332887815","filename":"file2"},{"photo_id":"1332887812","filename":"file1"},{"photo_id":"1332887810","filename":"file0"},{"photo_id":"1332887820","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332887810":["hashtag1","hashtag2"]},{"1332887815":["hashtag1","hashtag2"]},{"1332887812":["hashtag1","hashtag2"]},{"1332887820":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332887810, 1332887815, 1332887812, 1332887820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.39332103729248 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:51:32.350856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/50/image_30012025_05_50_45_10351.jpg', '/home/pi/Desktop/images/30012025/05/50/image_30012025_05_51_05_9419.jpg', '/home/pi/Desktop/images/30012025/05/51/image_30012025_05_51_15_10347.jpg', '/home/pi/Desktop/images/30012025/05/51/image_30012025_05_51_45_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/50/image_30012025_05_50_45_10351.jpg
/home/pi/Desktop/images/30012025/05/50/image_30012025_05_51_05_9419.jpg
/home/pi/Desktop/images/30012025/05/51/image_30012025_05_51_15_10347.jpg
/home/pi/Desktop/images/30012025/05/51/image_30012025_05_51_45_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332887872","1332887865","1332888009","1332887910"],"photo_ids_order":["1332887865","1332887872","1332887910","1332888009"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/28d7e54f967c75e194dedfe8afe03601.jpg","text":"TemporaryFile(/tmp/multipartBody3689971271772493202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212753242,"filename":"image_30012025_05_51_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/30/44455553964e1c8d329a34af95c20a23.jpg","text":"TemporaryFile(/tmp/multipartBody7753718745430221769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212753242,"filename":"image_30012025_05_50_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/30/4850a51f65cffd866e40d6755d67a6b9.jpg","text":"TemporaryFile(/tmp/multipartBody7548879132317795124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212753242,"filename":"image_30012025_05_51_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/30/a5256f6b3d3784f135e7b59bab6fba9e.jpg","text":"TemporaryFile(/tmp/multipartBody4814719917321509889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212753242,"filename":"image_30012025_05_51_15_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332887910","file1":"1332887872","file0":"1332887865","file3":"1332888009"},"map_files_photo_id_array":[{"photo_id":"1332887910","filename":"file2"},{"photo_id":"1332887872","filename":"file1"},{"photo_id":"1332887865","filename":"file0"},{"photo_id":"1332888009","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332887872":["hashtag1","hashtag2"]},{"1332887865":["hashtag1","hashtag2"]},{"1332888009":["hashtag1","hashtag2"]},{"1332887910":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332887872, 1332887865, 1332888009, 1332887910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 32.99171590805054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:52:32.486301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/51/image_30012025_05_51_55_9341.jpg', '/home/pi/Desktop/images/30012025/05/51/image_30012025_05_52_05_10423.jpg', '/home/pi/Desktop/images/30012025/05/52/image_30012025_05_52_16_10357.jpg', '/home/pi/Desktop/images/30012025/05/52/image_30012025_05_52_25_9477.jpg', '/home/pi/Desktop/images/30012025/05/52/image_30012025_05_52_45_9511.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/51/image_30012025_05_51_55_9341.jpg
/home/pi/Desktop/images/30012025/05/51/image_30012025_05_52_05_10423.jpg
/home/pi/Desktop/images/30012025/05/52/image_30012025_05_52_16_10357.jpg
/home/pi/Desktop/images/30012025/05/52/image_30012025_05_52_25_9477.jpg
/home/pi/Desktop/images/30012025/05/52/image_30012025_05_52_45_9511.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332888376","1332888348","1332888276","1332888353","1332888341"],"photo_ids_order":["1332888276","1332888341","1332888348","1332888353","1332888376"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d16ee6bc75a28e8367ba3a59386d0efe.jpg","text":"TemporaryFile(/tmp/multipartBody5480186852578366931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212813391,"filename":"image_30012025_05_52_45_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/30/5faa037864858cc0b0df7bd152d13642.jpg","text":"TemporaryFile(/tmp/multipartBody5054666139057453359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212813391,"filename":"image_30012025_05_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/30/6558dd744a8ab4126e8143bbf772b3b4.jpg","text":"TemporaryFile(/tmp/multipartBody3883628181195011844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212813391,"filename":"image_30012025_05_51_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/30/e953528f3572759bf9019c69347f24d4.jpg","text":"TemporaryFile(/tmp/multipartBody7790088721984723224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212813391,"filename":"image_30012025_05_52_25_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/594f49e7ead56786c956336c2f297030.jpg","text":"TemporaryFile(/tmp/multipartBody6040350007663297075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212813391,"filename":"image_30012025_05_52_05_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332888348","file1":"1332888341","file0":"1332888276","file4":"1332888376","file3":"1332888353"},"map_files_photo_id_array":[{"photo_id":"1332888348","filename":"file2"},{"photo_id":"1332888376","filename":"file4"},{"photo_id":"1332888341","filename":"file1"},{"photo_id":"1332888276","filename":"file0"},{"photo_id":"1332888353","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332888376":["hashtag1","hashtag2"]},{"1332888348":["hashtag1","hashtag2"]},{"1332888276":["hashtag1","hashtag2"]},{"1332888353":["hashtag1","hashtag2"]},{"1332888341":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332888376, 1332888348, 1332888276, 1332888353, 1332888341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 39.83848452568054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:53:32.655297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/52/image_30012025_05_52_55_10404.jpg', '/home/pi/Desktop/images/30012025/05/52/image_30012025_05_53_05_9400.jpg', '/home/pi/Desktop/images/30012025/05/53/image_30012025_05_53_26_10355.jpg', '/home/pi/Desktop/images/30012025/05/53/image_30012025_05_53_35_9485.jpg', '/home/pi/Desktop/images/30012025/05/53/image_30012025_05_53_45_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/52/image_30012025_05_52_55_10404.jpg
/home/pi/Desktop/images/30012025/05/52/image_30012025_05_53_05_9400.jpg
/home/pi/Desktop/images/30012025/05/53/image_30012025_05_53_26_10355.jpg
/home/pi/Desktop/images/30012025/05/53/image_30012025_05_53_35_9485.jpg
/home/pi/Desktop/images/30012025/05/53/image_30012025_05_53_45_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.5045039653778076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 05:53:42.770923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/52/image_30012025_05_52_55_10404.jpg', '/home/pi/Desktop/images/30012025/05/52/image_30012025_05_53_05_9400.jpg', '/home/pi/Desktop/images/30012025/05/53/image_30012025_05_53_26_10355.jpg', '/home/pi/Desktop/images/30012025/05/53/image_30012025_05_53_35_9485.jpg', '/home/pi/Desktop/images/30012025/05/53/image_30012025_05_53_45_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/52/image_30012025_05_52_55_10404.jpg
/home/pi/Desktop/images/30012025/05/52/image_30012025_05_53_05_9400.jpg
/home/pi/Desktop/images/30012025/05/53/image_30012025_05_53_26_10355.jpg
/home/pi/Desktop/images/30012025/05/53/image_30012025_05_53_35_9485.jpg
/home/pi/Desktop/images/30012025/05/53/image_30012025_05_53_45_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":["1332888498","1332888502","1332888480","1332888500","1332888490"],"photo_ids_order":["1332888480","1332888490","1332888498","1332888500","1332888502"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dceaa5adc511fa1f78ea7ed8db4c785f.jpg","text":"TemporaryFile(/tmp/multipartBody6369960796723344123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212883661,"filename":"image_30012025_05_53_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/30/c784ac99cd26d333f38a239e0137ea10.jpg","text":"TemporaryFile(/tmp/multipartBody2580852730478694083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212883661,"filename":"image_30012025_05_53_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/30/f3b7a20055b9989c538f22c467febbf6.jpg","text":"TemporaryFile(/tmp/multipartBody3854664880791887139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212883661,"filename":"image_30012025_05_52_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/30/fa5d9a60770f0b8ca8e349af1e08ec42.jpg","text":"TemporaryFile(/tmp/multipartBody3609822423726917868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212883661,"filename":"image_30012025_05_53_35_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/30/f0db57c856425577cc3d9f25e3c26a97.jpg","text":"TemporaryFile(/tmp/multipartBody8293146602583549301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212883661,"filename":"image_30012025_05_53_05_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332888498","file1":"1332888490","file0":"1332888480","file4":"1332888502","file3":"1332888500"},"map_files_photo_id_array":[{"photo_id":"1332888498","filename":"file2"},{"photo_id":"1332888502","filename":"file4"},{"photo_id":"1332888490","filename":"file1"},{"photo_id":"1332888480","filename":"file0"},{"photo_id":"1332888500","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332888498":["hashtag1","hashtag2"]},{"1332888502":["hashtag1","hashtag2"]},{"1332888480":["hashtag1","hashtag2"]},{"1332888500":["hashtag1","hashtag2"]},{"1332888490":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332888498, 1332888502, 1332888480, 1332888500, 1332888490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.07391381263733 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:54:32.890577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/53/image_30012025_05_53_55_9420.jpg', '/home/pi/Desktop/images/30012025/05/53/image_30012025_05_54_05_10407.jpg', '/home/pi/Desktop/images/30012025/05/54/image_30012025_05_54_35_10430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/53/image_30012025_05_53_55_9420.jpg
/home/pi/Desktop/images/30012025/05/53/image_30012025_05_54_05_10407.jpg
/home/pi/Desktop/images/30012025/05/54/image_30012025_05_54_35_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332888535","1332888538","1332888532"],"photo_ids_order":["1332888532","1332888535","1332888538"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dc7a01417e8c4c5ab80b2b1792635c30.jpg","text":"TemporaryFile(/tmp/multipartBody3883653467761094940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212933750,"filename":"image_30012025_05_54_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/30/814af6e735107fe82e2f6551da90983b.jpg","text":"TemporaryFile(/tmp/multipartBody6778604926827716661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212933750,"filename":"image_30012025_05_54_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/30/6ac10c15e70efcacf08bef8e2a6d65be.jpg","text":"TemporaryFile(/tmp/multipartBody3481704057966854678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212933750,"filename":"image_30012025_05_53_55_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332888538","file1":"1332888535","file0":"1332888532"},"map_files_photo_id_array":[{"photo_id":"1332888538","filename":"file2"},{"photo_id":"1332888535","filename":"file1"},{"photo_id":"1332888532","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332888535":["hashtag1","hashtag2"]},{"1332888538":["hashtag1","hashtag2"]},{"1332888532":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332888535, 1332888538, 1332888532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.1413152217865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 05:55:04.321457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/32/image_28012025_20_32_45_10524.jpg', '/home/pi/Desktop/images/28012025/20/32/image_28012025_20_32_55_9356.jpg', '/home/pi/Desktop/images/28012025/20/32/image_28012025_20_33_05_10352.jpg', '/home/pi/Desktop/images/28012025/20/33/image_28012025_20_33_14_9410.jpg', '/home/pi/Desktop/images/28012025/20/33/image_28012025_20_33_25_10361.jpg', '/home/pi/Desktop/images/28012025/20/33/image_28012025_20_33_35_10403.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/32/image_28012025_20_32_45_10524.jpg
/home/pi/Desktop/images/28012025/20/32/image_28012025_20_32_55_9356.jpg
/home/pi/Desktop/images/28012025/20/32/image_28012025_20_33_05_10352.jpg
/home/pi/Desktop/images/28012025/20/33/image_28012025_20_33_14_9410.jpg
/home/pi/Desktop/images/28012025/20/33/image_28012025_20_33_25_10361.jpg
/home/pi/Desktop/images/28012025/20/33/image_28012025_20_33_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":["1332888594","1332888579","1332888546","1332888549","1332888606","1332888569"],"photo_ids_order":["1332888546","1332888549","1332888569","1332888579","1332888594","1332888606"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/206bc67b03a7924098e187a9ed0e5ef2.jpg","text":"TemporaryFile(/tmp/multipartBody4537022248837483025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212966337,"filename":"image_28012025_20_33_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ecfca0097072a17d73f97cf0fa81519a.jpg","text":"TemporaryFile(/tmp/multipartBody6175923714477020701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212966337,"filename":"image_28012025_20_33_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/30/9cffa2107882232a618120b2d4e5d642.jpg","text":"TemporaryFile(/tmp/multipartBody1633673319458067844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212966337,"filename":"image_28012025_20_32_45_10524.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3df373c3b7c087bb0dadca83d79870a0.jpg","text":"TemporaryFile(/tmp/multipartBody658854486263615418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212966337,"filename":"image_28012025_20_32_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/30/c9366b9cc781869e08f74e8d428e3b8d.jpg","text":"TemporaryFile(/tmp/multipartBody3223005732867354606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212966337,"filename":"image_28012025_20_33_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/30/57e76a30a10a946b0faa622eb60f93eb.jpg","text":"TemporaryFile(/tmp/multipartBody3319540193590149797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738212966337,"filename":"image_28012025_20_33_05_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332888569","file1":"1332888549","file0":"1332888546","file4":"1332888594","file5":"1332888606","file3":"1332888579"},"map_files_photo_id_array":[{"photo_id":"1332888606","filename":"file5"},{"photo_id":"1332888569","filename":"file2"},{"photo_id":"1332888594","filename":"file4"},{"photo_id":"1332888549","filename":"file1"},{"photo_id":"1332888546","filename":"file0"},{"photo_id":"1332888579","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332888594":["hashtag1","hashtag2"]},{"1332888579":["hashtag1","hashtag2"]},{"1332888546":["hashtag1","hashtag2"]},{"1332888549":["hashtag1","hashtag2"]},{"1332888606":["hashtag1","hashtag2"]},{"1332888569":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332888594, 1332888579, 1332888546, 1332888549, 1332888606, 1332888569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.52827429771423 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 05:56:03.027852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/54/image_30012025_05_54_45_9469.jpg', '/home/pi/Desktop/images/30012025/05/54/image_30012025_05_55_05_9376.jpg', '/home/pi/Desktop/images/30012025/05/55/image_30012025_05_55_15_10446.jpg', '/home/pi/Desktop/images/30012025/05/55/image_30012025_05_55_35_9355.jpg', '/home/pi/Desktop/images/30012025/05/55/image_30012025_05_55_45_10387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/54/image_30012025_05_54_45_9469.jpg
/home/pi/Desktop/images/30012025/05/54/image_30012025_05_55_05_9376.jpg
/home/pi/Desktop/images/30012025/05/55/image_30012025_05_55_15_10446.jpg
/home/pi/Desktop/images/30012025/05/55/image_30012025_05_55_35_9355.jpg
/home/pi/Desktop/images/30012025/05/55/image_30012025_05_55_45_10387.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5358378887176514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:56:32.366227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/54/image_30012025_05_54_45_9469.jpg', '/home/pi/Desktop/images/30012025/05/54/image_30012025_05_55_05_9376.jpg', '/home/pi/Desktop/images/30012025/05/55/image_30012025_05_55_15_10446.jpg', '/home/pi/Desktop/images/30012025/05/55/image_30012025_05_55_35_9355.jpg', '/home/pi/Desktop/images/30012025/05/55/image_30012025_05_55_45_10387.jpg', '/home/pi/Desktop/images/30012025/05/55/image_30012025_05_55_56_10380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/54/image_30012025_05_54_45_9469.jpg
/home/pi/Desktop/images/30012025/05/54/image_30012025_05_55_05_9376.jpg
/home/pi/Desktop/images/30012025/05/55/image_30012025_05_55_15_10446.jpg
/home/pi/Desktop/images/30012025/05/55/image_30012025_05_55_35_9355.jpg
/home/pi/Desktop/images/30012025/05/55/image_30012025_05_55_45_10387.jpg
/home/pi/Desktop/images/30012025/05/55/image_30012025_05_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":["1332888809","1332888800","1332888792","1332888804","1332888806","1332888796"],"photo_ids_order":["1332888792","1332888796","1332888800","1332888804","1332888806","1332888809"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f8db5faa85d345fb88f9d9d361709971.jpg","text":"TemporaryFile(/tmp/multipartBody2995248916730698680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213053274,"filename":"image_30012025_05_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/30/fb7de03b1e9d88386dc0aea225822cae.jpg","text":"TemporaryFile(/tmp/multipartBody5461076425603481797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213053274,"filename":"image_30012025_05_55_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/30/560026caf32047576f547869d23478cb.jpg","text":"TemporaryFile(/tmp/multipartBody6406253899426684364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213053274,"filename":"image_30012025_05_54_45_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/30/b2f4ddb8b4998fb5366980a82c682c8b.jpg","text":"TemporaryFile(/tmp/multipartBody5978707331649634887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213053274,"filename":"image_30012025_05_55_35_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e098eea1792e2341a4ee6bc23accdbd2.jpg","text":"TemporaryFile(/tmp/multipartBody2122641475731735736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213053274,"filename":"image_30012025_05_55_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/30/6cb9b7b3ebd6066c8619630d5e0df8b3.jpg","text":"TemporaryFile(/tmp/multipartBody5288346279072326204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213053274,"filename":"image_30012025_05_55_05_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332888800","file1":"1332888796","file0":"1332888792","file4":"1332888806","file5":"1332888809","file3":"1332888804"},"map_files_photo_id_array":[{"photo_id":"1332888809","filename":"file5"},{"photo_id":"1332888800","filename":"file2"},{"photo_id":"1332888806","filename":"file4"},{"photo_id":"1332888796","filename":"file1"},{"photo_id":"1332888792","filename":"file0"},{"photo_id":"1332888804","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332888809":["hashtag1","hashtag2"]},{"1332888800":["hashtag1","hashtag2"]},{"1332888792":["hashtag1","hashtag2"]},{"1332888804":["hashtag1","hashtag2"]},{"1332888806":["hashtag1","hashtag2"]},{"1332888796":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332888809, 1332888800, 1332888792, 1332888804, 1332888806, 1332888796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.98371171951294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:57:32.490065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/55/image_30012025_05_56_05_9409.jpg', '/home/pi/Desktop/images/30012025/05/56/image_30012025_05_56_15_10385.jpg', '/home/pi/Desktop/images/30012025/05/56/image_30012025_05_56_25_9424.jpg', '/home/pi/Desktop/images/30012025/05/56/image_30012025_05_56_35_10363.jpg', '/home/pi/Desktop/images/30012025/05/56/image_30012025_05_56_46_10367.jpg', '/home/pi/Desktop/images/30012025/05/56/image_30012025_05_56_55_9396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/55/image_30012025_05_56_05_9409.jpg
/home/pi/Desktop/images/30012025/05/56/image_30012025_05_56_15_10385.jpg
/home/pi/Desktop/images/30012025/05/56/image_30012025_05_56_25_9424.jpg
/home/pi/Desktop/images/30012025/05/56/image_30012025_05_56_35_10363.jpg
/home/pi/Desktop/images/30012025/05/56/image_30012025_05_56_46_10367.jpg
/home/pi/Desktop/images/30012025/05/56/image_30012025_05_56_55_9396.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-30 05:59:03.310142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/55/image_30012025_05_56_05_9409.jpg', '/home/pi/Desktop/images/30012025/05/56/image_30012025_05_56_15_10385.jpg', '/home/pi/Desktop/images/30012025/05/56/image_30012025_05_56_25_9424.jpg', '/home/pi/Desktop/images/30012025/05/56/image_30012025_05_56_35_10363.jpg', '/home/pi/Desktop/images/30012025/05/56/image_30012025_05_56_46_10367.jpg', '/home/pi/Desktop/images/30012025/05/56/image_30012025_05_56_55_9396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/55/image_30012025_05_56_05_9409.jpg
/home/pi/Desktop/images/30012025/05/56/image_30012025_05_56_15_10385.jpg
/home/pi/Desktop/images/30012025/05/56/image_30012025_05_56_25_9424.jpg
/home/pi/Desktop/images/30012025/05/56/image_30012025_05_56_35_10363.jpg
/home/pi/Desktop/images/30012025/05/56/image_30012025_05_56_46_10367.jpg
/home/pi/Desktop/images/30012025/05/56/image_30012025_05_56_55_9396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332889222","1332889479","1332889458","1332889295","1332889396","1332889483"],"photo_ids_order":["1332889222","1332889295","1332889396","1332889458","1332889479","1332889483"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8757f5fa3a71e0cee879ccb2e3a89503.jpg","text":"TemporaryFile(/tmp/multipartBody3813461894768147431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213204463,"filename":"image_30012025_05_56_05_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/eb84e1b1a6c3e60a289cc1bbda6bffab.jpg","text":"TemporaryFile(/tmp/multipartBody8507368934104829525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213204463,"filename":"image_30012025_05_56_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/30/bccec00c8332cc8b075af8da3d889aa8.jpg","text":"TemporaryFile(/tmp/multipartBody807909907135096695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213204463,"filename":"image_30012025_05_56_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/30/f6d38a7ee0cd6ac15d369f2de9631bca.jpg","text":"TemporaryFile(/tmp/multipartBody1217617177502805865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213204463,"filename":"image_30012025_05_56_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/30/21c4fea76160a068a6b8344c8ef75be9.jpg","text":"TemporaryFile(/tmp/multipartBody452108143127504946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213204463,"filename":"image_30012025_05_56_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/30/67d9df0e4b77b77510d16d31e7c4a50a.jpg","text":"TemporaryFile(/tmp/multipartBody1790666982488480256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213204463,"filename":"image_30012025_05_56_55_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332889396","file1":"1332889295","file0":"1332889222","file4":"1332889479","file5":"1332889483","file3":"1332889458"},"map_files_photo_id_array":[{"photo_id":"1332889483","filename":"file5"},{"photo_id":"1332889396","filename":"file2"},{"photo_id":"1332889479","filename":"file4"},{"photo_id":"1332889295","filename":"file1"},{"photo_id":"1332889222","filename":"file0"},{"photo_id":"1332889458","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332889222":["hashtag1","hashtag2"]},{"1332889479":["hashtag1","hashtag2"]},{"1332889458":["hashtag1","hashtag2"]},{"1332889295":["hashtag1","hashtag2"]},{"1332889396":["hashtag1","hashtag2"]},{"1332889483":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332889222, 1332889479, 1332889458, 1332889295, 1332889396, 1332889483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.76986241340637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 05:59:52.110182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/56/image_30012025_05_57_05_10401.jpg', '/home/pi/Desktop/images/30012025/05/57/image_30012025_05_57_15_9352.jpg', '/home/pi/Desktop/images/30012025/05/57/image_30012025_05_57_35_10423.jpg', '/home/pi/Desktop/images/30012025/05/57/image_30012025_05_57_45_9382.jpg', '/home/pi/Desktop/images/30012025/05/57/image_30012025_05_58_05_9403.jpg', '/home/pi/Desktop/images/30012025/05/58/image_30012025_05_58_15_10430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/56/image_30012025_05_57_05_10401.jpg
/home/pi/Desktop/images/30012025/05/57/image_30012025_05_57_15_9352.jpg
/home/pi/Desktop/images/30012025/05/57/image_30012025_05_57_35_10423.jpg
/home/pi/Desktop/images/30012025/05/57/image_30012025_05_57_45_9382.jpg
/home/pi/Desktop/images/30012025/05/57/image_30012025_05_58_05_9403.jpg
/home/pi/Desktop/images/30012025/05/58/image_30012025_05_58_15_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332889540","1332889692","1332889494","1332889606","1332889512","1332889703"],"photo_ids_order":["1332889494","1332889512","1332889540","1332889606","1332889692","1332889703"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b659d1ce4f78a8edf81b18d405da7200.jpg","text":"TemporaryFile(/tmp/multipartBody4324010455842858444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213253019,"filename":"image_30012025_05_57_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/30/348776ad5eefd30cbaa6fe5f8b926f9e.jpg","text":"TemporaryFile(/tmp/multipartBody2580980698554354627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213253019,"filename":"image_30012025_05_58_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/30/4e1f7ceae4a9f9abd82764f0872693f3.jpg","text":"TemporaryFile(/tmp/multipartBody6951377765308113407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213253019,"filename":"image_30012025_05_57_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/30/8d330dc89f3de4e31e05154a6cc20c17.jpg","text":"TemporaryFile(/tmp/multipartBody2646499691114177288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213253019,"filename":"image_30012025_05_57_45_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/30/be30de7d325d95968146359cfa5e2659.jpg","text":"TemporaryFile(/tmp/multipartBody3085918714153800528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213253019,"filename":"image_30012025_05_57_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/30/f2b890d7a2e9175f897e8f0aa8c0f437.jpg","text":"TemporaryFile(/tmp/multipartBody6132446465715684863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213253019,"filename":"image_30012025_05_58_15_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332889540","file1":"1332889512","file0":"1332889494","file4":"1332889692","file5":"1332889703","file3":"1332889606"},"map_files_photo_id_array":[{"photo_id":"1332889703","filename":"file5"},{"photo_id":"1332889540","filename":"file2"},{"photo_id":"1332889692","filename":"file4"},{"photo_id":"1332889512","filename":"file1"},{"photo_id":"1332889494","filename":"file0"},{"photo_id":"1332889606","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332889540":["hashtag1","hashtag2"]},{"1332889692":["hashtag1","hashtag2"]},{"1332889494":["hashtag1","hashtag2"]},{"1332889606":["hashtag1","hashtag2"]},{"1332889512":["hashtag1","hashtag2"]},{"1332889703":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332889540, 1332889692, 1332889494, 1332889606, 1332889512, 1332889703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.94344758987427 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 06:00:42.441812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/58/image_30012025_05_58_46_10486.jpg', '/home/pi/Desktop/images/30012025/05/58/image_30012025_05_58_55_9342.jpg', '/home/pi/Desktop/images/30012025/05/58/image_30012025_05_59_05_10417.jpg', '/home/pi/Desktop/images/30012025/05/59/image_30012025_05_59_15_9346.jpg', '/home/pi/Desktop/images/30012025/05/59/image_30012025_05_59_25_10495.jpg', '/home/pi/Desktop/images/30012025/05/59/image_30012025_05_59_35_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/58/image_30012025_05_58_46_10486.jpg
/home/pi/Desktop/images/30012025/05/58/image_30012025_05_58_55_9342.jpg
/home/pi/Desktop/images/30012025/05/58/image_30012025_05_59_05_10417.jpg
/home/pi/Desktop/images/30012025/05/59/image_30012025_05_59_15_9346.jpg
/home/pi/Desktop/images/30012025/05/59/image_30012025_05_59_25_10495.jpg
/home/pi/Desktop/images/30012025/05/59/image_30012025_05_59_35_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332889890","1332889752","1332889956","1332889952","1332889960","1332889840"],"photo_ids_order":["1332889752","1332889840","1332889890","1332889952","1332889956","1332889960"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2530486e7895bd39da00740e89c0b1d2.jpg","text":"TemporaryFile(/tmp/multipartBody2425900640030793244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213303346,"filename":"image_30012025_05_59_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/30/398c1368493b8542d305563abbe0a15b.jpg","text":"TemporaryFile(/tmp/multipartBody1872480638913816949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213303346,"filename":"image_30012025_05_58_46_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/30/d149d9a9ac513bdbc0d5ef44de49cfcf.jpg","text":"TemporaryFile(/tmp/multipartBody4805659746470268498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213303346,"filename":"image_30012025_05_59_25_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/30/1973d99bd6129fe50d800ffc8e2102d3.jpg","text":"TemporaryFile(/tmp/multipartBody7304574268277873882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213303346,"filename":"image_30012025_05_59_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/30/4987690859f4f518cf5701c76230f5f7.jpg","text":"TemporaryFile(/tmp/multipartBody8533964699209018855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213303346,"filename":"image_30012025_05_59_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/30/8b037e997bdde8e65654f238b0d0d453.jpg","text":"TemporaryFile(/tmp/multipartBody1045510507322820310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213303346,"filename":"image_30012025_05_58_55_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332889890","file1":"1332889840","file0":"1332889752","file4":"1332889956","file5":"1332889960","file3":"1332889952"},"map_files_photo_id_array":[{"photo_id":"1332889960","filename":"file5"},{"photo_id":"1332889890","filename":"file2"},{"photo_id":"1332889956","filename":"file4"},{"photo_id":"1332889840","filename":"file1"},{"photo_id":"1332889752","filename":"file0"},{"photo_id":"1332889952","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332889890":["hashtag1","hashtag2"]},{"1332889752":["hashtag1","hashtag2"]},{"1332889956":["hashtag1","hashtag2"]},{"1332889952":["hashtag1","hashtag2"]},{"1332889960":["hashtag1","hashtag2"]},{"1332889840":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332889890, 1332889752, 1332889956, 1332889952, 1332889960, 1332889840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.09825277328491 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:01:32.459946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/05/59/image_30012025_05_59_45_9352.jpg', '/home/pi/Desktop/images/30012025/05/59/image_30012025_05_59_55_10447.jpg', '/home/pi/Desktop/images/30012025/06/00/image_30012025_06_00_15_10075.jpg', '/home/pi/Desktop/images/30012025/06/00/image_30012025_06_00_26_10350.jpg', '/home/pi/Desktop/images/30012025/06/00/image_30012025_06_00_36_10486.jpg', '/home/pi/Desktop/images/30012025/06/00/image_30012025_06_00_45_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/05/59/image_30012025_05_59_45_9352.jpg
/home/pi/Desktop/images/30012025/05/59/image_30012025_05_59_55_10447.jpg
/home/pi/Desktop/images/30012025/06/00/image_30012025_06_00_15_10075.jpg
/home/pi/Desktop/images/30012025/06/00/image_30012025_06_00_26_10350.jpg
/home/pi/Desktop/images/30012025/06/00/image_30012025_06_00_36_10486.jpg
/home/pi/Desktop/images/30012025/06/00/image_30012025_06_00_45_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332890572","1332890670","1332891033","1332890355","1332891201","1332890888"],"photo_ids_order":["1332890355","1332890572","1332890670","1332890888","1332891033","1332891201"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5cdf7137b415ac4bfab8bb431ce97c3e.jpg","text":"TemporaryFile(/tmp/multipartBody810311960931545551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213353369,"filename":"image_30012025_05_59_55_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/30/67a2081c93a497b7988b53de7f81d5e0.jpg","text":"TemporaryFile(/tmp/multipartBody1754625399749498631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213353369,"filename":"image_30012025_06_00_15_10075.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/94959ae2681b8e740edacdfdb674ed6d.jpg","text":"TemporaryFile(/tmp/multipartBody3335190132366137060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213353369,"filename":"image_30012025_06_00_36_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/30/85846605312b5a9963178ea49e0e2509.jpg","text":"TemporaryFile(/tmp/multipartBody5350442897914665820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213353369,"filename":"image_30012025_05_59_45_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/73ab839fe31e65248ba2a0f61f3d04cd.jpg","text":"TemporaryFile(/tmp/multipartBody7690321250179534775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213353369,"filename":"image_30012025_06_00_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/30/f80f3f36bc4666958318939a08b9b592.jpg","text":"TemporaryFile(/tmp/multipartBody4961900005480204242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213353369,"filename":"image_30012025_06_00_26_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332890670","file1":"1332890572","file0":"1332890355","file4":"1332891033","file5":"1332891201","file3":"1332890888"},"map_files_photo_id_array":[{"photo_id":"1332891201","filename":"file5"},{"photo_id":"1332890670","filename":"file2"},{"photo_id":"1332891033","filename":"file4"},{"photo_id":"1332890572","filename":"file1"},{"photo_id":"1332890355","filename":"file0"},{"photo_id":"1332890888","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332890572":["hashtag1","hashtag2"]},{"1332890670":["hashtag1","hashtag2"]},{"1332891033":["hashtag1","hashtag2"]},{"1332890355":["hashtag1","hashtag2"]},{"1332891201":["hashtag1","hashtag2"]},{"1332890888":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332890572, 1332890670, 1332891033, 1332890355, 1332891201, 1332890888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.493459939956665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:02:32.558831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/00/image_30012025_06_00_56_10401.jpg', '/home/pi/Desktop/images/30012025/06/00/image_30012025_06_01_05_9345.jpg', '/home/pi/Desktop/images/30012025/06/01/image_30012025_06_01_15_10349.jpg', '/home/pi/Desktop/images/30012025/06/01/image_30012025_06_01_26_10361.jpg', '/home/pi/Desktop/images/30012025/06/01/image_30012025_06_01_35_9357.jpg', '/home/pi/Desktop/images/30012025/06/01/image_30012025_06_01_46_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/00/image_30012025_06_00_56_10401.jpg
/home/pi/Desktop/images/30012025/06/00/image_30012025_06_01_05_9345.jpg
/home/pi/Desktop/images/30012025/06/01/image_30012025_06_01_15_10349.jpg
/home/pi/Desktop/images/30012025/06/01/image_30012025_06_01_26_10361.jpg
/home/pi/Desktop/images/30012025/06/01/image_30012025_06_01_35_9357.jpg
/home/pi/Desktop/images/30012025/06/01/image_30012025_06_01_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.5349948406219482 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 06:02:42.590463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/00/image_30012025_06_00_56_10401.jpg', '/home/pi/Desktop/images/30012025/06/00/image_30012025_06_01_05_9345.jpg', '/home/pi/Desktop/images/30012025/06/01/image_30012025_06_01_15_10349.jpg', '/home/pi/Desktop/images/30012025/06/01/image_30012025_06_01_26_10361.jpg', '/home/pi/Desktop/images/30012025/06/01/image_30012025_06_01_35_9357.jpg', '/home/pi/Desktop/images/30012025/06/01/image_30012025_06_01_46_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/00/image_30012025_06_00_56_10401.jpg
/home/pi/Desktop/images/30012025/06/00/image_30012025_06_01_05_9345.jpg
/home/pi/Desktop/images/30012025/06/01/image_30012025_06_01_15_10349.jpg
/home/pi/Desktop/images/30012025/06/01/image_30012025_06_01_26_10361.jpg
/home/pi/Desktop/images/30012025/06/01/image_30012025_06_01_35_9357.jpg
/home/pi/Desktop/images/30012025/06/01/image_30012025_06_01_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":["1332891523","1332891291","1332891513","1332891357","1332891473","1332891295"],"photo_ids_order":["1332891291","1332891295","1332891357","1332891473","1332891513","1332891523"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/82ce04b6fea298e664dfb23983d2164f.jpg","text":"TemporaryFile(/tmp/multipartBody3803548529860263607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213423531,"filename":"image_30012025_06_01_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/30/ca83cf4cae6d84107954ed35d81987fd.jpg","text":"TemporaryFile(/tmp/multipartBody886323215667063018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213423531,"filename":"image_30012025_06_00_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/30/0d3a02248623bb1fc5f20b5eec25b213.jpg","text":"TemporaryFile(/tmp/multipartBody1546300028803077451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213423531,"filename":"image_30012025_06_01_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/30/de4a8498165df6875462d9bf74711f77.jpg","text":"TemporaryFile(/tmp/multipartBody5439069267520328064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213423531,"filename":"image_30012025_06_01_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/30/a95e1f8db36c239ba40d4452b2118e03.jpg","text":"TemporaryFile(/tmp/multipartBody65922101033279179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213423531,"filename":"image_30012025_06_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/30/ec1045594a5f21691ce649c1aae78fbe.jpg","text":"TemporaryFile(/tmp/multipartBody80023632135311505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213423531,"filename":"image_30012025_06_01_05_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332891357","file1":"1332891295","file0":"1332891291","file4":"1332891513","file5":"1332891523","file3":"1332891473"},"map_files_photo_id_array":[{"photo_id":"1332891523","filename":"file5"},{"photo_id":"1332891357","filename":"file2"},{"photo_id":"1332891513","filename":"file4"},{"photo_id":"1332891295","filename":"file1"},{"photo_id":"1332891291","filename":"file0"},{"photo_id":"1332891473","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332891523":["hashtag1","hashtag2"]},{"1332891291":["hashtag1","hashtag2"]},{"1332891513":["hashtag1","hashtag2"]},{"1332891357":["hashtag1","hashtag2"]},{"1332891473":["hashtag1","hashtag2"]},{"1332891295":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332891523, 1332891291, 1332891513, 1332891357, 1332891473, 1332891295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.144777059555054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:03:32.869643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/01/image_30012025_06_01_56_10394.jpg', '/home/pi/Desktop/images/30012025/06/01/image_30012025_06_02_05_9382.jpg', '/home/pi/Desktop/images/30012025/06/02/image_30012025_06_02_16_10336.jpg', '/home/pi/Desktop/images/30012025/06/02/image_30012025_06_02_26_10437.jpg', '/home/pi/Desktop/images/30012025/06/02/image_30012025_06_02_36_9809.jpg', '/home/pi/Desktop/images/30012025/06/02/image_30012025_06_03_06_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/01/image_30012025_06_01_56_10394.jpg
/home/pi/Desktop/images/30012025/06/01/image_30012025_06_02_05_9382.jpg
/home/pi/Desktop/images/30012025/06/02/image_30012025_06_02_16_10336.jpg
/home/pi/Desktop/images/30012025/06/02/image_30012025_06_02_26_10437.jpg
/home/pi/Desktop/images/30012025/06/02/image_30012025_06_02_36_9809.jpg
/home/pi/Desktop/images/30012025/06/02/image_30012025_06_03_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":["1332891622","1332891619","1332891612","1332891615","1332891609","1332891606"],"photo_ids_order":["1332891606","1332891609","1332891612","1332891615","1332891619","1332891622"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b681e3bc2954cfd13008aa99dc564241.jpg","text":"TemporaryFile(/tmp/multipartBody6117139568628077773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213473775,"filename":"image_30012025_06_03_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/30/5c6ec384b94cbe38bfca2d8783bd1f7a.jpg","text":"TemporaryFile(/tmp/multipartBody2708377477836006776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213473775,"filename":"image_30012025_06_02_36_9809.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/effe10810c2d522015101e659262e708.jpg","text":"TemporaryFile(/tmp/multipartBody1169543642947086779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213473775,"filename":"image_30012025_06_02_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/30/fc69e390b4a564b81ce671431d5681cd.jpg","text":"TemporaryFile(/tmp/multipartBody918404673248114466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213473775,"filename":"image_30012025_06_02_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/30/1ee21e332c7cec4453c3fc9823f16f89.jpg","text":"TemporaryFile(/tmp/multipartBody5856157150071669728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213473775,"filename":"image_30012025_06_02_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/30/8f29dc8400c7e5dce8671035e071568c.jpg","text":"TemporaryFile(/tmp/multipartBody3592016069228342199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213473775,"filename":"image_30012025_06_01_56_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332891612","file1":"1332891609","file0":"1332891606","file4":"1332891619","file5":"1332891622","file3":"1332891615"},"map_files_photo_id_array":[{"photo_id":"1332891622","filename":"file5"},{"photo_id":"1332891612","filename":"file2"},{"photo_id":"1332891619","filename":"file4"},{"photo_id":"1332891609","filename":"file1"},{"photo_id":"1332891606","filename":"file0"},{"photo_id":"1332891615","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332891622":["hashtag1","hashtag2"]},{"1332891619":["hashtag1","hashtag2"]},{"1332891612":["hashtag1","hashtag2"]},{"1332891615":["hashtag1","hashtag2"]},{"1332891609":["hashtag1","hashtag2"]},{"1332891606":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332891622, 1332891619, 1332891612, 1332891615, 1332891609, 1332891606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.93739914894104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:04:33.055599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/03/image_30012025_06_03_15_9353.jpg', '/home/pi/Desktop/images/30012025/06/03/image_30012025_06_03_46_10369.jpg', '/home/pi/Desktop/images/30012025/06/03/image_30012025_06_03_56_10530.jpg', '/home/pi/Desktop/images/30012025/06/03/image_30012025_06_04_05_9400.jpg', '/home/pi/Desktop/images/30012025/06/04/image_30012025_06_04_16_10418.jpg', '/home/pi/Desktop/images/30012025/06/04/image_30012025_06_04_26_9848.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/03/image_30012025_06_03_15_9353.jpg
/home/pi/Desktop/images/30012025/06/03/image_30012025_06_03_46_10369.jpg
/home/pi/Desktop/images/30012025/06/03/image_30012025_06_03_56_10530.jpg
/home/pi/Desktop/images/30012025/06/03/image_30012025_06_04_05_9400.jpg
/home/pi/Desktop/images/30012025/06/04/image_30012025_06_04_16_10418.jpg
/home/pi/Desktop/images/30012025/06/04/image_30012025_06_04_26_9848.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332891651","1332891669","1332891660","1332891692","1332891680","1332891655"],"photo_ids_order":["1332891651","1332891655","1332891660","1332891669","1332891680","1332891692"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9818cde94b0c6c310f061c8d0a6c71b2.jpg","text":"TemporaryFile(/tmp/multipartBody9187912520942021228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213533962,"filename":"image_30012025_06_03_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/30/670ac03a53c4160575dc5b6e4c84632b.jpg","text":"TemporaryFile(/tmp/multipartBody1826299437744320882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213533962,"filename":"image_30012025_06_04_05_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/30/e0b8fa90135cd2d6d969c063e4314946.jpg","text":"TemporaryFile(/tmp/multipartBody7901085483512712117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213533962,"filename":"image_30012025_06_03_56_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/30/9eee6c3efd4b02c8c3d369bd08aa5ff1.jpg","text":"TemporaryFile(/tmp/multipartBody7294881150171011838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213533962,"filename":"image_30012025_06_04_26_9848.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/becc7ebbfbdb333c4dd92084bf5755e8.jpg","text":"TemporaryFile(/tmp/multipartBody1772551191618521409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213533962,"filename":"image_30012025_06_04_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/30/975bfa2c790ecce1e1c02266c1ebcd9f.jpg","text":"TemporaryFile(/tmp/multipartBody8060288530079842862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213533962,"filename":"image_30012025_06_03_46_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332891660","file1":"1332891655","file0":"1332891651","file4":"1332891680","file5":"1332891692","file3":"1332891669"},"map_files_photo_id_array":[{"photo_id":"1332891692","filename":"file5"},{"photo_id":"1332891660","filename":"file2"},{"photo_id":"1332891680","filename":"file4"},{"photo_id":"1332891655","filename":"file1"},{"photo_id":"1332891651","filename":"file0"},{"photo_id":"1332891669","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332891651":["hashtag1","hashtag2"]},{"1332891669":["hashtag1","hashtag2"]},{"1332891660":["hashtag1","hashtag2"]},{"1332891692":["hashtag1","hashtag2"]},{"1332891680":["hashtag1","hashtag2"]},{"1332891655":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332891651, 1332891669, 1332891660, 1332891692, 1332891680, 1332891655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.383556604385376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:05:32.390282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/04/image_30012025_06_04_35_9604.jpg', '/home/pi/Desktop/images/30012025/06/04/image_30012025_06_04_46_10356.jpg', '/home/pi/Desktop/images/30012025/06/04/image_30012025_06_04_56_10365.jpg', '/home/pi/Desktop/images/30012025/06/05/image_30012025_06_05_35_10364.jpg', '/home/pi/Desktop/images/30012025/06/05/image_30012025_06_05_46_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/04/image_30012025_06_04_35_9604.jpg
/home/pi/Desktop/images/30012025/06/04/image_30012025_06_04_46_10356.jpg
/home/pi/Desktop/images/30012025/06/04/image_30012025_06_04_56_10365.jpg
/home/pi/Desktop/images/30012025/06/05/image_30012025_06_05_35_10364.jpg
/home/pi/Desktop/images/30012025/06/05/image_30012025_06_05_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":["1332891718","1332891750","1332891747","1332891726","1332891723"],"photo_ids_order":["1332891718","1332891723","1332891726","1332891747","1332891750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8c8b50aa0a4055eec720f74eb475adae.jpg","text":"TemporaryFile(/tmp/multipartBody8840385204532978516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213593288,"filename":"image_30012025_06_04_35_9604.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ec9486728869ad6cfba746d1d6538c36.jpg","text":"TemporaryFile(/tmp/multipartBody7470446908581816517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213593288,"filename":"image_30012025_06_05_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/30/448e434aa7e0ad107808c245e83b8540.jpg","text":"TemporaryFile(/tmp/multipartBody5373366473021731146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213593288,"filename":"image_30012025_06_05_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1c333ed0927bcc968cbfe08eb2d6a5f0.jpg","text":"TemporaryFile(/tmp/multipartBody4486093991061427737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213593288,"filename":"image_30012025_06_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/30/9fdd32c5af56b150cd23a06648844e6e.jpg","text":"TemporaryFile(/tmp/multipartBody8500166103758285194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213593288,"filename":"image_30012025_06_04_46_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332891726","file1":"1332891723","file0":"1332891718","file4":"1332891750","file3":"1332891747"},"map_files_photo_id_array":[{"photo_id":"1332891726","filename":"file2"},{"photo_id":"1332891750","filename":"file4"},{"photo_id":"1332891723","filename":"file1"},{"photo_id":"1332891718","filename":"file0"},{"photo_id":"1332891747","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332891718":["hashtag1","hashtag2"]},{"1332891750":["hashtag1","hashtag2"]},{"1332891747":["hashtag1","hashtag2"]},{"1332891726":["hashtag1","hashtag2"]},{"1332891723":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332891718, 1332891750, 1332891747, 1332891726, 1332891723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.43335437774658 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:06:32.482666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/05/image_30012025_06_05_55_9358.jpg', '/home/pi/Desktop/images/30012025/06/05/image_30012025_06_06_06_10375.jpg', '/home/pi/Desktop/images/30012025/06/06/image_30012025_06_06_16_10391.jpg', '/home/pi/Desktop/images/30012025/06/06/image_30012025_06_06_25_9377.jpg', '/home/pi/Desktop/images/30012025/06/06/image_30012025_06_06_36_10380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/05/image_30012025_06_05_55_9358.jpg
/home/pi/Desktop/images/30012025/06/05/image_30012025_06_06_06_10375.jpg
/home/pi/Desktop/images/30012025/06/06/image_30012025_06_06_16_10391.jpg
/home/pi/Desktop/images/30012025/06/06/image_30012025_06_06_25_9377.jpg
/home/pi/Desktop/images/30012025/06/06/image_30012025_06_06_36_10380.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5263693332672119 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 06:06:42.620134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/05/image_30012025_06_05_55_9358.jpg', '/home/pi/Desktop/images/30012025/06/05/image_30012025_06_06_06_10375.jpg', '/home/pi/Desktop/images/30012025/06/06/image_30012025_06_06_16_10391.jpg', '/home/pi/Desktop/images/30012025/06/06/image_30012025_06_06_25_9377.jpg', '/home/pi/Desktop/images/30012025/06/06/image_30012025_06_06_36_10380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/05/image_30012025_06_05_55_9358.jpg
/home/pi/Desktop/images/30012025/06/05/image_30012025_06_06_06_10375.jpg
/home/pi/Desktop/images/30012025/06/06/image_30012025_06_06_16_10391.jpg
/home/pi/Desktop/images/30012025/06/06/image_30012025_06_06_25_9377.jpg
/home/pi/Desktop/images/30012025/06/06/image_30012025_06_06_36_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332891768","1332891779","1332891776","1332891781","1332891772"],"photo_ids_order":["1332891768","1332891772","1332891776","1332891779","1332891781"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2e332f55b73ae0201e1813dcfcda5636.jpg","text":"TemporaryFile(/tmp/multipartBody3092511653976660022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213663514,"filename":"image_30012025_06_05_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/30/f972da5e2f921780420eabdfe847d161.jpg","text":"TemporaryFile(/tmp/multipartBody5293386061495437154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213663514,"filename":"image_30012025_06_06_25_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b16bd882185b2ddef62c9368f8691653.jpg","text":"TemporaryFile(/tmp/multipartBody8002073551758443885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213663514,"filename":"image_30012025_06_06_16_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/30/9037e391bd0fc709bacc2aab70451a0c.jpg","text":"TemporaryFile(/tmp/multipartBody4904857171775635777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213663514,"filename":"image_30012025_06_06_36_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6fa695273cad7eee0df1e3aec0a624f2.jpg","text":"TemporaryFile(/tmp/multipartBody478979138257770388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213663514,"filename":"image_30012025_06_06_06_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332891776","file1":"1332891772","file0":"1332891768","file4":"1332891781","file3":"1332891779"},"map_files_photo_id_array":[{"photo_id":"1332891776","filename":"file2"},{"photo_id":"1332891781","filename":"file4"},{"photo_id":"1332891772","filename":"file1"},{"photo_id":"1332891768","filename":"file0"},{"photo_id":"1332891779","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332891768":["hashtag1","hashtag2"]},{"1332891779":["hashtag1","hashtag2"]},{"1332891776":["hashtag1","hashtag2"]},{"1332891781":["hashtag1","hashtag2"]},{"1332891772":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332891768, 1332891779, 1332891776, 1332891781, 1332891772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.93396043777466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:07:32.831730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/06/image_30012025_06_06_56_10397.jpg', '/home/pi/Desktop/images/30012025/06/06/image_30012025_06_07_06_10432.jpg', '/home/pi/Desktop/images/30012025/06/07/image_30012025_06_07_15_9352.jpg', '/home/pi/Desktop/images/30012025/06/07/image_30012025_06_07_26_10366.jpg', '/home/pi/Desktop/images/30012025/06/07/image_30012025_06_07_35_9428.jpg', '/home/pi/Desktop/images/30012025/06/07/image_30012025_06_07_46_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/06/image_30012025_06_06_56_10397.jpg
/home/pi/Desktop/images/30012025/06/06/image_30012025_06_07_06_10432.jpg
/home/pi/Desktop/images/30012025/06/07/image_30012025_06_07_15_9352.jpg
/home/pi/Desktop/images/30012025/06/07/image_30012025_06_07_26_10366.jpg
/home/pi/Desktop/images/30012025/06/07/image_30012025_06_07_35_9428.jpg
/home/pi/Desktop/images/30012025/06/07/image_30012025_06_07_46_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":["1332891814","1332891823","1332891805","1332891825","1332891818","1332891809"],"photo_ids_order":["1332891805","1332891809","1332891814","1332891818","1332891823","1332891825"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0f3ca783e72f84fe40a0ba9dd780ea38.jpg","text":"TemporaryFile(/tmp/multipartBody3879968566454893739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213713735,"filename":"image_30012025_06_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/30/35af07b126ca61687903984e6710053e.jpg","text":"TemporaryFile(/tmp/multipartBody859025697735360789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213713735,"filename":"image_30012025_06_07_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/30/ed94f1b92ef1415c37dac5d9be6952a5.jpg","text":"TemporaryFile(/tmp/multipartBody5624371057713246917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213713735,"filename":"image_30012025_06_06_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/30/464eeada62ddb63ad53d21e0eb755fca.jpg","text":"TemporaryFile(/tmp/multipartBody2482633344663672719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213713735,"filename":"image_30012025_06_07_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/30/2b5fa0fb709b5d13d9d887a7b3448a70.jpg","text":"TemporaryFile(/tmp/multipartBody8384171497343647415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213713735,"filename":"image_30012025_06_07_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/30/db431da71b6c729fe950f15e0f4ba67c.jpg","text":"TemporaryFile(/tmp/multipartBody7872371601596426039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213713735,"filename":"image_30012025_06_07_06_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332891814","file1":"1332891809","file0":"1332891805","file4":"1332891823","file5":"1332891825","file3":"1332891818"},"map_files_photo_id_array":[{"photo_id":"1332891825","filename":"file5"},{"photo_id":"1332891814","filename":"file2"},{"photo_id":"1332891823","filename":"file4"},{"photo_id":"1332891809","filename":"file1"},{"photo_id":"1332891805","filename":"file0"},{"photo_id":"1332891818","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332891814":["hashtag1","hashtag2"]},{"1332891823":["hashtag1","hashtag2"]},{"1332891805":["hashtag1","hashtag2"]},{"1332891825":["hashtag1","hashtag2"]},{"1332891818":["hashtag1","hashtag2"]},{"1332891809":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332891814, 1332891823, 1332891805, 1332891825, 1332891818, 1332891809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.47495174407959 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:08:33.019543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/07/image_30012025_06_07_56_10463.jpg', '/home/pi/Desktop/images/30012025/06/07/image_30012025_06_08_05_9385.jpg', '/home/pi/Desktop/images/30012025/06/08/image_30012025_06_08_16_10436.jpg', '/home/pi/Desktop/images/30012025/06/08/image_30012025_06_08_25_9369.jpg', '/home/pi/Desktop/images/30012025/06/08/image_30012025_06_08_36_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/07/image_30012025_06_07_56_10463.jpg
/home/pi/Desktop/images/30012025/06/07/image_30012025_06_08_05_9385.jpg
/home/pi/Desktop/images/30012025/06/08/image_30012025_06_08_16_10436.jpg
/home/pi/Desktop/images/30012025/06/08/image_30012025_06_08_25_9369.jpg
/home/pi/Desktop/images/30012025/06/08/image_30012025_06_08_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":["1332891851","1332891889","1332891883","1332891877","1332891886"],"photo_ids_order":["1332891851","1332891877","1332891883","1332891886","1332891889"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a94e812e6d028f515eb63004c62b71a3.jpg","text":"TemporaryFile(/tmp/multipartBody6876623245203049006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213773915,"filename":"image_30012025_06_07_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/30/7c2224aff859c90e0710811ec4729a4d.jpg","text":"TemporaryFile(/tmp/multipartBody6682109203803514406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213773915,"filename":"image_30012025_06_08_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/30/fa44040e6211b66b4f7c8030bae27bf9.jpg","text":"TemporaryFile(/tmp/multipartBody8833528815787176912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213773915,"filename":"image_30012025_06_08_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/30/894f64b994c000a81d52dca4960ae85d.jpg","text":"TemporaryFile(/tmp/multipartBody1315511455311421699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213773915,"filename":"image_30012025_06_08_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/30/aaf112fb32b43d35b9be927af10a949b.jpg","text":"TemporaryFile(/tmp/multipartBody2303352956838935982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213773915,"filename":"image_30012025_06_08_25_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332891883","file1":"1332891877","file0":"1332891851","file4":"1332891889","file3":"1332891886"},"map_files_photo_id_array":[{"photo_id":"1332891883","filename":"file2"},{"photo_id":"1332891889","filename":"file4"},{"photo_id":"1332891877","filename":"file1"},{"photo_id":"1332891851","filename":"file0"},{"photo_id":"1332891886","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332891851":["hashtag1","hashtag2"]},{"1332891889":["hashtag1","hashtag2"]},{"1332891883":["hashtag1","hashtag2"]},{"1332891877":["hashtag1","hashtag2"]},{"1332891886":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332891851, 1332891889, 1332891883, 1332891877, 1332891886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.018550157547 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:09:32.243338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/08/image_30012025_06_08_46_10439.jpg', '/home/pi/Desktop/images/30012025/06/08/image_30012025_06_09_06_10419.jpg', '/home/pi/Desktop/images/30012025/06/09/image_30012025_06_09_15_9384.jpg', '/home/pi/Desktop/images/30012025/06/09/image_30012025_06_09_26_10435.jpg', '/home/pi/Desktop/images/30012025/06/09/image_30012025_06_09_36_10465.jpg', '/home/pi/Desktop/images/30012025/06/09/image_30012025_06_09_45_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/08/image_30012025_06_08_46_10439.jpg
/home/pi/Desktop/images/30012025/06/08/image_30012025_06_09_06_10419.jpg
/home/pi/Desktop/images/30012025/06/09/image_30012025_06_09_15_9384.jpg
/home/pi/Desktop/images/30012025/06/09/image_30012025_06_09_26_10435.jpg
/home/pi/Desktop/images/30012025/06/09/image_30012025_06_09_36_10465.jpg
/home/pi/Desktop/images/30012025/06/09/image_30012025_06_09_45_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":["1332891913","1332891901","1332891910","1332891906","1332891921","1332891917"],"photo_ids_order":["1332891901","1332891906","1332891910","1332891913","1332891917","1332891921"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ab43e6101dd5f6597c7ec2e8de12d647.jpg","text":"TemporaryFile(/tmp/multipartBody2423424270144456604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213833155,"filename":"image_30012025_06_09_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/30/5d9951ff51d10a6621fe977271f9d65e.jpg","text":"TemporaryFile(/tmp/multipartBody8652640677336349046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213833155,"filename":"image_30012025_06_08_46_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/62245a604955a006836602be55c6174d.jpg","text":"TemporaryFile(/tmp/multipartBody8573993035288406969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213833155,"filename":"image_30012025_06_09_15_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fa7bf6b58586edebc225854a54f2ffc2.jpg","text":"TemporaryFile(/tmp/multipartBody2422783689902088381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213833155,"filename":"image_30012025_06_09_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/30/1a265860691efce638bf3dd87ac0a6eb.jpg","text":"TemporaryFile(/tmp/multipartBody794034051908697546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213833155,"filename":"image_30012025_06_09_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/30/0378a56732379d0925d4eeec55829045.jpg","text":"TemporaryFile(/tmp/multipartBody7961142044322233520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213833155,"filename":"image_30012025_06_09_36_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332891910","file1":"1332891906","file0":"1332891901","file4":"1332891917","file5":"1332891921","file3":"1332891913"},"map_files_photo_id_array":[{"photo_id":"1332891921","filename":"file5"},{"photo_id":"1332891910","filename":"file2"},{"photo_id":"1332891917","filename":"file4"},{"photo_id":"1332891906","filename":"file1"},{"photo_id":"1332891901","filename":"file0"},{"photo_id":"1332891913","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332891913":["hashtag1","hashtag2"]},{"1332891901":["hashtag1","hashtag2"]},{"1332891910":["hashtag1","hashtag2"]},{"1332891906":["hashtag1","hashtag2"]},{"1332891921":["hashtag1","hashtag2"]},{"1332891917":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332891913, 1332891901, 1332891910, 1332891906, 1332891921, 1332891917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.55527710914612 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:10:32.507361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/09/image_30012025_06_09_56_10396.jpg', '/home/pi/Desktop/images/30012025/06/09/image_30012025_06_10_05_9382.jpg', '/home/pi/Desktop/images/30012025/06/10/image_30012025_06_10_16_10424.jpg', '/home/pi/Desktop/images/30012025/06/10/image_30012025_06_10_26_10367.jpg', '/home/pi/Desktop/images/30012025/06/10/image_30012025_06_10_35_9349.jpg', '/home/pi/Desktop/images/30012025/06/10/image_30012025_06_10_46_10438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/09/image_30012025_06_09_56_10396.jpg
/home/pi/Desktop/images/30012025/06/09/image_30012025_06_10_05_9382.jpg
/home/pi/Desktop/images/30012025/06/10/image_30012025_06_10_16_10424.jpg
/home/pi/Desktop/images/30012025/06/10/image_30012025_06_10_26_10367.jpg
/home/pi/Desktop/images/30012025/06/10/image_30012025_06_10_35_9349.jpg
/home/pi/Desktop/images/30012025/06/10/image_30012025_06_10_46_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332891934","1332891977","1332891974","1332891968","1332891976","1332891952"],"photo_ids_order":["1332891934","1332891952","1332891968","1332891974","1332891976","1332891977"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2ddddb70d207f2d4e4af507ff61d63ae.jpg","text":"TemporaryFile(/tmp/multipartBody4480162609560093545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213893435,"filename":"image_30012025_06_09_56_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/30/58ce267cdf48f92fdf711533af441693.jpg","text":"TemporaryFile(/tmp/multipartBody4048563590492371836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213893435,"filename":"image_30012025_06_10_46_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fe3ea13ee82ce91f64c8d2e6ec50cb13.jpg","text":"TemporaryFile(/tmp/multipartBody3592163628365990570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213893435,"filename":"image_30012025_06_10_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/30/129a311519e84a81af65f668992a2b11.jpg","text":"TemporaryFile(/tmp/multipartBody8537249749090399079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213893435,"filename":"image_30012025_06_10_16_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/18f478a60692f432b1d55898e1af0ba7.jpg","text":"TemporaryFile(/tmp/multipartBody3561516708509130292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213893435,"filename":"image_30012025_06_10_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/30/7b9cd326f414bfe25df568ba6fd3d1b9.jpg","text":"TemporaryFile(/tmp/multipartBody3663047610622167867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213893435,"filename":"image_30012025_06_10_05_9382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332891968","file1":"1332891952","file0":"1332891934","file4":"1332891976","file5":"1332891977","file3":"1332891974"},"map_files_photo_id_array":[{"photo_id":"1332891977","filename":"file5"},{"photo_id":"1332891968","filename":"file2"},{"photo_id":"1332891976","filename":"file4"},{"photo_id":"1332891952","filename":"file1"},{"photo_id":"1332891934","filename":"file0"},{"photo_id":"1332891974","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332891934":["hashtag1","hashtag2"]},{"1332891977":["hashtag1","hashtag2"]},{"1332891974":["hashtag1","hashtag2"]},{"1332891968":["hashtag1","hashtag2"]},{"1332891976":["hashtag1","hashtag2"]},{"1332891952":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332891934, 1332891977, 1332891974, 1332891968, 1332891976, 1332891952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.93471121788025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:11:32.627919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/10/image_30012025_06_10_55_9371.jpg', '/home/pi/Desktop/images/30012025/06/10/image_30012025_06_11_06_10367.jpg', '/home/pi/Desktop/images/30012025/06/11/image_30012025_06_11_16_10402.jpg', '/home/pi/Desktop/images/30012025/06/11/image_30012025_06_11_25_9371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/10/image_30012025_06_10_55_9371.jpg
/home/pi/Desktop/images/30012025/06/10/image_30012025_06_11_06_10367.jpg
/home/pi/Desktop/images/30012025/06/11/image_30012025_06_11_16_10402.jpg
/home/pi/Desktop/images/30012025/06/11/image_30012025_06_11_25_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332892003","1332891995","1332891998","1332892000"],"photo_ids_order":["1332891995","1332891998","1332892000","1332892003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5fc2cf39fb28ce1122d6eec1a5743bf4.jpg","text":"TemporaryFile(/tmp/multipartBody300483621054779040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213953515,"filename":"image_30012025_06_11_25_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/77d5584576d629b87e65aef8e650ca34.jpg","text":"TemporaryFile(/tmp/multipartBody4400691944748712995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213953515,"filename":"image_30012025_06_10_55_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1bab087c4ab883fc512806ddd7888d64.jpg","text":"TemporaryFile(/tmp/multipartBody1197802953541722829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213953515,"filename":"image_30012025_06_11_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/30/efed4108e1f990d65c9bc18e4a47af48.jpg","text":"TemporaryFile(/tmp/multipartBody4527447941280611855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213953515,"filename":"image_30012025_06_11_16_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332892000","file1":"1332891998","file0":"1332891995","file3":"1332892003"},"map_files_photo_id_array":[{"photo_id":"1332892000","filename":"file2"},{"photo_id":"1332891998","filename":"file1"},{"photo_id":"1332891995","filename":"file0"},{"photo_id":"1332892003","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332892003":["hashtag1","hashtag2"]},{"1332891995":["hashtag1","hashtag2"]},{"1332891998":["hashtag1","hashtag2"]},{"1332892000":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332892003, 1332891995, 1332891998, 1332892000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.053545713424683 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 06:12:03.615892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/33/image_28012025_20_33_45_9349.jpg', '/home/pi/Desktop/images/28012025/20/33/image_28012025_20_33_55_10376.jpg', '/home/pi/Desktop/images/28012025/20/33/image_28012025_20_34_05_10341.jpg', '/home/pi/Desktop/images/28012025/20/34/image_28012025_20_34_15_9398.jpg', '/home/pi/Desktop/images/28012025/20/34/image_28012025_20_34_25_10536.jpg', '/home/pi/Desktop/images/28012025/20/34/image_28012025_20_34_35_9343.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/33/image_28012025_20_33_45_9349.jpg
/home/pi/Desktop/images/28012025/20/33/image_28012025_20_33_55_10376.jpg
/home/pi/Desktop/images/28012025/20/33/image_28012025_20_34_05_10341.jpg
/home/pi/Desktop/images/28012025/20/34/image_28012025_20_34_15_9398.jpg
/home/pi/Desktop/images/28012025/20/34/image_28012025_20_34_25_10536.jpg
/home/pi/Desktop/images/28012025/20/34/image_28012025_20_34_35_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":["1332892029","1332892020","1332892025","1332892010","1332892027","1332892006"],"photo_ids_order":["1332892006","1332892010","1332892020","1332892025","1332892027","1332892029"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c53f85104b04692e04c7bfac27afc0b9.jpg","text":"TemporaryFile(/tmp/multipartBody3120067942354693019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213985334,"filename":"image_28012025_20_34_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b1e45932146705594ba17a7146d47821.jpg","text":"TemporaryFile(/tmp/multipartBody4706345212476259313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213985334,"filename":"image_28012025_20_34_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/30/900da818acddf41894d3edc7d45c62b6.jpg","text":"TemporaryFile(/tmp/multipartBody8746977651600506752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213985334,"filename":"image_28012025_20_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/30/83b1292c3e40a3dc2e0c8154d4d093b3.jpg","text":"TemporaryFile(/tmp/multipartBody9212638994578146772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213985334,"filename":"image_28012025_20_33_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/30/fe23b43d2e64830edeea2bb8b473698e.jpg","text":"TemporaryFile(/tmp/multipartBody244167519027374359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213985334,"filename":"image_28012025_20_34_25_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/30/08bc2533fa2ebde1e03c68bd811d94d8.jpg","text":"TemporaryFile(/tmp/multipartBody7033290485922678688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738213985334,"filename":"image_28012025_20_33_45_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332892020","file1":"1332892010","file0":"1332892006","file4":"1332892027","file5":"1332892029","file3":"1332892025"},"map_files_photo_id_array":[{"photo_id":"1332892029","filename":"file5"},{"photo_id":"1332892020","filename":"file2"},{"photo_id":"1332892027","filename":"file4"},{"photo_id":"1332892010","filename":"file1"},{"photo_id":"1332892006","filename":"file0"},{"photo_id":"1332892025","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332892029":["hashtag1","hashtag2"]},{"1332892020":["hashtag1","hashtag2"]},{"1332892025":["hashtag1","hashtag2"]},{"1332892010":["hashtag1","hashtag2"]},{"1332892027":["hashtag1","hashtag2"]},{"1332892006":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332892029, 1332892020, 1332892025, 1332892010, 1332892027, 1332892006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.363409996032715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:12:52.851251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/11/image_30012025_06_11_36_10410.jpg', '/home/pi/Desktop/images/30012025/06/11/image_30012025_06_12_06_10360.jpg', '/home/pi/Desktop/images/30012025/06/12/image_30012025_06_12_15_9402.jpg', '/home/pi/Desktop/images/30012025/06/12/image_30012025_06_12_26_10378.jpg', '/home/pi/Desktop/images/30012025/06/12/image_30012025_06_12_36_10461.jpg', '/home/pi/Desktop/images/30012025/06/12/image_30012025_06_12_45_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/11/image_30012025_06_11_36_10410.jpg
/home/pi/Desktop/images/30012025/06/11/image_30012025_06_12_06_10360.jpg
/home/pi/Desktop/images/30012025/06/12/image_30012025_06_12_15_9402.jpg
/home/pi/Desktop/images/30012025/06/12/image_30012025_06_12_26_10378.jpg
/home/pi/Desktop/images/30012025/06/12/image_30012025_06_12_36_10461.jpg
/home/pi/Desktop/images/30012025/06/12/image_30012025_06_12_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":["1332892461","1332892368","1332892466","1332892283","1332892459","1332892456"],"photo_ids_order":["1332892283","1332892368","1332892456","1332892459","1332892461","1332892466"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c4a14341dfa45dca295ab960a0e911ae.jpg","text":"TemporaryFile(/tmp/multipartBody1853981584692362722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214033773,"filename":"image_30012025_06_12_36_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/30/5e1053fb6440be65b2ea20f5e8a6fbc5.jpg","text":"TemporaryFile(/tmp/multipartBody4083665677390993444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214033773,"filename":"image_30012025_06_12_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/30/f7741ac88aa87b6f96bba0a9d9eade38.jpg","text":"TemporaryFile(/tmp/multipartBody3975505453176053571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214033773,"filename":"image_30012025_06_12_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/30/8e431f672aba8c339d636158816607db.jpg","text":"TemporaryFile(/tmp/multipartBody5835383483457059624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214033773,"filename":"image_30012025_06_11_36_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7336ae9cd62259ac635327740181a7be.jpg","text":"TemporaryFile(/tmp/multipartBody6865123399120928052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214033773,"filename":"image_30012025_06_12_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/30/03ac84cfc692423c7a38d1b770de5f41.jpg","text":"TemporaryFile(/tmp/multipartBody4173438914719061204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214033773,"filename":"image_30012025_06_12_15_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332892456","file1":"1332892368","file0":"1332892283","file4":"1332892461","file5":"1332892466","file3":"1332892459"},"map_files_photo_id_array":[{"photo_id":"1332892466","filename":"file5"},{"photo_id":"1332892456","filename":"file2"},{"photo_id":"1332892461","filename":"file4"},{"photo_id":"1332892368","filename":"file1"},{"photo_id":"1332892283","filename":"file0"},{"photo_id":"1332892459","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332892461":["hashtag1","hashtag2"]},{"1332892368":["hashtag1","hashtag2"]},{"1332892466":["hashtag1","hashtag2"]},{"1332892283":["hashtag1","hashtag2"]},{"1332892459":["hashtag1","hashtag2"]},{"1332892456":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332892461, 1332892368, 1332892466, 1332892283, 1332892459, 1332892456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.774657249450684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 06:13:43.041198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/12/image_30012025_06_12_56_10386.jpg', '/home/pi/Desktop/images/30012025/06/12/image_30012025_06_13_05_9349.jpg', '/home/pi/Desktop/images/30012025/06/13/image_30012025_06_13_15_10352.jpg', '/home/pi/Desktop/images/30012025/06/13/image_30012025_06_13_26_10466.jpg', '/home/pi/Desktop/images/30012025/06/13/image_30012025_06_13_35_9457.jpg', '/home/pi/Desktop/images/30012025/06/13/image_30012025_06_13_46_10423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/12/image_30012025_06_12_56_10386.jpg
/home/pi/Desktop/images/30012025/06/12/image_30012025_06_13_05_9349.jpg
/home/pi/Desktop/images/30012025/06/13/image_30012025_06_13_15_10352.jpg
/home/pi/Desktop/images/30012025/06/13/image_30012025_06_13_26_10466.jpg
/home/pi/Desktop/images/30012025/06/13/image_30012025_06_13_35_9457.jpg
/home/pi/Desktop/images/30012025/06/13/image_30012025_06_13_46_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332892688","1332892604","1332892672","1332892666","1332892669","1332892624"],"photo_ids_order":["1332892604","1332892624","1332892666","1332892669","1332892672","1332892688"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1bea73170d4df53f8a55af0563e5b37b.jpg","text":"TemporaryFile(/tmp/multipartBody5888138813988444037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214083963,"filename":"image_30012025_06_13_46_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/78d4fdb7b0982a0a3ae1be790b9567cf.jpg","text":"TemporaryFile(/tmp/multipartBody2999845378524869315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214083963,"filename":"image_30012025_06_12_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/30/29d7454ab13cdd14cbbccb4ab39b1475.jpg","text":"TemporaryFile(/tmp/multipartBody1626333960564764000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214083963,"filename":"image_30012025_06_13_35_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/64557c62d7dec7da8a4efe45ebddefe8.jpg","text":"TemporaryFile(/tmp/multipartBody7554918704000209959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214083963,"filename":"image_30012025_06_13_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/30/973672af0f4673ccba791afcb1123266.jpg","text":"TemporaryFile(/tmp/multipartBody28838539950352085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214083963,"filename":"image_30012025_06_13_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/30/ca9916acabfa6a723160d5a379fa4e7c.jpg","text":"TemporaryFile(/tmp/multipartBody8530617259265147719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214083963,"filename":"image_30012025_06_13_05_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332892666","file1":"1332892624","file0":"1332892604","file4":"1332892672","file5":"1332892688","file3":"1332892669"},"map_files_photo_id_array":[{"photo_id":"1332892688","filename":"file5"},{"photo_id":"1332892666","filename":"file2"},{"photo_id":"1332892672","filename":"file4"},{"photo_id":"1332892624","filename":"file1"},{"photo_id":"1332892604","filename":"file0"},{"photo_id":"1332892669","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332892688":["hashtag1","hashtag2"]},{"1332892604":["hashtag1","hashtag2"]},{"1332892672":["hashtag1","hashtag2"]},{"1332892666":["hashtag1","hashtag2"]},{"1332892669":["hashtag1","hashtag2"]},{"1332892624":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332892688, 1332892604, 1332892672, 1332892666, 1332892669, 1332892624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.6111216545105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:14:32.285601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/13/image_30012025_06_13_55_9381.jpg', '/home/pi/Desktop/images/30012025/06/13/image_30012025_06_14_06_10360.jpg', '/home/pi/Desktop/images/30012025/06/14/image_30012025_06_14_16_10395.jpg', '/home/pi/Desktop/images/30012025/06/14/image_30012025_06_14_25_9361.jpg', '/home/pi/Desktop/images/30012025/06/14/image_30012025_06_14_36_10453.jpg', '/home/pi/Desktop/images/30012025/06/14/image_30012025_06_14_45_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/13/image_30012025_06_13_55_9381.jpg
/home/pi/Desktop/images/30012025/06/13/image_30012025_06_14_06_10360.jpg
/home/pi/Desktop/images/30012025/06/14/image_30012025_06_14_16_10395.jpg
/home/pi/Desktop/images/30012025/06/14/image_30012025_06_14_25_9361.jpg
/home/pi/Desktop/images/30012025/06/14/image_30012025_06_14_36_10453.jpg
/home/pi/Desktop/images/30012025/06/14/image_30012025_06_14_45_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332892821","1332892818","1332892812","1332892809","1332892814","1332892825"],"photo_ids_order":["1332892809","1332892812","1332892814","1332892818","1332892821","1332892825"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5a317a4e46bff0d27d9aa0bbc8299bc3.jpg","text":"TemporaryFile(/tmp/multipartBody8775713694454406905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214133190,"filename":"image_30012025_06_14_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/30/3ae0f292bd7773c94bc621d84525eebd.jpg","text":"TemporaryFile(/tmp/multipartBody6138710885166561753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214133190,"filename":"image_30012025_06_14_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/30/f43c0f1305c9055075b19348062bb900.jpg","text":"TemporaryFile(/tmp/multipartBody8187195489074573018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214133190,"filename":"image_30012025_06_14_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/30/5c58988764ebf05fae7f43926a26689e.jpg","text":"TemporaryFile(/tmp/multipartBody1972714769893550867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214133190,"filename":"image_30012025_06_13_55_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/30/1dd9ddc4a85cc74408dd3e9bf145fb91.jpg","text":"TemporaryFile(/tmp/multipartBody7422747752461510010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214133190,"filename":"image_30012025_06_14_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/30/9977eb850a7c225916685631f8bc56d9.jpg","text":"TemporaryFile(/tmp/multipartBody5236695716523036463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214133190,"filename":"image_30012025_06_14_45_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332892814","file1":"1332892812","file0":"1332892809","file4":"1332892821","file5":"1332892825","file3":"1332892818"},"map_files_photo_id_array":[{"photo_id":"1332892825","filename":"file5"},{"photo_id":"1332892814","filename":"file2"},{"photo_id":"1332892821","filename":"file4"},{"photo_id":"1332892812","filename":"file1"},{"photo_id":"1332892809","filename":"file0"},{"photo_id":"1332892818","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332892821":["hashtag1","hashtag2"]},{"1332892818":["hashtag1","hashtag2"]},{"1332892812":["hashtag1","hashtag2"]},{"1332892809":["hashtag1","hashtag2"]},{"1332892814":["hashtag1","hashtag2"]},{"1332892825":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332892821, 1332892818, 1332892812, 1332892809, 1332892814, 1332892825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.66784453392029 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:15:32.449014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/14/image_30012025_06_14_56_10374.jpg', '/home/pi/Desktop/images/30012025/06/14/image_30012025_06_15_06_10472.jpg', '/home/pi/Desktop/images/30012025/06/15/image_30012025_06_15_15_9355.jpg', '/home/pi/Desktop/images/30012025/06/15/image_30012025_06_15_26_10371.jpg', '/home/pi/Desktop/images/30012025/06/15/image_30012025_06_15_35_9420.jpg', '/home/pi/Desktop/images/30012025/06/15/image_30012025_06_15_46_10444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/14/image_30012025_06_14_56_10374.jpg
/home/pi/Desktop/images/30012025/06/14/image_30012025_06_15_06_10472.jpg
/home/pi/Desktop/images/30012025/06/15/image_30012025_06_15_15_9355.jpg
/home/pi/Desktop/images/30012025/06/15/image_30012025_06_15_26_10371.jpg
/home/pi/Desktop/images/30012025/06/15/image_30012025_06_15_35_9420.jpg
/home/pi/Desktop/images/30012025/06/15/image_30012025_06_15_46_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":["1332893013","1332892845","1332893041","1332892873","1332892849","1332893011"],"photo_ids_order":["1332892845","1332892849","1332892873","1332893011","1332893013","1332893041"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7f48408966ad8a8d1bb673897e8545d5.jpg","text":"TemporaryFile(/tmp/multipartBody7739765625026657037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214193378,"filename":"image_30012025_06_15_35_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/41a2a1dc8f8069410a3def5cc10dcb30.jpg","text":"TemporaryFile(/tmp/multipartBody442429711213785416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214193378,"filename":"image_30012025_06_14_56_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8a55ba1bddac277b002b0d7a526f6b62.jpg","text":"TemporaryFile(/tmp/multipartBody6508946844597009292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214193378,"filename":"image_30012025_06_15_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/30/1dab04f0520ce4a2c478a6c26e389812.jpg","text":"TemporaryFile(/tmp/multipartBody1282673862450605606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214193378,"filename":"image_30012025_06_15_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/30/35a933ffbee3dda3ebd2c1f69d27ed95.jpg","text":"TemporaryFile(/tmp/multipartBody6192693129916882212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214193378,"filename":"image_30012025_06_15_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/30/90550f46a67c7a5e9b9b31ffc88d641e.jpg","text":"TemporaryFile(/tmp/multipartBody5466722764494508035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214193378,"filename":"image_30012025_06_15_26_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332892873","file1":"1332892849","file0":"1332892845","file4":"1332893013","file5":"1332893041","file3":"1332893011"},"map_files_photo_id_array":[{"photo_id":"1332893041","filename":"file5"},{"photo_id":"1332892873","filename":"file2"},{"photo_id":"1332893013","filename":"file4"},{"photo_id":"1332892849","filename":"file1"},{"photo_id":"1332892845","filename":"file0"},{"photo_id":"1332893011","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332893013":["hashtag1","hashtag2"]},{"1332892845":["hashtag1","hashtag2"]},{"1332893041":["hashtag1","hashtag2"]},{"1332892873":["hashtag1","hashtag2"]},{"1332892849":["hashtag1","hashtag2"]},{"1332893011":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332893013, 1332892845, 1332893041, 1332892873, 1332892849, 1332893011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.11426830291748 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:16:32.743708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/15/image_30012025_06_15_56_10436.jpg', '/home/pi/Desktop/images/30012025/06/15/image_30012025_06_16_05_9428.jpg', '/home/pi/Desktop/images/30012025/06/16/image_30012025_06_16_16_10369.jpg', '/home/pi/Desktop/images/30012025/06/16/image_30012025_06_16_25_9400.jpg', '/home/pi/Desktop/images/30012025/06/16/image_30012025_06_16_36_10365.jpg', '/home/pi/Desktop/images/30012025/06/16/image_30012025_06_16_46_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/15/image_30012025_06_15_56_10436.jpg
/home/pi/Desktop/images/30012025/06/15/image_30012025_06_16_05_9428.jpg
/home/pi/Desktop/images/30012025/06/16/image_30012025_06_16_16_10369.jpg
/home/pi/Desktop/images/30012025/06/16/image_30012025_06_16_25_9400.jpg
/home/pi/Desktop/images/30012025/06/16/image_30012025_06_16_36_10365.jpg
/home/pi/Desktop/images/30012025/06/16/image_30012025_06_16_46_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":["1332893174","1332893168","1332893173","1332893158","1332893163","1332893172"],"photo_ids_order":["1332893158","1332893163","1332893168","1332893172","1332893173","1332893174"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/96ad3f7dff117ea3396d59f567f3ecbf.jpg","text":"TemporaryFile(/tmp/multipartBody7711618022988559839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214253652,"filename":"image_30012025_06_16_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/30/17fa5da8aa16b0b2f1f4e1dc9159a569.jpg","text":"TemporaryFile(/tmp/multipartBody5516651214714916511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214253652,"filename":"image_30012025_06_16_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/30/10b4ff7716a296f9d28343fd496acb1a.jpg","text":"TemporaryFile(/tmp/multipartBody3646006032257135352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214253652,"filename":"image_30012025_06_16_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/30/67559619f3afc196d23bd0e767fa1758.jpg","text":"TemporaryFile(/tmp/multipartBody8783576040529300048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214253652,"filename":"image_30012025_06_15_56_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/30/93f2f483e1243ba3202b57b967b1bfd6.jpg","text":"TemporaryFile(/tmp/multipartBody3725532716286932631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214253652,"filename":"image_30012025_06_16_05_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4f33f38a213c2d82461efe9a4dad5963.jpg","text":"TemporaryFile(/tmp/multipartBody3554549579748102883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214253652,"filename":"image_30012025_06_16_25_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332893168","file1":"1332893163","file0":"1332893158","file4":"1332893173","file5":"1332893174","file3":"1332893172"},"map_files_photo_id_array":[{"photo_id":"1332893174","filename":"file5"},{"photo_id":"1332893168","filename":"file2"},{"photo_id":"1332893173","filename":"file4"},{"photo_id":"1332893163","filename":"file1"},{"photo_id":"1332893158","filename":"file0"},{"photo_id":"1332893172","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332893174":["hashtag1","hashtag2"]},{"1332893168":["hashtag1","hashtag2"]},{"1332893173":["hashtag1","hashtag2"]},{"1332893158":["hashtag1","hashtag2"]},{"1332893163":["hashtag1","hashtag2"]},{"1332893172":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332893174, 1332893168, 1332893173, 1332893158, 1332893163, 1332893172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.41539764404297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:17:32.945231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/16/image_30012025_06_16_55_9462.jpg', '/home/pi/Desktop/images/30012025/06/16/image_30012025_06_17_06_10342.jpg', '/home/pi/Desktop/images/30012025/06/17/image_30012025_06_17_15_9330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/16/image_30012025_06_16_55_9462.jpg
/home/pi/Desktop/images/30012025/06/16/image_30012025_06_17_06_10342.jpg
/home/pi/Desktop/images/30012025/06/17/image_30012025_06_17_15_9330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332893253","1332893258","1332893228"],"photo_ids_order":["1332893228","1332893253","1332893258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6a563ccd8a098c358f4f92146b9353b3.jpg","text":"TemporaryFile(/tmp/multipartBody411766947065389450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214313798,"filename":"image_30012025_06_17_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/30/45be9754160cd50d15ec684f065d4910.jpg","text":"TemporaryFile(/tmp/multipartBody3088510732473265181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214313798,"filename":"image_30012025_06_17_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/30/5b6ec33fd5d093c62469e4b832f90060.jpg","text":"TemporaryFile(/tmp/multipartBody6744543951535861182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214313798,"filename":"image_30012025_06_16_55_9462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332893258","file1":"1332893253","file0":"1332893228"},"map_files_photo_id_array":[{"photo_id":"1332893258","filename":"file2"},{"photo_id":"1332893253","filename":"file1"},{"photo_id":"1332893228","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332893253":["hashtag1","hashtag2"]},{"1332893258":["hashtag1","hashtag2"]},{"1332893228":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332893253, 1332893258, 1332893228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.48908567428589 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 06:18:02.999530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/34/image_28012025_20_34_45_10364.jpg', '/home/pi/Desktop/images/28012025/20/34/image_28012025_20_34_55_10360.jpg', '/home/pi/Desktop/images/28012025/20/34/image_28012025_20_35_05_9340.jpg', '/home/pi/Desktop/images/28012025/20/35/image_28012025_20_35_15_10337.jpg', '/home/pi/Desktop/images/28012025/20/35/image_28012025_20_35_25_10447.jpg', '/home/pi/Desktop/images/28012025/20/35/image_28012025_20_35_35_9325.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/34/image_28012025_20_34_45_10364.jpg
/home/pi/Desktop/images/28012025/20/34/image_28012025_20_34_55_10360.jpg
/home/pi/Desktop/images/28012025/20/34/image_28012025_20_35_05_9340.jpg
/home/pi/Desktop/images/28012025/20/35/image_28012025_20_35_15_10337.jpg
/home/pi/Desktop/images/28012025/20/35/image_28012025_20_35_25_10447.jpg
/home/pi/Desktop/images/28012025/20/35/image_28012025_20_35_35_9325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332893281","1332893266","1332893275","1332893269","1332893271","1332893265"],"photo_ids_order":["1332893265","1332893266","1332893269","1332893271","1332893275","1332893281"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9fcc5b21854502ba052328fe4993d467.jpg","text":"TemporaryFile(/tmp/multipartBody5287863520413236965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214344757,"filename":"image_28012025_20_35_35_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fcb777463694baa0311a4f5ca7143cfa.jpg","text":"TemporaryFile(/tmp/multipartBody746377292769095005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214344757,"filename":"image_28012025_20_34_55_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cebe0033677e4aab4ad367de336f4f7b.jpg","text":"TemporaryFile(/tmp/multipartBody8941969509800644945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214344757,"filename":"image_28012025_20_35_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/30/143f965c3164d568326b5288c8163e11.jpg","text":"TemporaryFile(/tmp/multipartBody4212970394506842175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214344757,"filename":"image_28012025_20_35_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/30/6052c39a59459a7f38e22f87c52b2995.jpg","text":"TemporaryFile(/tmp/multipartBody2983151494556532882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214344757,"filename":"image_28012025_20_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/30/bcca2ddf7555994307404ded309fcd3b.jpg","text":"TemporaryFile(/tmp/multipartBody1618900251353657133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214344757,"filename":"image_28012025_20_34_45_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332893269","file1":"1332893266","file0":"1332893265","file4":"1332893275","file5":"1332893281","file3":"1332893271"},"map_files_photo_id_array":[{"photo_id":"1332893281","filename":"file5"},{"photo_id":"1332893269","filename":"file2"},{"photo_id":"1332893275","filename":"file4"},{"photo_id":"1332893266","filename":"file1"},{"photo_id":"1332893265","filename":"file0"},{"photo_id":"1332893271","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332893281":["hashtag1","hashtag2"]},{"1332893266":["hashtag1","hashtag2"]},{"1332893275":["hashtag1","hashtag2"]},{"1332893269":["hashtag1","hashtag2"]},{"1332893271":["hashtag1","hashtag2"]},{"1332893265":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332893281, 1332893266, 1332893275, 1332893269, 1332893271, 1332893265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.925788164138794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:18:52.275550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/17/image_30012025_06_17_25_10241.jpg', '/home/pi/Desktop/images/30012025/06/18/image_30012025_06_18_15_9339.jpg', '/home/pi/Desktop/images/30012025/06/18/image_30012025_06_18_26_10414.jpg', '/home/pi/Desktop/images/30012025/06/18/image_30012025_06_18_36_10460.jpg', '/home/pi/Desktop/images/30012025/06/18/image_30012025_06_18_45_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/17/image_30012025_06_17_25_10241.jpg
/home/pi/Desktop/images/30012025/06/18/image_30012025_06_18_15_9339.jpg
/home/pi/Desktop/images/30012025/06/18/image_30012025_06_18_26_10414.jpg
/home/pi/Desktop/images/30012025/06/18/image_30012025_06_18_36_10460.jpg
/home/pi/Desktop/images/30012025/06/18/image_30012025_06_18_45_9348.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332893301","1332893291","1332893299","1332893295","1332893298"],"photo_ids_order":["1332893291","1332893295","1332893298","1332893299","1332893301"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/31a93a08627469689f554f0b77107151.jpg","text":"TemporaryFile(/tmp/multipartBody5389368138176896160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214393173,"filename":"image_30012025_06_18_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/30/7cf7a3267ff25c02189b26afd7b81da9.jpg","text":"TemporaryFile(/tmp/multipartBody8245271562289292755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214393173,"filename":"image_30012025_06_17_25_10241.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/619dd2c55e025538c8fa2542bcb5402a.jpg","text":"TemporaryFile(/tmp/multipartBody3322949237421083126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214393173,"filename":"image_30012025_06_18_36_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/30/2eec29b9f5be8ebd85949427720536fc.jpg","text":"TemporaryFile(/tmp/multipartBody7700163802535821475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214393173,"filename":"image_30012025_06_18_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/30/45a625e5c54ccef4284ae7033ae42b6d.jpg","text":"TemporaryFile(/tmp/multipartBody1865999606411709700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214393173,"filename":"image_30012025_06_18_26_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332893298","file1":"1332893295","file0":"1332893291","file4":"1332893301","file3":"1332893299"},"map_files_photo_id_array":[{"photo_id":"1332893298","filename":"file2"},{"photo_id":"1332893301","filename":"file4"},{"photo_id":"1332893295","filename":"file1"},{"photo_id":"1332893291","filename":"file0"},{"photo_id":"1332893299","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332893301":["hashtag1","hashtag2"]},{"1332893291":["hashtag1","hashtag2"]},{"1332893299":["hashtag1","hashtag2"]},{"1332893295":["hashtag1","hashtag2"]},{"1332893298":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332893301, 1332893291, 1332893299, 1332893295, 1332893298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.420231342315674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:19:32.486036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/18/image_30012025_06_18_56_10349.jpg', '/home/pi/Desktop/images/30012025/06/18/image_30012025_06_19_05_9403.jpg', '/home/pi/Desktop/images/30012025/06/19/image_30012025_06_19_15_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/18/image_30012025_06_18_56_10349.jpg
/home/pi/Desktop/images/30012025/06/18/image_30012025_06_19_05_9403.jpg
/home/pi/Desktop/images/30012025/06/19/image_30012025_06_19_15_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":["1332893309","1332893314","1332893317"],"photo_ids_order":["1332893309","1332893314","1332893317"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6f1e3f824507d123abe7ebed81f1090d.jpg","text":"TemporaryFile(/tmp/multipartBody3516715617987061997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214433361,"filename":"image_30012025_06_18_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/30/5b3945144025ef026d12b5701004f2f1.jpg","text":"TemporaryFile(/tmp/multipartBody6407467845654418026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214433361,"filename":"image_30012025_06_19_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/30/68291a7c86b78568ab7a9fb181f90c12.jpg","text":"TemporaryFile(/tmp/multipartBody327033172292655420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214433361,"filename":"image_30012025_06_19_15_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332893317","file1":"1332893314","file0":"1332893309"},"map_files_photo_id_array":[{"photo_id":"1332893317","filename":"file2"},{"photo_id":"1332893314","filename":"file1"},{"photo_id":"1332893309","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332893309":["hashtag1","hashtag2"]},{"1332893314":["hashtag1","hashtag2"]},{"1332893317":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332893309, 1332893314, 1332893317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.077847242355347 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 06:20:03.460395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/35/image_28012025_20_35_45_10427.jpg', '/home/pi/Desktop/images/28012025/20/35/image_28012025_20_35_55_9436.jpg', '/home/pi/Desktop/images/28012025/20/35/image_28012025_20_36_05_10376.jpg', '/home/pi/Desktop/images/28012025/20/36/image_28012025_20_36_14_9459.jpg', '/home/pi/Desktop/images/28012025/20/36/image_28012025_20_36_25_10371.jpg', '/home/pi/Desktop/images/28012025/20/36/image_28012025_20_36_35_10396.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/35/image_28012025_20_35_45_10427.jpg
/home/pi/Desktop/images/28012025/20/35/image_28012025_20_35_55_9436.jpg
/home/pi/Desktop/images/28012025/20/35/image_28012025_20_36_05_10376.jpg
/home/pi/Desktop/images/28012025/20/36/image_28012025_20_36_14_9459.jpg
/home/pi/Desktop/images/28012025/20/36/image_28012025_20_36_25_10371.jpg
/home/pi/Desktop/images/28012025/20/36/image_28012025_20_36_35_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332893558","1332893462","1332893336","1332893374","1332893434","1332893410"],"photo_ids_order":["1332893336","1332893374","1332893410","1332893434","1332893462","1332893558"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/80df9783ffd157ad535ea6ecefcfa69f.jpg","text":"TemporaryFile(/tmp/multipartBody7090775876118768965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214465218,"filename":"image_28012025_20_36_35_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6eee832e184589919c6d9bac28fc77a3.jpg","text":"TemporaryFile(/tmp/multipartBody3712904601887008798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214465218,"filename":"image_28012025_20_36_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/30/a64d1f98dffc80da2328eec3659be48c.jpg","text":"TemporaryFile(/tmp/multipartBody2504545946981008051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214465218,"filename":"image_28012025_20_35_45_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/16173b8152f38c03f06534c20fd85ca3.jpg","text":"TemporaryFile(/tmp/multipartBody7115552554751189116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214465218,"filename":"image_28012025_20_35_55_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/30/d323b377d6226557870a0c56604c38ad.jpg","text":"TemporaryFile(/tmp/multipartBody507545739639882657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214465218,"filename":"image_28012025_20_36_14_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/30/2663254c27e357d2734d13cfe6bdecd5.jpg","text":"TemporaryFile(/tmp/multipartBody5225132850009515105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214465218,"filename":"image_28012025_20_36_05_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332893410","file1":"1332893374","file0":"1332893336","file4":"1332893462","file5":"1332893558","file3":"1332893434"},"map_files_photo_id_array":[{"photo_id":"1332893558","filename":"file5"},{"photo_id":"1332893410","filename":"file2"},{"photo_id":"1332893462","filename":"file4"},{"photo_id":"1332893374","filename":"file1"},{"photo_id":"1332893336","filename":"file0"},{"photo_id":"1332893434","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332893558":["hashtag1","hashtag2"]},{"1332893462":["hashtag1","hashtag2"]},{"1332893336":["hashtag1","hashtag2"]},{"1332893374":["hashtag1","hashtag2"]},{"1332893434":["hashtag1","hashtag2"]},{"1332893410":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332893558, 1332893462, 1332893336, 1332893374, 1332893434, 1332893410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.6875901222229 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:20:52.814551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/19/image_30012025_06_19_26_10347.jpg', '/home/pi/Desktop/images/30012025/06/20/image_30012025_06_20_16_10372.jpg', '/home/pi/Desktop/images/30012025/06/20/image_30012025_06_20_26_10381.jpg', '/home/pi/Desktop/images/30012025/06/20/image_30012025_06_20_35_9347.jpg', '/home/pi/Desktop/images/30012025/06/20/image_30012025_06_20_46_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/19/image_30012025_06_19_26_10347.jpg
/home/pi/Desktop/images/30012025/06/20/image_30012025_06_20_16_10372.jpg
/home/pi/Desktop/images/30012025/06/20/image_30012025_06_20_26_10381.jpg
/home/pi/Desktop/images/30012025/06/20/image_30012025_06_20_35_9347.jpg
/home/pi/Desktop/images/30012025/06/20/image_30012025_06_20_46_10350.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5280821323394775 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 06:21:05.214388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/19/image_30012025_06_19_26_10347.jpg', '/home/pi/Desktop/images/30012025/06/20/image_30012025_06_20_16_10372.jpg', '/home/pi/Desktop/images/30012025/06/20/image_30012025_06_20_26_10381.jpg', '/home/pi/Desktop/images/30012025/06/20/image_30012025_06_20_35_9347.jpg', '/home/pi/Desktop/images/30012025/06/20/image_30012025_06_20_46_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/19/image_30012025_06_19_26_10347.jpg
/home/pi/Desktop/images/30012025/06/20/image_30012025_06_20_16_10372.jpg
/home/pi/Desktop/images/30012025/06/20/image_30012025_06_20_26_10381.jpg
/home/pi/Desktop/images/30012025/06/20/image_30012025_06_20_35_9347.jpg
/home/pi/Desktop/images/30012025/06/20/image_30012025_06_20_46_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332893703","1332893593","1332893606","1332893586","1332893589"],"photo_ids_order":["1332893586","1332893589","1332893593","1332893606","1332893703"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/51bc95478ef1b8c050c797c11eb5bada.jpg","text":"TemporaryFile(/tmp/multipartBody643478557303265262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214530204,"filename":"image_30012025_06_20_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/30/335c385a707e69ac936df7e7cb19b1d1.jpg","text":"TemporaryFile(/tmp/multipartBody1704069730849896822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214530204,"filename":"image_30012025_06_20_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/30/5de808e2b47870104046857b9e526c44.jpg","text":"TemporaryFile(/tmp/multipartBody5385118470685953573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214530204,"filename":"image_30012025_06_20_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/30/750781ead485c2fb71f9dbc43e747214.jpg","text":"TemporaryFile(/tmp/multipartBody7885410069811355035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214530204,"filename":"image_30012025_06_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/30/326f9e76461761d12bc00583c39874d4.jpg","text":"TemporaryFile(/tmp/multipartBody6455052049527603489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214530204,"filename":"image_30012025_06_20_16_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332893593","file1":"1332893589","file0":"1332893586","file4":"1332893703","file3":"1332893606"},"map_files_photo_id_array":[{"photo_id":"1332893593","filename":"file2"},{"photo_id":"1332893703","filename":"file4"},{"photo_id":"1332893589","filename":"file1"},{"photo_id":"1332893586","filename":"file0"},{"photo_id":"1332893606","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332893703":["hashtag1","hashtag2"]},{"1332893593":["hashtag1","hashtag2"]},{"1332893606":["hashtag1","hashtag2"]},{"1332893586":["hashtag1","hashtag2"]},{"1332893589":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332893703, 1332893593, 1332893606, 1332893586, 1332893589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 40.049623250961304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:21:53.043690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/20/image_30012025_06_20_55_9436.jpg', '/home/pi/Desktop/images/30012025/06/20/image_30012025_06_21_06_10355.jpg', '/home/pi/Desktop/images/30012025/06/21/image_30012025_06_21_16_10505.jpg', '/home/pi/Desktop/images/30012025/06/21/image_30012025_06_21_25_9376.jpg', '/home/pi/Desktop/images/30012025/06/21/image_30012025_06_21_36_10508.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/20/image_30012025_06_20_55_9436.jpg
/home/pi/Desktop/images/30012025/06/20/image_30012025_06_21_06_10355.jpg
/home/pi/Desktop/images/30012025/06/21/image_30012025_06_21_16_10505.jpg
/home/pi/Desktop/images/30012025/06/21/image_30012025_06_21_25_9376.jpg
/home/pi/Desktop/images/30012025/06/21/image_30012025_06_21_36_10508.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332894017","1332893915","1332894039","1332893979","1332893919"],"photo_ids_order":["1332893915","1332893919","1332893979","1332894017","1332894039"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d5df1d38c391122b9433e070bdeca5c7.jpg","text":"TemporaryFile(/tmp/multipartBody4859236616202807699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214573954,"filename":"image_30012025_06_21_25_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bd76d4e86260318c4bb68c9fdcdd02db.jpg","text":"TemporaryFile(/tmp/multipartBody80794170622278643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214573954,"filename":"image_30012025_06_20_55_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/30/4c1101823a8cbf2f97e22400f9a5fb75.jpg","text":"TemporaryFile(/tmp/multipartBody6334245131675536584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214573954,"filename":"image_30012025_06_21_36_10508.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2bc1d8c4d9e3dd5c02c33a4b5cea7163.jpg","text":"TemporaryFile(/tmp/multipartBody7994710790836677422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214573954,"filename":"image_30012025_06_21_16_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/30/036a90f543eb077992283ec0eb443562.jpg","text":"TemporaryFile(/tmp/multipartBody5311337843224362163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214573954,"filename":"image_30012025_06_21_06_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332893979","file1":"1332893919","file0":"1332893915","file4":"1332894039","file3":"1332894017"},"map_files_photo_id_array":[{"photo_id":"1332893979","filename":"file2"},{"photo_id":"1332894039","filename":"file4"},{"photo_id":"1332893919","filename":"file1"},{"photo_id":"1332893915","filename":"file0"},{"photo_id":"1332894017","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332894017":["hashtag1","hashtag2"]},{"1332893915":["hashtag1","hashtag2"]},{"1332894039":["hashtag1","hashtag2"]},{"1332893979":["hashtag1","hashtag2"]},{"1332893919":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332894017, 1332893915, 1332894039, 1332893979, 1332893919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.475263357162476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:22:32.195547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/21/image_30012025_06_21_45_9376.jpg', '/home/pi/Desktop/images/30012025/06/21/image_30012025_06_22_06_10353.jpg', '/home/pi/Desktop/images/30012025/06/22/image_30012025_06_22_15_9350.jpg', '/home/pi/Desktop/images/30012025/06/22/image_30012025_06_22_26_10397.jpg', '/home/pi/Desktop/images/30012025/06/22/image_30012025_06_22_35_9414.jpg', '/home/pi/Desktop/images/30012025/06/22/image_30012025_06_22_46_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/21/image_30012025_06_21_45_9376.jpg
/home/pi/Desktop/images/30012025/06/21/image_30012025_06_22_06_10353.jpg
/home/pi/Desktop/images/30012025/06/22/image_30012025_06_22_15_9350.jpg
/home/pi/Desktop/images/30012025/06/22/image_30012025_06_22_26_10397.jpg
/home/pi/Desktop/images/30012025/06/22/image_30012025_06_22_35_9414.jpg
/home/pi/Desktop/images/30012025/06/22/image_30012025_06_22_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":["1332894179","1332894212","1332894199","1332894214","1332894208","1332894216"],"photo_ids_order":["1332894179","1332894199","1332894208","1332894212","1332894214","1332894216"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/393316a1b9597c97ae9b1ace7e0a9fed.jpg","text":"TemporaryFile(/tmp/multipartBody1830031683415006282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214613121,"filename":"image_30012025_06_21_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/30/b8535fe77c6fbd460db31a997e94ebfd.jpg","text":"TemporaryFile(/tmp/multipartBody3470105260316279991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214613121,"filename":"image_30012025_06_22_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/30/fa47f408f3b0662431f4e79fe98cffe3.jpg","text":"TemporaryFile(/tmp/multipartBody8972920868921809937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214613121,"filename":"image_30012025_06_22_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/30/aaad85d1c937b26420d27bd2fe896179.jpg","text":"TemporaryFile(/tmp/multipartBody8214177817125439283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214613121,"filename":"image_30012025_06_22_35_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d442048b86312e8902a357e414858d65.jpg","text":"TemporaryFile(/tmp/multipartBody8315214122712017932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214613121,"filename":"image_30012025_06_22_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/30/5ae2fd379d6a8bbf209a5cddc3f75bdc.jpg","text":"TemporaryFile(/tmp/multipartBody8114928786409069216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214613121,"filename":"image_30012025_06_22_46_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332894208","file1":"1332894199","file0":"1332894179","file4":"1332894214","file5":"1332894216","file3":"1332894212"},"map_files_photo_id_array":[{"photo_id":"1332894216","filename":"file5"},{"photo_id":"1332894208","filename":"file2"},{"photo_id":"1332894214","filename":"file4"},{"photo_id":"1332894199","filename":"file1"},{"photo_id":"1332894179","filename":"file0"},{"photo_id":"1332894212","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332894179":["hashtag1","hashtag2"]},{"1332894212":["hashtag1","hashtag2"]},{"1332894199":["hashtag1","hashtag2"]},{"1332894214":["hashtag1","hashtag2"]},{"1332894208":["hashtag1","hashtag2"]},{"1332894216":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332894179, 1332894212, 1332894199, 1332894214, 1332894208, 1332894216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.975276470184326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:23:32.505509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/22/image_30012025_06_22_56_10455.jpg', '/home/pi/Desktop/images/30012025/06/22/image_30012025_06_23_05_9352.jpg', '/home/pi/Desktop/images/30012025/06/23/image_30012025_06_23_16_10344.jpg', '/home/pi/Desktop/images/30012025/06/23/image_30012025_06_23_25_9454.jpg', '/home/pi/Desktop/images/30012025/06/23/image_30012025_06_23_36_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/22/image_30012025_06_22_56_10455.jpg
/home/pi/Desktop/images/30012025/06/22/image_30012025_06_23_05_9352.jpg
/home/pi/Desktop/images/30012025/06/23/image_30012025_06_23_16_10344.jpg
/home/pi/Desktop/images/30012025/06/23/image_30012025_06_23_25_9454.jpg
/home/pi/Desktop/images/30012025/06/23/image_30012025_06_23_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":["1332894344","1332894347","1332894331","1332894334","1332894339"],"photo_ids_order":["1332894331","1332894334","1332894339","1332894344","1332894347"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/09667a10751bbf1cdc0a74464132c51c.jpg","text":"TemporaryFile(/tmp/multipartBody7793310022856182085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214673399,"filename":"image_30012025_06_23_25_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/abdedac5fb8e8566c3ef4a2df05084b4.jpg","text":"TemporaryFile(/tmp/multipartBody4526122984377484089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214673399,"filename":"image_30012025_06_23_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/30/9e5bf95883c0e520ce3a425a22c64237.jpg","text":"TemporaryFile(/tmp/multipartBody2027443343346690039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214673399,"filename":"image_30012025_06_22_56_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2dc526d90f06382ee4a3c1a58b4b540f.jpg","text":"TemporaryFile(/tmp/multipartBody9079873835792533395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214673399,"filename":"image_30012025_06_23_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/30/5937c95910055f741c050e935004cdb8.jpg","text":"TemporaryFile(/tmp/multipartBody5107395210619524267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214673399,"filename":"image_30012025_06_23_16_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332894339","file1":"1332894334","file0":"1332894331","file4":"1332894347","file3":"1332894344"},"map_files_photo_id_array":[{"photo_id":"1332894339","filename":"file2"},{"photo_id":"1332894347","filename":"file4"},{"photo_id":"1332894334","filename":"file1"},{"photo_id":"1332894331","filename":"file0"},{"photo_id":"1332894344","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332894344":["hashtag1","hashtag2"]},{"1332894347":["hashtag1","hashtag2"]},{"1332894331":["hashtag1","hashtag2"]},{"1332894334":["hashtag1","hashtag2"]},{"1332894339":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332894344, 1332894347, 1332894331, 1332894334, 1332894339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.761672019958496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:24:32.661307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/23/image_30012025_06_23_46_10430.jpg', '/home/pi/Desktop/images/30012025/06/24/image_30012025_06_24_36_10460.jpg', '/home/pi/Desktop/images/30012025/06/24/image_30012025_06_24_45_9363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/23/image_30012025_06_23_46_10430.jpg
/home/pi/Desktop/images/30012025/06/24/image_30012025_06_24_36_10460.jpg
/home/pi/Desktop/images/30012025/06/24/image_30012025_06_24_45_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":["1332894362","1332894358","1332894366"],"photo_ids_order":["1332894358","1332894362","1332894366"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/117a2d6cee43cb5b43b444cc6e047e4c.jpg","text":"TemporaryFile(/tmp/multipartBody7341078166512186868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214733539,"filename":"image_30012025_06_24_36_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/30/b694f5efa331c253539c7230ab996b0c.jpg","text":"TemporaryFile(/tmp/multipartBody6554135386636211740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214733539,"filename":"image_30012025_06_23_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/30/6b49032e39ecd12cb0c78bf8e11000e1.jpg","text":"TemporaryFile(/tmp/multipartBody6101906169588419016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214733539,"filename":"image_30012025_06_24_45_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332894366","file1":"1332894362","file0":"1332894358"},"map_files_photo_id_array":[{"photo_id":"1332894366","filename":"file2"},{"photo_id":"1332894362","filename":"file1"},{"photo_id":"1332894358","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332894362":["hashtag1","hashtag2"]},{"1332894358":["hashtag1","hashtag2"]},{"1332894366":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332894362, 1332894358, 1332894366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.514919757843018 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 06:25:04.157877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/36/image_28012025_20_36_45_9362.jpg', '/home/pi/Desktop/images/28012025/20/36/image_28012025_20_36_55_10441.jpg', '/home/pi/Desktop/images/28012025/20/36/image_28012025_20_37_05_10359.jpg', '/home/pi/Desktop/images/28012025/20/37/image_28012025_20_37_15_9338.jpg', '/home/pi/Desktop/images/28012025/20/37/image_28012025_20_37_25_10355.jpg', '/home/pi/Desktop/images/28012025/20/37/image_28012025_20_37_35_9461.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/36/image_28012025_20_36_45_9362.jpg
/home/pi/Desktop/images/28012025/20/36/image_28012025_20_36_55_10441.jpg
/home/pi/Desktop/images/28012025/20/36/image_28012025_20_37_05_10359.jpg
/home/pi/Desktop/images/28012025/20/37/image_28012025_20_37_15_9338.jpg
/home/pi/Desktop/images/28012025/20/37/image_28012025_20_37_25_10355.jpg
/home/pi/Desktop/images/28012025/20/37/image_28012025_20_37_35_9461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332894382","1332894376","1332894396","1332894378","1332894387","1332894392"],"photo_ids_order":["1332894376","1332894378","1332894382","1332894387","1332894392","1332894396"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/45f953830837fb8277a8a55ea4750ba5.jpg","text":"TemporaryFile(/tmp/multipartBody3019682012568682985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214766094,"filename":"image_28012025_20_37_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/30/9de02dd3dfa9a0e0289f5659f13aaf64.jpg","text":"TemporaryFile(/tmp/multipartBody8717853176224301893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214766094,"filename":"image_28012025_20_36_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/30/7424992f33bf870c9c638a1cee4eb684.jpg","text":"TemporaryFile(/tmp/multipartBody8843537693032434304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214766094,"filename":"image_28012025_20_37_35_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/739dd8773e32dda21b48d0481f68679e.jpg","text":"TemporaryFile(/tmp/multipartBody2392703310918463802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214766094,"filename":"image_28012025_20_36_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/30/a17a4a1b383e9ee3063648cd947809ea.jpg","text":"TemporaryFile(/tmp/multipartBody7292825499070079346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214766094,"filename":"image_28012025_20_37_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/30/d52bced67e7e4c979f1a39b390a08c0a.jpg","text":"TemporaryFile(/tmp/multipartBody6541664722771629698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214766094,"filename":"image_28012025_20_37_25_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332894382","file1":"1332894378","file0":"1332894376","file4":"1332894392","file5":"1332894396","file3":"1332894387"},"map_files_photo_id_array":[{"photo_id":"1332894396","filename":"file5"},{"photo_id":"1332894382","filename":"file2"},{"photo_id":"1332894392","filename":"file4"},{"photo_id":"1332894378","filename":"file1"},{"photo_id":"1332894376","filename":"file0"},{"photo_id":"1332894387","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332894382":["hashtag1","hashtag2"]},{"1332894376":["hashtag1","hashtag2"]},{"1332894396":["hashtag1","hashtag2"]},{"1332894378":["hashtag1","hashtag2"]},{"1332894387":["hashtag1","hashtag2"]},{"1332894392":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332894382, 1332894376, 1332894396, 1332894378, 1332894387, 1332894392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.57147216796875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:25:52.894298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/24/image_30012025_06_24_56_10348.jpg', '/home/pi/Desktop/images/30012025/06/24/image_30012025_06_25_05_9351.jpg', '/home/pi/Desktop/images/30012025/06/25/image_30012025_06_25_15_10361.jpg', '/home/pi/Desktop/images/30012025/06/25/image_30012025_06_25_46_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/24/image_30012025_06_24_56_10348.jpg
/home/pi/Desktop/images/30012025/06/24/image_30012025_06_25_05_9351.jpg
/home/pi/Desktop/images/30012025/06/25/image_30012025_06_25_15_10361.jpg
/home/pi/Desktop/images/30012025/06/25/image_30012025_06_25_46_10415.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332894408","1332894402","1332894411","1332894405"],"photo_ids_order":["1332894402","1332894405","1332894408","1332894411"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4b037153c50d38835df140578503356b.jpg","text":"TemporaryFile(/tmp/multipartBody3933596523287105593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214813802,"filename":"image_30012025_06_25_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/30/bc29a18bf74c8c08483b461dc4f5d1e5.jpg","text":"TemporaryFile(/tmp/multipartBody2113692359438992746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214813802,"filename":"image_30012025_06_24_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/30/871be7c857b6af87340bfe7e09f57402.jpg","text":"TemporaryFile(/tmp/multipartBody2648044186725376736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214813802,"filename":"image_30012025_06_25_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/30/bc8847bf2b4e319f9f9828bd68d673b7.jpg","text":"TemporaryFile(/tmp/multipartBody8339640435722108765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214813802,"filename":"image_30012025_06_25_05_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332894408","file1":"1332894405","file0":"1332894402","file3":"1332894411"},"map_files_photo_id_array":[{"photo_id":"1332894408","filename":"file2"},{"photo_id":"1332894405","filename":"file1"},{"photo_id":"1332894402","filename":"file0"},{"photo_id":"1332894411","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332894408":["hashtag1","hashtag2"]},{"1332894402":["hashtag1","hashtag2"]},{"1332894411":["hashtag1","hashtag2"]},{"1332894405":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332894408, 1332894402, 1332894411, 1332894405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.643974781036377 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:26:33.078930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/25/image_30012025_06_25_55_9347.jpg', '/home/pi/Desktop/images/30012025/06/25/image_30012025_06_26_05_10354.jpg', '/home/pi/Desktop/images/30012025/06/26/image_30012025_06_26_16_10405.jpg', '/home/pi/Desktop/images/30012025/06/26/image_30012025_06_26_36_10464.jpg', '/home/pi/Desktop/images/30012025/06/26/image_30012025_06_26_45_9412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/25/image_30012025_06_25_55_9347.jpg
/home/pi/Desktop/images/30012025/06/25/image_30012025_06_26_05_10354.jpg
/home/pi/Desktop/images/30012025/06/26/image_30012025_06_26_16_10405.jpg
/home/pi/Desktop/images/30012025/06/26/image_30012025_06_26_36_10464.jpg
/home/pi/Desktop/images/30012025/06/26/image_30012025_06_26_45_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":["1332894701","1332894634","1332894631","1332894711","1332894714"],"photo_ids_order":["1332894631","1332894634","1332894701","1332894711","1332894714"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e69077ddde9011e0950e27617f9506a3.jpg","text":"TemporaryFile(/tmp/multipartBody6964576515745275119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214853968,"filename":"image_30012025_06_26_16_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/30/eda72fccba1948e94bcb5830612f94b4.jpg","text":"TemporaryFile(/tmp/multipartBody5239503348238492646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214853968,"filename":"image_30012025_06_26_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/30/e8abb7641f053a658945ecb2d00bb9a0.jpg","text":"TemporaryFile(/tmp/multipartBody1482487738963704453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214853968,"filename":"image_30012025_06_25_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/30/8b16ce70ac103d51a24af5fc123beeff.jpg","text":"TemporaryFile(/tmp/multipartBody4128926460062013922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214853968,"filename":"image_30012025_06_26_36_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/30/1a4f9b636bcfc457714ef921e186c088.jpg","text":"TemporaryFile(/tmp/multipartBody3756977796233053311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214853968,"filename":"image_30012025_06_26_45_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332894701","file1":"1332894634","file0":"1332894631","file4":"1332894714","file3":"1332894711"},"map_files_photo_id_array":[{"photo_id":"1332894701","filename":"file2"},{"photo_id":"1332894714","filename":"file4"},{"photo_id":"1332894634","filename":"file1"},{"photo_id":"1332894631","filename":"file0"},{"photo_id":"1332894711","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332894701":["hashtag1","hashtag2"]},{"1332894634":["hashtag1","hashtag2"]},{"1332894631":["hashtag1","hashtag2"]},{"1332894711":["hashtag1","hashtag2"]},{"1332894714":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332894701, 1332894634, 1332894631, 1332894711, 1332894714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.49296522140503 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:27:32.425088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/26/image_30012025_06_26_55_10337.jpg', '/home/pi/Desktop/images/30012025/06/26/image_30012025_06_27_06_10377.jpg', '/home/pi/Desktop/images/30012025/06/27/image_30012025_06_27_15_9399.jpg', '/home/pi/Desktop/images/30012025/06/27/image_30012025_06_27_26_10352.jpg', '/home/pi/Desktop/images/30012025/06/27/image_30012025_06_27_36_10441.jpg', '/home/pi/Desktop/images/30012025/06/27/image_30012025_06_27_45_9365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/26/image_30012025_06_26_55_10337.jpg
/home/pi/Desktop/images/30012025/06/26/image_30012025_06_27_06_10377.jpg
/home/pi/Desktop/images/30012025/06/27/image_30012025_06_27_15_9399.jpg
/home/pi/Desktop/images/30012025/06/27/image_30012025_06_27_26_10352.jpg
/home/pi/Desktop/images/30012025/06/27/image_30012025_06_27_36_10441.jpg
/home/pi/Desktop/images/30012025/06/27/image_30012025_06_27_45_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":["1332894794","1332894800","1332894799","1332894787","1332894797","1332894791"],"photo_ids_order":["1332894787","1332894791","1332894794","1332894797","1332894799","1332894800"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2a06e3c09ad96b691a0da06d02f5419b.jpg","text":"TemporaryFile(/tmp/multipartBody3369429658203806845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214913339,"filename":"image_30012025_06_27_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/30/cfbd8a97e1152fe14fc94fb5266d3434.jpg","text":"TemporaryFile(/tmp/multipartBody1737174866679897744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214913339,"filename":"image_30012025_06_27_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/30/40e49f0fa06bec165d6905dcfaa06686.jpg","text":"TemporaryFile(/tmp/multipartBody8689560839696387430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214913339,"filename":"image_30012025_06_27_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/30/d77df16dbb0b36afd285797b45bf195e.jpg","text":"TemporaryFile(/tmp/multipartBody5331958028325913916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214913339,"filename":"image_30012025_06_26_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/30/80cb8a5cc84782729d2cbe70e05eeded.jpg","text":"TemporaryFile(/tmp/multipartBody8543738662944886567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214913339,"filename":"image_30012025_06_27_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/30/708f1cb99a98b432288286159aec1706.jpg","text":"TemporaryFile(/tmp/multipartBody2466417529186649794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214913339,"filename":"image_30012025_06_27_06_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332894794","file1":"1332894791","file0":"1332894787","file4":"1332894799","file5":"1332894800","file3":"1332894797"},"map_files_photo_id_array":[{"photo_id":"1332894800","filename":"file5"},{"photo_id":"1332894794","filename":"file2"},{"photo_id":"1332894799","filename":"file4"},{"photo_id":"1332894791","filename":"file1"},{"photo_id":"1332894787","filename":"file0"},{"photo_id":"1332894797","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332894794":["hashtag1","hashtag2"]},{"1332894800":["hashtag1","hashtag2"]},{"1332894799":["hashtag1","hashtag2"]},{"1332894787":["hashtag1","hashtag2"]},{"1332894797":["hashtag1","hashtag2"]},{"1332894791":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332894794, 1332894800, 1332894799, 1332894787, 1332894797, 1332894791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.237606048583984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:28:32.449099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/27/image_30012025_06_27_56_10375.jpg', '/home/pi/Desktop/images/30012025/06/27/image_30012025_06_28_05_9397.jpg', '/home/pi/Desktop/images/30012025/06/28/image_30012025_06_28_16_10333.jpg', '/home/pi/Desktop/images/30012025/06/28/image_30012025_06_28_26_10527.jpg', '/home/pi/Desktop/images/30012025/06/28/image_30012025_06_28_35_9332.jpg', '/home/pi/Desktop/images/30012025/06/28/image_30012025_06_28_46_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/27/image_30012025_06_27_56_10375.jpg
/home/pi/Desktop/images/30012025/06/27/image_30012025_06_28_05_9397.jpg
/home/pi/Desktop/images/30012025/06/28/image_30012025_06_28_16_10333.jpg
/home/pi/Desktop/images/30012025/06/28/image_30012025_06_28_26_10527.jpg
/home/pi/Desktop/images/30012025/06/28/image_30012025_06_28_35_9332.jpg
/home/pi/Desktop/images/30012025/06/28/image_30012025_06_28_46_10350.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5227389335632324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 06:28:42.625108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/27/image_30012025_06_27_56_10375.jpg', '/home/pi/Desktop/images/30012025/06/27/image_30012025_06_28_05_9397.jpg', '/home/pi/Desktop/images/30012025/06/28/image_30012025_06_28_16_10333.jpg', '/home/pi/Desktop/images/30012025/06/28/image_30012025_06_28_26_10527.jpg', '/home/pi/Desktop/images/30012025/06/28/image_30012025_06_28_35_9332.jpg', '/home/pi/Desktop/images/30012025/06/28/image_30012025_06_28_46_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/27/image_30012025_06_27_56_10375.jpg
/home/pi/Desktop/images/30012025/06/27/image_30012025_06_28_05_9397.jpg
/home/pi/Desktop/images/30012025/06/28/image_30012025_06_28_16_10333.jpg
/home/pi/Desktop/images/30012025/06/28/image_30012025_06_28_26_10527.jpg
/home/pi/Desktop/images/30012025/06/28/image_30012025_06_28_35_9332.jpg
/home/pi/Desktop/images/30012025/06/28/image_30012025_06_28_46_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332894827","1332894820","1332894855","1332894849","1332894840","1332894852"],"photo_ids_order":["1332894820","1332894827","1332894840","1332894849","1332894852","1332894855"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5d947269b8948003035dab27f84ce842.jpg","text":"TemporaryFile(/tmp/multipartBody8593998879570634774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214983528,"filename":"image_30012025_06_28_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/30/16d1c7e684ebb599b6d0c67d27830550.jpg","text":"TemporaryFile(/tmp/multipartBody7479083408045757910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214983528,"filename":"image_30012025_06_27_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/30/893dae06eb506c866d984f93026a2cbc.jpg","text":"TemporaryFile(/tmp/multipartBody3379246074935124819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214983528,"filename":"image_30012025_06_28_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/30/37139e97826eb34f1e5b55076e87e832.jpg","text":"TemporaryFile(/tmp/multipartBody6119210250097457453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214983528,"filename":"image_30012025_06_28_26_10527.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e191a43cdd501da04556f0e76aceda86.jpg","text":"TemporaryFile(/tmp/multipartBody3416385777704968835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214983528,"filename":"image_30012025_06_28_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/30/2aaec8cb787f664086f3db9867092ec9.jpg","text":"TemporaryFile(/tmp/multipartBody5948004973698577249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738214983528,"filename":"image_30012025_06_28_35_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332894840","file1":"1332894827","file0":"1332894820","file4":"1332894852","file5":"1332894855","file3":"1332894849"},"map_files_photo_id_array":[{"photo_id":"1332894855","filename":"file5"},{"photo_id":"1332894840","filename":"file2"},{"photo_id":"1332894852","filename":"file4"},{"photo_id":"1332894827","filename":"file1"},{"photo_id":"1332894820","filename":"file0"},{"photo_id":"1332894849","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332894827":["hashtag1","hashtag2"]},{"1332894820":["hashtag1","hashtag2"]},{"1332894855":["hashtag1","hashtag2"]},{"1332894849":["hashtag1","hashtag2"]},{"1332894840":["hashtag1","hashtag2"]},{"1332894852":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332894827, 1332894820, 1332894855, 1332894849, 1332894840, 1332894852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.86219620704651 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:29:32.599674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/28/image_30012025_06_28_55_9412.jpg', '/home/pi/Desktop/images/30012025/06/28/image_30012025_06_29_05_10346.jpg', '/home/pi/Desktop/images/30012025/06/29/image_30012025_06_29_16_10471.jpg', '/home/pi/Desktop/images/30012025/06/29/image_30012025_06_29_25_9426.jpg', '/home/pi/Desktop/images/30012025/06/29/image_30012025_06_29_36_10366.jpg', '/home/pi/Desktop/images/30012025/06/29/image_30012025_06_29_45_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/28/image_30012025_06_28_55_9412.jpg
/home/pi/Desktop/images/30012025/06/28/image_30012025_06_29_05_10346.jpg
/home/pi/Desktop/images/30012025/06/29/image_30012025_06_29_16_10471.jpg
/home/pi/Desktop/images/30012025/06/29/image_30012025_06_29_25_9426.jpg
/home/pi/Desktop/images/30012025/06/29/image_30012025_06_29_36_10366.jpg
/home/pi/Desktop/images/30012025/06/29/image_30012025_06_29_45_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":["1332894880","1332894871","1332894934","1332894867","1332894936","1332894939"],"photo_ids_order":["1332894867","1332894871","1332894880","1332894934","1332894936","1332894939"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/21f53056811955b062adf1a9b258627a.jpg","text":"TemporaryFile(/tmp/multipartBody753330740993351647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215033512,"filename":"image_30012025_06_29_16_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/30/115e66a1fad77cf15e16022efd857ebf.jpg","text":"TemporaryFile(/tmp/multipartBody1484509893910779133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215033512,"filename":"image_30012025_06_29_05_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a01bf02b911fd4b7f199e24a07a57ef4.jpg","text":"TemporaryFile(/tmp/multipartBody8524508978237464481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215033512,"filename":"image_30012025_06_29_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/30/c777ccd140f8fe44e2842621a1196696.jpg","text":"TemporaryFile(/tmp/multipartBody5280727456800590124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215033512,"filename":"image_30012025_06_28_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/30/f2a556e46f8402dccb2951352fd5ca27.jpg","text":"TemporaryFile(/tmp/multipartBody3498503621246588516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215033512,"filename":"image_30012025_06_29_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/30/29d55a16a61c3b34b29c1bf2f3ec1c82.jpg","text":"TemporaryFile(/tmp/multipartBody2910989301916122661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215033512,"filename":"image_30012025_06_29_45_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332894880","file1":"1332894871","file0":"1332894867","file4":"1332894936","file5":"1332894939","file3":"1332894934"},"map_files_photo_id_array":[{"photo_id":"1332894939","filename":"file5"},{"photo_id":"1332894880","filename":"file2"},{"photo_id":"1332894936","filename":"file4"},{"photo_id":"1332894871","filename":"file1"},{"photo_id":"1332894867","filename":"file0"},{"photo_id":"1332894934","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332894880":["hashtag1","hashtag2"]},{"1332894871":["hashtag1","hashtag2"]},{"1332894934":["hashtag1","hashtag2"]},{"1332894867":["hashtag1","hashtag2"]},{"1332894936":["hashtag1","hashtag2"]},{"1332894939":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332894880, 1332894871, 1332894934, 1332894867, 1332894936, 1332894939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.33390927314758 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:30:32.802643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/29/image_30012025_06_29_55_10352.jpg', '/home/pi/Desktop/images/30012025/06/29/image_30012025_06_30_06_10365.jpg', '/home/pi/Desktop/images/30012025/06/30/image_30012025_06_30_15_9417.jpg', '/home/pi/Desktop/images/30012025/06/30/image_30012025_06_30_26_10370.jpg', '/home/pi/Desktop/images/30012025/06/30/image_30012025_06_30_36_10381.jpg', '/home/pi/Desktop/images/30012025/06/30/image_30012025_06_30_45_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/29/image_30012025_06_29_55_10352.jpg
/home/pi/Desktop/images/30012025/06/29/image_30012025_06_30_06_10365.jpg
/home/pi/Desktop/images/30012025/06/30/image_30012025_06_30_15_9417.jpg
/home/pi/Desktop/images/30012025/06/30/image_30012025_06_30_26_10370.jpg
/home/pi/Desktop/images/30012025/06/30/image_30012025_06_30_36_10381.jpg
/home/pi/Desktop/images/30012025/06/30/image_30012025_06_30_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":["1332894959","1332894956","1332894967","1332894963","1332894951","1332894962"],"photo_ids_order":["1332894951","1332894956","1332894959","1332894962","1332894963","1332894967"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8a546df44c119722f5a620bf12a89e8e.jpg","text":"TemporaryFile(/tmp/multipartBody5388154145207263569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215093712,"filename":"image_30012025_06_30_15_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f60c7a91d8df31bc7ca7e23db6b923b4.jpg","text":"TemporaryFile(/tmp/multipartBody3123273309105142601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215093712,"filename":"image_30012025_06_30_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/30/177dacc271e4b3501c1047ea3049b19f.jpg","text":"TemporaryFile(/tmp/multipartBody7977258641501184616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215093712,"filename":"image_30012025_06_30_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/30/13d001c07d46a411c4b31a096796a03f.jpg","text":"TemporaryFile(/tmp/multipartBody6408483747622322929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215093712,"filename":"image_30012025_06_30_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/30/82a52c59fc228ae613e9bff0bc00a22e.jpg","text":"TemporaryFile(/tmp/multipartBody1843170086046727661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215093712,"filename":"image_30012025_06_29_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/30/06f1ec7953dc1449020dd2007274fd54.jpg","text":"TemporaryFile(/tmp/multipartBody4485753769760905490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215093712,"filename":"image_30012025_06_30_26_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332894959","file1":"1332894956","file0":"1332894951","file4":"1332894963","file5":"1332894967","file3":"1332894962"},"map_files_photo_id_array":[{"photo_id":"1332894967","filename":"file5"},{"photo_id":"1332894959","filename":"file2"},{"photo_id":"1332894963","filename":"file4"},{"photo_id":"1332894956","filename":"file1"},{"photo_id":"1332894951","filename":"file0"},{"photo_id":"1332894962","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332894959":["hashtag1","hashtag2"]},{"1332894956":["hashtag1","hashtag2"]},{"1332894967":["hashtag1","hashtag2"]},{"1332894963":["hashtag1","hashtag2"]},{"1332894951":["hashtag1","hashtag2"]},{"1332894962":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332894959, 1332894956, 1332894967, 1332894963, 1332894951, 1332894962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84062075614929 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:31:33.060465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/30/image_30012025_06_30_56_10434.jpg', '/home/pi/Desktop/images/30012025/06/30/image_30012025_06_31_05_9366.jpg', '/home/pi/Desktop/images/30012025/06/31/image_30012025_06_31_16_10394.jpg', '/home/pi/Desktop/images/30012025/06/31/image_30012025_06_31_26_10452.jpg', '/home/pi/Desktop/images/30012025/06/31/image_30012025_06_31_35_9350.jpg', '/home/pi/Desktop/images/30012025/06/31/image_30012025_06_31_46_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/30/image_30012025_06_30_56_10434.jpg
/home/pi/Desktop/images/30012025/06/30/image_30012025_06_31_05_9366.jpg
/home/pi/Desktop/images/30012025/06/31/image_30012025_06_31_16_10394.jpg
/home/pi/Desktop/images/30012025/06/31/image_30012025_06_31_26_10452.jpg
/home/pi/Desktop/images/30012025/06/31/image_30012025_06_31_35_9350.jpg
/home/pi/Desktop/images/30012025/06/31/image_30012025_06_31_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":["1332895010","1332895004","1332895000","1332895155","1332895050","1332895223"],"photo_ids_order":["1332895000","1332895004","1332895010","1332895050","1332895155","1332895223"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/308e8cdf9bcf85d366481c95f67d9b89.jpg","text":"TemporaryFile(/tmp/multipartBody102723122353463926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215153980,"filename":"image_30012025_06_31_16_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/faed187aff1762fc7419083bff4af45d.jpg","text":"TemporaryFile(/tmp/multipartBody4326016482320083024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215153980,"filename":"image_30012025_06_31_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/30/906d0eb4d94bf9a35a09b046b84118ce.jpg","text":"TemporaryFile(/tmp/multipartBody742341079491282116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215153980,"filename":"image_30012025_06_30_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/30/3895d608c8d84cd75b830dae179e2100.jpg","text":"TemporaryFile(/tmp/multipartBody6223988174155021316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215153980,"filename":"image_30012025_06_31_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/30/ac05ca9025857db8797fad935d2cd4d9.jpg","text":"TemporaryFile(/tmp/multipartBody831601181523185923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215153980,"filename":"image_30012025_06_31_26_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/30/63229f7fc016ca49bf3c81c9907bd331.jpg","text":"TemporaryFile(/tmp/multipartBody261587503854290713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215153980,"filename":"image_30012025_06_31_46_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332895010","file1":"1332895004","file0":"1332895000","file4":"1332895155","file5":"1332895223","file3":"1332895050"},"map_files_photo_id_array":[{"photo_id":"1332895223","filename":"file5"},{"photo_id":"1332895010","filename":"file2"},{"photo_id":"1332895155","filename":"file4"},{"photo_id":"1332895004","filename":"file1"},{"photo_id":"1332895000","filename":"file0"},{"photo_id":"1332895050","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332895010":["hashtag1","hashtag2"]},{"1332895004":["hashtag1","hashtag2"]},{"1332895000":["hashtag1","hashtag2"]},{"1332895155":["hashtag1","hashtag2"]},{"1332895050":["hashtag1","hashtag2"]},{"1332895223":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332895010, 1332895004, 1332895000, 1332895155, 1332895050, 1332895223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.74123454093933 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:32:32.148520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/31/image_30012025_06_31_55_9421.jpg', '/home/pi/Desktop/images/30012025/06/31/image_30012025_06_32_06_10448.jpg', '/home/pi/Desktop/images/30012025/06/32/image_30012025_06_32_16_10490.jpg', '/home/pi/Desktop/images/30012025/06/32/image_30012025_06_32_25_9389.jpg', '/home/pi/Desktop/images/30012025/06/32/image_30012025_06_32_36_10358.jpg', '/home/pi/Desktop/images/30012025/06/32/image_30012025_06_32_45_9373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/31/image_30012025_06_31_55_9421.jpg
/home/pi/Desktop/images/30012025/06/31/image_30012025_06_32_06_10448.jpg
/home/pi/Desktop/images/30012025/06/32/image_30012025_06_32_16_10490.jpg
/home/pi/Desktop/images/30012025/06/32/image_30012025_06_32_25_9389.jpg
/home/pi/Desktop/images/30012025/06/32/image_30012025_06_32_36_10358.jpg
/home/pi/Desktop/images/30012025/06/32/image_30012025_06_32_45_9373.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5237836837768555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 06:32:42.209267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/31/image_30012025_06_31_55_9421.jpg', '/home/pi/Desktop/images/30012025/06/31/image_30012025_06_32_06_10448.jpg', '/home/pi/Desktop/images/30012025/06/32/image_30012025_06_32_16_10490.jpg', '/home/pi/Desktop/images/30012025/06/32/image_30012025_06_32_25_9389.jpg', '/home/pi/Desktop/images/30012025/06/32/image_30012025_06_32_36_10358.jpg', '/home/pi/Desktop/images/30012025/06/32/image_30012025_06_32_45_9373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/31/image_30012025_06_31_55_9421.jpg
/home/pi/Desktop/images/30012025/06/31/image_30012025_06_32_06_10448.jpg
/home/pi/Desktop/images/30012025/06/32/image_30012025_06_32_16_10490.jpg
/home/pi/Desktop/images/30012025/06/32/image_30012025_06_32_25_9389.jpg
/home/pi/Desktop/images/30012025/06/32/image_30012025_06_32_36_10358.jpg
/home/pi/Desktop/images/30012025/06/32/image_30012025_06_32_45_9373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332895513","1332895522","1332895516","1332895423","1332895410","1332895478"],"photo_ids_order":["1332895410","1332895423","1332895478","1332895513","1332895516","1332895522"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2280fbdff51b5916fa31f8f23cb01460.jpg","text":"TemporaryFile(/tmp/multipartBody5810237661234440855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215223145,"filename":"image_30012025_06_32_25_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/30/120ca739a37307d147eb38ef8d81ebe7.jpg","text":"TemporaryFile(/tmp/multipartBody8742747483864501037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215223145,"filename":"image_30012025_06_32_45_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/30/b7454ca4dc0c27e5fa194e8d18f51e5a.jpg","text":"TemporaryFile(/tmp/multipartBody1768160932101699261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215223145,"filename":"image_30012025_06_32_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/30/862fecada846e1f073a8d5ca506c7057.jpg","text":"TemporaryFile(/tmp/multipartBody1178874628226343500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215223145,"filename":"image_30012025_06_32_06_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/30/dbb9270a111f20ddf962083665cfb437.jpg","text":"TemporaryFile(/tmp/multipartBody4082221705031175928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215223145,"filename":"image_30012025_06_31_55_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/30/2c40d38efa566cf0080c58247c42a1b7.jpg","text":"TemporaryFile(/tmp/multipartBody7004627412072261742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215223145,"filename":"image_30012025_06_32_16_10490.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332895478","file1":"1332895423","file0":"1332895410","file4":"1332895516","file5":"1332895522","file3":"1332895513"},"map_files_photo_id_array":[{"photo_id":"1332895522","filename":"file5"},{"photo_id":"1332895478","filename":"file2"},{"photo_id":"1332895516","filename":"file4"},{"photo_id":"1332895423","filename":"file1"},{"photo_id":"1332895410","filename":"file0"},{"photo_id":"1332895513","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332895513":["hashtag1","hashtag2"]},{"1332895522":["hashtag1","hashtag2"]},{"1332895516":["hashtag1","hashtag2"]},{"1332895423":["hashtag1","hashtag2"]},{"1332895410":["hashtag1","hashtag2"]},{"1332895478":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332895513, 1332895522, 1332895516, 1332895423, 1332895410, 1332895478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.218841552734375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:33:32.352655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/32/image_30012025_06_32_56_10354.jpg', '/home/pi/Desktop/images/30012025/06/33/image_30012025_06_33_15_9360.jpg', '/home/pi/Desktop/images/30012025/06/33/image_30012025_06_33_26_10357.jpg', '/home/pi/Desktop/images/30012025/06/33/image_30012025_06_33_35_9436.jpg', '/home/pi/Desktop/images/30012025/06/33/image_30012025_06_33_46_10391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/32/image_30012025_06_32_56_10354.jpg
/home/pi/Desktop/images/30012025/06/33/image_30012025_06_33_15_9360.jpg
/home/pi/Desktop/images/30012025/06/33/image_30012025_06_33_26_10357.jpg
/home/pi/Desktop/images/30012025/06/33/image_30012025_06_33_35_9436.jpg
/home/pi/Desktop/images/30012025/06/33/image_30012025_06_33_46_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":["1332895550","1332895544","1332895546","1332895548","1332895553"],"photo_ids_order":["1332895544","1332895546","1332895548","1332895550","1332895553"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/aac8ff44bfa8b687ea4a56be7354096f.jpg","text":"TemporaryFile(/tmp/multipartBody9123028962954387477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215273255,"filename":"image_30012025_06_33_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/30/fe28b41508d3c3c1cd117c6b83c8e1a9.jpg","text":"TemporaryFile(/tmp/multipartBody987366143372932996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215273255,"filename":"image_30012025_06_32_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/30/8a40527dc2f0993101174e6f813d22bf.jpg","text":"TemporaryFile(/tmp/multipartBody1426482332792035530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215273255,"filename":"image_30012025_06_33_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/30/632f952c2b0625eca8b0b3cbd78cb801.jpg","text":"TemporaryFile(/tmp/multipartBody1027785648704300400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215273255,"filename":"image_30012025_06_33_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/30/fd22959911e35ee827bd5a94635641e8.jpg","text":"TemporaryFile(/tmp/multipartBody2122465210822158089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215273255,"filename":"image_30012025_06_33_46_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332895548","file1":"1332895546","file0":"1332895544","file4":"1332895553","file3":"1332895550"},"map_files_photo_id_array":[{"photo_id":"1332895548","filename":"file2"},{"photo_id":"1332895553","filename":"file4"},{"photo_id":"1332895546","filename":"file1"},{"photo_id":"1332895544","filename":"file0"},{"photo_id":"1332895550","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332895550":["hashtag1","hashtag2"]},{"1332895544":["hashtag1","hashtag2"]},{"1332895546":["hashtag1","hashtag2"]},{"1332895548":["hashtag1","hashtag2"]},{"1332895553":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332895550, 1332895544, 1332895546, 1332895548, 1332895553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.29586982727051 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:34:32.556414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/33/image_30012025_06_33_56_10451.jpg', '/home/pi/Desktop/images/30012025/06/33/image_30012025_06_34_05_9350.jpg', '/home/pi/Desktop/images/30012025/06/34/image_30012025_06_34_16_10403.jpg', '/home/pi/Desktop/images/30012025/06/34/image_30012025_06_34_25_9393.jpg', '/home/pi/Desktop/images/30012025/06/34/image_30012025_06_34_36_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/33/image_30012025_06_33_56_10451.jpg
/home/pi/Desktop/images/30012025/06/33/image_30012025_06_34_05_9350.jpg
/home/pi/Desktop/images/30012025/06/34/image_30012025_06_34_16_10403.jpg
/home/pi/Desktop/images/30012025/06/34/image_30012025_06_34_25_9393.jpg
/home/pi/Desktop/images/30012025/06/34/image_30012025_06_34_36_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":["1332895582","1332895577","1332895586","1332895571","1332895580"],"photo_ids_order":["1332895571","1332895577","1332895580","1332895582","1332895586"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1b6f4463444faa630e6af5ffd478a8d2.jpg","text":"TemporaryFile(/tmp/multipartBody4783039633257980946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215333472,"filename":"image_30012025_06_34_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/30/d23e44cf0c8b346b454c56286e21314d.jpg","text":"TemporaryFile(/tmp/multipartBody6657637430738485893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215333472,"filename":"image_30012025_06_34_05_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8823e4c08f65266989884a615d5e3a6a.jpg","text":"TemporaryFile(/tmp/multipartBody5339388862018879942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215333472,"filename":"image_30012025_06_34_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/30/fdf1bc4cd1b541a3a625bdff5e15d662.jpg","text":"TemporaryFile(/tmp/multipartBody1788711111757799667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215333472,"filename":"image_30012025_06_33_56_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/30/da06091ca3b2ce73ff13d15f1bef6524.jpg","text":"TemporaryFile(/tmp/multipartBody2652614469131650072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215333472,"filename":"image_30012025_06_34_16_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332895580","file1":"1332895577","file0":"1332895571","file4":"1332895586","file3":"1332895582"},"map_files_photo_id_array":[{"photo_id":"1332895580","filename":"file2"},{"photo_id":"1332895586","filename":"file4"},{"photo_id":"1332895577","filename":"file1"},{"photo_id":"1332895571","filename":"file0"},{"photo_id":"1332895582","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332895582":["hashtag1","hashtag2"]},{"1332895577":["hashtag1","hashtag2"]},{"1332895586":["hashtag1","hashtag2"]},{"1332895571":["hashtag1","hashtag2"]},{"1332895580":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332895582, 1332895577, 1332895586, 1332895571, 1332895580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.52339267730713 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:35:32.808821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/34/image_30012025_06_34_55_9412.jpg', '/home/pi/Desktop/images/30012025/06/34/image_30012025_06_35_06_10416.jpg', '/home/pi/Desktop/images/30012025/06/35/image_30012025_06_35_16_10421.jpg', '/home/pi/Desktop/images/30012025/06/35/image_30012025_06_35_36_10485.jpg', '/home/pi/Desktop/images/30012025/06/35/image_30012025_06_35_45_9431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/34/image_30012025_06_34_55_9412.jpg
/home/pi/Desktop/images/30012025/06/34/image_30012025_06_35_06_10416.jpg
/home/pi/Desktop/images/30012025/06/35/image_30012025_06_35_16_10421.jpg
/home/pi/Desktop/images/30012025/06/35/image_30012025_06_35_36_10485.jpg
/home/pi/Desktop/images/30012025/06/35/image_30012025_06_35_45_9431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332895651","1332895648","1332895636","1332895644","1332895640"],"photo_ids_order":["1332895636","1332895640","1332895644","1332895648","1332895651"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/495e807e839c95c35e03012902fb27b5.jpg","text":"TemporaryFile(/tmp/multipartBody3201926746639461940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215393778,"filename":"image_30012025_06_35_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/30/e76d27a96d38237758b1d10d7d34776c.jpg","text":"TemporaryFile(/tmp/multipartBody5172390178444406037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215393778,"filename":"image_30012025_06_35_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/30/ff890495302d9551cb77ff2fc5037410.jpg","text":"TemporaryFile(/tmp/multipartBody5530496537448364973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215393778,"filename":"image_30012025_06_34_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/30/e8058f04e8cb74820f7b18ff610956ba.jpg","text":"TemporaryFile(/tmp/multipartBody4484189485213242928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215393778,"filename":"image_30012025_06_35_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/30/193c8994ffc72afeacfdb30cfb6b141a.jpg","text":"TemporaryFile(/tmp/multipartBody3092062805833007423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215393778,"filename":"image_30012025_06_35_06_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332895644","file1":"1332895640","file0":"1332895636","file4":"1332895651","file3":"1332895648"},"map_files_photo_id_array":[{"photo_id":"1332895644","filename":"file2"},{"photo_id":"1332895651","filename":"file4"},{"photo_id":"1332895640","filename":"file1"},{"photo_id":"1332895636","filename":"file0"},{"photo_id":"1332895648","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332895651":["hashtag1","hashtag2"]},{"1332895648":["hashtag1","hashtag2"]},{"1332895636":["hashtag1","hashtag2"]},{"1332895644":["hashtag1","hashtag2"]},{"1332895640":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332895651, 1332895648, 1332895636, 1332895644, 1332895640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.496562480926514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:36:33.258471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/35/image_30012025_06_35_56_10343.jpg', '/home/pi/Desktop/images/30012025/06/35/image_30012025_06_36_05_9413.jpg', '/home/pi/Desktop/images/30012025/06/36/image_30012025_06_36_35_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/35/image_30012025_06_35_56_10343.jpg
/home/pi/Desktop/images/30012025/06/35/image_30012025_06_36_05_9413.jpg
/home/pi/Desktop/images/30012025/06/36/image_30012025_06_36_35_9334.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.47376322746276855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 06:36:43.292227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/35/image_30012025_06_35_56_10343.jpg', '/home/pi/Desktop/images/30012025/06/35/image_30012025_06_36_05_9413.jpg', '/home/pi/Desktop/images/30012025/06/36/image_30012025_06_36_35_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/35/image_30012025_06_35_56_10343.jpg
/home/pi/Desktop/images/30012025/06/35/image_30012025_06_36_05_9413.jpg
/home/pi/Desktop/images/30012025/06/36/image_30012025_06_36_35_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332896453","1332896447","1332896441"],"photo_ids_order":["1332896441","1332896447","1332896453"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/22f5043d4825702b24c20b2d9071f111.jpg","text":"TemporaryFile(/tmp/multipartBody8781438858840166675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215464160,"filename":"image_30012025_06_36_35_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/422fb09d9202c3ef6ce1abf621e8f11b.jpg","text":"TemporaryFile(/tmp/multipartBody4754936075475380833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215464160,"filename":"image_30012025_06_36_05_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/30/78dd8808de731e88d39122c6de068ac4.jpg","text":"TemporaryFile(/tmp/multipartBody8018534354258238769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215464160,"filename":"image_30012025_06_35_56_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332896453","file1":"1332896447","file0":"1332896441"},"map_files_photo_id_array":[{"photo_id":"1332896453","filename":"file2"},{"photo_id":"1332896447","filename":"file1"},{"photo_id":"1332896441","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332896453":["hashtag1","hashtag2"]},{"1332896447":["hashtag1","hashtag2"]},{"1332896441":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332896453, 1332896447, 1332896441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 27.621167421340942 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:37:32.348388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/36/image_30012025_06_36_46_10361.jpg', '/home/pi/Desktop/images/30012025/06/36/image_30012025_06_37_06_10428.jpg', '/home/pi/Desktop/images/30012025/06/37/image_30012025_06_37_16_10463.jpg', '/home/pi/Desktop/images/30012025/06/37/image_30012025_06_37_25_9365.jpg', '/home/pi/Desktop/images/30012025/06/37/image_30012025_06_37_36_10431.jpg', '/home/pi/Desktop/images/30012025/06/37/image_30012025_06_37_45_9431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/36/image_30012025_06_36_46_10361.jpg
/home/pi/Desktop/images/30012025/06/36/image_30012025_06_37_06_10428.jpg
/home/pi/Desktop/images/30012025/06/37/image_30012025_06_37_16_10463.jpg
/home/pi/Desktop/images/30012025/06/37/image_30012025_06_37_25_9365.jpg
/home/pi/Desktop/images/30012025/06/37/image_30012025_06_37_36_10431.jpg
/home/pi/Desktop/images/30012025/06/37/image_30012025_06_37_45_9431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332896710","1332896694","1332896713","1332896707","1332896698","1332896702"],"photo_ids_order":["1332896694","1332896698","1332896702","1332896707","1332896710","1332896713"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/93c21b456b4ab2e040cc91239a19a3d6.jpg","text":"TemporaryFile(/tmp/multipartBody3798252438700252596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215513279,"filename":"image_30012025_06_37_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/30/bae6c1408b35aa039d13a481e13ab813.jpg","text":"TemporaryFile(/tmp/multipartBody7337929464945216797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215513279,"filename":"image_30012025_06_36_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/30/4828bb688e6cfcde33e44893aa97feb3.jpg","text":"TemporaryFile(/tmp/multipartBody1512560936742937658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215513279,"filename":"image_30012025_06_37_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/30/22acf415c319dac0252ef393d2ae5715.jpg","text":"TemporaryFile(/tmp/multipartBody1190577024933904999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215513279,"filename":"image_30012025_06_37_25_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b8953db71eabec7e813affcae121fbca.jpg","text":"TemporaryFile(/tmp/multipartBody5660541833016089918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215513279,"filename":"image_30012025_06_37_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/30/b8b128210f2b03d53f5dc69235dcf29f.jpg","text":"TemporaryFile(/tmp/multipartBody8170333145917200467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215513279,"filename":"image_30012025_06_37_16_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332896702","file1":"1332896698","file0":"1332896694","file4":"1332896710","file5":"1332896713","file3":"1332896707"},"map_files_photo_id_array":[{"photo_id":"1332896713","filename":"file5"},{"photo_id":"1332896702","filename":"file2"},{"photo_id":"1332896710","filename":"file4"},{"photo_id":"1332896698","filename":"file1"},{"photo_id":"1332896694","filename":"file0"},{"photo_id":"1332896707","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332896710":["hashtag1","hashtag2"]},{"1332896694":["hashtag1","hashtag2"]},{"1332896713":["hashtag1","hashtag2"]},{"1332896707":["hashtag1","hashtag2"]},{"1332896698":["hashtag1","hashtag2"]},{"1332896702":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332896710, 1332896694, 1332896713, 1332896707, 1332896698, 1332896702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.15641522407532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:38:32.548964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/37/image_30012025_06_37_56_10405.jpg', '/home/pi/Desktop/images/30012025/06/38/image_30012025_06_38_15_9355.jpg', '/home/pi/Desktop/images/30012025/06/38/image_30012025_06_38_26_10363.jpg', '/home/pi/Desktop/images/30012025/06/38/image_30012025_06_38_46_10440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/37/image_30012025_06_37_56_10405.jpg
/home/pi/Desktop/images/30012025/06/38/image_30012025_06_38_15_9355.jpg
/home/pi/Desktop/images/30012025/06/38/image_30012025_06_38_26_10363.jpg
/home/pi/Desktop/images/30012025/06/38/image_30012025_06_38_46_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":["1332897001","1332897004","1332896991","1332896985"],"photo_ids_order":["1332896985","1332896991","1332897001","1332897004"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d139d92c953a0e31fecb511f77f4736d.jpg","text":"TemporaryFile(/tmp/multipartBody8375238147705670842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215573444,"filename":"image_30012025_06_38_26_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/db53179c2976f1e641d40d644af3eadb.jpg","text":"TemporaryFile(/tmp/multipartBody2781606524316695326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215573444,"filename":"image_30012025_06_38_46_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c03da19e776a70c79ac63fe60c50a760.jpg","text":"TemporaryFile(/tmp/multipartBody5693118099345505553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215573444,"filename":"image_30012025_06_38_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/30/f426d11e5195d674adca85434fe1f0f7.jpg","text":"TemporaryFile(/tmp/multipartBody8986392362432114256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215573444,"filename":"image_30012025_06_37_56_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332897001","file1":"1332896991","file0":"1332896985","file3":"1332897004"},"map_files_photo_id_array":[{"photo_id":"1332897001","filename":"file2"},{"photo_id":"1332896991","filename":"file1"},{"photo_id":"1332896985","filename":"file0"},{"photo_id":"1332897004","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332897001":["hashtag1","hashtag2"]},{"1332897004":["hashtag1","hashtag2"]},{"1332896991":["hashtag1","hashtag2"]},{"1332896985":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332897001, 1332897004, 1332896991, 1332896985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 33.2826406955719 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:39:32.731765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/38/image_30012025_06_38_56_10365.jpg', '/home/pi/Desktop/images/30012025/06/38/image_30012025_06_39_05_9410.jpg', '/home/pi/Desktop/images/30012025/06/39/image_30012025_06_39_16_10500.jpg', '/home/pi/Desktop/images/30012025/06/39/image_30012025_06_39_25_9365.jpg', '/home/pi/Desktop/images/30012025/06/39/image_30012025_06_39_36_10385.jpg', '/home/pi/Desktop/images/30012025/06/39/image_30012025_06_39_46_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/38/image_30012025_06_38_56_10365.jpg
/home/pi/Desktop/images/30012025/06/38/image_30012025_06_39_05_9410.jpg
/home/pi/Desktop/images/30012025/06/39/image_30012025_06_39_16_10500.jpg
/home/pi/Desktop/images/30012025/06/39/image_30012025_06_39_25_9365.jpg
/home/pi/Desktop/images/30012025/06/39/image_30012025_06_39_36_10385.jpg
/home/pi/Desktop/images/30012025/06/39/image_30012025_06_39_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":["1332897907","1332897966","1332897954","1332897962","1332897650","1332897967"],"photo_ids_order":["1332897650","1332897907","1332897954","1332897962","1332897966","1332897967"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6fd7e8e99edcd8fa30c09d0f8cfabe48.jpg","text":"TemporaryFile(/tmp/multipartBody9067196849162040876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215633659,"filename":"image_30012025_06_39_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/30/c8e12d1b8519faff18263182ca0665c2.jpg","text":"TemporaryFile(/tmp/multipartBody2814537237625333173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215633659,"filename":"image_30012025_06_39_36_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e0c4243e31170de52eb7e8b46d05dbc6.jpg","text":"TemporaryFile(/tmp/multipartBody3872196882918125413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215633659,"filename":"image_30012025_06_39_16_10500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3078cabb34740a979c36ed081bf82787.jpg","text":"TemporaryFile(/tmp/multipartBody1097365304723858215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215633659,"filename":"image_30012025_06_39_25_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a663dc11e3a9ba0ee3446f7a8ec1f7a6.jpg","text":"TemporaryFile(/tmp/multipartBody3900667123322972567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215633659,"filename":"image_30012025_06_38_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/30/f5c2d13b21808d10d3e83de3d9f16abd.jpg","text":"TemporaryFile(/tmp/multipartBody1346322983758423483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215633659,"filename":"image_30012025_06_39_46_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332897954","file1":"1332897907","file0":"1332897650","file4":"1332897966","file5":"1332897967","file3":"1332897962"},"map_files_photo_id_array":[{"photo_id":"1332897967","filename":"file5"},{"photo_id":"1332897954","filename":"file2"},{"photo_id":"1332897966","filename":"file4"},{"photo_id":"1332897907","filename":"file1"},{"photo_id":"1332897650","filename":"file0"},{"photo_id":"1332897962","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332897907":["hashtag1","hashtag2"]},{"1332897966":["hashtag1","hashtag2"]},{"1332897954":["hashtag1","hashtag2"]},{"1332897962":["hashtag1","hashtag2"]},{"1332897650":["hashtag1","hashtag2"]},{"1332897967":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332897907, 1332897966, 1332897954, 1332897962, 1332897650, 1332897967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.32532072067261 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:40:33.158978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/39/image_30012025_06_39_55_9421.jpg', '/home/pi/Desktop/images/30012025/06/39/image_30012025_06_40_06_10355.jpg', '/home/pi/Desktop/images/30012025/06/40/image_30012025_06_40_15_9376.jpg', '/home/pi/Desktop/images/30012025/06/40/image_30012025_06_40_26_10338.jpg', '/home/pi/Desktop/images/30012025/06/40/image_30012025_06_40_36_10489.jpg', '/home/pi/Desktop/images/30012025/06/40/image_30012025_06_40_45_9432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/39/image_30012025_06_39_55_9421.jpg
/home/pi/Desktop/images/30012025/06/39/image_30012025_06_40_06_10355.jpg
/home/pi/Desktop/images/30012025/06/40/image_30012025_06_40_15_9376.jpg
/home/pi/Desktop/images/30012025/06/40/image_30012025_06_40_26_10338.jpg
/home/pi/Desktop/images/30012025/06/40/image_30012025_06_40_36_10489.jpg
/home/pi/Desktop/images/30012025/06/40/image_30012025_06_40_45_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":["1332898353","1332898041","1332898002","1332898115","1332898177","1332898006"],"photo_ids_order":["1332898002","1332898006","1332898041","1332898115","1332898177","1332898353"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0348841ed88942a46fb996e4a7884c19.jpg","text":"TemporaryFile(/tmp/multipartBody6341412429553973268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215694070,"filename":"image_30012025_06_40_45_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4df150049c031aeebd4df7fc018b02bd.jpg","text":"TemporaryFile(/tmp/multipartBody4788264069339733644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215694070,"filename":"image_30012025_06_40_15_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/30/91e9e9aeb360c701da983041602c3cbf.jpg","text":"TemporaryFile(/tmp/multipartBody7156769280867914117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215694070,"filename":"image_30012025_06_39_55_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/30/e257eeaf31459f94a04b932e69b96039.jpg","text":"TemporaryFile(/tmp/multipartBody2364043539460977638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215694070,"filename":"image_30012025_06_40_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/30/e76a0c87f52d7eba8e076d41a9a9fd50.jpg","text":"TemporaryFile(/tmp/multipartBody6554942724768110195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215694070,"filename":"image_30012025_06_40_36_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b0f8e6c03e27b391159c7fd78311de29.jpg","text":"TemporaryFile(/tmp/multipartBody2708202925581145296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215694070,"filename":"image_30012025_06_40_06_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332898041","file1":"1332898006","file0":"1332898002","file4":"1332898177","file5":"1332898353","file3":"1332898115"},"map_files_photo_id_array":[{"photo_id":"1332898353","filename":"file5"},{"photo_id":"1332898041","filename":"file2"},{"photo_id":"1332898177","filename":"file4"},{"photo_id":"1332898006","filename":"file1"},{"photo_id":"1332898002","filename":"file0"},{"photo_id":"1332898115","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332898353":["hashtag1","hashtag2"]},{"1332898041":["hashtag1","hashtag2"]},{"1332898002":["hashtag1","hashtag2"]},{"1332898115":["hashtag1","hashtag2"]},{"1332898177":["hashtag1","hashtag2"]},{"1332898006":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332898353, 1332898041, 1332898002, 1332898115, 1332898177, 1332898006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.99232220649719 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:41:32.280440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/40/image_30012025_06_40_56_10347.jpg', '/home/pi/Desktop/images/30012025/06/40/image_30012025_06_41_05_9416.jpg', '/home/pi/Desktop/images/30012025/06/41/image_30012025_06_41_16_10399.jpg', '/home/pi/Desktop/images/30012025/06/41/image_30012025_06_41_26_10368.jpg', '/home/pi/Desktop/images/30012025/06/41/image_30012025_06_41_35_9353.jpg', '/home/pi/Desktop/images/30012025/06/41/image_30012025_06_41_46_10438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/40/image_30012025_06_40_56_10347.jpg
/home/pi/Desktop/images/30012025/06/40/image_30012025_06_41_05_9416.jpg
/home/pi/Desktop/images/30012025/06/41/image_30012025_06_41_16_10399.jpg
/home/pi/Desktop/images/30012025/06/41/image_30012025_06_41_26_10368.jpg
/home/pi/Desktop/images/30012025/06/41/image_30012025_06_41_35_9353.jpg
/home/pi/Desktop/images/30012025/06/41/image_30012025_06_41_46_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332898635","1332898629","1332898623","1332898631","1332898529","1332898618"],"photo_ids_order":["1332898529","1332898618","1332898623","1332898629","1332898631","1332898635"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3be695b13060199aeb6e38a3ade2b905.jpg","text":"TemporaryFile(/tmp/multipartBody8400759456597125780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215753188,"filename":"image_30012025_06_41_46_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1ff973072df91a99392cadd060828799.jpg","text":"TemporaryFile(/tmp/multipartBody5136270337184322976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215753188,"filename":"image_30012025_06_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/30/da3f8acd763072a2c2a35a16e363e396.jpg","text":"TemporaryFile(/tmp/multipartBody6539947216305872158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215753188,"filename":"image_30012025_06_41_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/30/8c00248e810f7acd15615ff9971bae35.jpg","text":"TemporaryFile(/tmp/multipartBody9201793550143900848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215753188,"filename":"image_30012025_06_41_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/30/1082a27a32c58c3b793ebcceeebab3f3.jpg","text":"TemporaryFile(/tmp/multipartBody3222001406447493222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215753188,"filename":"image_30012025_06_40_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/30/f5a4af3748c1ff665d962afa67d70cd3.jpg","text":"TemporaryFile(/tmp/multipartBody7545014081102804069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215753188,"filename":"image_30012025_06_41_05_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332898623","file1":"1332898618","file0":"1332898529","file4":"1332898631","file5":"1332898635","file3":"1332898629"},"map_files_photo_id_array":[{"photo_id":"1332898635","filename":"file5"},{"photo_id":"1332898623","filename":"file2"},{"photo_id":"1332898631","filename":"file4"},{"photo_id":"1332898618","filename":"file1"},{"photo_id":"1332898529","filename":"file0"},{"photo_id":"1332898629","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332898635":["hashtag1","hashtag2"]},{"1332898629":["hashtag1","hashtag2"]},{"1332898623":["hashtag1","hashtag2"]},{"1332898631":["hashtag1","hashtag2"]},{"1332898529":["hashtag1","hashtag2"]},{"1332898618":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332898635, 1332898629, 1332898623, 1332898631, 1332898529, 1332898618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.24754238128662 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:42:32.482933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/41/image_30012025_06_41_55_9429.jpg', '/home/pi/Desktop/images/30012025/06/41/image_30012025_06_42_06_10361.jpg', '/home/pi/Desktop/images/30012025/06/42/image_30012025_06_42_16_10416.jpg', '/home/pi/Desktop/images/30012025/06/42/image_30012025_06_42_25_9357.jpg', '/home/pi/Desktop/images/30012025/06/42/image_30012025_06_42_36_10349.jpg', '/home/pi/Desktop/images/30012025/06/42/image_30012025_06_42_45_9422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/41/image_30012025_06_41_55_9429.jpg
/home/pi/Desktop/images/30012025/06/41/image_30012025_06_42_06_10361.jpg
/home/pi/Desktop/images/30012025/06/42/image_30012025_06_42_16_10416.jpg
/home/pi/Desktop/images/30012025/06/42/image_30012025_06_42_25_9357.jpg
/home/pi/Desktop/images/30012025/06/42/image_30012025_06_42_36_10349.jpg
/home/pi/Desktop/images/30012025/06/42/image_30012025_06_42_45_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: 0.5468370914459229 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 06:42:42.569597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/41/image_30012025_06_41_55_9429.jpg', '/home/pi/Desktop/images/30012025/06/41/image_30012025_06_42_06_10361.jpg', '/home/pi/Desktop/images/30012025/06/42/image_30012025_06_42_16_10416.jpg', '/home/pi/Desktop/images/30012025/06/42/image_30012025_06_42_25_9357.jpg', '/home/pi/Desktop/images/30012025/06/42/image_30012025_06_42_36_10349.jpg', '/home/pi/Desktop/images/30012025/06/42/image_30012025_06_42_45_9422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/41/image_30012025_06_41_55_9429.jpg
/home/pi/Desktop/images/30012025/06/41/image_30012025_06_42_06_10361.jpg
/home/pi/Desktop/images/30012025/06/42/image_30012025_06_42_16_10416.jpg
/home/pi/Desktop/images/30012025/06/42/image_30012025_06_42_25_9357.jpg
/home/pi/Desktop/images/30012025/06/42/image_30012025_06_42_36_10349.jpg
/home/pi/Desktop/images/30012025/06/42/image_30012025_06_42_45_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":["1332898842","1332898713","1332899051","1332898976","1332898709","1332898699"],"photo_ids_order":["1332898699","1332898709","1332898713","1332898842","1332898976","1332899051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cdc3e24eb9c7d24fdfbc76d9722fa2ad.jpg","text":"TemporaryFile(/tmp/multipartBody8106688743915310851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215823495,"filename":"image_30012025_06_42_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/30/0991cbf851b824a142300e457f7ea1ff.jpg","text":"TemporaryFile(/tmp/multipartBody4053292840233573496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215823495,"filename":"image_30012025_06_42_16_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/30/7ed03a891500af0e90aa64a410472fc6.jpg","text":"TemporaryFile(/tmp/multipartBody2143258323987791326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215823495,"filename":"image_30012025_06_42_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/30/71196c317ecc38b0218055fd768bf791.jpg","text":"TemporaryFile(/tmp/multipartBody7943071430633817678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215823495,"filename":"image_30012025_06_42_36_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e5fdaef7799c8f51e243909bd25b158f.jpg","text":"TemporaryFile(/tmp/multipartBody5047763144433784589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215823495,"filename":"image_30012025_06_42_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/30/a73eb65072d047346f8203ddb9ac8709.jpg","text":"TemporaryFile(/tmp/multipartBody6992849976648775377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215823495,"filename":"image_30012025_06_41_55_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332898713","file1":"1332898709","file0":"1332898699","file4":"1332898976","file5":"1332899051","file3":"1332898842"},"map_files_photo_id_array":[{"photo_id":"1332899051","filename":"file5"},{"photo_id":"1332898713","filename":"file2"},{"photo_id":"1332898976","filename":"file4"},{"photo_id":"1332898709","filename":"file1"},{"photo_id":"1332898699","filename":"file0"},{"photo_id":"1332898842","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332898842":["hashtag1","hashtag2"]},{"1332898713":["hashtag1","hashtag2"]},{"1332899051":["hashtag1","hashtag2"]},{"1332898976":["hashtag1","hashtag2"]},{"1332898709":["hashtag1","hashtag2"]},{"1332898699":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332898842, 1332898713, 1332899051, 1332898976, 1332898709, 1332898699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.61635136604309 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:43:32.653386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/42/image_30012025_06_42_56_10384.jpg', '/home/pi/Desktop/images/30012025/06/42/image_30012025_06_43_06_10424.jpg', '/home/pi/Desktop/images/30012025/06/43/image_30012025_06_43_15_9332.jpg', '/home/pi/Desktop/images/30012025/06/43/image_30012025_06_43_26_10365.jpg', '/home/pi/Desktop/images/30012025/06/43/image_30012025_06_43_36_10441.jpg', '/home/pi/Desktop/images/30012025/06/43/image_30012025_06_43_45_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/42/image_30012025_06_42_56_10384.jpg
/home/pi/Desktop/images/30012025/06/42/image_30012025_06_43_06_10424.jpg
/home/pi/Desktop/images/30012025/06/43/image_30012025_06_43_15_9332.jpg
/home/pi/Desktop/images/30012025/06/43/image_30012025_06_43_26_10365.jpg
/home/pi/Desktop/images/30012025/06/43/image_30012025_06_43_36_10441.jpg
/home/pi/Desktop/images/30012025/06/43/image_30012025_06_43_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":["1332899087","1332899083","1332899059","1332899062","1332899091","1332899070"],"photo_ids_order":["1332899059","1332899062","1332899070","1332899083","1332899087","1332899091"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c1f1a6ac03521c68930fe03a3770ee6a.jpg","text":"TemporaryFile(/tmp/multipartBody2709486339092891948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215873564,"filename":"image_30012025_06_43_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/30/7ad3e99987607b1f26463279ee47a028.jpg","text":"TemporaryFile(/tmp/multipartBody5158287858313319155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215873564,"filename":"image_30012025_06_43_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/30/1c59bb6ec6b81a012112eef3c8422c7e.jpg","text":"TemporaryFile(/tmp/multipartBody7828994941890076472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215873564,"filename":"image_30012025_06_42_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/30/378daed629c3291ae058b7d7f597a8c5.jpg","text":"TemporaryFile(/tmp/multipartBody8083206643008855366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215873564,"filename":"image_30012025_06_43_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/30/ebf0c832f4353edf5f1e96e98b8001d6.jpg","text":"TemporaryFile(/tmp/multipartBody4299477000865026916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215873564,"filename":"image_30012025_06_43_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/30/5c8ec3167df89ec37bcdb744df8e9c7a.jpg","text":"TemporaryFile(/tmp/multipartBody4906145949978934148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215873564,"filename":"image_30012025_06_43_15_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332899070","file1":"1332899062","file0":"1332899059","file4":"1332899087","file5":"1332899091","file3":"1332899083"},"map_files_photo_id_array":[{"photo_id":"1332899091","filename":"file5"},{"photo_id":"1332899070","filename":"file2"},{"photo_id":"1332899087","filename":"file4"},{"photo_id":"1332899062","filename":"file1"},{"photo_id":"1332899059","filename":"file0"},{"photo_id":"1332899083","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332899087":["hashtag1","hashtag2"]},{"1332899083":["hashtag1","hashtag2"]},{"1332899059":["hashtag1","hashtag2"]},{"1332899062":["hashtag1","hashtag2"]},{"1332899091":["hashtag1","hashtag2"]},{"1332899070":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332899087, 1332899083, 1332899059, 1332899062, 1332899091, 1332899070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.61299276351929 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:44:32.827072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/43/image_30012025_06_43_56_10400.jpg', '/home/pi/Desktop/images/30012025/06/43/image_30012025_06_44_05_9406.jpg', '/home/pi/Desktop/images/30012025/06/44/image_30012025_06_44_16_10363.jpg', '/home/pi/Desktop/images/30012025/06/44/image_30012025_06_44_26_10415.jpg', '/home/pi/Desktop/images/30012025/06/44/image_30012025_06_44_35_9360.jpg', '/home/pi/Desktop/images/30012025/06/44/image_30012025_06_44_46_10381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/43/image_30012025_06_43_56_10400.jpg
/home/pi/Desktop/images/30012025/06/43/image_30012025_06_44_05_9406.jpg
/home/pi/Desktop/images/30012025/06/44/image_30012025_06_44_16_10363.jpg
/home/pi/Desktop/images/30012025/06/44/image_30012025_06_44_26_10415.jpg
/home/pi/Desktop/images/30012025/06/44/image_30012025_06_44_35_9360.jpg
/home/pi/Desktop/images/30012025/06/44/image_30012025_06_44_46_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332899127","1332899112","1332899121","1332899105","1332899131","1332899134"],"photo_ids_order":["1332899105","1332899112","1332899121","1332899127","1332899131","1332899134"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/49846e3a722eaf8028600fd14619553b.jpg","text":"TemporaryFile(/tmp/multipartBody7771743603254296277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215933765,"filename":"image_30012025_06_44_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/30/4632cd5c06248e0a3e04ff666d3cb789.jpg","text":"TemporaryFile(/tmp/multipartBody2711140095071397915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215933765,"filename":"image_30012025_06_44_05_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fa3a08692cb81c2c57926e5ce5dff2b4.jpg","text":"TemporaryFile(/tmp/multipartBody5295372254251809570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215933765,"filename":"image_30012025_06_44_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/30/a943917d9ce4a874a3383a464ab78cc1.jpg","text":"TemporaryFile(/tmp/multipartBody1159814937302172857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215933765,"filename":"image_30012025_06_43_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/30/50e8d59a95c933434034415c5c08f462.jpg","text":"TemporaryFile(/tmp/multipartBody8770863746656090097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215933765,"filename":"image_30012025_06_44_35_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/20206557adcec12e92f4bac2aceade57.jpg","text":"TemporaryFile(/tmp/multipartBody6844061904658902151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215933765,"filename":"image_30012025_06_44_46_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332899121","file1":"1332899112","file0":"1332899105","file4":"1332899131","file5":"1332899134","file3":"1332899127"},"map_files_photo_id_array":[{"photo_id":"1332899134","filename":"file5"},{"photo_id":"1332899121","filename":"file2"},{"photo_id":"1332899131","filename":"file4"},{"photo_id":"1332899112","filename":"file1"},{"photo_id":"1332899105","filename":"file0"},{"photo_id":"1332899127","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332899127":["hashtag1","hashtag2"]},{"1332899112":["hashtag1","hashtag2"]},{"1332899121":["hashtag1","hashtag2"]},{"1332899105":["hashtag1","hashtag2"]},{"1332899131":["hashtag1","hashtag2"]},{"1332899134":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332899127, 1332899112, 1332899121, 1332899105, 1332899131, 1332899134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.97995853424072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:45:33.162163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/44/image_30012025_06_44_55_9378.jpg', '/home/pi/Desktop/images/30012025/06/44/image_30012025_06_45_06_10424.jpg', '/home/pi/Desktop/images/30012025/06/45/image_30012025_06_45_16_10463.jpg', '/home/pi/Desktop/images/30012025/06/45/image_30012025_06_45_25_9370.jpg', '/home/pi/Desktop/images/30012025/06/45/image_30012025_06_45_36_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/44/image_30012025_06_44_55_9378.jpg
/home/pi/Desktop/images/30012025/06/44/image_30012025_06_45_06_10424.jpg
/home/pi/Desktop/images/30012025/06/45/image_30012025_06_45_16_10463.jpg
/home/pi/Desktop/images/30012025/06/45/image_30012025_06_45_25_9370.jpg
/home/pi/Desktop/images/30012025/06/45/image_30012025_06_45_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":["1332899168","1332899269","1332899260","1332899155","1332899236"],"photo_ids_order":["1332899155","1332899168","1332899236","1332899260","1332899269"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/147e389046cb58b5ab61a5fa50988f7b.jpg","text":"TemporaryFile(/tmp/multipartBody8635127269332890559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215994054,"filename":"image_30012025_06_45_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/30/e0a8a27b94affaef5a997f6e96faf7d3.jpg","text":"TemporaryFile(/tmp/multipartBody84802321514981516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215994054,"filename":"image_30012025_06_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/30/4a93d737f597aa48e2f2dfb281ef7396.jpg","text":"TemporaryFile(/tmp/multipartBody4060555281570933664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215994054,"filename":"image_30012025_06_45_25_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/30/a30d4e234fc95716f320c749782e6569.jpg","text":"TemporaryFile(/tmp/multipartBody144349729625580245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215994054,"filename":"image_30012025_06_44_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/30/d7560633b89d631101ff4d081c697744.jpg","text":"TemporaryFile(/tmp/multipartBody2423873395733004303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738215994054,"filename":"image_30012025_06_45_16_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332899236","file1":"1332899168","file0":"1332899155","file4":"1332899269","file3":"1332899260"},"map_files_photo_id_array":[{"photo_id":"1332899236","filename":"file2"},{"photo_id":"1332899269","filename":"file4"},{"photo_id":"1332899168","filename":"file1"},{"photo_id":"1332899155","filename":"file0"},{"photo_id":"1332899260","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332899168":["hashtag1","hashtag2"]},{"1332899269":["hashtag1","hashtag2"]},{"1332899260":["hashtag1","hashtag2"]},{"1332899155":["hashtag1","hashtag2"]},{"1332899236":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332899168, 1332899269, 1332899260, 1332899155, 1332899236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.335238456726074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:46:32.294557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/45/image_30012025_06_45_45_9377.jpg', '/home/pi/Desktop/images/30012025/06/45/image_30012025_06_46_06_10447.jpg', '/home/pi/Desktop/images/30012025/06/46/image_30012025_06_46_15_9330.jpg', '/home/pi/Desktop/images/30012025/06/46/image_30012025_06_46_26_10348.jpg', '/home/pi/Desktop/images/30012025/06/46/image_30012025_06_46_35_9434.jpg', '/home/pi/Desktop/images/30012025/06/46/image_30012025_06_46_46_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/45/image_30012025_06_45_45_9377.jpg
/home/pi/Desktop/images/30012025/06/45/image_30012025_06_46_06_10447.jpg
/home/pi/Desktop/images/30012025/06/46/image_30012025_06_46_15_9330.jpg
/home/pi/Desktop/images/30012025/06/46/image_30012025_06_46_26_10348.jpg
/home/pi/Desktop/images/30012025/06/46/image_30012025_06_46_35_9434.jpg
/home/pi/Desktop/images/30012025/06/46/image_30012025_06_46_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":["1332899601","1332899591","1332899537","1332899560","1332899595","1332899598"],"photo_ids_order":["1332899537","1332899560","1332899591","1332899595","1332899598","1332899601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c45d5f47db15d35e2cf5c0870c30b3a7.jpg","text":"TemporaryFile(/tmp/multipartBody3382681430182162890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216053215,"filename":"image_30012025_06_46_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/30/e6126c2058897d3735d6d3febaf9f695.jpg","text":"TemporaryFile(/tmp/multipartBody5721043181499033553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216053215,"filename":"image_30012025_06_46_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/30/414324e362bcff86ec3bc72c68e27212.jpg","text":"TemporaryFile(/tmp/multipartBody8645543756139299270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216053215,"filename":"image_30012025_06_45_45_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0bf9436ad22649f028a516c3808776b1.jpg","text":"TemporaryFile(/tmp/multipartBody4998990369496356088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216053215,"filename":"image_30012025_06_46_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/30/970c2bb6336cdde8c1e459edadb0e363.jpg","text":"TemporaryFile(/tmp/multipartBody7243121862945740174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216053215,"filename":"image_30012025_06_46_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/30/4dbf7920741249177ad5c8621953ae35.jpg","text":"TemporaryFile(/tmp/multipartBody5328378562282705712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216053215,"filename":"image_30012025_06_46_35_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332899591","file1":"1332899560","file0":"1332899537","file4":"1332899598","file5":"1332899601","file3":"1332899595"},"map_files_photo_id_array":[{"photo_id":"1332899601","filename":"file5"},{"photo_id":"1332899591","filename":"file2"},{"photo_id":"1332899598","filename":"file4"},{"photo_id":"1332899560","filename":"file1"},{"photo_id":"1332899537","filename":"file0"},{"photo_id":"1332899595","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332899601":["hashtag1","hashtag2"]},{"1332899591":["hashtag1","hashtag2"]},{"1332899537":["hashtag1","hashtag2"]},{"1332899560":["hashtag1","hashtag2"]},{"1332899595":["hashtag1","hashtag2"]},{"1332899598":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332899601, 1332899591, 1332899537, 1332899560, 1332899595, 1332899598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.40938138961792 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:47:32.537299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/46/image_30012025_06_46_56_10466.jpg', '/home/pi/Desktop/images/30012025/06/46/image_30012025_06_47_05_9453.jpg', '/home/pi/Desktop/images/30012025/06/47/image_30012025_06_47_16_10363.jpg', '/home/pi/Desktop/images/30012025/06/47/image_30012025_06_47_25_9438.jpg', '/home/pi/Desktop/images/30012025/06/47/image_30012025_06_47_36_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/46/image_30012025_06_46_56_10466.jpg
/home/pi/Desktop/images/30012025/06/46/image_30012025_06_47_05_9453.jpg
/home/pi/Desktop/images/30012025/06/47/image_30012025_06_47_16_10363.jpg
/home/pi/Desktop/images/30012025/06/47/image_30012025_06_47_25_9438.jpg
/home/pi/Desktop/images/30012025/06/47/image_30012025_06_47_36_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.5047140121459961 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 06:47:42.508127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/46/image_30012025_06_46_56_10466.jpg', '/home/pi/Desktop/images/30012025/06/46/image_30012025_06_47_05_9453.jpg', '/home/pi/Desktop/images/30012025/06/47/image_30012025_06_47_16_10363.jpg', '/home/pi/Desktop/images/30012025/06/47/image_30012025_06_47_25_9438.jpg', '/home/pi/Desktop/images/30012025/06/47/image_30012025_06_47_36_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/46/image_30012025_06_46_56_10466.jpg
/home/pi/Desktop/images/30012025/06/46/image_30012025_06_47_05_9453.jpg
/home/pi/Desktop/images/30012025/06/47/image_30012025_06_47_16_10363.jpg
/home/pi/Desktop/images/30012025/06/47/image_30012025_06_47_25_9438.jpg
/home/pi/Desktop/images/30012025/06/47/image_30012025_06_47_36_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":["1332899660","1332899650","1332899646","1332899640","1332899634"],"photo_ids_order":["1332899634","1332899640","1332899646","1332899650","1332899660"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b746c5e6066caf1a66c9486bf988f764.jpg","text":"TemporaryFile(/tmp/multipartBody960877696759378991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216123463,"filename":"image_30012025_06_47_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/30/32bd02dd711eb404a18e92e04dbbd09b.jpg","text":"TemporaryFile(/tmp/multipartBody5863867716156800623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216123463,"filename":"image_30012025_06_47_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/30/9d4fb523285efccbc1bfc7a56be463b5.jpg","text":"TemporaryFile(/tmp/multipartBody3549679303363636368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216123463,"filename":"image_30012025_06_47_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/30/9b0d67d402a44f5474ed4d100c25906a.jpg","text":"TemporaryFile(/tmp/multipartBody9151387803834413754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216123463,"filename":"image_30012025_06_47_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/30/b513c02ecd817c8bfa91545c6f0781d9.jpg","text":"TemporaryFile(/tmp/multipartBody1758498590398369964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216123463,"filename":"image_30012025_06_46_56_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332899646","file1":"1332899640","file0":"1332899634","file4":"1332899660","file3":"1332899650"},"map_files_photo_id_array":[{"photo_id":"1332899646","filename":"file2"},{"photo_id":"1332899660","filename":"file4"},{"photo_id":"1332899640","filename":"file1"},{"photo_id":"1332899634","filename":"file0"},{"photo_id":"1332899650","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332899660":["hashtag1","hashtag2"]},{"1332899650":["hashtag1","hashtag2"]},{"1332899646":["hashtag1","hashtag2"]},{"1332899640":["hashtag1","hashtag2"]},{"1332899634":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332899660, 1332899650, 1332899646, 1332899640, 1332899634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.84662485122681 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:48:32.666393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/47/image_30012025_06_47_55_9432.jpg', '/home/pi/Desktop/images/30012025/06/47/image_30012025_06_48_06_10358.jpg', '/home/pi/Desktop/images/30012025/06/48/image_30012025_06_48_15_9422.jpg', '/home/pi/Desktop/images/30012025/06/48/image_30012025_06_48_26_10422.jpg', '/home/pi/Desktop/images/30012025/06/48/image_30012025_06_48_36_10367.jpg', '/home/pi/Desktop/images/30012025/06/48/image_30012025_06_48_45_9372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/47/image_30012025_06_47_55_9432.jpg
/home/pi/Desktop/images/30012025/06/47/image_30012025_06_48_06_10358.jpg
/home/pi/Desktop/images/30012025/06/48/image_30012025_06_48_15_9422.jpg
/home/pi/Desktop/images/30012025/06/48/image_30012025_06_48_26_10422.jpg
/home/pi/Desktop/images/30012025/06/48/image_30012025_06_48_36_10367.jpg
/home/pi/Desktop/images/30012025/06/48/image_30012025_06_48_45_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332899690","1332899687","1332899684","1332899671","1332899680","1332899676"],"photo_ids_order":["1332899671","1332899676","1332899680","1332899684","1332899687","1332899690"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/334a4821ea3e94cee5e5b14b561e18a7.jpg","text":"TemporaryFile(/tmp/multipartBody4510757926719450647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216173603,"filename":"image_30012025_06_48_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/30/25e5f00b82ae624ee17b0fb50c410cb4.jpg","text":"TemporaryFile(/tmp/multipartBody8678767330415622159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216173603,"filename":"image_30012025_06_48_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/30/3a64647349529fe8d9131f1481f73a13.jpg","text":"TemporaryFile(/tmp/multipartBody8434263539830721159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216173603,"filename":"image_30012025_06_48_26_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/444eef898c8278f5d4c0ea5085d64906.jpg","text":"TemporaryFile(/tmp/multipartBody2783013729352193959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216173603,"filename":"image_30012025_06_47_55_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/30/298ddab848a4b1d934433a97a6683b9a.jpg","text":"TemporaryFile(/tmp/multipartBody1672812426229586676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216173603,"filename":"image_30012025_06_48_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/30/3d0397f26e0d8a2a6b26968f4e9affc1.jpg","text":"TemporaryFile(/tmp/multipartBody658242311356638899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216173603,"filename":"image_30012025_06_48_06_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332899680","file1":"1332899676","file0":"1332899671","file4":"1332899687","file5":"1332899690","file3":"1332899684"},"map_files_photo_id_array":[{"photo_id":"1332899690","filename":"file5"},{"photo_id":"1332899680","filename":"file2"},{"photo_id":"1332899687","filename":"file4"},{"photo_id":"1332899676","filename":"file1"},{"photo_id":"1332899671","filename":"file0"},{"photo_id":"1332899684","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332899690":["hashtag1","hashtag2"]},{"1332899687":["hashtag1","hashtag2"]},{"1332899684":["hashtag1","hashtag2"]},{"1332899671":["hashtag1","hashtag2"]},{"1332899680":["hashtag1","hashtag2"]},{"1332899676":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332899690, 1332899687, 1332899684, 1332899671, 1332899680, 1332899676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.52444767951965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:49:33.488487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/48/image_30012025_06_48_56_10502.jpg', '/home/pi/Desktop/images/30012025/06/48/image_30012025_06_49_05_9349.jpg', '/home/pi/Desktop/images/30012025/06/49/image_30012025_06_49_16_10340.jpg', '/home/pi/Desktop/images/30012025/06/49/image_30012025_06_49_26_10435.jpg', '/home/pi/Desktop/images/30012025/06/49/image_30012025_06_49_35_9344.jpg', '/home/pi/Desktop/images/30012025/06/49/image_30012025_06_49_46_10485.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/48/image_30012025_06_48_56_10502.jpg
/home/pi/Desktop/images/30012025/06/48/image_30012025_06_49_05_9349.jpg
/home/pi/Desktop/images/30012025/06/49/image_30012025_06_49_16_10340.jpg
/home/pi/Desktop/images/30012025/06/49/image_30012025_06_49_26_10435.jpg
/home/pi/Desktop/images/30012025/06/49/image_30012025_06_49_35_9344.jpg
/home/pi/Desktop/images/30012025/06/49/image_30012025_06_49_46_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":["1332899771","1332899773","1332899767","1332899752","1332899763","1332899727"],"photo_ids_order":["1332899727","1332899752","1332899763","1332899767","1332899771","1332899773"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/02962baa11137f7754e19db799719556.jpg","text":"TemporaryFile(/tmp/multipartBody2691901804447037748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216234438,"filename":"image_30012025_06_49_35_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/18048589fa4c549100dfb912f82dcce9.jpg","text":"TemporaryFile(/tmp/multipartBody5942436165709535794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216234438,"filename":"image_30012025_06_49_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/30/46dad95dbac39a15542a5b8a04664cdb.jpg","text":"TemporaryFile(/tmp/multipartBody9122532248794707438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216234438,"filename":"image_30012025_06_49_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/30/a952f1d96da0972893aed75a007aea48.jpg","text":"TemporaryFile(/tmp/multipartBody4618959555085174802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216234438,"filename":"image_30012025_06_49_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/30/232c2fcc111e24c1de16d48e90e16ffb.jpg","text":"TemporaryFile(/tmp/multipartBody2332692066810415697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216234438,"filename":"image_30012025_06_49_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/30/f2b0a0881cb2550d487b838cad69ae4f.jpg","text":"TemporaryFile(/tmp/multipartBody2927512244807226618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216234438,"filename":"image_30012025_06_48_56_10502.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332899763","file1":"1332899752","file0":"1332899727","file4":"1332899771","file5":"1332899773","file3":"1332899767"},"map_files_photo_id_array":[{"photo_id":"1332899773","filename":"file5"},{"photo_id":"1332899763","filename":"file2"},{"photo_id":"1332899771","filename":"file4"},{"photo_id":"1332899752","filename":"file1"},{"photo_id":"1332899727","filename":"file0"},{"photo_id":"1332899767","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332899771":["hashtag1","hashtag2"]},{"1332899773":["hashtag1","hashtag2"]},{"1332899767":["hashtag1","hashtag2"]},{"1332899752":["hashtag1","hashtag2"]},{"1332899763":["hashtag1","hashtag2"]},{"1332899727":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332899771, 1332899773, 1332899767, 1332899752, 1332899763, 1332899727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.41401028633118 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:50:32.877542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/49/image_30012025_06_49_55_9386.jpg', '/home/pi/Desktop/images/30012025/06/49/image_30012025_06_50_06_10422.jpg', '/home/pi/Desktop/images/30012025/06/50/image_30012025_06_50_15_9478.jpg', '/home/pi/Desktop/images/30012025/06/50/image_30012025_06_50_26_10360.jpg', '/home/pi/Desktop/images/30012025/06/50/image_30012025_06_50_36_10480.jpg', '/home/pi/Desktop/images/30012025/06/50/image_30012025_06_50_45_9368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/49/image_30012025_06_49_55_9386.jpg
/home/pi/Desktop/images/30012025/06/49/image_30012025_06_50_06_10422.jpg
/home/pi/Desktop/images/30012025/06/50/image_30012025_06_50_15_9478.jpg
/home/pi/Desktop/images/30012025/06/50/image_30012025_06_50_26_10360.jpg
/home/pi/Desktop/images/30012025/06/50/image_30012025_06_50_36_10480.jpg
/home/pi/Desktop/images/30012025/06/50/image_30012025_06_50_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":["1332899795","1332899791","1332899799","1332899790","1332899784","1332899805"],"photo_ids_order":["1332899784","1332899790","1332899791","1332899795","1332899799","1332899805"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/543af6d29dbdd5b884e681810685f016.jpg","text":"TemporaryFile(/tmp/multipartBody5765129141632266574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216293815,"filename":"image_30012025_06_50_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/30/28cfd85940ef4c6c97846f47fe09cc4e.jpg","text":"TemporaryFile(/tmp/multipartBody1295829392966838428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216293815,"filename":"image_30012025_06_50_15_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/30/210ca89e70b7361576f0e19ab3931337.jpg","text":"TemporaryFile(/tmp/multipartBody6904622645294928471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216293815,"filename":"image_30012025_06_50_36_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/30/5cd2adda8a9e28b9e535b1d50bc08b4f.jpg","text":"TemporaryFile(/tmp/multipartBody3370918859178922346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216293815,"filename":"image_30012025_06_50_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/30/d6b8efe28262fba016343607667c8b9e.jpg","text":"TemporaryFile(/tmp/multipartBody6136137928640675787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216293815,"filename":"image_30012025_06_49_55_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/30/db56f2a70d10b464f54b685f46644803.jpg","text":"TemporaryFile(/tmp/multipartBody2804970087197597599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216293815,"filename":"image_30012025_06_50_45_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332899791","file1":"1332899790","file0":"1332899784","file4":"1332899799","file5":"1332899805","file3":"1332899795"},"map_files_photo_id_array":[{"photo_id":"1332899805","filename":"file5"},{"photo_id":"1332899791","filename":"file2"},{"photo_id":"1332899799","filename":"file4"},{"photo_id":"1332899790","filename":"file1"},{"photo_id":"1332899784","filename":"file0"},{"photo_id":"1332899795","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332899795":["hashtag1","hashtag2"]},{"1332899791":["hashtag1","hashtag2"]},{"1332899799":["hashtag1","hashtag2"]},{"1332899790":["hashtag1","hashtag2"]},{"1332899784":["hashtag1","hashtag2"]},{"1332899805":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332899795, 1332899791, 1332899799, 1332899790, 1332899784, 1332899805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.67534422874451 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:51:33.013903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/50/image_30012025_06_50_56_10432.jpg', '/home/pi/Desktop/images/30012025/06/50/image_30012025_06_51_05_9338.jpg', '/home/pi/Desktop/images/30012025/06/51/image_30012025_06_51_15_10351.jpg', '/home/pi/Desktop/images/30012025/06/51/image_30012025_06_51_26_10354.jpg', '/home/pi/Desktop/images/30012025/06/51/image_30012025_06_51_35_9408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/50/image_30012025_06_50_56_10432.jpg
/home/pi/Desktop/images/30012025/06/50/image_30012025_06_51_05_9338.jpg
/home/pi/Desktop/images/30012025/06/51/image_30012025_06_51_15_10351.jpg
/home/pi/Desktop/images/30012025/06/51/image_30012025_06_51_26_10354.jpg
/home/pi/Desktop/images/30012025/06/51/image_30012025_06_51_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":["1332899829","1332899820","1332899822","1332899833","1332899826"],"photo_ids_order":["1332899820","1332899822","1332899826","1332899829","1332899833"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/eba997d06c34c36b6a5b1ce483d105b0.jpg","text":"TemporaryFile(/tmp/multipartBody6623694678868353843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216353924,"filename":"image_30012025_06_51_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/30/26db59b1b37829c72b3d0a2435b6f0c4.jpg","text":"TemporaryFile(/tmp/multipartBody8511423444205418752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216353924,"filename":"image_30012025_06_50_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/30/706a7d99573236c95f39603ac06e59a5.jpg","text":"TemporaryFile(/tmp/multipartBody1613891773861662458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216353924,"filename":"image_30012025_06_51_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/30/f847c3b0ad4ccbe73205b7a142ba7136.jpg","text":"TemporaryFile(/tmp/multipartBody6502449047714767937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216353924,"filename":"image_30012025_06_51_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/30/6447c2f682d8164ff0b7ab4e36f94b13.jpg","text":"TemporaryFile(/tmp/multipartBody7130240735718132358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216353924,"filename":"image_30012025_06_51_15_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332899826","file1":"1332899822","file0":"1332899820","file4":"1332899833","file3":"1332899829"},"map_files_photo_id_array":[{"photo_id":"1332899826","filename":"file2"},{"photo_id":"1332899833","filename":"file4"},{"photo_id":"1332899822","filename":"file1"},{"photo_id":"1332899820","filename":"file0"},{"photo_id":"1332899829","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332899829":["hashtag1","hashtag2"]},{"1332899820":["hashtag1","hashtag2"]},{"1332899822":["hashtag1","hashtag2"]},{"1332899833":["hashtag1","hashtag2"]},{"1332899826":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332899829, 1332899820, 1332899822, 1332899833, 1332899826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.18975591659546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:52:32.168029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/51/image_30012025_06_51_46_10368.jpg', '/home/pi/Desktop/images/30012025/06/52/image_30012025_06_52_16_10342.jpg', '/home/pi/Desktop/images/30012025/06/52/image_30012025_06_52_26_10370.jpg', '/home/pi/Desktop/images/30012025/06/52/image_30012025_06_52_35_9359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/51/image_30012025_06_51_46_10368.jpg
/home/pi/Desktop/images/30012025/06/52/image_30012025_06_52_16_10342.jpg
/home/pi/Desktop/images/30012025/06/52/image_30012025_06_52_26_10370.jpg
/home/pi/Desktop/images/30012025/06/52/image_30012025_06_52_35_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332899870","1332899861","1332899874","1332899856"],"photo_ids_order":["1332899856","1332899861","1332899870","1332899874"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/df8c1437d00c2eb6cb04fcb9f8960f1a.jpg","text":"TemporaryFile(/tmp/multipartBody9212885528011260521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216413049,"filename":"image_30012025_06_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/30/7c193fd4b2c99cc96b43539f800212a0.jpg","text":"TemporaryFile(/tmp/multipartBody1627005687715495462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216413049,"filename":"image_30012025_06_52_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/30/6b3cc7cacf243f16fa2a06607b4b297c.jpg","text":"TemporaryFile(/tmp/multipartBody6611211409652124259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216413049,"filename":"image_30012025_06_52_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/30/064553c10f7569df175dfb122cb834fa.jpg","text":"TemporaryFile(/tmp/multipartBody626698458355221785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216413049,"filename":"image_30012025_06_51_46_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332899870","file1":"1332899861","file0":"1332899856","file3":"1332899874"},"map_files_photo_id_array":[{"photo_id":"1332899870","filename":"file2"},{"photo_id":"1332899861","filename":"file1"},{"photo_id":"1332899856","filename":"file0"},{"photo_id":"1332899874","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332899870":["hashtag1","hashtag2"]},{"1332899861":["hashtag1","hashtag2"]},{"1332899874":["hashtag1","hashtag2"]},{"1332899856":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332899870, 1332899861, 1332899874, 1332899856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.433083295822144 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-30 06:53:32.441636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/52/image_30012025_06_52_55_9342.jpg', '/home/pi/Desktop/images/30012025/06/52/image_30012025_06_53_06_10388.jpg', '/home/pi/Desktop/images/30012025/06/53/image_30012025_06_53_16_10450.jpg', '/home/pi/Desktop/images/30012025/06/53/image_30012025_06_53_25_9437.jpg', '/home/pi/Desktop/images/30012025/06/53/image_30012025_06_53_36_10345.jpg', '/home/pi/Desktop/images/30012025/06/53/image_30012025_06_53_45_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/52/image_30012025_06_52_55_9342.jpg
/home/pi/Desktop/images/30012025/06/52/image_30012025_06_53_06_10388.jpg
/home/pi/Desktop/images/30012025/06/53/image_30012025_06_53_16_10450.jpg
/home/pi/Desktop/images/30012025/06/53/image_30012025_06_53_25_9437.jpg
/home/pi/Desktop/images/30012025/06/53/image_30012025_06_53_36_10345.jpg
/home/pi/Desktop/images/30012025/06/53/image_30012025_06_53_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":["1332899984","1332899945","1332899948","1332899956","1332899986","1332899970"],"photo_ids_order":["1332899945","1332899948","1332899956","1332899970","1332899984","1332899986"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f6098611bac29108f45e0a1993f3f4ec.jpg","text":"TemporaryFile(/tmp/multipartBody8173826673398344290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216473381,"filename":"image_30012025_06_53_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/30/6e84d3f3fea4d5ffda17e06969876d73.jpg","text":"TemporaryFile(/tmp/multipartBody3734814326059204715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216473381,"filename":"image_30012025_06_52_55_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1c9458ec920393510c9dea9af965c3d8.jpg","text":"TemporaryFile(/tmp/multipartBody7555823442301138713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216473381,"filename":"image_30012025_06_53_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/30/bc6e5f32983673a5c6153b01ef8f25fc.jpg","text":"TemporaryFile(/tmp/multipartBody1751371140073416234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216473381,"filename":"image_30012025_06_53_16_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/30/038516ba898e63669da42702a0a7885e.jpg","text":"TemporaryFile(/tmp/multipartBody8504567117820358907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216473381,"filename":"image_30012025_06_53_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/30/29a31c6ac4ca3624e2dcc2758a2891ec.jpg","text":"TemporaryFile(/tmp/multipartBody6171735556128063463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216473381,"filename":"image_30012025_06_53_25_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332899956","file1":"1332899948","file0":"1332899945","file4":"1332899984","file5":"1332899986","file3":"1332899970"},"map_files_photo_id_array":[{"photo_id":"1332899986","filename":"file5"},{"photo_id":"1332899956","filename":"file2"},{"photo_id":"1332899984","filename":"file4"},{"photo_id":"1332899948","filename":"file1"},{"photo_id":"1332899945","filename":"file0"},{"photo_id":"1332899970","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332899984":["hashtag1","hashtag2"]},{"1332899945":["hashtag1","hashtag2"]},{"1332899948":["hashtag1","hashtag2"]},{"1332899956":["hashtag1","hashtag2"]},{"1332899986":["hashtag1","hashtag2"]},{"1332899970":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332899984, 1332899945, 1332899948, 1332899956, 1332899986, 1332899970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.964601278305054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:54:32.608456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/53/image_30012025_06_53_55_10355.jpg', '/home/pi/Desktop/images/30012025/06/53/image_30012025_06_54_06_10361.jpg', '/home/pi/Desktop/images/30012025/06/54/image_30012025_06_54_15_9357.jpg', '/home/pi/Desktop/images/30012025/06/54/image_30012025_06_54_26_10369.jpg', '/home/pi/Desktop/images/30012025/06/54/image_30012025_06_54_36_10468.jpg', '/home/pi/Desktop/images/30012025/06/54/image_30012025_06_54_45_9362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/53/image_30012025_06_53_55_10355.jpg
/home/pi/Desktop/images/30012025/06/53/image_30012025_06_54_06_10361.jpg
/home/pi/Desktop/images/30012025/06/54/image_30012025_06_54_15_9357.jpg
/home/pi/Desktop/images/30012025/06/54/image_30012025_06_54_26_10369.jpg
/home/pi/Desktop/images/30012025/06/54/image_30012025_06_54_36_10468.jpg
/home/pi/Desktop/images/30012025/06/54/image_30012025_06_54_45_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":["1332900178","1332900172","1332900211","1332900165","1332900159","1332900216"],"photo_ids_order":["1332900159","1332900165","1332900172","1332900178","1332900211","1332900216"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b8a251d29982c271545eda87709ef874.jpg","text":"TemporaryFile(/tmp/multipartBody4676237574101502640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216533519,"filename":"image_30012025_06_54_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/30/4196374f900031ad2b6d645a79c9fbaf.jpg","text":"TemporaryFile(/tmp/multipartBody1538257568365262725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216533519,"filename":"image_30012025_06_54_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/30/db0a6797613e89bc4e849f3bcf78184a.jpg","text":"TemporaryFile(/tmp/multipartBody2334479769288608399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216533519,"filename":"image_30012025_06_54_36_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/74e6c0af871a2095391a608f1aa0bb85.jpg","text":"TemporaryFile(/tmp/multipartBody6197335372060474756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216533519,"filename":"image_30012025_06_54_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/30/ea39d6e670d2858f9770ff7555ca6fbc.jpg","text":"TemporaryFile(/tmp/multipartBody6275505031011051049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216533519,"filename":"image_30012025_06_53_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/30/3f62cd2f66a63af577bffc61519f954e.jpg","text":"TemporaryFile(/tmp/multipartBody5322786203205840365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216533519,"filename":"image_30012025_06_54_45_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332900172","file1":"1332900165","file0":"1332900159","file4":"1332900211","file5":"1332900216","file3":"1332900178"},"map_files_photo_id_array":[{"photo_id":"1332900216","filename":"file5"},{"photo_id":"1332900172","filename":"file2"},{"photo_id":"1332900211","filename":"file4"},{"photo_id":"1332900165","filename":"file1"},{"photo_id":"1332900159","filename":"file0"},{"photo_id":"1332900178","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332900178":["hashtag1","hashtag2"]},{"1332900172":["hashtag1","hashtag2"]},{"1332900211":["hashtag1","hashtag2"]},{"1332900165":["hashtag1","hashtag2"]},{"1332900159":["hashtag1","hashtag2"]},{"1332900216":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332900178, 1332900172, 1332900211, 1332900165, 1332900159, 1332900216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.67717242240906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:55:32.812988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/54/image_30012025_06_54_56_10362.jpg', '/home/pi/Desktop/images/30012025/06/54/image_30012025_06_55_05_9351.jpg', '/home/pi/Desktop/images/30012025/06/55/image_30012025_06_55_16_10391.jpg', '/home/pi/Desktop/images/30012025/06/55/image_30012025_06_55_26_10366.jpg', '/home/pi/Desktop/images/30012025/06/55/image_30012025_06_55_35_9372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/54/image_30012025_06_54_56_10362.jpg
/home/pi/Desktop/images/30012025/06/54/image_30012025_06_55_05_9351.jpg
/home/pi/Desktop/images/30012025/06/55/image_30012025_06_55_16_10391.jpg
/home/pi/Desktop/images/30012025/06/55/image_30012025_06_55_26_10366.jpg
/home/pi/Desktop/images/30012025/06/55/image_30012025_06_55_35_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332900707","1332900518","1332900613","1332900504","1332900501"],"photo_ids_order":["1332900501","1332900504","1332900518","1332900613","1332900707"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d015c1bbe220e3c49b888918cca86054.jpg","text":"TemporaryFile(/tmp/multipartBody3481544815423641462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216593709,"filename":"image_30012025_06_55_35_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8b7b230169a6ef3fcce8098e213a1dd3.jpg","text":"TemporaryFile(/tmp/multipartBody8983656905482639565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216593709,"filename":"image_30012025_06_55_16_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/30/0cdd2c4b0ec221b8cbc66225403bb8fe.jpg","text":"TemporaryFile(/tmp/multipartBody6766018988572448974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216593709,"filename":"image_30012025_06_55_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/30/afc39e0e3bb79ffff1ed584f7c7aa565.jpg","text":"TemporaryFile(/tmp/multipartBody3637532391375990259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216593709,"filename":"image_30012025_06_55_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/30/f79dff04ce3934e5ec453ac4af1e4253.jpg","text":"TemporaryFile(/tmp/multipartBody4445328208190297327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216593709,"filename":"image_30012025_06_54_56_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332900518","file1":"1332900504","file0":"1332900501","file4":"1332900707","file3":"1332900613"},"map_files_photo_id_array":[{"photo_id":"1332900518","filename":"file2"},{"photo_id":"1332900707","filename":"file4"},{"photo_id":"1332900504","filename":"file1"},{"photo_id":"1332900501","filename":"file0"},{"photo_id":"1332900613","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332900707":["hashtag1","hashtag2"]},{"1332900518":["hashtag1","hashtag2"]},{"1332900613":["hashtag1","hashtag2"]},{"1332900504":["hashtag1","hashtag2"]},{"1332900501":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332900707, 1332900518, 1332900613, 1332900504, 1332900501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 40.093393087387085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:56:32.946001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/55/image_30012025_06_55_46_10439.jpg', '/home/pi/Desktop/images/30012025/06/55/image_30012025_06_56_06_10431.jpg', '/home/pi/Desktop/images/30012025/06/56/image_30012025_06_56_16_10403.jpg', '/home/pi/Desktop/images/30012025/06/56/image_30012025_06_56_25_9359.jpg', '/home/pi/Desktop/images/30012025/06/56/image_30012025_06_56_36_10344.jpg', '/home/pi/Desktop/images/30012025/06/56/image_30012025_06_56_46_10378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/55/image_30012025_06_55_46_10439.jpg
/home/pi/Desktop/images/30012025/06/55/image_30012025_06_56_06_10431.jpg
/home/pi/Desktop/images/30012025/06/56/image_30012025_06_56_16_10403.jpg
/home/pi/Desktop/images/30012025/06/56/image_30012025_06_56_25_9359.jpg
/home/pi/Desktop/images/30012025/06/56/image_30012025_06_56_36_10344.jpg
/home/pi/Desktop/images/30012025/06/56/image_30012025_06_56_46_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":["1332901651","1332901497","1332901848","1332901119","1332900974","1332901316"],"photo_ids_order":["1332900974","1332901119","1332901316","1332901497","1332901651","1332901848"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6461d5a29f1a89a193daecf34f86354d.jpg","text":"TemporaryFile(/tmp/multipartBody4156313957383935671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216653852,"filename":"image_30012025_06_56_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/30/1b1f624e887f137aafab2eeeb891f531.jpg","text":"TemporaryFile(/tmp/multipartBody1874985771483272133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216653852,"filename":"image_30012025_06_56_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/30/8a448d02b950bd7228e33248443c7ef4.jpg","text":"TemporaryFile(/tmp/multipartBody204730553610836574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216653852,"filename":"image_30012025_06_56_46_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/30/e8564d08c88ef478845d7cdcaa939fc5.jpg","text":"TemporaryFile(/tmp/multipartBody4168481770406330965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216653852,"filename":"image_30012025_06_56_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/30/95f131c56bfe29a40d6e313ce6448c8e.jpg","text":"TemporaryFile(/tmp/multipartBody182004603761424904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216653852,"filename":"image_30012025_06_55_46_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4032b13e1e88e743a32611b74dfdcf54.jpg","text":"TemporaryFile(/tmp/multipartBody3625681878236036821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216653852,"filename":"image_30012025_06_56_16_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332901316","file1":"1332901119","file0":"1332900974","file4":"1332901651","file5":"1332901848","file3":"1332901497"},"map_files_photo_id_array":[{"photo_id":"1332901848","filename":"file5"},{"photo_id":"1332901316","filename":"file2"},{"photo_id":"1332901651","filename":"file4"},{"photo_id":"1332901119","filename":"file1"},{"photo_id":"1332900974","filename":"file0"},{"photo_id":"1332901497","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332901651":["hashtag1","hashtag2"]},{"1332901497":["hashtag1","hashtag2"]},{"1332901848":["hashtag1","hashtag2"]},{"1332901119":["hashtag1","hashtag2"]},{"1332900974":["hashtag1","hashtag2"]},{"1332901316":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332901651, 1332901497, 1332901848, 1332901119, 1332900974, 1332901316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.05983376502991 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:57:32.242693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/56/image_30012025_06_56_55_9354.jpg', '/home/pi/Desktop/images/30012025/06/57/image_30012025_06_57_16_10359.jpg', '/home/pi/Desktop/images/30012025/06/57/image_30012025_06_57_25_9371.jpg', '/home/pi/Desktop/images/30012025/06/57/image_30012025_06_57_36_10359.jpg', '/home/pi/Desktop/images/30012025/06/57/image_30012025_06_57_45_9418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/56/image_30012025_06_56_55_9354.jpg
/home/pi/Desktop/images/30012025/06/57/image_30012025_06_57_16_10359.jpg
/home/pi/Desktop/images/30012025/06/57/image_30012025_06_57_25_9371.jpg
/home/pi/Desktop/images/30012025/06/57/image_30012025_06_57_36_10359.jpg
/home/pi/Desktop/images/30012025/06/57/image_30012025_06_57_45_9418.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-30 06:59:03.911855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/56/image_30012025_06_56_55_9354.jpg', '/home/pi/Desktop/images/30012025/06/57/image_30012025_06_57_16_10359.jpg', '/home/pi/Desktop/images/30012025/06/57/image_30012025_06_57_25_9371.jpg', '/home/pi/Desktop/images/30012025/06/57/image_30012025_06_57_36_10359.jpg', '/home/pi/Desktop/images/30012025/06/57/image_30012025_06_57_45_9418.jpg', '/home/pi/Desktop/images/30012025/06/57/image_30012025_06_57_56_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/56/image_30012025_06_56_55_9354.jpg
/home/pi/Desktop/images/30012025/06/57/image_30012025_06_57_16_10359.jpg
/home/pi/Desktop/images/30012025/06/57/image_30012025_06_57_25_9371.jpg
/home/pi/Desktop/images/30012025/06/57/image_30012025_06_57_36_10359.jpg
/home/pi/Desktop/images/30012025/06/57/image_30012025_06_57_45_9418.jpg
/home/pi/Desktop/images/30012025/06/57/image_30012025_06_57_56_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":["1332902239","1332902486","1332902403","1332902567","1332902207","1332902303"],"photo_ids_order":["1332902207","1332902239","1332902303","1332902403","1332902486","1332902567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8353dfdfe510b0d411a140345e2af05c.jpg","text":"TemporaryFile(/tmp/multipartBody9067228219524011377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216804920,"filename":"image_30012025_06_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/30/701942d2e311e92d5ad5f690af00a809.jpg","text":"TemporaryFile(/tmp/multipartBody7402405508170347980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216804920,"filename":"image_30012025_06_57_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/30/8bc65175c9cf32ac5613b1aa960088a5.jpg","text":"TemporaryFile(/tmp/multipartBody7419406052416798894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216804920,"filename":"image_30012025_06_57_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/30/8b56310dfc99e0b96e4d2cc2e5209b6c.jpg","text":"TemporaryFile(/tmp/multipartBody4343762166793820583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216804920,"filename":"image_30012025_06_57_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/30/727ad9ca1e168a6d0d144941e7d8b4f0.jpg","text":"TemporaryFile(/tmp/multipartBody8888259296284774744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216804920,"filename":"image_30012025_06_56_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/30/d41ac1e57bf075cdf52aecd53d98cc2f.jpg","text":"TemporaryFile(/tmp/multipartBody7380226685810959611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216804920,"filename":"image_30012025_06_57_25_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332902303","file1":"1332902239","file0":"1332902207","file4":"1332902486","file5":"1332902567","file3":"1332902403"},"map_files_photo_id_array":[{"photo_id":"1332902567","filename":"file5"},{"photo_id":"1332902303","filename":"file2"},{"photo_id":"1332902486","filename":"file4"},{"photo_id":"1332902239","filename":"file1"},{"photo_id":"1332902207","filename":"file0"},{"photo_id":"1332902403","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332902239":["hashtag1","hashtag2"]},{"1332902486":["hashtag1","hashtag2"]},{"1332902403":["hashtag1","hashtag2"]},{"1332902567":["hashtag1","hashtag2"]},{"1332902207":["hashtag1","hashtag2"]},{"1332902303":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332902239, 1332902486, 1332902403, 1332902567, 1332902207, 1332902303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.4300274848938 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 06:59:52.897840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/57/image_30012025_06_58_05_9482.jpg', '/home/pi/Desktop/images/30012025/06/58/image_30012025_06_58_15_10356.jpg', '/home/pi/Desktop/images/30012025/06/58/image_30012025_06_58_26_10465.jpg', '/home/pi/Desktop/images/30012025/06/58/image_30012025_06_58_35_9337.jpg', '/home/pi/Desktop/images/30012025/06/58/image_30012025_06_58_46_10470.jpg', '/home/pi/Desktop/images/30012025/06/58/image_30012025_06_58_55_9447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/57/image_30012025_06_58_05_9482.jpg
/home/pi/Desktop/images/30012025/06/58/image_30012025_06_58_15_10356.jpg
/home/pi/Desktop/images/30012025/06/58/image_30012025_06_58_26_10465.jpg
/home/pi/Desktop/images/30012025/06/58/image_30012025_06_58_35_9337.jpg
/home/pi/Desktop/images/30012025/06/58/image_30012025_06_58_46_10470.jpg
/home/pi/Desktop/images/30012025/06/58/image_30012025_06_58_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":["1332903654","1332903558","1332903710","1332903481","1332903407","1332903211"],"photo_ids_order":["1332903211","1332903407","1332903481","1332903558","1332903654","1332903710"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/89311cd8b5e28eba80e309e7a05f4b35.jpg","text":"TemporaryFile(/tmp/multipartBody6826483171394387404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216853817,"filename":"image_30012025_06_58_46_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/30/92b2a68fd107a9cb396051a9ab7acd53.jpg","text":"TemporaryFile(/tmp/multipartBody4597809529833250282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216853817,"filename":"image_30012025_06_58_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/30/95d1a8b55a8353c7d65efbe37e31ca5a.jpg","text":"TemporaryFile(/tmp/multipartBody3045383434471514207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216853817,"filename":"image_30012025_06_58_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/30/e3a5508fef4742645b11b7717fc7e76f.jpg","text":"TemporaryFile(/tmp/multipartBody6072253470098891873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216853817,"filename":"image_30012025_06_58_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/30/479330b9912c66faba0b0a6f4536d9b8.jpg","text":"TemporaryFile(/tmp/multipartBody927489098528521064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216853817,"filename":"image_30012025_06_58_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/30/eff1f0de187c0258a3d884076ec8e18d.jpg","text":"TemporaryFile(/tmp/multipartBody3086058132117727948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216853817,"filename":"image_30012025_06_58_05_9482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332903481","file1":"1332903407","file0":"1332903211","file4":"1332903654","file5":"1332903710","file3":"1332903558"},"map_files_photo_id_array":[{"photo_id":"1332903710","filename":"file5"},{"photo_id":"1332903481","filename":"file2"},{"photo_id":"1332903654","filename":"file4"},{"photo_id":"1332903407","filename":"file1"},{"photo_id":"1332903211","filename":"file0"},{"photo_id":"1332903558","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332903654":["hashtag1","hashtag2"]},{"1332903558":["hashtag1","hashtag2"]},{"1332903710":["hashtag1","hashtag2"]},{"1332903481":["hashtag1","hashtag2"]},{"1332903407":["hashtag1","hashtag2"]},{"1332903211":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332903654, 1332903558, 1332903710, 1332903481, 1332903407, 1332903211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.218087673187256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 07:00:43.201539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/58/image_30012025_06_59_06_10405.jpg', '/home/pi/Desktop/images/30012025/06/59/image_30012025_06_59_16_10406.jpg', '/home/pi/Desktop/images/30012025/06/59/image_30012025_06_59_25_9424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/58/image_30012025_06_59_06_10405.jpg
/home/pi/Desktop/images/30012025/06/59/image_30012025_06_59_16_10406.jpg
/home/pi/Desktop/images/30012025/06/59/image_30012025_06_59_25_9424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332904017","1332904021","1332904038"],"photo_ids_order":["1332904017","1332904021","1332904038"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d96d8638101850f80cae180f8f03271c.jpg","text":"TemporaryFile(/tmp/multipartBody4271353292427411059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216904078,"filename":"image_30012025_06_59_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/30/3013d72a8d319f13649ada3f7e318a53.jpg","text":"TemporaryFile(/tmp/multipartBody3751383157337887622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216904078,"filename":"image_30012025_06_59_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/30/4f3febbe72f10247919b6c0b781ad03e.jpg","text":"TemporaryFile(/tmp/multipartBody4498262965869552648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216904078,"filename":"image_30012025_06_59_25_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332904038","file1":"1332904021","file0":"1332904017"},"map_files_photo_id_array":[{"photo_id":"1332904038","filename":"file2"},{"photo_id":"1332904021","filename":"file1"},{"photo_id":"1332904017","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332904017":["hashtag1","hashtag2"]},{"1332904021":["hashtag1","hashtag2"]},{"1332904038":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332904017, 1332904021, 1332904038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.832316398620605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:01:32.494389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/06/59/image_30012025_06_59_36_10389.jpg', '/home/pi/Desktop/images/30012025/07/01/image_30012025_07_01_15_10079.jpg', '/home/pi/Desktop/images/30012025/07/01/image_30012025_07_01_25_10435.jpg', '/home/pi/Desktop/images/30012025/07/01/image_30012025_07_01_36_10370.jpg', '/home/pi/Desktop/images/30012025/07/01/image_30012025_07_01_45_9383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/06/59/image_30012025_06_59_36_10389.jpg
/home/pi/Desktop/images/30012025/07/01/image_30012025_07_01_15_10079.jpg
/home/pi/Desktop/images/30012025/07/01/image_30012025_07_01_25_10435.jpg
/home/pi/Desktop/images/30012025/07/01/image_30012025_07_01_36_10370.jpg
/home/pi/Desktop/images/30012025/07/01/image_30012025_07_01_45_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332904286","1332904445","1332904264","1332904290","1332904341"],"photo_ids_order":["1332904264","1332904286","1332904290","1332904341","1332904445"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5c20942d4c27ac5080eec05255acb16f.jpg","text":"TemporaryFile(/tmp/multipartBody6273448853705577119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216953425,"filename":"image_30012025_07_01_15_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/30/72868afb5dfaff66d666419a8d2e5605.jpg","text":"TemporaryFile(/tmp/multipartBody7990894904292354634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216953425,"filename":"image_30012025_07_01_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/30/6c2edd688f08952a682f59146b99d7d9.jpg","text":"TemporaryFile(/tmp/multipartBody6659611495445939114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216953425,"filename":"image_30012025_06_59_36_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/30/95e8d74a096399cf47f57fcbe3d52fc3.jpg","text":"TemporaryFile(/tmp/multipartBody8927453247271157703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216953425,"filename":"image_30012025_07_01_25_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/30/17d59ad6a47a9c3fce01c0daa5dd076c.jpg","text":"TemporaryFile(/tmp/multipartBody8381446852562120082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738216953425,"filename":"image_30012025_07_01_36_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332904290","file1":"1332904286","file0":"1332904264","file4":"1332904445","file3":"1332904341"},"map_files_photo_id_array":[{"photo_id":"1332904290","filename":"file2"},{"photo_id":"1332904445","filename":"file4"},{"photo_id":"1332904286","filename":"file1"},{"photo_id":"1332904264","filename":"file0"},{"photo_id":"1332904341","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332904286":["hashtag1","hashtag2"]},{"1332904445":["hashtag1","hashtag2"]},{"1332904264":["hashtag1","hashtag2"]},{"1332904290":["hashtag1","hashtag2"]},{"1332904341":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332904286, 1332904445, 1332904264, 1332904290, 1332904341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 39.816142082214355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:02:33.042459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/01/image_30012025_07_01_55_10356.jpg', '/home/pi/Desktop/images/30012025/07/01/image_30012025_07_02_06_10346.jpg', '/home/pi/Desktop/images/30012025/07/02/image_30012025_07_02_15_9348.jpg', '/home/pi/Desktop/images/30012025/07/02/image_30012025_07_02_25_10413.jpg', '/home/pi/Desktop/images/30012025/07/02/image_30012025_07_02_35_9343.jpg', '/home/pi/Desktop/images/30012025/07/02/image_30012025_07_02_45_10440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/01/image_30012025_07_01_55_10356.jpg
/home/pi/Desktop/images/30012025/07/01/image_30012025_07_02_06_10346.jpg
/home/pi/Desktop/images/30012025/07/02/image_30012025_07_02_15_9348.jpg
/home/pi/Desktop/images/30012025/07/02/image_30012025_07_02_25_10413.jpg
/home/pi/Desktop/images/30012025/07/02/image_30012025_07_02_35_9343.jpg
/home/pi/Desktop/images/30012025/07/02/image_30012025_07_02_45_10440.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5945568084716797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 07:02:43.027226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/01/image_30012025_07_01_55_10356.jpg', '/home/pi/Desktop/images/30012025/07/01/image_30012025_07_02_06_10346.jpg', '/home/pi/Desktop/images/30012025/07/02/image_30012025_07_02_15_9348.jpg', '/home/pi/Desktop/images/30012025/07/02/image_30012025_07_02_25_10413.jpg', '/home/pi/Desktop/images/30012025/07/02/image_30012025_07_02_35_9343.jpg', '/home/pi/Desktop/images/30012025/07/02/image_30012025_07_02_45_10440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/01/image_30012025_07_01_55_10356.jpg
/home/pi/Desktop/images/30012025/07/01/image_30012025_07_02_06_10346.jpg
/home/pi/Desktop/images/30012025/07/02/image_30012025_07_02_15_9348.jpg
/home/pi/Desktop/images/30012025/07/02/image_30012025_07_02_25_10413.jpg
/home/pi/Desktop/images/30012025/07/02/image_30012025_07_02_35_9343.jpg
/home/pi/Desktop/images/30012025/07/02/image_30012025_07_02_45_10440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332904994","1332905006","1332904981","1332905011","1332904978","1332904986"],"photo_ids_order":["1332904978","1332904981","1332904986","1332904994","1332905006","1332905011"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b9f4cd09d4703c41952b203ad37dd242.jpg","text":"TemporaryFile(/tmp/multipartBody7925190726660443392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217023944,"filename":"image_30012025_07_02_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/30/2d1473c39675f6e34afa04589deba968.jpg","text":"TemporaryFile(/tmp/multipartBody8949279297575121956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217023944,"filename":"image_30012025_07_02_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e16158d1bcb1cdbbbe21f4aa313fb1a2.jpg","text":"TemporaryFile(/tmp/multipartBody8599446870661621500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217023944,"filename":"image_30012025_07_02_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/30/4d08806191c501360047e1f99f683ef5.jpg","text":"TemporaryFile(/tmp/multipartBody5819743802203210827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217023944,"filename":"image_30012025_07_02_45_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ae3e630eb1d4938b148cf7ab0a8334ed.jpg","text":"TemporaryFile(/tmp/multipartBody5250382106036438003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217023944,"filename":"image_30012025_07_01_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/30/a51ee452eb2225d51295e078d17f9393.jpg","text":"TemporaryFile(/tmp/multipartBody415812644356200810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217023944,"filename":"image_30012025_07_02_15_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332904986","file1":"1332904981","file0":"1332904978","file4":"1332905006","file5":"1332905011","file3":"1332904994"},"map_files_photo_id_array":[{"photo_id":"1332905011","filename":"file5"},{"photo_id":"1332904986","filename":"file2"},{"photo_id":"1332905006","filename":"file4"},{"photo_id":"1332904981","filename":"file1"},{"photo_id":"1332904978","filename":"file0"},{"photo_id":"1332904994","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332904994":["hashtag1","hashtag2"]},{"1332905006":["hashtag1","hashtag2"]},{"1332904981":["hashtag1","hashtag2"]},{"1332905011":["hashtag1","hashtag2"]},{"1332904978":["hashtag1","hashtag2"]},{"1332904986":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332904994, 1332905006, 1332904981, 1332905011, 1332904978, 1332904986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.09084105491638 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:03:32.359088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/02/image_30012025_07_02_56_10347.jpg', '/home/pi/Desktop/images/30012025/07/02/image_30012025_07_03_05_9423.jpg', '/home/pi/Desktop/images/30012025/07/03/image_30012025_07_03_15_10378.jpg', '/home/pi/Desktop/images/30012025/07/03/image_30012025_07_03_25_9374.jpg', '/home/pi/Desktop/images/30012025/07/03/image_30012025_07_03_35_10436.jpg', '/home/pi/Desktop/images/30012025/07/03/image_30012025_07_03_46_10400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/02/image_30012025_07_02_56_10347.jpg
/home/pi/Desktop/images/30012025/07/02/image_30012025_07_03_05_9423.jpg
/home/pi/Desktop/images/30012025/07/03/image_30012025_07_03_15_10378.jpg
/home/pi/Desktop/images/30012025/07/03/image_30012025_07_03_25_9374.jpg
/home/pi/Desktop/images/30012025/07/03/image_30012025_07_03_35_10436.jpg
/home/pi/Desktop/images/30012025/07/03/image_30012025_07_03_46_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":["1332905275","1332905269","1332905230","1332905295","1332905384","1332905285"],"photo_ids_order":["1332905230","1332905269","1332905275","1332905285","1332905295","1332905384"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0f1e4d4716d3e68ecaa818f9e2115271.jpg","text":"TemporaryFile(/tmp/multipartBody2983980125723658762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217073303,"filename":"image_30012025_07_03_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/30/44dade70f664dae6bb798b74004bd825.jpg","text":"TemporaryFile(/tmp/multipartBody8684220707167387300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217073303,"filename":"image_30012025_07_03_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/30/63293564eea76d18a4530eaf75fd1a54.jpg","text":"TemporaryFile(/tmp/multipartBody2937298921940409079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217073303,"filename":"image_30012025_07_02_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/30/ca945be07ed98224aba335eb9b513306.jpg","text":"TemporaryFile(/tmp/multipartBody5859522256615416835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217073303,"filename":"image_30012025_07_03_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/30/eb1a2ae06619048531cfa2fc98544eec.jpg","text":"TemporaryFile(/tmp/multipartBody1003300899953767281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217073303,"filename":"image_30012025_07_03_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/30/02a6b61648cb879198d15df82b240330.jpg","text":"TemporaryFile(/tmp/multipartBody3159058542679703317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217073303,"filename":"image_30012025_07_03_25_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332905275","file1":"1332905269","file0":"1332905230","file4":"1332905295","file5":"1332905384","file3":"1332905285"},"map_files_photo_id_array":[{"photo_id":"1332905384","filename":"file5"},{"photo_id":"1332905275","filename":"file2"},{"photo_id":"1332905295","filename":"file4"},{"photo_id":"1332905269","filename":"file1"},{"photo_id":"1332905230","filename":"file0"},{"photo_id":"1332905285","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332905275":["hashtag1","hashtag2"]},{"1332905269":["hashtag1","hashtag2"]},{"1332905230":["hashtag1","hashtag2"]},{"1332905295":["hashtag1","hashtag2"]},{"1332905384":["hashtag1","hashtag2"]},{"1332905285":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332905275, 1332905269, 1332905230, 1332905295, 1332905384, 1332905285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.82516622543335 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:04:32.537232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/03/image_30012025_07_03_55_9389.jpg', '/home/pi/Desktop/images/30012025/07/03/image_30012025_07_04_05_10407.jpg', '/home/pi/Desktop/images/30012025/07/04/image_30012025_07_04_15_9328.jpg', '/home/pi/Desktop/images/30012025/07/04/image_30012025_07_04_25_10429.jpg', '/home/pi/Desktop/images/30012025/07/04/image_30012025_07_04_36_10358.jpg', '/home/pi/Desktop/images/30012025/07/04/image_30012025_07_04_45_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/03/image_30012025_07_03_55_9389.jpg
/home/pi/Desktop/images/30012025/07/03/image_30012025_07_04_05_10407.jpg
/home/pi/Desktop/images/30012025/07/04/image_30012025_07_04_15_9328.jpg
/home/pi/Desktop/images/30012025/07/04/image_30012025_07_04_25_10429.jpg
/home/pi/Desktop/images/30012025/07/04/image_30012025_07_04_36_10358.jpg
/home/pi/Desktop/images/30012025/07/04/image_30012025_07_04_45_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":["1332905468","1332905462","1332905476","1332905473","1332905454","1332905436"],"photo_ids_order":["1332905436","1332905454","1332905462","1332905468","1332905473","1332905476"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/599e103814c6545cc200007807000182.jpg","text":"TemporaryFile(/tmp/multipartBody9042478123152393430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217133443,"filename":"image_30012025_07_04_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/30/d8c550f913688c417f9a9b91822fb0d5.jpg","text":"TemporaryFile(/tmp/multipartBody6692034472031192648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217133443,"filename":"image_30012025_07_04_15_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d45644b3cb0224b7d26a2882b7928feb.jpg","text":"TemporaryFile(/tmp/multipartBody258943532305080358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217133443,"filename":"image_30012025_07_04_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/30/207d77ff3150c6182abe6afda297de20.jpg","text":"TemporaryFile(/tmp/multipartBody5055080906225479409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217133443,"filename":"image_30012025_07_04_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/30/47f64b4efb0c9e67521cab11d42751ba.jpg","text":"TemporaryFile(/tmp/multipartBody7044622724668239424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217133443,"filename":"image_30012025_07_04_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/30/4aa2f87d0366b7fae04a2f8c2e99535e.jpg","text":"TemporaryFile(/tmp/multipartBody5326845430941998467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217133443,"filename":"image_30012025_07_03_55_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332905462","file1":"1332905454","file0":"1332905436","file4":"1332905473","file5":"1332905476","file3":"1332905468"},"map_files_photo_id_array":[{"photo_id":"1332905476","filename":"file5"},{"photo_id":"1332905462","filename":"file2"},{"photo_id":"1332905473","filename":"file4"},{"photo_id":"1332905454","filename":"file1"},{"photo_id":"1332905436","filename":"file0"},{"photo_id":"1332905468","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332905468":["hashtag1","hashtag2"]},{"1332905462":["hashtag1","hashtag2"]},{"1332905476":["hashtag1","hashtag2"]},{"1332905473":["hashtag1","hashtag2"]},{"1332905454":["hashtag1","hashtag2"]},{"1332905436":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332905468, 1332905462, 1332905476, 1332905473, 1332905454, 1332905436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.902981996536255 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:05:32.647556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/04/image_30012025_07_04_55_10405.jpg', '/home/pi/Desktop/images/30012025/07/04/image_30012025_07_05_06_10358.jpg', '/home/pi/Desktop/images/30012025/07/05/image_30012025_07_05_15_9448.jpg', '/home/pi/Desktop/images/30012025/07/05/image_30012025_07_05_25_10371.jpg', '/home/pi/Desktop/images/30012025/07/05/image_30012025_07_05_35_9495.jpg', '/home/pi/Desktop/images/30012025/07/05/image_30012025_07_05_45_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/04/image_30012025_07_04_55_10405.jpg
/home/pi/Desktop/images/30012025/07/04/image_30012025_07_05_06_10358.jpg
/home/pi/Desktop/images/30012025/07/05/image_30012025_07_05_15_9448.jpg
/home/pi/Desktop/images/30012025/07/05/image_30012025_07_05_25_10371.jpg
/home/pi/Desktop/images/30012025/07/05/image_30012025_07_05_35_9495.jpg
/home/pi/Desktop/images/30012025/07/05/image_30012025_07_05_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":["1332906169","1332906192","1332906177","1332906141","1332906204","1332906257"],"photo_ids_order":["1332906141","1332906169","1332906177","1332906192","1332906204","1332906257"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1a79e1eeebefb04ebeff9f4613c98d7e.jpg","text":"TemporaryFile(/tmp/multipartBody378123434926023873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217193554,"filename":"image_30012025_07_05_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/30/d897b132ef8b10be61d26ac71217a471.jpg","text":"TemporaryFile(/tmp/multipartBody459072121291922483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217193554,"filename":"image_30012025_07_05_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/30/a945f1cfc2b07ba096470cd8e922ae9b.jpg","text":"TemporaryFile(/tmp/multipartBody1408967060490170825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217193554,"filename":"image_30012025_07_05_15_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d5da961a29bf41627101bf555076792c.jpg","text":"TemporaryFile(/tmp/multipartBody4802277850290074329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217193554,"filename":"image_30012025_07_04_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/30/3de14f85363e22994ee23febe2c9e71b.jpg","text":"TemporaryFile(/tmp/multipartBody6334679300890913787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217193554,"filename":"image_30012025_07_05_35_9495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/82e0695c9ccf8cdae55dae27b5f8a0ea.jpg","text":"TemporaryFile(/tmp/multipartBody2136224820511298376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217193554,"filename":"image_30012025_07_05_45_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332906177","file1":"1332906169","file0":"1332906141","file4":"1332906204","file5":"1332906257","file3":"1332906192"},"map_files_photo_id_array":[{"photo_id":"1332906257","filename":"file5"},{"photo_id":"1332906177","filename":"file2"},{"photo_id":"1332906204","filename":"file4"},{"photo_id":"1332906169","filename":"file1"},{"photo_id":"1332906141","filename":"file0"},{"photo_id":"1332906192","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332906169":["hashtag1","hashtag2"]},{"1332906192":["hashtag1","hashtag2"]},{"1332906177":["hashtag1","hashtag2"]},{"1332906141":["hashtag1","hashtag2"]},{"1332906204":["hashtag1","hashtag2"]},{"1332906257":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332906169, 1332906192, 1332906177, 1332906141, 1332906204, 1332906257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.32290244102478 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:06:32.883488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/05/image_30012025_07_05_56_10351.jpg', '/home/pi/Desktop/images/30012025/07/05/image_30012025_07_06_05_9355.jpg', '/home/pi/Desktop/images/30012025/07/06/image_30012025_07_06_15_10361.jpg', '/home/pi/Desktop/images/30012025/07/06/image_30012025_07_06_25_9411.jpg', '/home/pi/Desktop/images/30012025/07/06/image_30012025_07_06_35_10418.jpg', '/home/pi/Desktop/images/30012025/07/06/image_30012025_07_06_46_10392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/05/image_30012025_07_05_56_10351.jpg
/home/pi/Desktop/images/30012025/07/05/image_30012025_07_06_05_9355.jpg
/home/pi/Desktop/images/30012025/07/06/image_30012025_07_06_15_10361.jpg
/home/pi/Desktop/images/30012025/07/06/image_30012025_07_06_25_9411.jpg
/home/pi/Desktop/images/30012025/07/06/image_30012025_07_06_35_10418.jpg
/home/pi/Desktop/images/30012025/07/06/image_30012025_07_06_46_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":["1332906541","1332906523","1332906480","1332906537","1332906557","1332906530"],"photo_ids_order":["1332906480","1332906523","1332906530","1332906537","1332906541","1332906557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6b85705094aa647927cc0bbf472a2b7a.jpg","text":"TemporaryFile(/tmp/multipartBody6364143369163556731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217253791,"filename":"image_30012025_07_06_35_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/35be05a28e0697f0c95ca8774ed1b27b.jpg","text":"TemporaryFile(/tmp/multipartBody5088623692160162578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217253791,"filename":"image_30012025_07_06_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/30/1eaac49d0a29d19cb6455f494d0ad7e8.jpg","text":"TemporaryFile(/tmp/multipartBody4006279593659238092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217253791,"filename":"image_30012025_07_05_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/30/afbba41381a913ba3a346d37e5291684.jpg","text":"TemporaryFile(/tmp/multipartBody2570181624021793912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217253791,"filename":"image_30012025_07_06_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/30/bec74f924e3cd4e8e7b62980f6ccf859.jpg","text":"TemporaryFile(/tmp/multipartBody5110429937204605645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217253791,"filename":"image_30012025_07_06_46_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/30/a499d6502a40f46cfea90043cd486a0b.jpg","text":"TemporaryFile(/tmp/multipartBody3010008154784643741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217253791,"filename":"image_30012025_07_06_15_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332906530","file1":"1332906523","file0":"1332906480","file4":"1332906541","file5":"1332906557","file3":"1332906537"},"map_files_photo_id_array":[{"photo_id":"1332906557","filename":"file5"},{"photo_id":"1332906530","filename":"file2"},{"photo_id":"1332906541","filename":"file4"},{"photo_id":"1332906523","filename":"file1"},{"photo_id":"1332906480","filename":"file0"},{"photo_id":"1332906537","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332906541":["hashtag1","hashtag2"]},{"1332906523":["hashtag1","hashtag2"]},{"1332906480":["hashtag1","hashtag2"]},{"1332906537":["hashtag1","hashtag2"]},{"1332906557":["hashtag1","hashtag2"]},{"1332906530":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332906541, 1332906523, 1332906480, 1332906537, 1332906557, 1332906530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.99724793434143 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:07:33.147371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/06/image_30012025_07_06_55_9463.jpg', '/home/pi/Desktop/images/30012025/07/06/image_30012025_07_07_06_10444.jpg', '/home/pi/Desktop/images/30012025/07/07/image_30012025_07_07_15_9452.jpg', '/home/pi/Desktop/images/30012025/07/07/image_30012025_07_07_25_10352.jpg', '/home/pi/Desktop/images/30012025/07/07/image_30012025_07_07_36_10368.jpg', '/home/pi/Desktop/images/30012025/07/07/image_30012025_07_07_45_9445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/06/image_30012025_07_06_55_9463.jpg
/home/pi/Desktop/images/30012025/07/06/image_30012025_07_07_06_10444.jpg
/home/pi/Desktop/images/30012025/07/07/image_30012025_07_07_15_9452.jpg
/home/pi/Desktop/images/30012025/07/07/image_30012025_07_07_25_10352.jpg
/home/pi/Desktop/images/30012025/07/07/image_30012025_07_07_36_10368.jpg
/home/pi/Desktop/images/30012025/07/07/image_30012025_07_07_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":["1332906629","1332906643","1332906666","1332906669","1332906660","1332906633"],"photo_ids_order":["1332906629","1332906633","1332906643","1332906660","1332906666","1332906669"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fff71305d9064b158102d46bad6c6c17.jpg","text":"TemporaryFile(/tmp/multipartBody7057514215509177965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217314053,"filename":"image_30012025_07_06_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/30/d7f86e7104c90464ca9d14aa689c734e.jpg","text":"TemporaryFile(/tmp/multipartBody361115884609267641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217314053,"filename":"image_30012025_07_07_15_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/30/722d43b78f80a5544031f1ac9c75bfc4.jpg","text":"TemporaryFile(/tmp/multipartBody987395747067606584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217314053,"filename":"image_30012025_07_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/30/9318b0d31db2fa7f17eb34e162ed268b.jpg","text":"TemporaryFile(/tmp/multipartBody5969183448025563417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217314053,"filename":"image_30012025_07_07_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/30/783e9c3c011045600d08c75091b7113f.jpg","text":"TemporaryFile(/tmp/multipartBody868031198015108515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217314053,"filename":"image_30012025_07_07_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/30/35a9c0a27f2bf586a551f75437165b0c.jpg","text":"TemporaryFile(/tmp/multipartBody7680213029577683160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217314053,"filename":"image_30012025_07_07_06_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332906643","file1":"1332906633","file0":"1332906629","file4":"1332906666","file5":"1332906669","file3":"1332906660"},"map_files_photo_id_array":[{"photo_id":"1332906669","filename":"file5"},{"photo_id":"1332906643","filename":"file2"},{"photo_id":"1332906666","filename":"file4"},{"photo_id":"1332906633","filename":"file1"},{"photo_id":"1332906629","filename":"file0"},{"photo_id":"1332906660","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332906629":["hashtag1","hashtag2"]},{"1332906643":["hashtag1","hashtag2"]},{"1332906666":["hashtag1","hashtag2"]},{"1332906669":["hashtag1","hashtag2"]},{"1332906660":["hashtag1","hashtag2"]},{"1332906633":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332906629, 1332906643, 1332906666, 1332906669, 1332906660, 1332906633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9603705406189 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:08:32.421205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/07/image_30012025_07_07_56_10375.jpg', '/home/pi/Desktop/images/30012025/07/07/image_30012025_07_08_05_9412.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_15_10436.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_25_9398.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_35_10435.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_46_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/07/image_30012025_07_07_56_10375.jpg
/home/pi/Desktop/images/30012025/07/07/image_30012025_07_08_05_9412.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_15_10436.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_25_9398.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_35_10435.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_46_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 [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>88algo4j8</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>88algo4j8</strong>.
uploaded 0 photos
time to upload: 28.920947074890137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 07:09:03.977790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/07/image_30012025_07_07_56_10375.jpg', '/home/pi/Desktop/images/30012025/07/07/image_30012025_07_08_05_9412.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_15_10436.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_25_9398.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_35_10435.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_46_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/07/image_30012025_07_07_56_10375.jpg
/home/pi/Desktop/images/30012025/07/07/image_30012025_07_08_05_9412.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_15_10436.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_25_9398.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_35_10435.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_46_10369.jpg
 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>88alh01oj</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>88alh01oj</strong>.
uploaded 0 photos
time to upload: 30.640236377716064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 07:09:42.636539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/07/image_30012025_07_07_56_10375.jpg', '/home/pi/Desktop/images/30012025/07/07/image_30012025_07_08_05_9412.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_15_10436.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_25_9398.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_35_10435.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_46_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/07/image_30012025_07_07_56_10375.jpg
/home/pi/Desktop/images/30012025/07/07/image_30012025_07_08_05_9412.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_15_10436.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_25_9398.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_35_10435.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_46_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 [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>88alh26pi</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>88alh26pi</strong>.
uploaded 0 photos
time to upload: 30.538012266159058 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:10:32.860913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/07/image_30012025_07_07_56_10375.jpg', '/home/pi/Desktop/images/30012025/07/07/image_30012025_07_08_05_9412.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_15_10436.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_25_9398.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_35_10435.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_46_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/07/image_30012025_07_07_56_10375.jpg
/home/pi/Desktop/images/30012025/07/07/image_30012025_07_08_05_9412.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_15_10436.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_25_9398.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_35_10435.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_46_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.5481150150299072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 07:10:42.685695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/07/image_30012025_07_07_56_10375.jpg', '/home/pi/Desktop/images/30012025/07/07/image_30012025_07_08_05_9412.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_15_10436.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_25_9398.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_35_10435.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_46_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/07/image_30012025_07_07_56_10375.jpg
/home/pi/Desktop/images/30012025/07/07/image_30012025_07_08_05_9412.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_15_10436.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_25_9398.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_35_10435.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_46_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 [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>88alh5hlc</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>88alh5hlc</strong>.
uploaded 0 photos
time to upload: 30.5422043800354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:11:33.109707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/07/image_30012025_07_07_56_10375.jpg', '/home/pi/Desktop/images/30012025/07/07/image_30012025_07_08_05_9412.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_15_10436.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_25_9398.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_35_10435.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_46_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/07/image_30012025_07_07_56_10375.jpg
/home/pi/Desktop/images/30012025/07/07/image_30012025_07_08_05_9412.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_15_10436.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_25_9398.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_35_10435.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_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 [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>88alh8eae</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>88alh8eae</strong>.
uploaded 0 photos
time to upload: 30.526529550552368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:12:32.173915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/07/image_30012025_07_07_56_10375.jpg', '/home/pi/Desktop/images/30012025/07/07/image_30012025_07_08_05_9412.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_15_10436.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_25_9398.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_35_10435.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_46_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/07/image_30012025_07_07_56_10375.jpg
/home/pi/Desktop/images/30012025/07/07/image_30012025_07_08_05_9412.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_15_10436.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_25_9398.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_35_10435.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_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 [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>88alhbnl0</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>88alhbnl0</strong>.
uploaded 0 photos
time to upload: 30.547534227371216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:13:32.354012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/07/image_30012025_07_07_56_10375.jpg', '/home/pi/Desktop/images/30012025/07/07/image_30012025_07_08_05_9412.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_15_10436.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_25_9398.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_35_10435.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_46_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/07/image_30012025_07_07_56_10375.jpg
/home/pi/Desktop/images/30012025/07/07/image_30012025_07_08_05_9412.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_15_10436.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_25_9398.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_35_10435.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_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 [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>88alhf8l0</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>88alhf8l0</strong>.
uploaded 0 photos
time to upload: 30.529558420181274 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:14:32.613551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/07/image_30012025_07_07_56_10375.jpg', '/home/pi/Desktop/images/30012025/07/07/image_30012025_07_08_05_9412.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_15_10436.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_25_9398.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_35_10435.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_46_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/07/image_30012025_07_07_56_10375.jpg
/home/pi/Desktop/images/30012025/07/07/image_30012025_07_08_05_9412.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_15_10436.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_25_9398.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_35_10435.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_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":["1332906859","1332906862","1332906843","1332906852","1332906857","1332906836"],"photo_ids_order":["1332906836","1332906843","1332906852","1332906857","1332906859","1332906862"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c7d40c20f73adf42fe76379abc0c5895.jpg","text":"TemporaryFile(/tmp/multipartBody2416610527183175345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217733543,"filename":"image_30012025_07_08_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/30/bf2067fc47b52a003a038241c13c0bbd.jpg","text":"TemporaryFile(/tmp/multipartBody7852613305472654019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217733543,"filename":"image_30012025_07_08_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/30/e830447cb74c3d0135fd42911db34ff8.jpg","text":"TemporaryFile(/tmp/multipartBody6347924749353650232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217733543,"filename":"image_30012025_07_08_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/30/88624db29adffd7934477e13b21c6b6d.jpg","text":"TemporaryFile(/tmp/multipartBody5870106481383640264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217733543,"filename":"image_30012025_07_08_15_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/86a50a6c555a95b53fcd9db4848dfe9b.jpg","text":"TemporaryFile(/tmp/multipartBody2313150081195469871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217733543,"filename":"image_30012025_07_08_25_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/30/3e021784d696af7a6f6421e377ef52e4.jpg","text":"TemporaryFile(/tmp/multipartBody912153879010984168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217733543,"filename":"image_30012025_07_07_56_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332906852","file1":"1332906843","file0":"1332906836","file4":"1332906859","file5":"1332906862","file3":"1332906857"},"map_files_photo_id_array":[{"photo_id":"1332906862","filename":"file5"},{"photo_id":"1332906852","filename":"file2"},{"photo_id":"1332906859","filename":"file4"},{"photo_id":"1332906843","filename":"file1"},{"photo_id":"1332906836","filename":"file0"},{"photo_id":"1332906857","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332906859":["hashtag1","hashtag2"]},{"1332906862":["hashtag1","hashtag2"]},{"1332906843":["hashtag1","hashtag2"]},{"1332906852":["hashtag1","hashtag2"]},{"1332906857":["hashtag1","hashtag2"]},{"1332906836":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332906859, 1332906862, 1332906843, 1332906852, 1332906857, 1332906836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.976038694381714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:15:32.726759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_55_9427.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_09_05_10374.jpg', '/home/pi/Desktop/images/30012025/07/09/image_30012025_07_09_15_9416.jpg', '/home/pi/Desktop/images/30012025/07/09/image_30012025_07_09_25_10419.jpg', '/home/pi/Desktop/images/30012025/07/09/image_30012025_07_09_36_10369.jpg', '/home/pi/Desktop/images/30012025/07/09/image_30012025_07_09_45_9483.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_55_9427.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_09_05_10374.jpg
/home/pi/Desktop/images/30012025/07/09/image_30012025_07_09_15_9416.jpg
/home/pi/Desktop/images/30012025/07/09/image_30012025_07_09_25_10419.jpg
/home/pi/Desktop/images/30012025/07/09/image_30012025_07_09_36_10369.jpg
/home/pi/Desktop/images/30012025/07/09/image_30012025_07_09_45_9483.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5214238166809082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 07:15:42.770656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_55_9427.jpg', '/home/pi/Desktop/images/30012025/07/08/image_30012025_07_09_05_10374.jpg', '/home/pi/Desktop/images/30012025/07/09/image_30012025_07_09_15_9416.jpg', '/home/pi/Desktop/images/30012025/07/09/image_30012025_07_09_25_10419.jpg', '/home/pi/Desktop/images/30012025/07/09/image_30012025_07_09_36_10369.jpg', '/home/pi/Desktop/images/30012025/07/09/image_30012025_07_09_45_9483.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_08_55_9427.jpg
/home/pi/Desktop/images/30012025/07/08/image_30012025_07_09_05_10374.jpg
/home/pi/Desktop/images/30012025/07/09/image_30012025_07_09_15_9416.jpg
/home/pi/Desktop/images/30012025/07/09/image_30012025_07_09_25_10419.jpg
/home/pi/Desktop/images/30012025/07/09/image_30012025_07_09_36_10369.jpg
/home/pi/Desktop/images/30012025/07/09/image_30012025_07_09_45_9483.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332906911","1332906916","1332906888","1332906906","1332906899","1332906893"],"photo_ids_order":["1332906888","1332906893","1332906899","1332906906","1332906911","1332906916"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c3ceea731b1217b60d16838cf406b93a.jpg","text":"TemporaryFile(/tmp/multipartBody1701720142962637185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217803692,"filename":"image_30012025_07_09_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/30/99db5f36c2a28166b04e37d47dff94b7.jpg","text":"TemporaryFile(/tmp/multipartBody1836577501579782173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217803692,"filename":"image_30012025_07_09_45_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/30/f86293b3d37d438e37fb2cc9b828c2ff.jpg","text":"TemporaryFile(/tmp/multipartBody6572330471805124770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217803692,"filename":"image_30012025_07_08_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/30/0559f2db253841a4fefe26d46f6cec61.jpg","text":"TemporaryFile(/tmp/multipartBody8542265652175934893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217803692,"filename":"image_30012025_07_09_25_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/30/7253aff757f8587e2e330f93da06b043.jpg","text":"TemporaryFile(/tmp/multipartBody9160251974401052220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217803692,"filename":"image_30012025_07_09_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/30/ed1a72eae1bafc0c70cdf604ca63b58e.jpg","text":"TemporaryFile(/tmp/multipartBody6809639593986436870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217803692,"filename":"image_30012025_07_09_05_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332906899","file1":"1332906893","file0":"1332906888","file4":"1332906911","file5":"1332906916","file3":"1332906906"},"map_files_photo_id_array":[{"photo_id":"1332906916","filename":"file5"},{"photo_id":"1332906899","filename":"file2"},{"photo_id":"1332906911","filename":"file4"},{"photo_id":"1332906893","filename":"file1"},{"photo_id":"1332906888","filename":"file0"},{"photo_id":"1332906906","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332906911":["hashtag1","hashtag2"]},{"1332906916":["hashtag1","hashtag2"]},{"1332906888":["hashtag1","hashtag2"]},{"1332906906":["hashtag1","hashtag2"]},{"1332906899":["hashtag1","hashtag2"]},{"1332906893":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332906911, 1332906916, 1332906888, 1332906906, 1332906899, 1332906893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.27941036224365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:16:33.076636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/09/image_30012025_07_09_55_10434.jpg', '/home/pi/Desktop/images/30012025/07/09/image_30012025_07_10_05_9525.jpg', '/home/pi/Desktop/images/30012025/07/10/image_30012025_07_10_15_10360.jpg', '/home/pi/Desktop/images/30012025/07/10/image_30012025_07_10_25_9356.jpg', '/home/pi/Desktop/images/30012025/07/10/image_30012025_07_10_35_10437.jpg', '/home/pi/Desktop/images/30012025/07/10/image_30012025_07_10_46_10388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/09/image_30012025_07_09_55_10434.jpg
/home/pi/Desktop/images/30012025/07/09/image_30012025_07_10_05_9525.jpg
/home/pi/Desktop/images/30012025/07/10/image_30012025_07_10_15_10360.jpg
/home/pi/Desktop/images/30012025/07/10/image_30012025_07_10_25_9356.jpg
/home/pi/Desktop/images/30012025/07/10/image_30012025_07_10_35_10437.jpg
/home/pi/Desktop/images/30012025/07/10/image_30012025_07_10_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":["1332906997","1332906985","1332907006","1332906972","1332906966","1332906977"],"photo_ids_order":["1332906966","1332906972","1332906977","1332906985","1332906997","1332907006"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/85ceebd2e3ee2db01ccd7b84b93330f1.jpg","text":"TemporaryFile(/tmp/multipartBody1489634621056963791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217853989,"filename":"image_30012025_07_10_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/30/4dc2e4603481d6a7df864cc4aa783275.jpg","text":"TemporaryFile(/tmp/multipartBody2757663410680581011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217853989,"filename":"image_30012025_07_10_25_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f5db3a8dc8857b372a053096d2207c9b.jpg","text":"TemporaryFile(/tmp/multipartBody6348787218241349560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217853989,"filename":"image_30012025_07_10_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/30/9cbe8240cda83069fa45c5d5101344fd.jpg","text":"TemporaryFile(/tmp/multipartBody196196521717361458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217853989,"filename":"image_30012025_07_10_05_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/30/b233073c224a79c8981eb1e9ab1333db.jpg","text":"TemporaryFile(/tmp/multipartBody4324660126739790030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217853989,"filename":"image_30012025_07_09_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/30/6bd763d9f3bdf3c0222db8fa6337ddda.jpg","text":"TemporaryFile(/tmp/multipartBody326582356982141776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217853989,"filename":"image_30012025_07_10_15_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332906977","file1":"1332906972","file0":"1332906966","file4":"1332906997","file5":"1332907006","file3":"1332906985"},"map_files_photo_id_array":[{"photo_id":"1332907006","filename":"file5"},{"photo_id":"1332906977","filename":"file2"},{"photo_id":"1332906997","filename":"file4"},{"photo_id":"1332906972","filename":"file1"},{"photo_id":"1332906966","filename":"file0"},{"photo_id":"1332906985","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332906997":["hashtag1","hashtag2"]},{"1332906985":["hashtag1","hashtag2"]},{"1332907006":["hashtag1","hashtag2"]},{"1332906972":["hashtag1","hashtag2"]},{"1332906966":["hashtag1","hashtag2"]},{"1332906977":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332906997, 1332906985, 1332907006, 1332906972, 1332906966, 1332906977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.6518337726593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:17:32.213047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/10/image_30012025_07_10_55_9438.jpg', '/home/pi/Desktop/images/30012025/07/10/image_30012025_07_11_05_10337.jpg', '/home/pi/Desktop/images/30012025/07/11/image_30012025_07_11_16_10353.jpg', '/home/pi/Desktop/images/30012025/07/11/image_30012025_07_11_25_9361.jpg', '/home/pi/Desktop/images/30012025/07/11/image_30012025_07_11_35_10346.jpg', '/home/pi/Desktop/images/30012025/07/11/image_30012025_07_11_45_9386.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/10/image_30012025_07_10_55_9438.jpg
/home/pi/Desktop/images/30012025/07/10/image_30012025_07_11_05_10337.jpg
/home/pi/Desktop/images/30012025/07/11/image_30012025_07_11_16_10353.jpg
/home/pi/Desktop/images/30012025/07/11/image_30012025_07_11_25_9361.jpg
/home/pi/Desktop/images/30012025/07/11/image_30012025_07_11_35_10346.jpg
/home/pi/Desktop/images/30012025/07/11/image_30012025_07_11_45_9386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332907068","1332907035","1332907050","1332907064","1332907073","1332907061"],"photo_ids_order":["1332907035","1332907050","1332907061","1332907064","1332907068","1332907073"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d923f522a3b7c7a4a32918167d066232.jpg","text":"TemporaryFile(/tmp/multipartBody5872154051458414890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217913128,"filename":"image_30012025_07_11_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/30/fe0dd13b4a5cd6d14a1c6a904a35e3d8.jpg","text":"TemporaryFile(/tmp/multipartBody5748607331798913322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217913128,"filename":"image_30012025_07_10_55_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/30/b208070b29b87b5b9eaa19ee18315afb.jpg","text":"TemporaryFile(/tmp/multipartBody3142232207401400453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217913128,"filename":"image_30012025_07_11_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/30/0b7d41ab081db3f83300671f16ce8426.jpg","text":"TemporaryFile(/tmp/multipartBody6936599536969574988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217913128,"filename":"image_30012025_07_11_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/30/e809cd311f0c709f8b54581868581666.jpg","text":"TemporaryFile(/tmp/multipartBody4777872802736109444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217913128,"filename":"image_30012025_07_11_45_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ffdc01c2866196866ca8b517a4db189f.jpg","text":"TemporaryFile(/tmp/multipartBody8467746553431064560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217913128,"filename":"image_30012025_07_11_16_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332907061","file1":"1332907050","file0":"1332907035","file4":"1332907068","file5":"1332907073","file3":"1332907064"},"map_files_photo_id_array":[{"photo_id":"1332907073","filename":"file5"},{"photo_id":"1332907061","filename":"file2"},{"photo_id":"1332907068","filename":"file4"},{"photo_id":"1332907050","filename":"file1"},{"photo_id":"1332907035","filename":"file0"},{"photo_id":"1332907064","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332907068":["hashtag1","hashtag2"]},{"1332907035":["hashtag1","hashtag2"]},{"1332907050":["hashtag1","hashtag2"]},{"1332907064":["hashtag1","hashtag2"]},{"1332907073":["hashtag1","hashtag2"]},{"1332907061":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332907068, 1332907035, 1332907050, 1332907064, 1332907073, 1332907061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.363075256347656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:18:32.319501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/11/image_30012025_07_11_55_10483.jpg', '/home/pi/Desktop/images/30012025/07/11/image_30012025_07_12_06_10358.jpg', '/home/pi/Desktop/images/30012025/07/12/image_30012025_07_12_15_9457.jpg', '/home/pi/Desktop/images/30012025/07/12/image_30012025_07_12_25_10340.jpg', '/home/pi/Desktop/images/30012025/07/12/image_30012025_07_12_35_9396.jpg', '/home/pi/Desktop/images/30012025/07/12/image_30012025_07_12_45_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/11/image_30012025_07_11_55_10483.jpg
/home/pi/Desktop/images/30012025/07/11/image_30012025_07_12_06_10358.jpg
/home/pi/Desktop/images/30012025/07/12/image_30012025_07_12_15_9457.jpg
/home/pi/Desktop/images/30012025/07/12/image_30012025_07_12_25_10340.jpg
/home/pi/Desktop/images/30012025/07/12/image_30012025_07_12_35_9396.jpg
/home/pi/Desktop/images/30012025/07/12/image_30012025_07_12_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":["1332907135","1332907167","1332907143","1332907157","1332907148","1332907130"],"photo_ids_order":["1332907130","1332907135","1332907143","1332907148","1332907157","1332907167"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bfcf83fb78af9946bd7ccfa04289bc20.jpg","text":"TemporaryFile(/tmp/multipartBody1069014449403115329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217973671,"filename":"image_30012025_07_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/30/b5b20109f98099c242114057931eb273.jpg","text":"TemporaryFile(/tmp/multipartBody5574160400570748129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217973671,"filename":"image_30012025_07_12_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/30/c460fb33f752e786c9f9f10a0013f168.jpg","text":"TemporaryFile(/tmp/multipartBody5117562988317186777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217973671,"filename":"image_30012025_07_12_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/30/055d5525288a1ee936cfbf4601f1896d.jpg","text":"TemporaryFile(/tmp/multipartBody8373947847249884693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217973671,"filename":"image_30012025_07_12_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/30/b3818b3bc5a152a690498e5cc1e541ba.jpg","text":"TemporaryFile(/tmp/multipartBody8050392222608125208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217973671,"filename":"image_30012025_07_12_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/30/4099debc2cc238bf01f9e53bdbe1ae03.jpg","text":"TemporaryFile(/tmp/multipartBody6014734971630434135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738217973671,"filename":"image_30012025_07_11_55_10483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332907143","file1":"1332907135","file0":"1332907130","file4":"1332907157","file5":"1332907167","file3":"1332907148"},"map_files_photo_id_array":[{"photo_id":"1332907167","filename":"file5"},{"photo_id":"1332907143","filename":"file2"},{"photo_id":"1332907157","filename":"file4"},{"photo_id":"1332907135","filename":"file1"},{"photo_id":"1332907130","filename":"file0"},{"photo_id":"1332907148","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332907135":["hashtag1","hashtag2"]},{"1332907167":["hashtag1","hashtag2"]},{"1332907143":["hashtag1","hashtag2"]},{"1332907157":["hashtag1","hashtag2"]},{"1332907148":["hashtag1","hashtag2"]},{"1332907130":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332907135, 1332907167, 1332907143, 1332907157, 1332907148, 1332907130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.67342662811279 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:19:32.573108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/12/image_30012025_07_12_56_10440.jpg', '/home/pi/Desktop/images/30012025/07/12/image_30012025_07_13_05_9415.jpg', '/home/pi/Desktop/images/30012025/07/13/image_30012025_07_13_15_10348.jpg', '/home/pi/Desktop/images/30012025/07/13/image_30012025_07_13_25_9425.jpg', '/home/pi/Desktop/images/30012025/07/13/image_30012025_07_13_35_10425.jpg', '/home/pi/Desktop/images/30012025/07/13/image_30012025_07_14_05_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/12/image_30012025_07_12_56_10440.jpg
/home/pi/Desktop/images/30012025/07/12/image_30012025_07_13_05_9415.jpg
/home/pi/Desktop/images/30012025/07/13/image_30012025_07_13_15_10348.jpg
/home/pi/Desktop/images/30012025/07/13/image_30012025_07_13_25_9425.jpg
/home/pi/Desktop/images/30012025/07/13/image_30012025_07_13_35_10425.jpg
/home/pi/Desktop/images/30012025/07/13/image_30012025_07_14_05_10356.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.607926607131958 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 07:19:42.623500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/12/image_30012025_07_12_56_10440.jpg', '/home/pi/Desktop/images/30012025/07/12/image_30012025_07_13_05_9415.jpg', '/home/pi/Desktop/images/30012025/07/13/image_30012025_07_13_15_10348.jpg', '/home/pi/Desktop/images/30012025/07/13/image_30012025_07_13_25_9425.jpg', '/home/pi/Desktop/images/30012025/07/13/image_30012025_07_13_35_10425.jpg', '/home/pi/Desktop/images/30012025/07/13/image_30012025_07_14_05_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/12/image_30012025_07_12_56_10440.jpg
/home/pi/Desktop/images/30012025/07/12/image_30012025_07_13_05_9415.jpg
/home/pi/Desktop/images/30012025/07/13/image_30012025_07_13_15_10348.jpg
/home/pi/Desktop/images/30012025/07/13/image_30012025_07_13_25_9425.jpg
/home/pi/Desktop/images/30012025/07/13/image_30012025_07_13_35_10425.jpg
/home/pi/Desktop/images/30012025/07/13/image_30012025_07_14_05_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332907243","1332907237","1332907231","1332907221","1332907212","1332907268"],"photo_ids_order":["1332907212","1332907221","1332907231","1332907237","1332907243","1332907268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a72f90a4dc4692a69700cb4a01f1198c.jpg","text":"TemporaryFile(/tmp/multipartBody6066513262398934844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218043548,"filename":"image_30012025_07_13_35_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2a94f979a612b2334227eb078a11140f.jpg","text":"TemporaryFile(/tmp/multipartBody725431046967232908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218043548,"filename":"image_30012025_07_13_25_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/de7d4fad390944f04d18f6df5ea99fc4.jpg","text":"TemporaryFile(/tmp/multipartBody3948282356221656415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218043548,"filename":"image_30012025_07_13_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/30/1df556a9f724ae9d2900442edbc7c510.jpg","text":"TemporaryFile(/tmp/multipartBody8004108223024387045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218043548,"filename":"image_30012025_07_13_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/30/7e27c425f40b7cf26b8050c35997724f.jpg","text":"TemporaryFile(/tmp/multipartBody2557444725084819929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218043548,"filename":"image_30012025_07_12_56_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/30/d89af911729b6d71f1c34faa30195eb7.jpg","text":"TemporaryFile(/tmp/multipartBody1223370824258418967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218043548,"filename":"image_30012025_07_14_05_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332907231","file1":"1332907221","file0":"1332907212","file4":"1332907243","file5":"1332907268","file3":"1332907237"},"map_files_photo_id_array":[{"photo_id":"1332907268","filename":"file5"},{"photo_id":"1332907231","filename":"file2"},{"photo_id":"1332907243","filename":"file4"},{"photo_id":"1332907221","filename":"file1"},{"photo_id":"1332907212","filename":"file0"},{"photo_id":"1332907237","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332907243":["hashtag1","hashtag2"]},{"1332907237":["hashtag1","hashtag2"]},{"1332907231":["hashtag1","hashtag2"]},{"1332907221":["hashtag1","hashtag2"]},{"1332907212":["hashtag1","hashtag2"]},{"1332907268":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332907243, 1332907237, 1332907231, 1332907221, 1332907212, 1332907268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.76532554626465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:20:32.979052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/14/image_30012025_07_14_15_9438.jpg', '/home/pi/Desktop/images/30012025/07/14/image_30012025_07_14_25_9846.jpg', '/home/pi/Desktop/images/30012025/07/14/image_30012025_07_14_35_10358.jpg', '/home/pi/Desktop/images/30012025/07/14/image_30012025_07_14_45_10354.jpg', '/home/pi/Desktop/images/30012025/07/14/image_30012025_07_14_55_9370.jpg', '/home/pi/Desktop/images/30012025/07/14/image_30012025_07_15_05_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/14/image_30012025_07_14_15_9438.jpg
/home/pi/Desktop/images/30012025/07/14/image_30012025_07_14_25_9846.jpg
/home/pi/Desktop/images/30012025/07/14/image_30012025_07_14_35_10358.jpg
/home/pi/Desktop/images/30012025/07/14/image_30012025_07_14_45_10354.jpg
/home/pi/Desktop/images/30012025/07/14/image_30012025_07_14_55_9370.jpg
/home/pi/Desktop/images/30012025/07/14/image_30012025_07_15_05_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":["1332907282","1332907306","1332907287","1332907317","1332907298","1332907322"],"photo_ids_order":["1332907282","1332907287","1332907298","1332907306","1332907317","1332907322"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/efcb31a183e887ff54ec7c86842a11b0.jpg","text":"TemporaryFile(/tmp/multipartBody8140254822062175900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218093912,"filename":"image_30012025_07_14_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/30/c2f64785969b478d797b60bc5ad9850f.jpg","text":"TemporaryFile(/tmp/multipartBody8608190050004490128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218093912,"filename":"image_30012025_07_14_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/30/b8c06e1ae9c5d0de773dba3ef3caa3f2.jpg","text":"TemporaryFile(/tmp/multipartBody1020767620447418689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218093912,"filename":"image_30012025_07_14_25_9846.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bf2378835c40d2179e196e767372b12d.jpg","text":"TemporaryFile(/tmp/multipartBody8039348704815559514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218093912,"filename":"image_30012025_07_14_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/30/c030cbdd64a96f36945ddf08e7cb175b.jpg","text":"TemporaryFile(/tmp/multipartBody9007237189487507129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218093912,"filename":"image_30012025_07_14_35_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/07270b1871614a9ab841908767c6dd8b.jpg","text":"TemporaryFile(/tmp/multipartBody8042339988140911499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218093912,"filename":"image_30012025_07_15_05_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332907298","file1":"1332907287","file0":"1332907282","file4":"1332907317","file5":"1332907322","file3":"1332907306"},"map_files_photo_id_array":[{"photo_id":"1332907322","filename":"file5"},{"photo_id":"1332907298","filename":"file2"},{"photo_id":"1332907317","filename":"file4"},{"photo_id":"1332907287","filename":"file1"},{"photo_id":"1332907282","filename":"file0"},{"photo_id":"1332907306","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332907282":["hashtag1","hashtag2"]},{"1332907306":["hashtag1","hashtag2"]},{"1332907287":["hashtag1","hashtag2"]},{"1332907317":["hashtag1","hashtag2"]},{"1332907298":["hashtag1","hashtag2"]},{"1332907322":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332907282, 1332907306, 1332907287, 1332907317, 1332907298, 1332907322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.79473400115967 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:21:32.169019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/15/image_30012025_07_15_16_10362.jpg', '/home/pi/Desktop/images/30012025/07/15/image_30012025_07_15_25_9433.jpg', '/home/pi/Desktop/images/30012025/07/15/image_30012025_07_15_35_10415.jpg', '/home/pi/Desktop/images/30012025/07/15/image_30012025_07_15_45_9359.jpg', '/home/pi/Desktop/images/30012025/07/15/image_30012025_07_15_55_10395.jpg', '/home/pi/Desktop/images/30012025/07/15/image_30012025_07_16_06_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/15/image_30012025_07_15_16_10362.jpg
/home/pi/Desktop/images/30012025/07/15/image_30012025_07_15_25_9433.jpg
/home/pi/Desktop/images/30012025/07/15/image_30012025_07_15_35_10415.jpg
/home/pi/Desktop/images/30012025/07/15/image_30012025_07_15_45_9359.jpg
/home/pi/Desktop/images/30012025/07/15/image_30012025_07_15_55_10395.jpg
/home/pi/Desktop/images/30012025/07/15/image_30012025_07_16_06_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":["1332907383","1332907388","1332907376","1332907358","1332907393","1332907366"],"photo_ids_order":["1332907358","1332907366","1332907376","1332907383","1332907388","1332907393"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/06b232ffd995996d4fd37f877cd6ccb0.jpg","text":"TemporaryFile(/tmp/multipartBody7440930330359543150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218153094,"filename":"image_30012025_07_15_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/30/37bdac3bd3f23df21a76c9abb8d63824.jpg","text":"TemporaryFile(/tmp/multipartBody6628059712792046845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218153094,"filename":"image_30012025_07_15_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/30/4ec7716c412bbbb98fdeb2bb6f3d73f5.jpg","text":"TemporaryFile(/tmp/multipartBody6024774040638918381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218153094,"filename":"image_30012025_07_15_35_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/77ee02afc175a2030b8a0dc46d109bf7.jpg","text":"TemporaryFile(/tmp/multipartBody6523040438588678442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218153094,"filename":"image_30012025_07_15_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/30/ec89a0c4d6c8d6692c98f10988005d7d.jpg","text":"TemporaryFile(/tmp/multipartBody8243530548761508313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218153094,"filename":"image_30012025_07_16_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/30/5d21746fe221ecc611b2fa2d4ef8b924.jpg","text":"TemporaryFile(/tmp/multipartBody5249962540435861622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218153094,"filename":"image_30012025_07_15_25_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332907376","file1":"1332907366","file0":"1332907358","file4":"1332907388","file5":"1332907393","file3":"1332907383"},"map_files_photo_id_array":[{"photo_id":"1332907393","filename":"file5"},{"photo_id":"1332907376","filename":"file2"},{"photo_id":"1332907388","filename":"file4"},{"photo_id":"1332907366","filename":"file1"},{"photo_id":"1332907358","filename":"file0"},{"photo_id":"1332907383","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332907383":["hashtag1","hashtag2"]},{"1332907388":["hashtag1","hashtag2"]},{"1332907376":["hashtag1","hashtag2"]},{"1332907358":["hashtag1","hashtag2"]},{"1332907393":["hashtag1","hashtag2"]},{"1332907366":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332907383, 1332907388, 1332907376, 1332907358, 1332907393, 1332907366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.14750623703003 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:22:32.298002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/16/image_30012025_07_16_15_9433.jpg', '/home/pi/Desktop/images/30012025/07/16/image_30012025_07_16_25_10371.jpg', '/home/pi/Desktop/images/30012025/07/16/image_30012025_07_16_35_9393.jpg', '/home/pi/Desktop/images/30012025/07/16/image_30012025_07_16_45_10362.jpg', '/home/pi/Desktop/images/30012025/07/16/image_30012025_07_16_55_10354.jpg', '/home/pi/Desktop/images/30012025/07/16/image_30012025_07_17_05_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/16/image_30012025_07_16_15_9433.jpg
/home/pi/Desktop/images/30012025/07/16/image_30012025_07_16_25_10371.jpg
/home/pi/Desktop/images/30012025/07/16/image_30012025_07_16_35_9393.jpg
/home/pi/Desktop/images/30012025/07/16/image_30012025_07_16_45_10362.jpg
/home/pi/Desktop/images/30012025/07/16/image_30012025_07_16_55_10354.jpg
/home/pi/Desktop/images/30012025/07/16/image_30012025_07_17_05_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":["1332907458","1332907452","1332907455","1332907442","1332907448","1332907471"],"photo_ids_order":["1332907442","1332907448","1332907452","1332907455","1332907458","1332907471"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8315e3f83d54fe0a296bb5061f22a840.jpg","text":"TemporaryFile(/tmp/multipartBody7388507625234150189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218213223,"filename":"image_30012025_07_16_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/30/fe715cd870574b41328ef43a26eff291.jpg","text":"TemporaryFile(/tmp/multipartBody64617757719870212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218213223,"filename":"image_30012025_07_16_35_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/97230932cba07290015cda27c9801bf9.jpg","text":"TemporaryFile(/tmp/multipartBody2817457041847888565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218213223,"filename":"image_30012025_07_16_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/30/f3429e0dceed95103f8575c77ab79b57.jpg","text":"TemporaryFile(/tmp/multipartBody1224018793125247601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218213223,"filename":"image_30012025_07_16_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/30/65547842289f653b9ed2bbb1af3a0ded.jpg","text":"TemporaryFile(/tmp/multipartBody7148689115077056702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218213223,"filename":"image_30012025_07_16_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/30/fdf64f958ff277d9a363be57708b355e.jpg","text":"TemporaryFile(/tmp/multipartBody4057259174139249478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218213223,"filename":"image_30012025_07_17_05_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332907452","file1":"1332907448","file0":"1332907442","file4":"1332907458","file5":"1332907471","file3":"1332907455"},"map_files_photo_id_array":[{"photo_id":"1332907471","filename":"file5"},{"photo_id":"1332907452","filename":"file2"},{"photo_id":"1332907458","filename":"file4"},{"photo_id":"1332907448","filename":"file1"},{"photo_id":"1332907442","filename":"file0"},{"photo_id":"1332907455","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332907458":["hashtag1","hashtag2"]},{"1332907452":["hashtag1","hashtag2"]},{"1332907455":["hashtag1","hashtag2"]},{"1332907442":["hashtag1","hashtag2"]},{"1332907448":["hashtag1","hashtag2"]},{"1332907471":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332907458, 1332907452, 1332907455, 1332907442, 1332907448, 1332907471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.181105852127075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:23:32.646825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/17/image_30012025_07_17_15_10342.jpg', '/home/pi/Desktop/images/30012025/07/17/image_30012025_07_17_25_10362.jpg', '/home/pi/Desktop/images/30012025/07/17/image_30012025_07_17_35_9342.jpg', '/home/pi/Desktop/images/30012025/07/17/image_30012025_07_17_45_10448.jpg', '/home/pi/Desktop/images/30012025/07/17/image_30012025_07_17_56_10395.jpg', '/home/pi/Desktop/images/30012025/07/17/image_30012025_07_18_05_9415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/17/image_30012025_07_17_15_10342.jpg
/home/pi/Desktop/images/30012025/07/17/image_30012025_07_17_25_10362.jpg
/home/pi/Desktop/images/30012025/07/17/image_30012025_07_17_35_9342.jpg
/home/pi/Desktop/images/30012025/07/17/image_30012025_07_17_45_10448.jpg
/home/pi/Desktop/images/30012025/07/17/image_30012025_07_17_56_10395.jpg
/home/pi/Desktop/images/30012025/07/17/image_30012025_07_18_05_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":["1332907548","1332907533","1332907592","1332907544","1332907538","1332907520"],"photo_ids_order":["1332907520","1332907533","1332907538","1332907544","1332907548","1332907592"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0214a7cbbe22e943fc78b74a7bd98b4a.jpg","text":"TemporaryFile(/tmp/multipartBody5001068876974489589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218273573,"filename":"image_30012025_07_17_56_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c3e53c132d814085f65d248cb7c32249.jpg","text":"TemporaryFile(/tmp/multipartBody2284592171128608886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218273573,"filename":"image_30012025_07_17_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/30/a7b3a684128dff02b661e579a9f071f2.jpg","text":"TemporaryFile(/tmp/multipartBody3285403872077976543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218273573,"filename":"image_30012025_07_18_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/30/b7b5748f11e54cdf0063477ea85b25e8.jpg","text":"TemporaryFile(/tmp/multipartBody1129457693347463826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218273573,"filename":"image_30012025_07_17_45_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/61345b58ce029b6b54176add313776ba.jpg","text":"TemporaryFile(/tmp/multipartBody5105075195316315107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218273573,"filename":"image_30012025_07_17_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/30/8090c24c46f130a37d1c94cdd3fbc04b.jpg","text":"TemporaryFile(/tmp/multipartBody1356635521727810543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218273573,"filename":"image_30012025_07_17_15_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332907538","file1":"1332907533","file0":"1332907520","file4":"1332907548","file5":"1332907592","file3":"1332907544"},"map_files_photo_id_array":[{"photo_id":"1332907592","filename":"file5"},{"photo_id":"1332907538","filename":"file2"},{"photo_id":"1332907548","filename":"file4"},{"photo_id":"1332907533","filename":"file1"},{"photo_id":"1332907520","filename":"file0"},{"photo_id":"1332907544","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332907548":["hashtag1","hashtag2"]},{"1332907533":["hashtag1","hashtag2"]},{"1332907592":["hashtag1","hashtag2"]},{"1332907544":["hashtag1","hashtag2"]},{"1332907538":["hashtag1","hashtag2"]},{"1332907520":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332907548, 1332907533, 1332907592, 1332907544, 1332907538, 1332907520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.27986145019531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:24:32.929027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/18/image_30012025_07_18_15_10351.jpg', '/home/pi/Desktop/images/30012025/07/18/image_30012025_07_18_25_9353.jpg', '/home/pi/Desktop/images/30012025/07/18/image_30012025_07_18_35_10404.jpg', '/home/pi/Desktop/images/30012025/07/18/image_30012025_07_18_46_10379.jpg', '/home/pi/Desktop/images/30012025/07/18/image_30012025_07_18_55_9450.jpg', '/home/pi/Desktop/images/30012025/07/18/image_30012025_07_19_05_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/18/image_30012025_07_18_15_10351.jpg
/home/pi/Desktop/images/30012025/07/18/image_30012025_07_18_25_9353.jpg
/home/pi/Desktop/images/30012025/07/18/image_30012025_07_18_35_10404.jpg
/home/pi/Desktop/images/30012025/07/18/image_30012025_07_18_46_10379.jpg
/home/pi/Desktop/images/30012025/07/18/image_30012025_07_18_55_9450.jpg
/home/pi/Desktop/images/30012025/07/18/image_30012025_07_19_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":["1332907660","1332907686","1332907650","1332907691","1332907676","1332907631"],"photo_ids_order":["1332907631","1332907650","1332907660","1332907676","1332907686","1332907691"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b4ab6acf6ce465318dd5e16f4e725b29.jpg","text":"TemporaryFile(/tmp/multipartBody8200861004079781337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218333858,"filename":"image_30012025_07_18_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/30/77ac1b3fe9382b02f317922a71c0671f.jpg","text":"TemporaryFile(/tmp/multipartBody8101289906777801182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218333858,"filename":"image_30012025_07_18_55_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5a4f64ac2f82a2e4a86c2aaec8c72303.jpg","text":"TemporaryFile(/tmp/multipartBody4055391090411264495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218333858,"filename":"image_30012025_07_18_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/30/984640ab897e01c93d71a0216ac516e0.jpg","text":"TemporaryFile(/tmp/multipartBody4845786741068596992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218333858,"filename":"image_30012025_07_19_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/30/6a082328a037ec5140b40c34c0549003.jpg","text":"TemporaryFile(/tmp/multipartBody7790060995216228466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218333858,"filename":"image_30012025_07_18_46_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/27db2966091e0d60374d9f69a5411bf0.jpg","text":"TemporaryFile(/tmp/multipartBody7860280674995484640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218333858,"filename":"image_30012025_07_18_15_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332907660","file1":"1332907650","file0":"1332907631","file4":"1332907686","file5":"1332907691","file3":"1332907676"},"map_files_photo_id_array":[{"photo_id":"1332907691","filename":"file5"},{"photo_id":"1332907660","filename":"file2"},{"photo_id":"1332907686","filename":"file4"},{"photo_id":"1332907650","filename":"file1"},{"photo_id":"1332907631","filename":"file0"},{"photo_id":"1332907676","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332907660":["hashtag1","hashtag2"]},{"1332907686":["hashtag1","hashtag2"]},{"1332907650":["hashtag1","hashtag2"]},{"1332907691":["hashtag1","hashtag2"]},{"1332907676":["hashtag1","hashtag2"]},{"1332907631":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332907660, 1332907686, 1332907650, 1332907691, 1332907676, 1332907631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.802520751953125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:25:32.299047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/19/image_30012025_07_19_15_9416.jpg', '/home/pi/Desktop/images/30012025/07/19/image_30012025_07_19_25_10449.jpg', '/home/pi/Desktop/images/30012025/07/19/image_30012025_07_19_45_9399.jpg', '/home/pi/Desktop/images/30012025/07/19/image_30012025_07_19_55_10357.jpg', '/home/pi/Desktop/images/30012025/07/19/image_30012025_07_20_06_10344.jpg', '/home/pi/Desktop/images/30012025/07/20/image_30012025_07_20_15_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/19/image_30012025_07_19_15_9416.jpg
/home/pi/Desktop/images/30012025/07/19/image_30012025_07_19_25_10449.jpg
/home/pi/Desktop/images/30012025/07/19/image_30012025_07_19_45_9399.jpg
/home/pi/Desktop/images/30012025/07/19/image_30012025_07_19_55_10357.jpg
/home/pi/Desktop/images/30012025/07/19/image_30012025_07_20_06_10344.jpg
/home/pi/Desktop/images/30012025/07/20/image_30012025_07_20_15_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":["1332907843","1332907796","1332907877","1332907751","1332907745","1332907739"],"photo_ids_order":["1332907739","1332907745","1332907751","1332907796","1332907843","1332907877"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b64736a480e7754b51c5775da5b5136f.jpg","text":"TemporaryFile(/tmp/multipartBody5346218114009217530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218393239,"filename":"image_30012025_07_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/30/28b6247cc86f1aa117d87dd9b7874f0b.jpg","text":"TemporaryFile(/tmp/multipartBody3508555761699542678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218393239,"filename":"image_30012025_07_19_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/30/a68256430742c731ccd429e5e2d5f380.jpg","text":"TemporaryFile(/tmp/multipartBody5199237264894622831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218393239,"filename":"image_30012025_07_20_15_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bceedba13fda299734676a0d2e01aa4e.jpg","text":"TemporaryFile(/tmp/multipartBody5033052915628354424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218393239,"filename":"image_30012025_07_19_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/30/418f5188b9ea55825055da6e79c35b26.jpg","text":"TemporaryFile(/tmp/multipartBody163174149256448851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218393239,"filename":"image_30012025_07_19_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/30/80e3aeed04866b71fea26c6f1cdbf3fa.jpg","text":"TemporaryFile(/tmp/multipartBody1865025230321889269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218393239,"filename":"image_30012025_07_19_15_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332907751","file1":"1332907745","file0":"1332907739","file4":"1332907843","file5":"1332907877","file3":"1332907796"},"map_files_photo_id_array":[{"photo_id":"1332907877","filename":"file5"},{"photo_id":"1332907751","filename":"file2"},{"photo_id":"1332907843","filename":"file4"},{"photo_id":"1332907745","filename":"file1"},{"photo_id":"1332907739","filename":"file0"},{"photo_id":"1332907796","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332907843":["hashtag1","hashtag2"]},{"1332907796":["hashtag1","hashtag2"]},{"1332907877":["hashtag1","hashtag2"]},{"1332907751":["hashtag1","hashtag2"]},{"1332907745":["hashtag1","hashtag2"]},{"1332907739":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332907843, 1332907796, 1332907877, 1332907751, 1332907745, 1332907739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.27557611465454 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:26:32.523412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/20/image_30012025_07_20_25_10426.jpg', '/home/pi/Desktop/images/30012025/07/20/image_30012025_07_20_35_9360.jpg', '/home/pi/Desktop/images/30012025/07/20/image_30012025_07_20_45_10374.jpg', '/home/pi/Desktop/images/30012025/07/20/image_30012025_07_20_56_10375.jpg', '/home/pi/Desktop/images/30012025/07/20/image_30012025_07_21_05_9597.jpg', '/home/pi/Desktop/images/30012025/07/21/image_30012025_07_21_16_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/20/image_30012025_07_20_25_10426.jpg
/home/pi/Desktop/images/30012025/07/20/image_30012025_07_20_35_9360.jpg
/home/pi/Desktop/images/30012025/07/20/image_30012025_07_20_45_10374.jpg
/home/pi/Desktop/images/30012025/07/20/image_30012025_07_20_56_10375.jpg
/home/pi/Desktop/images/30012025/07/20/image_30012025_07_21_05_9597.jpg
/home/pi/Desktop/images/30012025/07/21/image_30012025_07_21_16_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.5260779857635498 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 07:26:42.447746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/20/image_30012025_07_20_25_10426.jpg', '/home/pi/Desktop/images/30012025/07/20/image_30012025_07_20_35_9360.jpg', '/home/pi/Desktop/images/30012025/07/20/image_30012025_07_20_45_10374.jpg', '/home/pi/Desktop/images/30012025/07/20/image_30012025_07_20_56_10375.jpg', '/home/pi/Desktop/images/30012025/07/20/image_30012025_07_21_05_9597.jpg', '/home/pi/Desktop/images/30012025/07/21/image_30012025_07_21_16_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/20/image_30012025_07_20_25_10426.jpg
/home/pi/Desktop/images/30012025/07/20/image_30012025_07_20_35_9360.jpg
/home/pi/Desktop/images/30012025/07/20/image_30012025_07_20_45_10374.jpg
/home/pi/Desktop/images/30012025/07/20/image_30012025_07_20_56_10375.jpg
/home/pi/Desktop/images/30012025/07/20/image_30012025_07_21_05_9597.jpg
/home/pi/Desktop/images/30012025/07/21/image_30012025_07_21_16_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":["1332908014","1332907995","1332907983","1332907971","1332907959","1332907967"],"photo_ids_order":["1332907959","1332907967","1332907971","1332907983","1332907995","1332908014"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ae0538636b474f84cdf6e0344e00e40a.jpg","text":"TemporaryFile(/tmp/multipartBody6974334778374081812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218463356,"filename":"image_30012025_07_21_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/30/e501ffaab5188c338043f6dba454cf45.jpg","text":"TemporaryFile(/tmp/multipartBody5684795119199813297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218463356,"filename":"image_30012025_07_21_05_9597.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/38495665dbd28e079aa72035a8a49de5.jpg","text":"TemporaryFile(/tmp/multipartBody8848163485710919901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218463356,"filename":"image_30012025_07_20_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/30/e6a3b6c58cb08d47257c1557091c73ba.jpg","text":"TemporaryFile(/tmp/multipartBody6338932696654718551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218463356,"filename":"image_30012025_07_20_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/30/24f1f7f890744637d86c8a1d46c4d4e3.jpg","text":"TemporaryFile(/tmp/multipartBody2337302342929585659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218463356,"filename":"image_30012025_07_20_25_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/30/8620708b355a480be4bf8bf8c6869ea9.jpg","text":"TemporaryFile(/tmp/multipartBody6926176585739441553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218463356,"filename":"image_30012025_07_20_35_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332907971","file1":"1332907967","file0":"1332907959","file4":"1332907995","file5":"1332908014","file3":"1332907983"},"map_files_photo_id_array":[{"photo_id":"1332908014","filename":"file5"},{"photo_id":"1332907971","filename":"file2"},{"photo_id":"1332907995","filename":"file4"},{"photo_id":"1332907967","filename":"file1"},{"photo_id":"1332907959","filename":"file0"},{"photo_id":"1332907983","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332908014":["hashtag1","hashtag2"]},{"1332907995":["hashtag1","hashtag2"]},{"1332907983":["hashtag1","hashtag2"]},{"1332907971":["hashtag1","hashtag2"]},{"1332907959":["hashtag1","hashtag2"]},{"1332907967":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332908014, 1332907995, 1332907983, 1332907971, 1332907959, 1332907967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.10741996765137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:27:32.759491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/21/image_30012025_07_21_25_9475.jpg', '/home/pi/Desktop/images/30012025/07/21/image_30012025_07_21_35_10362.jpg', '/home/pi/Desktop/images/30012025/07/21/image_30012025_07_21_46_10354.jpg', '/home/pi/Desktop/images/30012025/07/21/image_30012025_07_21_55_9416.jpg', '/home/pi/Desktop/images/30012025/07/21/image_30012025_07_22_05_10354.jpg', '/home/pi/Desktop/images/30012025/07/22/image_30012025_07_22_15_9449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/21/image_30012025_07_21_25_9475.jpg
/home/pi/Desktop/images/30012025/07/21/image_30012025_07_21_35_10362.jpg
/home/pi/Desktop/images/30012025/07/21/image_30012025_07_21_46_10354.jpg
/home/pi/Desktop/images/30012025/07/21/image_30012025_07_21_55_9416.jpg
/home/pi/Desktop/images/30012025/07/21/image_30012025_07_22_05_10354.jpg
/home/pi/Desktop/images/30012025/07/22/image_30012025_07_22_15_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":["1332908094","1332908047","1332908247","1332908226","1332908195","1332908044"],"photo_ids_order":["1332908044","1332908047","1332908094","1332908195","1332908226","1332908247"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8b6503ddce3ff2dd2c24734e871487d1.jpg","text":"TemporaryFile(/tmp/multipartBody7425188561921181424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218513705,"filename":"image_30012025_07_21_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/30/ad6fb4465a852d8560580c99518cf303.jpg","text":"TemporaryFile(/tmp/multipartBody3237580135236076141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218513705,"filename":"image_30012025_07_21_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/30/80045e87c4898f8ea8adf4205c546446.jpg","text":"TemporaryFile(/tmp/multipartBody7593484722309080077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218513705,"filename":"image_30012025_07_22_15_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5f3abdcfe050fa8bf9779968799dc8c7.jpg","text":"TemporaryFile(/tmp/multipartBody8132820451957709340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218513705,"filename":"image_30012025_07_22_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/30/31ead9dd6a8ac7600efc8ec0f38476b3.jpg","text":"TemporaryFile(/tmp/multipartBody6827720497149608141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218513705,"filename":"image_30012025_07_21_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/30/f71c08981a6f315d5fa2443915e2797b.jpg","text":"TemporaryFile(/tmp/multipartBody6363932579075615998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218513705,"filename":"image_30012025_07_21_25_9475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332908094","file1":"1332908047","file0":"1332908044","file4":"1332908226","file5":"1332908247","file3":"1332908195"},"map_files_photo_id_array":[{"photo_id":"1332908247","filename":"file5"},{"photo_id":"1332908094","filename":"file2"},{"photo_id":"1332908226","filename":"file4"},{"photo_id":"1332908047","filename":"file1"},{"photo_id":"1332908044","filename":"file0"},{"photo_id":"1332908195","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332908094":["hashtag1","hashtag2"]},{"1332908047":["hashtag1","hashtag2"]},{"1332908247":["hashtag1","hashtag2"]},{"1332908226":["hashtag1","hashtag2"]},{"1332908195":["hashtag1","hashtag2"]},{"1332908044":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332908094, 1332908047, 1332908247, 1332908226, 1332908195, 1332908044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.49551558494568 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:28:32.784062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/22/image_30012025_07_22_25_10366.jpg', '/home/pi/Desktop/images/30012025/07/22/image_30012025_07_22_45_9343.jpg', '/home/pi/Desktop/images/30012025/07/22/image_30012025_07_22_55_10415.jpg', '/home/pi/Desktop/images/30012025/07/22/image_30012025_07_23_05_9348.jpg', '/home/pi/Desktop/images/30012025/07/23/image_30012025_07_23_15_10341.jpg', '/home/pi/Desktop/images/30012025/07/23/image_30012025_07_23_26_10381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/22/image_30012025_07_22_25_10366.jpg
/home/pi/Desktop/images/30012025/07/22/image_30012025_07_22_45_9343.jpg
/home/pi/Desktop/images/30012025/07/22/image_30012025_07_22_55_10415.jpg
/home/pi/Desktop/images/30012025/07/22/image_30012025_07_23_05_9348.jpg
/home/pi/Desktop/images/30012025/07/23/image_30012025_07_23_15_10341.jpg
/home/pi/Desktop/images/30012025/07/23/image_30012025_07_23_26_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332908592","1332908748","1332908541","1332908485","1332908902","1332908851"],"photo_ids_order":["1332908485","1332908541","1332908592","1332908748","1332908851","1332908902"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f9ef0a89afa4c6427c77f5600df4c4ed.jpg","text":"TemporaryFile(/tmp/multipartBody1141755250441393926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218573719,"filename":"image_30012025_07_22_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/30/6a45a609491b4ca1e6eb32d88510507d.jpg","text":"TemporaryFile(/tmp/multipartBody2675685901035873277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218573719,"filename":"image_30012025_07_23_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/30/c109ee437963aec3cfd01acc9b658fa8.jpg","text":"TemporaryFile(/tmp/multipartBody1219384105181142775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218573719,"filename":"image_30012025_07_22_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/30/a7979f53b48e796e794eacaaf6b7d535.jpg","text":"TemporaryFile(/tmp/multipartBody1446410858362712094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218573719,"filename":"image_30012025_07_22_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/30/8648620a427cbde8f9dd72a91f05c567.jpg","text":"TemporaryFile(/tmp/multipartBody2393431930471210095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218573719,"filename":"image_30012025_07_23_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/30/ab3e76539c38b3f97be107f697880b3b.jpg","text":"TemporaryFile(/tmp/multipartBody925964676296018067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218573719,"filename":"image_30012025_07_23_15_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332908592","file1":"1332908541","file0":"1332908485","file4":"1332908851","file5":"1332908902","file3":"1332908748"},"map_files_photo_id_array":[{"photo_id":"1332908902","filename":"file5"},{"photo_id":"1332908592","filename":"file2"},{"photo_id":"1332908851","filename":"file4"},{"photo_id":"1332908541","filename":"file1"},{"photo_id":"1332908485","filename":"file0"},{"photo_id":"1332908748","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332908592":["hashtag1","hashtag2"]},{"1332908748":["hashtag1","hashtag2"]},{"1332908541":["hashtag1","hashtag2"]},{"1332908485":["hashtag1","hashtag2"]},{"1332908902":["hashtag1","hashtag2"]},{"1332908851":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332908592, 1332908748, 1332908541, 1332908485, 1332908902, 1332908851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.56824040412903 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:29:33.041660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/23/image_30012025_07_23_35_9437.jpg', '/home/pi/Desktop/images/30012025/07/23/image_30012025_07_23_45_9792.jpg', '/home/pi/Desktop/images/30012025/07/23/image_30012025_07_23_55_10445.jpg', '/home/pi/Desktop/images/30012025/07/24/image_30012025_07_24_15_9390.jpg', '/home/pi/Desktop/images/30012025/07/24/image_30012025_07_24_25_10356.jpg', '/home/pi/Desktop/images/30012025/07/24/image_30012025_07_24_35_9423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/23/image_30012025_07_23_35_9437.jpg
/home/pi/Desktop/images/30012025/07/23/image_30012025_07_23_45_9792.jpg
/home/pi/Desktop/images/30012025/07/23/image_30012025_07_23_55_10445.jpg
/home/pi/Desktop/images/30012025/07/24/image_30012025_07_24_15_9390.jpg
/home/pi/Desktop/images/30012025/07/24/image_30012025_07_24_25_10356.jpg
/home/pi/Desktop/images/30012025/07/24/image_30012025_07_24_35_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":["1332909519","1332909296","1332909442","1332909214","1332909597","1332909372"],"photo_ids_order":["1332909214","1332909296","1332909372","1332909442","1332909519","1332909597"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b8bd4c1007a305332a9d5332433d8eee.jpg","text":"TemporaryFile(/tmp/multipartBody1261706355444482655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218633946,"filename":"image_30012025_07_24_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/30/72360484b5b94e7dc92ef697abadcd72.jpg","text":"TemporaryFile(/tmp/multipartBody5788292269572018540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218633946,"filename":"image_30012025_07_23_45_9792.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2ba8d020fa5adf0adf8a3256b46f3b2b.jpg","text":"TemporaryFile(/tmp/multipartBody4788762769330363154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218633946,"filename":"image_30012025_07_24_15_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d905bf8207f017531ff07ae8c3b787da.jpg","text":"TemporaryFile(/tmp/multipartBody5214566995915633981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218633946,"filename":"image_30012025_07_23_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/30/732196e9881cb71330122810f6a050cc.jpg","text":"TemporaryFile(/tmp/multipartBody3749276669661346622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218633946,"filename":"image_30012025_07_24_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/30/1cc8b18cc112d37befcf0d748ded2c51.jpg","text":"TemporaryFile(/tmp/multipartBody7270949381099448086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218633946,"filename":"image_30012025_07_23_55_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332909372","file1":"1332909296","file0":"1332909214","file4":"1332909519","file5":"1332909597","file3":"1332909442"},"map_files_photo_id_array":[{"photo_id":"1332909597","filename":"file5"},{"photo_id":"1332909372","filename":"file2"},{"photo_id":"1332909519","filename":"file4"},{"photo_id":"1332909296","filename":"file1"},{"photo_id":"1332909214","filename":"file0"},{"photo_id":"1332909442","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332909519":["hashtag1","hashtag2"]},{"1332909296":["hashtag1","hashtag2"]},{"1332909442":["hashtag1","hashtag2"]},{"1332909214":["hashtag1","hashtag2"]},{"1332909597":["hashtag1","hashtag2"]},{"1332909372":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332909519, 1332909296, 1332909442, 1332909214, 1332909597, 1332909372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.14406108856201 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:30:32.180875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/24/image_30012025_07_24_45_10456.jpg', '/home/pi/Desktop/images/30012025/07/24/image_30012025_07_24_56_10360.jpg', '/home/pi/Desktop/images/30012025/07/24/image_30012025_07_25_05_9449.jpg', '/home/pi/Desktop/images/30012025/07/25/image_30012025_07_25_15_10379.jpg', '/home/pi/Desktop/images/30012025/07/25/image_30012025_07_25_25_9373.jpg', '/home/pi/Desktop/images/30012025/07/25/image_30012025_07_25_35_10433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/24/image_30012025_07_24_45_10456.jpg
/home/pi/Desktop/images/30012025/07/24/image_30012025_07_24_56_10360.jpg
/home/pi/Desktop/images/30012025/07/24/image_30012025_07_25_05_9449.jpg
/home/pi/Desktop/images/30012025/07/25/image_30012025_07_25_15_10379.jpg
/home/pi/Desktop/images/30012025/07/25/image_30012025_07_25_25_9373.jpg
/home/pi/Desktop/images/30012025/07/25/image_30012025_07_25_35_10433.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5404806137084961 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 07:30:42.153110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/24/image_30012025_07_24_45_10456.jpg', '/home/pi/Desktop/images/30012025/07/24/image_30012025_07_24_56_10360.jpg', '/home/pi/Desktop/images/30012025/07/24/image_30012025_07_25_05_9449.jpg', '/home/pi/Desktop/images/30012025/07/25/image_30012025_07_25_15_10379.jpg', '/home/pi/Desktop/images/30012025/07/25/image_30012025_07_25_25_9373.jpg', '/home/pi/Desktop/images/30012025/07/25/image_30012025_07_25_35_10433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/24/image_30012025_07_24_45_10456.jpg
/home/pi/Desktop/images/30012025/07/24/image_30012025_07_24_56_10360.jpg
/home/pi/Desktop/images/30012025/07/24/image_30012025_07_25_05_9449.jpg
/home/pi/Desktop/images/30012025/07/25/image_30012025_07_25_15_10379.jpg
/home/pi/Desktop/images/30012025/07/25/image_30012025_07_25_25_9373.jpg
/home/pi/Desktop/images/30012025/07/25/image_30012025_07_25_35_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332909687","1332909680","1332909740","1332909659","1332909673","1332909667"],"photo_ids_order":["1332909659","1332909667","1332909673","1332909680","1332909687","1332909740"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/80c0bb68375df3ca5b71239b4c71fb0f.jpg","text":"TemporaryFile(/tmp/multipartBody3968668210397104871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218703092,"filename":"image_30012025_07_25_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/30/895f50298c5766a730d0ef3509286804.jpg","text":"TemporaryFile(/tmp/multipartBody4984683111243161738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218703092,"filename":"image_30012025_07_25_15_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1881ddce8cf0f12f505cbf56c3382b28.jpg","text":"TemporaryFile(/tmp/multipartBody1119771025409074809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218703092,"filename":"image_30012025_07_25_35_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/124d32301d13f97d3fa6113487af73e9.jpg","text":"TemporaryFile(/tmp/multipartBody8247954598028445282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218703092,"filename":"image_30012025_07_24_45_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1aea5225c87a64102934a89942c7df02.jpg","text":"TemporaryFile(/tmp/multipartBody4599994604003989566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218703092,"filename":"image_30012025_07_25_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/30/03dd02152ef3e4c05576d08d710994ad.jpg","text":"TemporaryFile(/tmp/multipartBody1359573999353712580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218703092,"filename":"image_30012025_07_24_56_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332909673","file1":"1332909667","file0":"1332909659","file4":"1332909687","file5":"1332909740","file3":"1332909680"},"map_files_photo_id_array":[{"photo_id":"1332909740","filename":"file5"},{"photo_id":"1332909673","filename":"file2"},{"photo_id":"1332909687","filename":"file4"},{"photo_id":"1332909667","filename":"file1"},{"photo_id":"1332909659","filename":"file0"},{"photo_id":"1332909680","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332909687":["hashtag1","hashtag2"]},{"1332909680":["hashtag1","hashtag2"]},{"1332909740":["hashtag1","hashtag2"]},{"1332909659":["hashtag1","hashtag2"]},{"1332909673":["hashtag1","hashtag2"]},{"1332909667":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332909687, 1332909680, 1332909740, 1332909659, 1332909673, 1332909667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.24791646003723 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:31:32.304483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/25/image_30012025_07_25_46_10358.jpg', '/home/pi/Desktop/images/30012025/07/25/image_30012025_07_25_55_9426.jpg', '/home/pi/Desktop/images/30012025/07/25/image_30012025_07_26_05_10373.jpg', '/home/pi/Desktop/images/30012025/07/26/image_30012025_07_26_16_10347.jpg', '/home/pi/Desktop/images/30012025/07/26/image_30012025_07_26_25_9439.jpg', '/home/pi/Desktop/images/30012025/07/26/image_30012025_07_26_36_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/25/image_30012025_07_25_46_10358.jpg
/home/pi/Desktop/images/30012025/07/25/image_30012025_07_25_55_9426.jpg
/home/pi/Desktop/images/30012025/07/25/image_30012025_07_26_05_10373.jpg
/home/pi/Desktop/images/30012025/07/26/image_30012025_07_26_16_10347.jpg
/home/pi/Desktop/images/30012025/07/26/image_30012025_07_26_25_9439.jpg
/home/pi/Desktop/images/30012025/07/26/image_30012025_07_26_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":["1332910017","1332910005","1332910088","1332909976","1332910010","1332910081"],"photo_ids_order":["1332909976","1332910005","1332910010","1332910017","1332910081","1332910088"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/288e22ebf821810d84cd7eb47b8e0c3e.jpg","text":"TemporaryFile(/tmp/multipartBody8096210082281866499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218753305,"filename":"image_30012025_07_26_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/30/e0d4929e2f5dfb2300cf7cd4350890f9.jpg","text":"TemporaryFile(/tmp/multipartBody6633438604868328946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218753305,"filename":"image_30012025_07_25_55_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f1b1f67417b6a54d76b87a3d4a26b108.jpg","text":"TemporaryFile(/tmp/multipartBody4362185389346505247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218753305,"filename":"image_30012025_07_26_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/30/85bba1deb5a2da177573bdf5def1a7e7.jpg","text":"TemporaryFile(/tmp/multipartBody1187200915564091451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218753305,"filename":"image_30012025_07_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/30/9b209b2af0e58cefa43523d545d5ff35.jpg","text":"TemporaryFile(/tmp/multipartBody5521207694880970680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218753305,"filename":"image_30012025_07_26_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/956648fe56c2d857cc4919858b3ccebd.jpg","text":"TemporaryFile(/tmp/multipartBody5380279217011548250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218753305,"filename":"image_30012025_07_26_25_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332910010","file1":"1332910005","file0":"1332909976","file4":"1332910081","file5":"1332910088","file3":"1332910017"},"map_files_photo_id_array":[{"photo_id":"1332910088","filename":"file5"},{"photo_id":"1332910010","filename":"file2"},{"photo_id":"1332910081","filename":"file4"},{"photo_id":"1332910005","filename":"file1"},{"photo_id":"1332909976","filename":"file0"},{"photo_id":"1332910017","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332910017":["hashtag1","hashtag2"]},{"1332910005":["hashtag1","hashtag2"]},{"1332910088":["hashtag1","hashtag2"]},{"1332909976":["hashtag1","hashtag2"]},{"1332910010":["hashtag1","hashtag2"]},{"1332910081":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332910017, 1332910005, 1332910088, 1332909976, 1332910010, 1332910081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.86351490020752 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:32:32.613333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/26/image_30012025_07_26_45_9440.jpg', '/home/pi/Desktop/images/30012025/07/26/image_30012025_07_26_55_10375.jpg', '/home/pi/Desktop/images/30012025/07/26/image_30012025_07_27_06_10350.jpg', '/home/pi/Desktop/images/30012025/07/27/image_30012025_07_27_15_9369.jpg', '/home/pi/Desktop/images/30012025/07/27/image_30012025_07_27_35_9351.jpg', '/home/pi/Desktop/images/30012025/07/27/image_30012025_07_27_45_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/26/image_30012025_07_26_45_9440.jpg
/home/pi/Desktop/images/30012025/07/26/image_30012025_07_26_55_10375.jpg
/home/pi/Desktop/images/30012025/07/26/image_30012025_07_27_06_10350.jpg
/home/pi/Desktop/images/30012025/07/27/image_30012025_07_27_15_9369.jpg
/home/pi/Desktop/images/30012025/07/27/image_30012025_07_27_35_9351.jpg
/home/pi/Desktop/images/30012025/07/27/image_30012025_07_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":["1332910272","1332910105","1332910245","1332910113","1332910175","1332910121"],"photo_ids_order":["1332910105","1332910113","1332910121","1332910175","1332910245","1332910272"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b3e9f3982a21cd02b512176c814db31c.jpg","text":"TemporaryFile(/tmp/multipartBody2046085271730765652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218813527,"filename":"image_30012025_07_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/30/4a8b3bd0070492f86b951ce02f417d0e.jpg","text":"TemporaryFile(/tmp/multipartBody4186305951105294573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218813527,"filename":"image_30012025_07_26_45_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/30/7daaea5726ca7fec75f0e10c02236fe7.jpg","text":"TemporaryFile(/tmp/multipartBody328877891825924866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218813527,"filename":"image_30012025_07_27_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/30/5f632298f9d073410d454cec1b9d35b3.jpg","text":"TemporaryFile(/tmp/multipartBody3515317682726350274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218813527,"filename":"image_30012025_07_26_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/30/22bdc26bba953a996dd938122b037803.jpg","text":"TemporaryFile(/tmp/multipartBody3550652591442573983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218813527,"filename":"image_30012025_07_27_15_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/30/89d70aeb80320ba9a7d8f5f889632b78.jpg","text":"TemporaryFile(/tmp/multipartBody6210117045573480770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218813527,"filename":"image_30012025_07_27_06_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332910121","file1":"1332910113","file0":"1332910105","file4":"1332910245","file5":"1332910272","file3":"1332910175"},"map_files_photo_id_array":[{"photo_id":"1332910272","filename":"file5"},{"photo_id":"1332910121","filename":"file2"},{"photo_id":"1332910245","filename":"file4"},{"photo_id":"1332910113","filename":"file1"},{"photo_id":"1332910105","filename":"file0"},{"photo_id":"1332910175","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332910272":["hashtag1","hashtag2"]},{"1332910105":["hashtag1","hashtag2"]},{"1332910245":["hashtag1","hashtag2"]},{"1332910113":["hashtag1","hashtag2"]},{"1332910175":["hashtag1","hashtag2"]},{"1332910121":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332910272, 1332910105, 1332910245, 1332910113, 1332910175, 1332910121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.42528486251831 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:33:32.865638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/27/image_30012025_07_27_56_10360.jpg', '/home/pi/Desktop/images/30012025/07/27/image_30012025_07_28_05_9456.jpg', '/home/pi/Desktop/images/30012025/07/28/image_30012025_07_28_15_10354.jpg', '/home/pi/Desktop/images/30012025/07/28/image_30012025_07_28_25_9363.jpg', '/home/pi/Desktop/images/30012025/07/28/image_30012025_07_28_35_10366.jpg', '/home/pi/Desktop/images/30012025/07/28/image_30012025_07_28_45_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/27/image_30012025_07_27_56_10360.jpg
/home/pi/Desktop/images/30012025/07/27/image_30012025_07_28_05_9456.jpg
/home/pi/Desktop/images/30012025/07/28/image_30012025_07_28_15_10354.jpg
/home/pi/Desktop/images/30012025/07/28/image_30012025_07_28_25_9363.jpg
/home/pi/Desktop/images/30012025/07/28/image_30012025_07_28_35_10366.jpg
/home/pi/Desktop/images/30012025/07/28/image_30012025_07_28_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":["1332910398","1332910392","1332910410","1332910404","1332910433","1332910421"],"photo_ids_order":["1332910392","1332910398","1332910404","1332910410","1332910421","1332910433"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a479dedacad3dad31deee94d92daa161.jpg","text":"TemporaryFile(/tmp/multipartBody4798819336688835015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218873774,"filename":"image_30012025_07_28_05_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/30/8d9c027c6d5f7e0717a0ea136f8fb7c8.jpg","text":"TemporaryFile(/tmp/multipartBody4375141057802915074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218873774,"filename":"image_30012025_07_27_56_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ce71f278f35e37bc6024ba5d3be2e5e2.jpg","text":"TemporaryFile(/tmp/multipartBody7429329705026595678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218873774,"filename":"image_30012025_07_28_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/30/1172fc8d898b69cb9e598d033b0ecd36.jpg","text":"TemporaryFile(/tmp/multipartBody4741328722701919231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218873774,"filename":"image_30012025_07_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/30/cf123b310bf6675eeb2b62ebf829a2d6.jpg","text":"TemporaryFile(/tmp/multipartBody7749908111005556393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218873774,"filename":"image_30012025_07_28_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/30/7fe1102e34550ebed21b18d30d0c8936.jpg","text":"TemporaryFile(/tmp/multipartBody8159307174638943130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218873774,"filename":"image_30012025_07_28_35_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332910404","file1":"1332910398","file0":"1332910392","file4":"1332910421","file5":"1332910433","file3":"1332910410"},"map_files_photo_id_array":[{"photo_id":"1332910433","filename":"file5"},{"photo_id":"1332910404","filename":"file2"},{"photo_id":"1332910421","filename":"file4"},{"photo_id":"1332910398","filename":"file1"},{"photo_id":"1332910392","filename":"file0"},{"photo_id":"1332910410","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332910398":["hashtag1","hashtag2"]},{"1332910392":["hashtag1","hashtag2"]},{"1332910410":["hashtag1","hashtag2"]},{"1332910404":["hashtag1","hashtag2"]},{"1332910433":["hashtag1","hashtag2"]},{"1332910421":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332910398, 1332910392, 1332910410, 1332910404, 1332910433, 1332910421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.33352828025818 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:34:33.074462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/28/image_30012025_07_28_55_9368.jpg', '/home/pi/Desktop/images/30012025/07/28/image_30012025_07_29_05_10381.jpg', '/home/pi/Desktop/images/30012025/07/29/image_30012025_07_29_16_10352.jpg', '/home/pi/Desktop/images/30012025/07/29/image_30012025_07_29_25_9401.jpg', '/home/pi/Desktop/images/30012025/07/29/image_30012025_07_29_35_10367.jpg', '/home/pi/Desktop/images/30012025/07/29/image_30012025_07_29_46_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/28/image_30012025_07_28_55_9368.jpg
/home/pi/Desktop/images/30012025/07/28/image_30012025_07_29_05_10381.jpg
/home/pi/Desktop/images/30012025/07/29/image_30012025_07_29_16_10352.jpg
/home/pi/Desktop/images/30012025/07/29/image_30012025_07_29_25_9401.jpg
/home/pi/Desktop/images/30012025/07/29/image_30012025_07_29_35_10367.jpg
/home/pi/Desktop/images/30012025/07/29/image_30012025_07_29_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":["1332910542","1332910545","1332910539","1332910553","1332910549","1332910522"],"photo_ids_order":["1332910522","1332910539","1332910542","1332910545","1332910549","1332910553"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8e393a28afac0764406ffdef1af71ad6.jpg","text":"TemporaryFile(/tmp/multipartBody6417495787962348062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218933988,"filename":"image_30012025_07_29_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/30/a582c4ebf82167a54903cf5367bc710a.jpg","text":"TemporaryFile(/tmp/multipartBody6667936793306577426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218933988,"filename":"image_30012025_07_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/30/8d392f653452fbc54c6de5cdaeae937b.jpg","text":"TemporaryFile(/tmp/multipartBody1530401603176430309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218933988,"filename":"image_30012025_07_29_05_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/30/bf4c3b3753edd408018bfacf0e04b94a.jpg","text":"TemporaryFile(/tmp/multipartBody1176557976480699191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218933988,"filename":"image_30012025_07_29_46_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b2daf07d24e0e3827e82d789070ba967.jpg","text":"TemporaryFile(/tmp/multipartBody1252892734056066289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218933988,"filename":"image_30012025_07_29_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/30/aa71da7759c1b5d38a476d5a19c00dee.jpg","text":"TemporaryFile(/tmp/multipartBody2411695272082939994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218933988,"filename":"image_30012025_07_28_55_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332910542","file1":"1332910539","file0":"1332910522","file4":"1332910549","file5":"1332910553","file3":"1332910545"},"map_files_photo_id_array":[{"photo_id":"1332910553","filename":"file5"},{"photo_id":"1332910542","filename":"file2"},{"photo_id":"1332910549","filename":"file4"},{"photo_id":"1332910539","filename":"file1"},{"photo_id":"1332910522","filename":"file0"},{"photo_id":"1332910545","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332910542":["hashtag1","hashtag2"]},{"1332910545":["hashtag1","hashtag2"]},{"1332910539":["hashtag1","hashtag2"]},{"1332910553":["hashtag1","hashtag2"]},{"1332910549":["hashtag1","hashtag2"]},{"1332910522":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332910542, 1332910545, 1332910539, 1332910553, 1332910549, 1332910522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.184956789016724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:35:32.244516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/29/image_30012025_07_29_55_9423.jpg', '/home/pi/Desktop/images/30012025/07/30/image_30012025_07_30_15_9441.jpg', '/home/pi/Desktop/images/30012025/07/30/image_30012025_07_30_25_10370.jpg', '/home/pi/Desktop/images/30012025/07/30/image_30012025_07_30_35_9426.jpg', '/home/pi/Desktop/images/30012025/07/30/image_30012025_07_30_45_10366.jpg', '/home/pi/Desktop/images/30012025/07/30/image_30012025_07_30_55_10412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/29/image_30012025_07_29_55_9423.jpg
/home/pi/Desktop/images/30012025/07/30/image_30012025_07_30_15_9441.jpg
/home/pi/Desktop/images/30012025/07/30/image_30012025_07_30_25_10370.jpg
/home/pi/Desktop/images/30012025/07/30/image_30012025_07_30_35_9426.jpg
/home/pi/Desktop/images/30012025/07/30/image_30012025_07_30_45_10366.jpg
/home/pi/Desktop/images/30012025/07/30/image_30012025_07_30_55_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332910606","1332910586","1332910597","1332910579","1332910573","1332910600"],"photo_ids_order":["1332910573","1332910579","1332910586","1332910597","1332910600","1332910606"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/98ac9cda9548ac4aa96d2640b83dcadf.jpg","text":"TemporaryFile(/tmp/multipartBody1158789633018571946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218993156,"filename":"image_30012025_07_30_55_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/193e63d21f677c1018123944983fa1c0.jpg","text":"TemporaryFile(/tmp/multipartBody8767148679272588970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218993156,"filename":"image_30012025_07_30_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/30/9087d66e427de27d0ca80a1cf9cff15f.jpg","text":"TemporaryFile(/tmp/multipartBody7703303043347099040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218993156,"filename":"image_30012025_07_30_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/30/d9f571a46f6515a00ff3e86fde282065.jpg","text":"TemporaryFile(/tmp/multipartBody7301397828857594710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218993156,"filename":"image_30012025_07_30_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/30/91aff7faca1a47bda34834b7cc8465a1.jpg","text":"TemporaryFile(/tmp/multipartBody8971585893771799697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218993156,"filename":"image_30012025_07_29_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/30/a1b7ae698fdc0b865c91a5c549782229.jpg","text":"TemporaryFile(/tmp/multipartBody4062375334110765373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738218993156,"filename":"image_30012025_07_30_45_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332910586","file1":"1332910579","file0":"1332910573","file4":"1332910600","file5":"1332910606","file3":"1332910597"},"map_files_photo_id_array":[{"photo_id":"1332910606","filename":"file5"},{"photo_id":"1332910586","filename":"file2"},{"photo_id":"1332910600","filename":"file4"},{"photo_id":"1332910579","filename":"file1"},{"photo_id":"1332910573","filename":"file0"},{"photo_id":"1332910597","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332910606":["hashtag1","hashtag2"]},{"1332910586":["hashtag1","hashtag2"]},{"1332910597":["hashtag1","hashtag2"]},{"1332910579":["hashtag1","hashtag2"]},{"1332910573":["hashtag1","hashtag2"]},{"1332910600":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332910606, 1332910586, 1332910597, 1332910579, 1332910573, 1332910600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.851378440856934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:36:32.481334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/30/image_30012025_07_31_05_9337.jpg', '/home/pi/Desktop/images/30012025/07/31/image_30012025_07_31_15_10507.jpg', '/home/pi/Desktop/images/30012025/07/31/image_30012025_07_31_26_10353.jpg', '/home/pi/Desktop/images/30012025/07/31/image_30012025_07_31_35_9347.jpg', '/home/pi/Desktop/images/30012025/07/31/image_30012025_07_31_45_10362.jpg', '/home/pi/Desktop/images/30012025/07/31/image_30012025_07_31_55_9405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/30/image_30012025_07_31_05_9337.jpg
/home/pi/Desktop/images/30012025/07/31/image_30012025_07_31_15_10507.jpg
/home/pi/Desktop/images/30012025/07/31/image_30012025_07_31_26_10353.jpg
/home/pi/Desktop/images/30012025/07/31/image_30012025_07_31_35_9347.jpg
/home/pi/Desktop/images/30012025/07/31/image_30012025_07_31_45_10362.jpg
/home/pi/Desktop/images/30012025/07/31/image_30012025_07_31_55_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":["1332910842","1332910731","1332910640","1332910657","1332910879","1332910807"],"photo_ids_order":["1332910640","1332910657","1332910731","1332910807","1332910842","1332910879"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/02cae97360255a980caaa3ac3daa9aec.jpg","text":"TemporaryFile(/tmp/multipartBody1940164085230089711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219053389,"filename":"image_30012025_07_31_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/30/7a5348881961dc50aa96ad1930b2b239.jpg","text":"TemporaryFile(/tmp/multipartBody7139838597291854075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219053389,"filename":"image_30012025_07_31_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/30/7dfc03dd514e26026c3146842468aad0.jpg","text":"TemporaryFile(/tmp/multipartBody4143257814648033937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219053389,"filename":"image_30012025_07_31_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/30/77505fff2e5bd5ecb28964884784c465.jpg","text":"TemporaryFile(/tmp/multipartBody5587893486889632226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219053389,"filename":"image_30012025_07_31_15_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/30/83489dc9de403c7286bd18d44ee58bb3.jpg","text":"TemporaryFile(/tmp/multipartBody2175528141933972572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219053389,"filename":"image_30012025_07_31_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/30/7b3badb30822d17b12289096257dd515.jpg","text":"TemporaryFile(/tmp/multipartBody4764276578535251614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219053389,"filename":"image_30012025_07_31_35_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332910731","file1":"1332910657","file0":"1332910640","file4":"1332910842","file5":"1332910879","file3":"1332910807"},"map_files_photo_id_array":[{"photo_id":"1332910879","filename":"file5"},{"photo_id":"1332910731","filename":"file2"},{"photo_id":"1332910842","filename":"file4"},{"photo_id":"1332910657","filename":"file1"},{"photo_id":"1332910640","filename":"file0"},{"photo_id":"1332910807","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332910842":["hashtag1","hashtag2"]},{"1332910731":["hashtag1","hashtag2"]},{"1332910640":["hashtag1","hashtag2"]},{"1332910657":["hashtag1","hashtag2"]},{"1332910879":["hashtag1","hashtag2"]},{"1332910807":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332910842, 1332910731, 1332910640, 1332910657, 1332910879, 1332910807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.334885120391846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:37:32.664994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/31/image_30012025_07_32_05_10363.jpg', '/home/pi/Desktop/images/30012025/07/32/image_30012025_07_32_16_10390.jpg', '/home/pi/Desktop/images/30012025/07/32/image_30012025_07_32_25_9448.jpg', '/home/pi/Desktop/images/30012025/07/32/image_30012025_07_32_35_10346.jpg', '/home/pi/Desktop/images/30012025/07/32/image_30012025_07_32_46_10357.jpg', '/home/pi/Desktop/images/30012025/07/32/image_30012025_07_32_55_9367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/31/image_30012025_07_32_05_10363.jpg
/home/pi/Desktop/images/30012025/07/32/image_30012025_07_32_16_10390.jpg
/home/pi/Desktop/images/30012025/07/32/image_30012025_07_32_25_9448.jpg
/home/pi/Desktop/images/30012025/07/32/image_30012025_07_32_35_10346.jpg
/home/pi/Desktop/images/30012025/07/32/image_30012025_07_32_46_10357.jpg
/home/pi/Desktop/images/30012025/07/32/image_30012025_07_32_55_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":["1332911874","1332911549","1332911881","1332911713","1332911877","1332911454"],"photo_ids_order":["1332911454","1332911549","1332911713","1332911874","1332911877","1332911881"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b26ad2edc24f7eae153a8bf01fb70ed4.jpg","text":"TemporaryFile(/tmp/multipartBody5915563903261374428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219113568,"filename":"image_30012025_07_32_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/30/ee560593d0696ced31e36cfbd4a57b48.jpg","text":"TemporaryFile(/tmp/multipartBody9222177553992859508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219113568,"filename":"image_30012025_07_32_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/30/4589e587a2e62f69ab9ae7c98c03cf48.jpg","text":"TemporaryFile(/tmp/multipartBody5171024291377909949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219113568,"filename":"image_30012025_07_32_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/30/2c94be8696edba9fcbdf044506bd9605.jpg","text":"TemporaryFile(/tmp/multipartBody8878569254028703233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219113568,"filename":"image_30012025_07_32_25_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/30/328d4c408c7a51fa3c5364489430a179.jpg","text":"TemporaryFile(/tmp/multipartBody2155062167789044103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219113568,"filename":"image_30012025_07_32_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/30/0b21c366f358c17419320cceeee0bfc5.jpg","text":"TemporaryFile(/tmp/multipartBody560645298102431906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219113568,"filename":"image_30012025_07_32_05_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332911713","file1":"1332911549","file0":"1332911454","file4":"1332911877","file5":"1332911881","file3":"1332911874"},"map_files_photo_id_array":[{"photo_id":"1332911881","filename":"file5"},{"photo_id":"1332911713","filename":"file2"},{"photo_id":"1332911877","filename":"file4"},{"photo_id":"1332911549","filename":"file1"},{"photo_id":"1332911454","filename":"file0"},{"photo_id":"1332911874","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332911874":["hashtag1","hashtag2"]},{"1332911549":["hashtag1","hashtag2"]},{"1332911881":["hashtag1","hashtag2"]},{"1332911713":["hashtag1","hashtag2"]},{"1332911877":["hashtag1","hashtag2"]},{"1332911454":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332911874, 1332911549, 1332911881, 1332911713, 1332911877, 1332911454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.02402710914612 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:38:33.040312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/32/image_30012025_07_33_05_10361.jpg', '/home/pi/Desktop/images/30012025/07/33/image_30012025_07_33_15_9355.jpg', '/home/pi/Desktop/images/30012025/07/33/image_30012025_07_33_25_10360.jpg', '/home/pi/Desktop/images/30012025/07/33/image_30012025_07_33_36_10418.jpg', '/home/pi/Desktop/images/30012025/07/33/image_30012025_07_33_45_9552.jpg', '/home/pi/Desktop/images/30012025/07/33/image_30012025_07_33_56_10436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/32/image_30012025_07_33_05_10361.jpg
/home/pi/Desktop/images/30012025/07/33/image_30012025_07_33_15_9355.jpg
/home/pi/Desktop/images/30012025/07/33/image_30012025_07_33_25_10360.jpg
/home/pi/Desktop/images/30012025/07/33/image_30012025_07_33_36_10418.jpg
/home/pi/Desktop/images/30012025/07/33/image_30012025_07_33_45_9552.jpg
/home/pi/Desktop/images/30012025/07/33/image_30012025_07_33_56_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":["1332912091","1332912046","1332911998","1332911959","1332911935","1332911917"],"photo_ids_order":["1332911917","1332911935","1332911959","1332911998","1332912046","1332912091"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4f9acff2a4a7fe46d602527f582a439d.jpg","text":"TemporaryFile(/tmp/multipartBody3973042356808435948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219173948,"filename":"image_30012025_07_33_56_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/30/26f3825d4f4d4a8b681a0e1c096e9c67.jpg","text":"TemporaryFile(/tmp/multipartBody4476693904341198527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219173948,"filename":"image_30012025_07_33_45_9552.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/288d07b581b48bdafb64a676ea58db0a.jpg","text":"TemporaryFile(/tmp/multipartBody1814794152516849434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219173948,"filename":"image_30012025_07_33_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/30/df46eb13dc1fcf7de56d5994042f4d56.jpg","text":"TemporaryFile(/tmp/multipartBody696460150190085158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219173948,"filename":"image_30012025_07_33_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/30/04627d01e37f0af079c0cfd57e78d43e.jpg","text":"TemporaryFile(/tmp/multipartBody2724047527761677139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219173948,"filename":"image_30012025_07_33_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/30/3f9d7c4e570ba475625ec4ba44a3edaf.jpg","text":"TemporaryFile(/tmp/multipartBody5456342030445012855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219173948,"filename":"image_30012025_07_33_05_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332911959","file1":"1332911935","file0":"1332911917","file4":"1332912046","file5":"1332912091","file3":"1332911998"},"map_files_photo_id_array":[{"photo_id":"1332912091","filename":"file5"},{"photo_id":"1332911959","filename":"file2"},{"photo_id":"1332912046","filename":"file4"},{"photo_id":"1332911935","filename":"file1"},{"photo_id":"1332911917","filename":"file0"},{"photo_id":"1332911998","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332912091":["hashtag1","hashtag2"]},{"1332912046":["hashtag1","hashtag2"]},{"1332911998":["hashtag1","hashtag2"]},{"1332911959":["hashtag1","hashtag2"]},{"1332911935":["hashtag1","hashtag2"]},{"1332911917":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332912091, 1332912046, 1332911998, 1332911959, 1332911935, 1332911917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.60613512992859 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:39:32.277500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/33/image_30012025_07_34_05_9438.jpg', '/home/pi/Desktop/images/30012025/07/34/image_30012025_07_34_15_10456.jpg', '/home/pi/Desktop/images/30012025/07/34/image_30012025_07_34_25_9461.jpg', '/home/pi/Desktop/images/30012025/07/34/image_30012025_07_34_35_10371.jpg', '/home/pi/Desktop/images/30012025/07/34/image_30012025_07_34_46_10360.jpg', '/home/pi/Desktop/images/30012025/07/34/image_30012025_07_34_55_9427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/33/image_30012025_07_34_05_9438.jpg
/home/pi/Desktop/images/30012025/07/34/image_30012025_07_34_15_10456.jpg
/home/pi/Desktop/images/30012025/07/34/image_30012025_07_34_25_9461.jpg
/home/pi/Desktop/images/30012025/07/34/image_30012025_07_34_35_10371.jpg
/home/pi/Desktop/images/30012025/07/34/image_30012025_07_34_46_10360.jpg
/home/pi/Desktop/images/30012025/07/34/image_30012025_07_34_55_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":["1332912332","1332912917","1332912391","1332912454","1332912724","1332912570"],"photo_ids_order":["1332912332","1332912391","1332912454","1332912570","1332912724","1332912917"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bee5dfcf98a3affa7b639f0955688481.jpg","text":"TemporaryFile(/tmp/multipartBody2851547612947916452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219233199,"filename":"image_30012025_07_34_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/30/c5fa9b8d06b85570d5ce955bcf1b781b.jpg","text":"TemporaryFile(/tmp/multipartBody2065291601078439928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219233199,"filename":"image_30012025_07_34_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/30/56b561bfa24669c7e4a13c6f4ebacdf3.jpg","text":"TemporaryFile(/tmp/multipartBody895974045144995325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219233199,"filename":"image_30012025_07_34_15_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/30/ce7dd48cfbb3b128cdd67e0614c078b2.jpg","text":"TemporaryFile(/tmp/multipartBody7021466350779892261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219233199,"filename":"image_30012025_07_34_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/30/e3b84631e2f0a7a1bfffc73536dd7dfd.jpg","text":"TemporaryFile(/tmp/multipartBody6724482257626778375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219233199,"filename":"image_30012025_07_34_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/30/245d9b344565d8b9984d5794b3afeaea.jpg","text":"TemporaryFile(/tmp/multipartBody7876609228248005520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219233199,"filename":"image_30012025_07_34_35_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332912454","file1":"1332912391","file0":"1332912332","file4":"1332912724","file5":"1332912917","file3":"1332912570"},"map_files_photo_id_array":[{"photo_id":"1332912917","filename":"file5"},{"photo_id":"1332912454","filename":"file2"},{"photo_id":"1332912724","filename":"file4"},{"photo_id":"1332912391","filename":"file1"},{"photo_id":"1332912332","filename":"file0"},{"photo_id":"1332912570","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332912332":["hashtag1","hashtag2"]},{"1332912917":["hashtag1","hashtag2"]},{"1332912391":["hashtag1","hashtag2"]},{"1332912454":["hashtag1","hashtag2"]},{"1332912724":["hashtag1","hashtag2"]},{"1332912570":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332912332, 1332912917, 1332912391, 1332912454, 1332912724, 1332912570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.042099714279175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:40:32.414109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/34/image_30012025_07_35_05_10364.jpg', '/home/pi/Desktop/images/30012025/07/35/image_30012025_07_35_15_9341.jpg', '/home/pi/Desktop/images/30012025/07/35/image_30012025_07_35_36_10359.jpg', '/home/pi/Desktop/images/30012025/07/35/image_30012025_07_35_45_9494.jpg', '/home/pi/Desktop/images/30012025/07/35/image_30012025_07_35_55_10354.jpg', '/home/pi/Desktop/images/30012025/07/35/image_30012025_07_36_05_9434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/34/image_30012025_07_35_05_10364.jpg
/home/pi/Desktop/images/30012025/07/35/image_30012025_07_35_15_9341.jpg
/home/pi/Desktop/images/30012025/07/35/image_30012025_07_35_36_10359.jpg
/home/pi/Desktop/images/30012025/07/35/image_30012025_07_35_45_9494.jpg
/home/pi/Desktop/images/30012025/07/35/image_30012025_07_35_55_10354.jpg
/home/pi/Desktop/images/30012025/07/35/image_30012025_07_36_05_9434.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5480227470397949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 07:40:42.408814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/34/image_30012025_07_35_05_10364.jpg', '/home/pi/Desktop/images/30012025/07/35/image_30012025_07_35_15_9341.jpg', '/home/pi/Desktop/images/30012025/07/35/image_30012025_07_35_36_10359.jpg', '/home/pi/Desktop/images/30012025/07/35/image_30012025_07_35_45_9494.jpg', '/home/pi/Desktop/images/30012025/07/35/image_30012025_07_35_55_10354.jpg', '/home/pi/Desktop/images/30012025/07/35/image_30012025_07_36_05_9434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/34/image_30012025_07_35_05_10364.jpg
/home/pi/Desktop/images/30012025/07/35/image_30012025_07_35_15_9341.jpg
/home/pi/Desktop/images/30012025/07/35/image_30012025_07_35_36_10359.jpg
/home/pi/Desktop/images/30012025/07/35/image_30012025_07_35_45_9494.jpg
/home/pi/Desktop/images/30012025/07/35/image_30012025_07_35_55_10354.jpg
/home/pi/Desktop/images/30012025/07/35/image_30012025_07_36_05_9434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332913655","1332913684","1332913465","1332913666","1332913569","1332913710"],"photo_ids_order":["1332913465","1332913569","1332913655","1332913666","1332913684","1332913710"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0e4fbd16cc8d891bec4ca921b72b0d80.jpg","text":"TemporaryFile(/tmp/multipartBody5749903296699331111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219303324,"filename":"image_30012025_07_35_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/30/64f4f5705fb2938370058068eec4f3cb.jpg","text":"TemporaryFile(/tmp/multipartBody3439465069961155179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219303324,"filename":"image_30012025_07_35_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/30/dbfaa779fd2bab78727afc594e75bb4f.jpg","text":"TemporaryFile(/tmp/multipartBody6298447908505414880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219303324,"filename":"image_30012025_07_35_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/30/091090bbf3d399020c3e11eaef606932.jpg","text":"TemporaryFile(/tmp/multipartBody8421876722970027287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219303324,"filename":"image_30012025_07_35_45_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/30/b208dec2672e3c95038c249e1d6f321b.jpg","text":"TemporaryFile(/tmp/multipartBody6548860661046838711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219303324,"filename":"image_30012025_07_35_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/30/a9789ce1e49631c71e31478993b87282.jpg","text":"TemporaryFile(/tmp/multipartBody4487127891745364874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219303324,"filename":"image_30012025_07_36_05_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332913655","file1":"1332913569","file0":"1332913465","file4":"1332913684","file5":"1332913710","file3":"1332913666"},"map_files_photo_id_array":[{"photo_id":"1332913710","filename":"file5"},{"photo_id":"1332913655","filename":"file2"},{"photo_id":"1332913684","filename":"file4"},{"photo_id":"1332913569","filename":"file1"},{"photo_id":"1332913465","filename":"file0"},{"photo_id":"1332913666","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332913655":["hashtag1","hashtag2"]},{"1332913684":["hashtag1","hashtag2"]},{"1332913465":["hashtag1","hashtag2"]},{"1332913666":["hashtag1","hashtag2"]},{"1332913569":["hashtag1","hashtag2"]},{"1332913710":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332913655, 1332913684, 1332913465, 1332913666, 1332913569, 1332913710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.33471918106079 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:41:34.112244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/36/image_30012025_07_36_15_10351.jpg', '/home/pi/Desktop/images/30012025/07/36/image_30012025_07_36_25_10343.jpg', '/home/pi/Desktop/images/30012025/07/36/image_30012025_07_36_35_9343.jpg', '/home/pi/Desktop/images/30012025/07/36/image_30012025_07_36_45_10435.jpg', '/home/pi/Desktop/images/30012025/07/36/image_30012025_07_36_56_10432.jpg', '/home/pi/Desktop/images/30012025/07/36/image_30012025_07_37_05_9376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/36/image_30012025_07_36_15_10351.jpg
/home/pi/Desktop/images/30012025/07/36/image_30012025_07_36_25_10343.jpg
/home/pi/Desktop/images/30012025/07/36/image_30012025_07_36_35_9343.jpg
/home/pi/Desktop/images/30012025/07/36/image_30012025_07_36_45_10435.jpg
/home/pi/Desktop/images/30012025/07/36/image_30012025_07_36_56_10432.jpg
/home/pi/Desktop/images/30012025/07/36/image_30012025_07_37_05_9376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332914296","1332914188","1332914050","1332914091","1332914040","1332913997"],"photo_ids_order":["1332913997","1332914040","1332914050","1332914091","1332914188","1332914296"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/51e083194983efd24e2630d3494d432f.jpg","text":"TemporaryFile(/tmp/multipartBody6352274302269699873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219355039,"filename":"image_30012025_07_37_05_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/30/5365abfc49f591b3b150ac29fb684928.jpg","text":"TemporaryFile(/tmp/multipartBody1082161967483072955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219355039,"filename":"image_30012025_07_36_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/30/e62867b0cca6929bbd015207ee52ddae.jpg","text":"TemporaryFile(/tmp/multipartBody2395305524706927628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219355039,"filename":"image_30012025_07_36_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ef5690d35414a0e888f936341e9dad98.jpg","text":"TemporaryFile(/tmp/multipartBody6743105065196550817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219355039,"filename":"image_30012025_07_36_45_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b7384e85ace36b86103eb131b020dead.jpg","text":"TemporaryFile(/tmp/multipartBody4718112027693747451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219355039,"filename":"image_30012025_07_36_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/30/a4d4b00613f8b24e4a8f83ba6b4bcc14.jpg","text":"TemporaryFile(/tmp/multipartBody2129750335282153278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219355039,"filename":"image_30012025_07_36_15_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332914050","file1":"1332914040","file0":"1332913997","file4":"1332914188","file5":"1332914296","file3":"1332914091"},"map_files_photo_id_array":[{"photo_id":"1332914296","filename":"file5"},{"photo_id":"1332914050","filename":"file2"},{"photo_id":"1332914188","filename":"file4"},{"photo_id":"1332914040","filename":"file1"},{"photo_id":"1332913997","filename":"file0"},{"photo_id":"1332914091","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332914296":["hashtag1","hashtag2"]},{"1332914188":["hashtag1","hashtag2"]},{"1332914050":["hashtag1","hashtag2"]},{"1332914091":["hashtag1","hashtag2"]},{"1332914040":["hashtag1","hashtag2"]},{"1332913997":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332914296, 1332914188, 1332914050, 1332914091, 1332914040, 1332913997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.35710287094116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:42:32.810630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/37/image_30012025_07_37_15_10357.jpg', '/home/pi/Desktop/images/30012025/07/37/image_30012025_07_37_25_9415.jpg', '/home/pi/Desktop/images/30012025/07/37/image_30012025_07_37_35_10361.jpg', '/home/pi/Desktop/images/30012025/07/37/image_30012025_07_37_46_10432.jpg', '/home/pi/Desktop/images/30012025/07/37/image_30012025_07_37_55_9409.jpg', '/home/pi/Desktop/images/30012025/07/37/image_30012025_07_38_05_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/37/image_30012025_07_37_15_10357.jpg
/home/pi/Desktop/images/30012025/07/37/image_30012025_07_37_25_9415.jpg
/home/pi/Desktop/images/30012025/07/37/image_30012025_07_37_35_10361.jpg
/home/pi/Desktop/images/30012025/07/37/image_30012025_07_37_46_10432.jpg
/home/pi/Desktop/images/30012025/07/37/image_30012025_07_37_55_9409.jpg
/home/pi/Desktop/images/30012025/07/37/image_30012025_07_38_05_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":["1332914482","1332914467","1332914446","1332914440","1332914460","1332914454"],"photo_ids_order":["1332914440","1332914446","1332914454","1332914460","1332914467","1332914482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f9cd9c26ee87f90f7b1ee2ea58607653.jpg","text":"TemporaryFile(/tmp/multipartBody3738967322637497957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219413718,"filename":"image_30012025_07_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/30/736d7b05605596dc64ca8339f0f2d5f4.jpg","text":"TemporaryFile(/tmp/multipartBody2847300185025035131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219413718,"filename":"image_30012025_07_37_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/30/2df4f54ce01441fc31b0f47a913aaad8.jpg","text":"TemporaryFile(/tmp/multipartBody8090393915234943454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219413718,"filename":"image_30012025_07_37_25_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ff5f12a2c38b0d6f0a74659e6195eb73.jpg","text":"TemporaryFile(/tmp/multipartBody3298843130825899181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219413718,"filename":"image_30012025_07_37_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/30/63962719588b3e2fd70b8f87203606f1.jpg","text":"TemporaryFile(/tmp/multipartBody1993739126759299899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219413718,"filename":"image_30012025_07_37_46_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/30/05ff929cc5e7fc279c997912e07a5d5e.jpg","text":"TemporaryFile(/tmp/multipartBody6151341350291634445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219413718,"filename":"image_30012025_07_37_35_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332914454","file1":"1332914446","file0":"1332914440","file4":"1332914467","file5":"1332914482","file3":"1332914460"},"map_files_photo_id_array":[{"photo_id":"1332914482","filename":"file5"},{"photo_id":"1332914454","filename":"file2"},{"photo_id":"1332914467","filename":"file4"},{"photo_id":"1332914446","filename":"file1"},{"photo_id":"1332914440","filename":"file0"},{"photo_id":"1332914460","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332914482":["hashtag1","hashtag2"]},{"1332914467":["hashtag1","hashtag2"]},{"1332914446":["hashtag1","hashtag2"]},{"1332914440":["hashtag1","hashtag2"]},{"1332914460":["hashtag1","hashtag2"]},{"1332914454":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332914482, 1332914467, 1332914446, 1332914440, 1332914460, 1332914454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.803471088409424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:43:32.948358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/38/image_30012025_07_38_15_9357.jpg', '/home/pi/Desktop/images/30012025/07/38/image_30012025_07_38_25_10374.jpg', '/home/pi/Desktop/images/30012025/07/38/image_30012025_07_38_36_10354.jpg', '/home/pi/Desktop/images/30012025/07/38/image_30012025_07_38_45_9351.jpg', '/home/pi/Desktop/images/30012025/07/38/image_30012025_07_38_55_10410.jpg', '/home/pi/Desktop/images/30012025/07/38/image_30012025_07_39_06_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/38/image_30012025_07_38_15_9357.jpg
/home/pi/Desktop/images/30012025/07/38/image_30012025_07_38_25_10374.jpg
/home/pi/Desktop/images/30012025/07/38/image_30012025_07_38_36_10354.jpg
/home/pi/Desktop/images/30012025/07/38/image_30012025_07_38_45_9351.jpg
/home/pi/Desktop/images/30012025/07/38/image_30012025_07_38_55_10410.jpg
/home/pi/Desktop/images/30012025/07/38/image_30012025_07_39_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":["1332914717","1332914725","1332914704","1332914721","1332914712","1332914708"],"photo_ids_order":["1332914704","1332914708","1332914712","1332914717","1332914721","1332914725"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/45ab755e6e194fe55f3914b131c89926.jpg","text":"TemporaryFile(/tmp/multipartBody5649537153533389774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219473876,"filename":"image_30012025_07_38_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/30/a2cf47f37fe953a53d67607522f1bdd1.jpg","text":"TemporaryFile(/tmp/multipartBody3793571400243839491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219473876,"filename":"image_30012025_07_39_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/30/f6ed060e1f679419ce61afd78a6b60bc.jpg","text":"TemporaryFile(/tmp/multipartBody6861092639251972602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219473876,"filename":"image_30012025_07_38_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/30/8e14651f84ebe0bcad6843f0fbffee76.jpg","text":"TemporaryFile(/tmp/multipartBody6401842684822287496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219473876,"filename":"image_30012025_07_38_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/30/8f460d732ca611a03a9d99138cdd7933.jpg","text":"TemporaryFile(/tmp/multipartBody5865699241001788565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219473876,"filename":"image_30012025_07_38_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/30/780870a818f2075fcf7567adc85d8ae7.jpg","text":"TemporaryFile(/tmp/multipartBody5057381036541784567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219473876,"filename":"image_30012025_07_38_25_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332914712","file1":"1332914708","file0":"1332914704","file4":"1332914721","file5":"1332914725","file3":"1332914717"},"map_files_photo_id_array":[{"photo_id":"1332914725","filename":"file5"},{"photo_id":"1332914712","filename":"file2"},{"photo_id":"1332914721","filename":"file4"},{"photo_id":"1332914708","filename":"file1"},{"photo_id":"1332914704","filename":"file0"},{"photo_id":"1332914717","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332914717":["hashtag1","hashtag2"]},{"1332914725":["hashtag1","hashtag2"]},{"1332914704":["hashtag1","hashtag2"]},{"1332914721":["hashtag1","hashtag2"]},{"1332914712":["hashtag1","hashtag2"]},{"1332914708":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332914717, 1332914725, 1332914704, 1332914721, 1332914712, 1332914708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.119901180267334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:44:32.133677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/39/image_30012025_07_39_15_9453.jpg', '/home/pi/Desktop/images/30012025/07/39/image_30012025_07_39_35_9358.jpg', '/home/pi/Desktop/images/30012025/07/39/image_30012025_07_40_05_9456.jpg', '/home/pi/Desktop/images/30012025/07/40/image_30012025_07_40_25_9343.jpg', '/home/pi/Desktop/images/30012025/07/40/image_30012025_07_40_35_10440.jpg', '/home/pi/Desktop/images/30012025/07/40/image_30012025_07_40_46_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/39/image_30012025_07_39_15_9453.jpg
/home/pi/Desktop/images/30012025/07/39/image_30012025_07_39_35_9358.jpg
/home/pi/Desktop/images/30012025/07/39/image_30012025_07_40_05_9456.jpg
/home/pi/Desktop/images/30012025/07/40/image_30012025_07_40_25_9343.jpg
/home/pi/Desktop/images/30012025/07/40/image_30012025_07_40_35_10440.jpg
/home/pi/Desktop/images/30012025/07/40/image_30012025_07_40_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":["1332914764","1332914812","1332914796","1332914760","1332914808","1332914756"],"photo_ids_order":["1332914756","1332914760","1332914764","1332914796","1332914808","1332914812"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9e4fd6f460eb9c66d32524173c188d9d.jpg","text":"TemporaryFile(/tmp/multipartBody2041180355216496320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219533041,"filename":"image_30012025_07_40_05_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/30/9b6e420d05d3d8825864d88e8ed5ffae.jpg","text":"TemporaryFile(/tmp/multipartBody1081890307615942779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219533041,"filename":"image_30012025_07_40_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/30/4db7a544f864d1550b0be4b91e65571f.jpg","text":"TemporaryFile(/tmp/multipartBody5912077245864304229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219533041,"filename":"image_30012025_07_40_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/30/de4b2470310c1a9ede195997555f3eb0.jpg","text":"TemporaryFile(/tmp/multipartBody2205311176805367554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219533041,"filename":"image_30012025_07_39_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/30/b25a921810660403834365afc74bfe7d.jpg","text":"TemporaryFile(/tmp/multipartBody7403006702962963414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219533041,"filename":"image_30012025_07_40_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/30/bff6f6edf0c738078d1f9629cde3856b.jpg","text":"TemporaryFile(/tmp/multipartBody14906699689148213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219533041,"filename":"image_30012025_07_39_15_9453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332914764","file1":"1332914760","file0":"1332914756","file4":"1332914808","file5":"1332914812","file3":"1332914796"},"map_files_photo_id_array":[{"photo_id":"1332914812","filename":"file5"},{"photo_id":"1332914764","filename":"file2"},{"photo_id":"1332914808","filename":"file4"},{"photo_id":"1332914760","filename":"file1"},{"photo_id":"1332914756","filename":"file0"},{"photo_id":"1332914796","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332914764":["hashtag1","hashtag2"]},{"1332914812":["hashtag1","hashtag2"]},{"1332914796":["hashtag1","hashtag2"]},{"1332914760":["hashtag1","hashtag2"]},{"1332914808":["hashtag1","hashtag2"]},{"1332914756":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332914764, 1332914812, 1332914796, 1332914760, 1332914808, 1332914756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.42165517807007 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:45:32.394159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/40/image_30012025_07_40_55_9422.jpg', '/home/pi/Desktop/images/30012025/07/40/image_30012025_07_41_05_10376.jpg', '/home/pi/Desktop/images/30012025/07/41/image_30012025_07_41_15_9355.jpg', '/home/pi/Desktop/images/30012025/07/41/image_30012025_07_41_25_10446.jpg', '/home/pi/Desktop/images/30012025/07/41/image_30012025_07_41_36_10390.jpg', '/home/pi/Desktop/images/30012025/07/41/image_30012025_07_41_45_9451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/40/image_30012025_07_40_55_9422.jpg
/home/pi/Desktop/images/30012025/07/40/image_30012025_07_41_05_10376.jpg
/home/pi/Desktop/images/30012025/07/41/image_30012025_07_41_15_9355.jpg
/home/pi/Desktop/images/30012025/07/41/image_30012025_07_41_25_10446.jpg
/home/pi/Desktop/images/30012025/07/41/image_30012025_07_41_36_10390.jpg
/home/pi/Desktop/images/30012025/07/41/image_30012025_07_41_45_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":["1332914842","1332915030","1332914934","1332915050","1332914837","1332914918"],"photo_ids_order":["1332914837","1332914842","1332914918","1332914934","1332915030","1332915050"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f05705e8392259a983866c84a9538126.jpg","text":"TemporaryFile(/tmp/multipartBody3092805275942187428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219593306,"filename":"image_30012025_07_41_05_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/30/3586724f9b351e9476a894b10211a0ed.jpg","text":"TemporaryFile(/tmp/multipartBody5319258892346967715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219593306,"filename":"image_30012025_07_41_36_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6a54e3a7a2d6d5cdea937f2c02f99e99.jpg","text":"TemporaryFile(/tmp/multipartBody6282540037378452915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219593306,"filename":"image_30012025_07_41_25_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6cc1280b7bf6525814c3e7466af3347a.jpg","text":"TemporaryFile(/tmp/multipartBody283918005358634073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219593306,"filename":"image_30012025_07_41_45_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/30/2c88bd0b9c44104c34c0a117448a6816.jpg","text":"TemporaryFile(/tmp/multipartBody3849149188955602700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219593306,"filename":"image_30012025_07_40_55_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5e247b637353d376e2bfdddefc434a25.jpg","text":"TemporaryFile(/tmp/multipartBody9151957870097144182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219593306,"filename":"image_30012025_07_41_15_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332914918","file1":"1332914842","file0":"1332914837","file4":"1332915030","file5":"1332915050","file3":"1332914934"},"map_files_photo_id_array":[{"photo_id":"1332915050","filename":"file5"},{"photo_id":"1332914918","filename":"file2"},{"photo_id":"1332915030","filename":"file4"},{"photo_id":"1332914842","filename":"file1"},{"photo_id":"1332914837","filename":"file0"},{"photo_id":"1332914934","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332914842":["hashtag1","hashtag2"]},{"1332915030":["hashtag1","hashtag2"]},{"1332914934":["hashtag1","hashtag2"]},{"1332915050":["hashtag1","hashtag2"]},{"1332914837":["hashtag1","hashtag2"]},{"1332914918":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332914842, 1332915030, 1332914934, 1332915050, 1332914837, 1332914918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.65963649749756 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:46:32.501064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/41/image_30012025_07_41_55_10342.jpg', '/home/pi/Desktop/images/30012025/07/41/image_30012025_07_42_05_9342.jpg', '/home/pi/Desktop/images/30012025/07/42/image_30012025_07_42_15_10373.jpg', '/home/pi/Desktop/images/30012025/07/42/image_30012025_07_42_25_10364.jpg', '/home/pi/Desktop/images/30012025/07/42/image_30012025_07_42_35_9320.jpg', '/home/pi/Desktop/images/30012025/07/42/image_30012025_07_42_45_10433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/41/image_30012025_07_41_55_10342.jpg
/home/pi/Desktop/images/30012025/07/41/image_30012025_07_42_05_9342.jpg
/home/pi/Desktop/images/30012025/07/42/image_30012025_07_42_15_10373.jpg
/home/pi/Desktop/images/30012025/07/42/image_30012025_07_42_25_10364.jpg
/home/pi/Desktop/images/30012025/07/42/image_30012025_07_42_35_9320.jpg
/home/pi/Desktop/images/30012025/07/42/image_30012025_07_42_45_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332915160","1332915202","1332915186","1332915152","1332915224","1332915218"],"photo_ids_order":["1332915152","1332915160","1332915186","1332915202","1332915218","1332915224"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c3ac8bf8431b6e2da074863f5d35f836.jpg","text":"TemporaryFile(/tmp/multipartBody6063742073916900060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219653438,"filename":"image_30012025_07_42_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/30/129817872d7f5d0f3615532c8757c016.jpg","text":"TemporaryFile(/tmp/multipartBody3419628904079764854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219653438,"filename":"image_30012025_07_42_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/30/b09ca288716fa97693e4b347d18bb69c.jpg","text":"TemporaryFile(/tmp/multipartBody2962554673442196546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219653438,"filename":"image_30012025_07_42_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/30/8555d55a67f6f3244172350d5d975fe9.jpg","text":"TemporaryFile(/tmp/multipartBody6805610929377262718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219653438,"filename":"image_30012025_07_41_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/30/612742842a0e39ced12b8bacce734123.jpg","text":"TemporaryFile(/tmp/multipartBody4962515057098778324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219653438,"filename":"image_30012025_07_42_45_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e56764068de028050226f7baeb81e8df.jpg","text":"TemporaryFile(/tmp/multipartBody5240130197310875352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219653438,"filename":"image_30012025_07_42_35_9320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332915186","file1":"1332915160","file0":"1332915152","file4":"1332915218","file5":"1332915224","file3":"1332915202"},"map_files_photo_id_array":[{"photo_id":"1332915224","filename":"file5"},{"photo_id":"1332915186","filename":"file2"},{"photo_id":"1332915218","filename":"file4"},{"photo_id":"1332915160","filename":"file1"},{"photo_id":"1332915152","filename":"file0"},{"photo_id":"1332915202","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332915160":["hashtag1","hashtag2"]},{"1332915202":["hashtag1","hashtag2"]},{"1332915186":["hashtag1","hashtag2"]},{"1332915152":["hashtag1","hashtag2"]},{"1332915224":["hashtag1","hashtag2"]},{"1332915218":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332915160, 1332915202, 1332915186, 1332915152, 1332915224, 1332915218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.18368649482727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:47:32.742300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/42/image_30012025_07_42_56_10365.jpg', '/home/pi/Desktop/images/30012025/07/42/image_30012025_07_43_05_9472.jpg', '/home/pi/Desktop/images/30012025/07/43/image_30012025_07_43_15_10323.jpg', '/home/pi/Desktop/images/30012025/07/43/image_30012025_07_43_25_9365.jpg', '/home/pi/Desktop/images/30012025/07/43/image_30012025_07_43_35_10448.jpg', '/home/pi/Desktop/images/30012025/07/43/image_30012025_07_43_55_9399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/42/image_30012025_07_42_56_10365.jpg
/home/pi/Desktop/images/30012025/07/42/image_30012025_07_43_05_9472.jpg
/home/pi/Desktop/images/30012025/07/43/image_30012025_07_43_15_10323.jpg
/home/pi/Desktop/images/30012025/07/43/image_30012025_07_43_25_9365.jpg
/home/pi/Desktop/images/30012025/07/43/image_30012025_07_43_35_10448.jpg
/home/pi/Desktop/images/30012025/07/43/image_30012025_07_43_55_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":["1332915259","1332915310","1332915270","1332915255","1332915266","1332915262"],"photo_ids_order":["1332915255","1332915259","1332915262","1332915266","1332915270","1332915310"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bca4db6a4b4a74ec2c9aafc121ed8897.jpg","text":"TemporaryFile(/tmp/multipartBody9183029152530113781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219713658,"filename":"image_30012025_07_43_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/30/3098219f46b712d1d6571729a0500d2f.jpg","text":"TemporaryFile(/tmp/multipartBody6021882629814126281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219713658,"filename":"image_30012025_07_43_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/30/0ee8fd2fdcf91b53c924dcbb39e51d05.jpg","text":"TemporaryFile(/tmp/multipartBody5338764403952972194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219713658,"filename":"image_30012025_07_43_35_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bc1e7c2f612f403e47a2d7574ef40249.jpg","text":"TemporaryFile(/tmp/multipartBody4328238247632922289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219713658,"filename":"image_30012025_07_42_56_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ecbd7dbb8e20b9607819f99fec877d90.jpg","text":"TemporaryFile(/tmp/multipartBody6650342929131354718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219713658,"filename":"image_30012025_07_43_25_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d05e95e86dcf48b36b7dac1926c8b83b.jpg","text":"TemporaryFile(/tmp/multipartBody2745728787705818883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219713658,"filename":"image_30012025_07_43_15_10323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332915262","file1":"1332915259","file0":"1332915255","file4":"1332915270","file5":"1332915310","file3":"1332915266"},"map_files_photo_id_array":[{"photo_id":"1332915310","filename":"file5"},{"photo_id":"1332915262","filename":"file2"},{"photo_id":"1332915270","filename":"file4"},{"photo_id":"1332915259","filename":"file1"},{"photo_id":"1332915255","filename":"file0"},{"photo_id":"1332915266","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332915259":["hashtag1","hashtag2"]},{"1332915310":["hashtag1","hashtag2"]},{"1332915270":["hashtag1","hashtag2"]},{"1332915255":["hashtag1","hashtag2"]},{"1332915266":["hashtag1","hashtag2"]},{"1332915262":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332915259, 1332915310, 1332915270, 1332915255, 1332915266, 1332915262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.5347740650177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:48:32.831169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/43/image_30012025_07_44_05_10344.jpg', '/home/pi/Desktop/images/30012025/07/44/image_30012025_07_44_16_10350.jpg', '/home/pi/Desktop/images/30012025/07/44/image_30012025_07_44_25_9444.jpg', '/home/pi/Desktop/images/30012025/07/44/image_30012025_07_44_36_10424.jpg', '/home/pi/Desktop/images/30012025/07/44/image_30012025_07_44_45_9443.jpg', '/home/pi/Desktop/images/30012025/07/44/image_30012025_07_44_55_10452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/43/image_30012025_07_44_05_10344.jpg
/home/pi/Desktop/images/30012025/07/44/image_30012025_07_44_16_10350.jpg
/home/pi/Desktop/images/30012025/07/44/image_30012025_07_44_25_9444.jpg
/home/pi/Desktop/images/30012025/07/44/image_30012025_07_44_36_10424.jpg
/home/pi/Desktop/images/30012025/07/44/image_30012025_07_44_45_9443.jpg
/home/pi/Desktop/images/30012025/07/44/image_30012025_07_44_55_10452.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5193698406219482 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 07:48:42.849449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/43/image_30012025_07_44_05_10344.jpg', '/home/pi/Desktop/images/30012025/07/44/image_30012025_07_44_16_10350.jpg', '/home/pi/Desktop/images/30012025/07/44/image_30012025_07_44_25_9444.jpg', '/home/pi/Desktop/images/30012025/07/44/image_30012025_07_44_36_10424.jpg', '/home/pi/Desktop/images/30012025/07/44/image_30012025_07_44_45_9443.jpg', '/home/pi/Desktop/images/30012025/07/44/image_30012025_07_44_55_10452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/43/image_30012025_07_44_05_10344.jpg
/home/pi/Desktop/images/30012025/07/44/image_30012025_07_44_16_10350.jpg
/home/pi/Desktop/images/30012025/07/44/image_30012025_07_44_25_9444.jpg
/home/pi/Desktop/images/30012025/07/44/image_30012025_07_44_36_10424.jpg
/home/pi/Desktop/images/30012025/07/44/image_30012025_07_44_45_9443.jpg
/home/pi/Desktop/images/30012025/07/44/image_30012025_07_44_55_10452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332915508","1332915465","1332915459","1332915480","1332915490","1332915469"],"photo_ids_order":["1332915459","1332915465","1332915469","1332915480","1332915490","1332915508"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c8ce9f0aeb3f4978bf7aa791e4355684.jpg","text":"TemporaryFile(/tmp/multipartBody3875449479990596222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219783756,"filename":"image_30012025_07_44_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/30/d0d0964d43237303e5cee316d16e79b2.jpg","text":"TemporaryFile(/tmp/multipartBody135889929029920209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219783756,"filename":"image_30012025_07_44_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/30/9c31be24a669a925924cd0ffaeea1786.jpg","text":"TemporaryFile(/tmp/multipartBody751914777454036728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219783756,"filename":"image_30012025_07_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/30/de3aac7f1689a83c1d420ed57347afd2.jpg","text":"TemporaryFile(/tmp/multipartBody2266991926683674092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219783756,"filename":"image_30012025_07_44_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/30/2161a793c87602fa06b0bb158891c131.jpg","text":"TemporaryFile(/tmp/multipartBody8627566586933310599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219783756,"filename":"image_30012025_07_44_45_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/30/68c9013d1a8a6e3c3f72c5d043d7bfc1.jpg","text":"TemporaryFile(/tmp/multipartBody444673163997295308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219783756,"filename":"image_30012025_07_44_25_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332915469","file1":"1332915465","file0":"1332915459","file4":"1332915490","file5":"1332915508","file3":"1332915480"},"map_files_photo_id_array":[{"photo_id":"1332915508","filename":"file5"},{"photo_id":"1332915469","filename":"file2"},{"photo_id":"1332915490","filename":"file4"},{"photo_id":"1332915465","filename":"file1"},{"photo_id":"1332915459","filename":"file0"},{"photo_id":"1332915480","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332915508":["hashtag1","hashtag2"]},{"1332915465":["hashtag1","hashtag2"]},{"1332915459":["hashtag1","hashtag2"]},{"1332915480":["hashtag1","hashtag2"]},{"1332915490":["hashtag1","hashtag2"]},{"1332915469":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332915508, 1332915465, 1332915459, 1332915480, 1332915490, 1332915469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.834399938583374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:49:33.032688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/44/image_30012025_07_45_05_9459.jpg', '/home/pi/Desktop/images/30012025/07/45/image_30012025_07_45_15_10380.jpg', '/home/pi/Desktop/images/30012025/07/45/image_30012025_07_45_26_10331.jpg', '/home/pi/Desktop/images/30012025/07/45/image_30012025_07_45_35_9448.jpg', '/home/pi/Desktop/images/30012025/07/45/image_30012025_07_45_45_10364.jpg', '/home/pi/Desktop/images/30012025/07/45/image_30012025_07_45_55_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/44/image_30012025_07_45_05_9459.jpg
/home/pi/Desktop/images/30012025/07/45/image_30012025_07_45_15_10380.jpg
/home/pi/Desktop/images/30012025/07/45/image_30012025_07_45_26_10331.jpg
/home/pi/Desktop/images/30012025/07/45/image_30012025_07_45_35_9448.jpg
/home/pi/Desktop/images/30012025/07/45/image_30012025_07_45_45_10364.jpg
/home/pi/Desktop/images/30012025/07/45/image_30012025_07_45_55_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":["1332915541","1332915535","1332915542","1332915539","1332915530","1332915547"],"photo_ids_order":["1332915530","1332915535","1332915539","1332915541","1332915542","1332915547"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ff4bb54adb0ee41f4ec8e46bf801f2cc.jpg","text":"TemporaryFile(/tmp/multipartBody1394735621839125160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219833969,"filename":"image_30012025_07_45_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/30/0c7a1d06a03eaca953ab11124d128659.jpg","text":"TemporaryFile(/tmp/multipartBody2077868945551561242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219833969,"filename":"image_30012025_07_45_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/30/f489187c011e871b238b83ee5497dc57.jpg","text":"TemporaryFile(/tmp/multipartBody758848708755274526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219833969,"filename":"image_30012025_07_45_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/30/8f60f93094dd2b0cdf44bf1dbffd914d.jpg","text":"TemporaryFile(/tmp/multipartBody3639343490195378139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219833969,"filename":"image_30012025_07_45_26_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7e88f755341166d959d7fef616f12c9a.jpg","text":"TemporaryFile(/tmp/multipartBody5001210542195495604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219833969,"filename":"image_30012025_07_45_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/30/226d345304912790dcb8e41e22a05460.jpg","text":"TemporaryFile(/tmp/multipartBody2499302698699307080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219833969,"filename":"image_30012025_07_45_55_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332915539","file1":"1332915535","file0":"1332915530","file4":"1332915542","file5":"1332915547","file3":"1332915541"},"map_files_photo_id_array":[{"photo_id":"1332915547","filename":"file5"},{"photo_id":"1332915539","filename":"file2"},{"photo_id":"1332915542","filename":"file4"},{"photo_id":"1332915535","filename":"file1"},{"photo_id":"1332915530","filename":"file0"},{"photo_id":"1332915541","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332915541":["hashtag1","hashtag2"]},{"1332915535":["hashtag1","hashtag2"]},{"1332915542":["hashtag1","hashtag2"]},{"1332915539":["hashtag1","hashtag2"]},{"1332915530":["hashtag1","hashtag2"]},{"1332915547":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332915541, 1332915535, 1332915542, 1332915539, 1332915530, 1332915547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.689719915390015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:50:32.351274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/45/image_30012025_07_46_05_10357.jpg', '/home/pi/Desktop/images/30012025/07/46/image_30012025_07_46_16_10386.jpg', '/home/pi/Desktop/images/30012025/07/46/image_30012025_07_46_25_9443.jpg', '/home/pi/Desktop/images/30012025/07/46/image_30012025_07_46_35_10353.jpg', '/home/pi/Desktop/images/30012025/07/46/image_30012025_07_46_46_10379.jpg', '/home/pi/Desktop/images/30012025/07/46/image_30012025_07_46_55_9405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/45/image_30012025_07_46_05_10357.jpg
/home/pi/Desktop/images/30012025/07/46/image_30012025_07_46_16_10386.jpg
/home/pi/Desktop/images/30012025/07/46/image_30012025_07_46_25_9443.jpg
/home/pi/Desktop/images/30012025/07/46/image_30012025_07_46_35_10353.jpg
/home/pi/Desktop/images/30012025/07/46/image_30012025_07_46_46_10379.jpg
/home/pi/Desktop/images/30012025/07/46/image_30012025_07_46_55_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":["1332915649","1332915628","1332915635","1332915605","1332915697","1332915658"],"photo_ids_order":["1332915605","1332915628","1332915635","1332915649","1332915658","1332915697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3d771b187f21dabdd90e4dc66c0b1519.jpg","text":"TemporaryFile(/tmp/multipartBody2245195651021215361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219893307,"filename":"image_30012025_07_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/30/6e94d022149cb10049afdc8e5a1217d9.jpg","text":"TemporaryFile(/tmp/multipartBody6387108896710003770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219893307,"filename":"image_30012025_07_46_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/30/1e81f8168c4572283769593f2c8ca457.jpg","text":"TemporaryFile(/tmp/multipartBody7615798291871713801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219893307,"filename":"image_30012025_07_46_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/30/9cd53d5b05ed4972a88e704f1c26c024.jpg","text":"TemporaryFile(/tmp/multipartBody9024008672155909194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219893307,"filename":"image_30012025_07_46_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/30/af9e63d9fd06cf6347184d50ccdd7bd4.jpg","text":"TemporaryFile(/tmp/multipartBody4100573417066390660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219893307,"filename":"image_30012025_07_46_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/30/6161a9e20f2bcb3541435955b7882e1e.jpg","text":"TemporaryFile(/tmp/multipartBody232471082466796902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219893307,"filename":"image_30012025_07_46_46_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332915635","file1":"1332915628","file0":"1332915605","file4":"1332915658","file5":"1332915697","file3":"1332915649"},"map_files_photo_id_array":[{"photo_id":"1332915697","filename":"file5"},{"photo_id":"1332915635","filename":"file2"},{"photo_id":"1332915658","filename":"file4"},{"photo_id":"1332915628","filename":"file1"},{"photo_id":"1332915605","filename":"file0"},{"photo_id":"1332915649","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332915649":["hashtag1","hashtag2"]},{"1332915628":["hashtag1","hashtag2"]},{"1332915635":["hashtag1","hashtag2"]},{"1332915605":["hashtag1","hashtag2"]},{"1332915697":["hashtag1","hashtag2"]},{"1332915658":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332915649, 1332915628, 1332915635, 1332915605, 1332915697, 1332915658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.22047305107117 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:51:32.457979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/47/image_30012025_07_47_15_9335.jpg', '/home/pi/Desktop/images/30012025/07/47/image_30012025_07_47_25_10427.jpg', '/home/pi/Desktop/images/30012025/07/47/image_30012025_07_47_36_10395.jpg', '/home/pi/Desktop/images/30012025/07/47/image_30012025_07_47_45_9402.jpg', '/home/pi/Desktop/images/30012025/07/47/image_30012025_07_47_55_10386.jpg', '/home/pi/Desktop/images/30012025/07/47/image_30012025_07_48_05_9401.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/47/image_30012025_07_47_15_9335.jpg
/home/pi/Desktop/images/30012025/07/47/image_30012025_07_47_25_10427.jpg
/home/pi/Desktop/images/30012025/07/47/image_30012025_07_47_36_10395.jpg
/home/pi/Desktop/images/30012025/07/47/image_30012025_07_47_45_9402.jpg
/home/pi/Desktop/images/30012025/07/47/image_30012025_07_47_55_10386.jpg
/home/pi/Desktop/images/30012025/07/47/image_30012025_07_48_05_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":["1332915921","1332915822","1332915983","1332916004","1332916057","1332915979"],"photo_ids_order":["1332915822","1332915921","1332915979","1332915983","1332916004","1332916057"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0e634c8fdc581a9e4fa2ed3cf703f656.jpg","text":"TemporaryFile(/tmp/multipartBody2670014315710625853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219953405,"filename":"image_30012025_07_47_25_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0f3d21ca2ab4840a909a5a0100f8f1c5.jpg","text":"TemporaryFile(/tmp/multipartBody1857469369485716940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219953405,"filename":"image_30012025_07_47_15_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/12201f2ec3ab5ec2bcc96ca1f9bd9e7d.jpg","text":"TemporaryFile(/tmp/multipartBody4203172590854523773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219953405,"filename":"image_30012025_07_47_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/30/125d27d6934f1637878a935ea9f928f4.jpg","text":"TemporaryFile(/tmp/multipartBody5495773356437672306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219953405,"filename":"image_30012025_07_47_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/30/6803d714f2d08ba3ddd40e5132caac11.jpg","text":"TemporaryFile(/tmp/multipartBody3896336046136129439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219953405,"filename":"image_30012025_07_48_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/30/735608369e294172e612d3239ee9d90d.jpg","text":"TemporaryFile(/tmp/multipartBody3628882693162941262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738219953405,"filename":"image_30012025_07_47_36_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332915979","file1":"1332915921","file0":"1332915822","file4":"1332916004","file5":"1332916057","file3":"1332915983"},"map_files_photo_id_array":[{"photo_id":"1332916057","filename":"file5"},{"photo_id":"1332915979","filename":"file2"},{"photo_id":"1332916004","filename":"file4"},{"photo_id":"1332915921","filename":"file1"},{"photo_id":"1332915822","filename":"file0"},{"photo_id":"1332915983","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332915921":["hashtag1","hashtag2"]},{"1332915822":["hashtag1","hashtag2"]},{"1332915983":["hashtag1","hashtag2"]},{"1332916004":["hashtag1","hashtag2"]},{"1332916057":["hashtag1","hashtag2"]},{"1332915979":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332915921, 1332915822, 1332915983, 1332916004, 1332916057, 1332915979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.652328968048096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:52:32.695261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/48/image_30012025_07_48_15_10370.jpg', '/home/pi/Desktop/images/30012025/07/48/image_30012025_07_48_26_10362.jpg', '/home/pi/Desktop/images/30012025/07/48/image_30012025_07_48_35_9474.jpg', '/home/pi/Desktop/images/30012025/07/48/image_30012025_07_48_45_10361.jpg', '/home/pi/Desktop/images/30012025/07/48/image_30012025_07_48_55_9347.jpg', '/home/pi/Desktop/images/30012025/07/48/image_30012025_07_49_05_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/48/image_30012025_07_48_15_10370.jpg
/home/pi/Desktop/images/30012025/07/48/image_30012025_07_48_26_10362.jpg
/home/pi/Desktop/images/30012025/07/48/image_30012025_07_48_35_9474.jpg
/home/pi/Desktop/images/30012025/07/48/image_30012025_07_48_45_10361.jpg
/home/pi/Desktop/images/30012025/07/48/image_30012025_07_48_55_9347.jpg
/home/pi/Desktop/images/30012025/07/48/image_30012025_07_49_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":["1332916185","1332916188","1332916190","1332916133","1332916136","1332916177"],"photo_ids_order":["1332916133","1332916136","1332916177","1332916185","1332916188","1332916190"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8ce78af95e62aa00044690f2bf4873b0.jpg","text":"TemporaryFile(/tmp/multipartBody6512877253792770778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220013603,"filename":"image_30012025_07_48_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/30/c393e592cd9518fed2ab7340b4bb21da.jpg","text":"TemporaryFile(/tmp/multipartBody4114145275424279696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220013603,"filename":"image_30012025_07_48_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/30/3be521030014d0b930d3fdcf5a60bb9c.jpg","text":"TemporaryFile(/tmp/multipartBody9108443798785576821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220013603,"filename":"image_30012025_07_49_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/30/4f710c469b78f730a6833d863f13b18c.jpg","text":"TemporaryFile(/tmp/multipartBody4356499853431118108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220013603,"filename":"image_30012025_07_48_15_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7da4667d285da3fa94318baeb0e073e9.jpg","text":"TemporaryFile(/tmp/multipartBody1964313863575460229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220013603,"filename":"image_30012025_07_48_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/30/b70de264da3fca15d0cf65f05dc4813b.jpg","text":"TemporaryFile(/tmp/multipartBody7658009307808871212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220013603,"filename":"image_30012025_07_48_35_9474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332916177","file1":"1332916136","file0":"1332916133","file4":"1332916188","file5":"1332916190","file3":"1332916185"},"map_files_photo_id_array":[{"photo_id":"1332916190","filename":"file5"},{"photo_id":"1332916177","filename":"file2"},{"photo_id":"1332916188","filename":"file4"},{"photo_id":"1332916136","filename":"file1"},{"photo_id":"1332916133","filename":"file0"},{"photo_id":"1332916185","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332916185":["hashtag1","hashtag2"]},{"1332916188":["hashtag1","hashtag2"]},{"1332916190":["hashtag1","hashtag2"]},{"1332916133":["hashtag1","hashtag2"]},{"1332916136":["hashtag1","hashtag2"]},{"1332916177":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332916185, 1332916188, 1332916190, 1332916133, 1332916136, 1332916177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.90426516532898 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:53:32.943708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/49/image_30012025_07_49_15_10346.jpg', '/home/pi/Desktop/images/30012025/07/49/image_30012025_07_49_25_9419.jpg', '/home/pi/Desktop/images/30012025/07/49/image_30012025_07_49_35_10356.jpg', '/home/pi/Desktop/images/30012025/07/49/image_30012025_07_49_46_10356.jpg', '/home/pi/Desktop/images/30012025/07/49/image_30012025_07_49_55_9439.jpg', '/home/pi/Desktop/images/30012025/07/49/image_30012025_07_50_05_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/49/image_30012025_07_49_15_10346.jpg
/home/pi/Desktop/images/30012025/07/49/image_30012025_07_49_25_9419.jpg
/home/pi/Desktop/images/30012025/07/49/image_30012025_07_49_35_10356.jpg
/home/pi/Desktop/images/30012025/07/49/image_30012025_07_49_46_10356.jpg
/home/pi/Desktop/images/30012025/07/49/image_30012025_07_49_55_9439.jpg
/home/pi/Desktop/images/30012025/07/49/image_30012025_07_50_05_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":["1332916215","1332916209","1332916224","1332916218","1332916226","1332916222"],"photo_ids_order":["1332916209","1332916215","1332916218","1332916222","1332916224","1332916226"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/82934e021d7f0a7adb88e73161f104df.jpg","text":"TemporaryFile(/tmp/multipartBody9196169541062320593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220073867,"filename":"image_30012025_07_49_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/30/e493f4e508ff912fc3ac3935be7402b3.jpg","text":"TemporaryFile(/tmp/multipartBody1647316053456278980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220073867,"filename":"image_30012025_07_49_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/30/b9553d801c5fb78f673b376be2096b67.jpg","text":"TemporaryFile(/tmp/multipartBody4180616692934018945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220073867,"filename":"image_30012025_07_49_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/30/817e974b81fec2ef4a1e682993dfe5a8.jpg","text":"TemporaryFile(/tmp/multipartBody3124340053373234921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220073867,"filename":"image_30012025_07_49_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/30/c78132db2823e24d8ad408af1ed68c73.jpg","text":"TemporaryFile(/tmp/multipartBody5695806590087179316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220073867,"filename":"image_30012025_07_50_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/30/e37f2f85362a1feb1f59a052f8f4d1a9.jpg","text":"TemporaryFile(/tmp/multipartBody3159742420963649666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220073867,"filename":"image_30012025_07_49_46_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332916218","file1":"1332916215","file0":"1332916209","file4":"1332916224","file5":"1332916226","file3":"1332916222"},"map_files_photo_id_array":[{"photo_id":"1332916226","filename":"file5"},{"photo_id":"1332916218","filename":"file2"},{"photo_id":"1332916224","filename":"file4"},{"photo_id":"1332916215","filename":"file1"},{"photo_id":"1332916209","filename":"file0"},{"photo_id":"1332916222","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332916215":["hashtag1","hashtag2"]},{"1332916209":["hashtag1","hashtag2"]},{"1332916224":["hashtag1","hashtag2"]},{"1332916218":["hashtag1","hashtag2"]},{"1332916226":["hashtag1","hashtag2"]},{"1332916222":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332916215, 1332916209, 1332916224, 1332916218, 1332916226, 1332916222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.11260271072388 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:54:32.183592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/50/image_30012025_07_50_15_9372.jpg', '/home/pi/Desktop/images/30012025/07/50/image_30012025_07_50_36_10358.jpg', '/home/pi/Desktop/images/30012025/07/50/image_30012025_07_50_45_9471.jpg', '/home/pi/Desktop/images/30012025/07/50/image_30012025_07_50_55_10363.jpg', '/home/pi/Desktop/images/30012025/07/50/image_30012025_07_51_05_9431.jpg', '/home/pi/Desktop/images/30012025/07/51/image_30012025_07_51_15_10423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/50/image_30012025_07_50_15_9372.jpg
/home/pi/Desktop/images/30012025/07/50/image_30012025_07_50_36_10358.jpg
/home/pi/Desktop/images/30012025/07/50/image_30012025_07_50_45_9471.jpg
/home/pi/Desktop/images/30012025/07/50/image_30012025_07_50_55_10363.jpg
/home/pi/Desktop/images/30012025/07/50/image_30012025_07_51_05_9431.jpg
/home/pi/Desktop/images/30012025/07/51/image_30012025_07_51_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":["1332916263","1332916251","1332916305","1332916256","1332916271","1332916293"],"photo_ids_order":["1332916251","1332916256","1332916263","1332916271","1332916293","1332916305"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bef2e764992946149868ba9390f3a837.jpg","text":"TemporaryFile(/tmp/multipartBody8338706579167441551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220133096,"filename":"image_30012025_07_50_45_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/30/e2e77ef315e536795bd628ee6c70954e.jpg","text":"TemporaryFile(/tmp/multipartBody1178524159024175686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220133096,"filename":"image_30012025_07_50_15_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/30/07d1e9974ce9516c7409052cd0e32e0d.jpg","text":"TemporaryFile(/tmp/multipartBody1838969587735377288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220133096,"filename":"image_30012025_07_51_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/30/29ab9445d7121f15e2804cb7d88bad7d.jpg","text":"TemporaryFile(/tmp/multipartBody1364609140863274967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220133096,"filename":"image_30012025_07_50_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/30/b2d55cebdca0a3fac95f15620199e233.jpg","text":"TemporaryFile(/tmp/multipartBody7844518572658422282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220133096,"filename":"image_30012025_07_50_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/30/85acb386a26584bd5cc34eac981695aa.jpg","text":"TemporaryFile(/tmp/multipartBody880115175863662943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220133096,"filename":"image_30012025_07_51_05_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332916263","file1":"1332916256","file0":"1332916251","file4":"1332916293","file5":"1332916305","file3":"1332916271"},"map_files_photo_id_array":[{"photo_id":"1332916305","filename":"file5"},{"photo_id":"1332916263","filename":"file2"},{"photo_id":"1332916293","filename":"file4"},{"photo_id":"1332916256","filename":"file1"},{"photo_id":"1332916251","filename":"file0"},{"photo_id":"1332916271","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332916263":["hashtag1","hashtag2"]},{"1332916251":["hashtag1","hashtag2"]},{"1332916305":["hashtag1","hashtag2"]},{"1332916256":["hashtag1","hashtag2"]},{"1332916271":["hashtag1","hashtag2"]},{"1332916293":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332916263, 1332916251, 1332916305, 1332916256, 1332916271, 1332916293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.48949694633484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:55:32.480039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/51/image_30012025_07_51_26_10428.jpg', '/home/pi/Desktop/images/30012025/07/51/image_30012025_07_51_35_9366.jpg', '/home/pi/Desktop/images/30012025/07/51/image_30012025_07_51_45_10356.jpg', '/home/pi/Desktop/images/30012025/07/51/image_30012025_07_51_55_9346.jpg', '/home/pi/Desktop/images/30012025/07/51/image_30012025_07_52_05_10340.jpg', '/home/pi/Desktop/images/30012025/07/52/image_30012025_07_52_15_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/51/image_30012025_07_51_26_10428.jpg
/home/pi/Desktop/images/30012025/07/51/image_30012025_07_51_35_9366.jpg
/home/pi/Desktop/images/30012025/07/51/image_30012025_07_51_45_10356.jpg
/home/pi/Desktop/images/30012025/07/51/image_30012025_07_51_55_9346.jpg
/home/pi/Desktop/images/30012025/07/51/image_30012025_07_52_05_10340.jpg
/home/pi/Desktop/images/30012025/07/52/image_30012025_07_52_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":["1332916359","1332916368","1332916364","1332916352","1332916378","1332916348"],"photo_ids_order":["1332916348","1332916352","1332916359","1332916364","1332916368","1332916378"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/69702b3b3a77c0d4589106f14c06941a.jpg","text":"TemporaryFile(/tmp/multipartBody8391300948237573558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220193391,"filename":"image_30012025_07_51_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/30/666ec14338e701954664954c1673e670.jpg","text":"TemporaryFile(/tmp/multipartBody5478180740526417514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220193391,"filename":"image_30012025_07_52_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/30/58f9770499f7378094b299c4b680fe2a.jpg","text":"TemporaryFile(/tmp/multipartBody5924704636078978874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220193391,"filename":"image_30012025_07_51_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/30/165a6c66566e9ed1c5325231062e3ef2.jpg","text":"TemporaryFile(/tmp/multipartBody1114711716430019613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220193391,"filename":"image_30012025_07_51_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/30/623a62e3f61046c8a7b3820350e77b9c.jpg","text":"TemporaryFile(/tmp/multipartBody2517205242749657277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220193391,"filename":"image_30012025_07_52_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/30/e4c44f549fe43f45956e1f2323e088cd.jpg","text":"TemporaryFile(/tmp/multipartBody996356265697056084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220193391,"filename":"image_30012025_07_51_26_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332916359","file1":"1332916352","file0":"1332916348","file4":"1332916368","file5":"1332916378","file3":"1332916364"},"map_files_photo_id_array":[{"photo_id":"1332916378","filename":"file5"},{"photo_id":"1332916359","filename":"file2"},{"photo_id":"1332916368","filename":"file4"},{"photo_id":"1332916352","filename":"file1"},{"photo_id":"1332916348","filename":"file0"},{"photo_id":"1332916364","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332916359":["hashtag1","hashtag2"]},{"1332916368":["hashtag1","hashtag2"]},{"1332916364":["hashtag1","hashtag2"]},{"1332916352":["hashtag1","hashtag2"]},{"1332916378":["hashtag1","hashtag2"]},{"1332916348":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332916359, 1332916368, 1332916364, 1332916352, 1332916378, 1332916348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.16632437705994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:56:32.534888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/52/image_30012025_07_52_25_9343.jpg', '/home/pi/Desktop/images/30012025/07/52/image_30012025_07_52_35_10366.jpg', '/home/pi/Desktop/images/30012025/07/52/image_30012025_07_52_46_10378.jpg', '/home/pi/Desktop/images/30012025/07/52/image_30012025_07_52_55_9465.jpg', '/home/pi/Desktop/images/30012025/07/52/image_30012025_07_53_05_10375.jpg', '/home/pi/Desktop/images/30012025/07/53/image_30012025_07_53_16_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/52/image_30012025_07_52_25_9343.jpg
/home/pi/Desktop/images/30012025/07/52/image_30012025_07_52_35_10366.jpg
/home/pi/Desktop/images/30012025/07/52/image_30012025_07_52_46_10378.jpg
/home/pi/Desktop/images/30012025/07/52/image_30012025_07_52_55_9465.jpg
/home/pi/Desktop/images/30012025/07/52/image_30012025_07_53_05_10375.jpg
/home/pi/Desktop/images/30012025/07/53/image_30012025_07_53_16_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.5216155052185059 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 07:56:42.631108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/52/image_30012025_07_52_25_9343.jpg', '/home/pi/Desktop/images/30012025/07/52/image_30012025_07_52_35_10366.jpg', '/home/pi/Desktop/images/30012025/07/52/image_30012025_07_52_46_10378.jpg', '/home/pi/Desktop/images/30012025/07/52/image_30012025_07_52_55_9465.jpg', '/home/pi/Desktop/images/30012025/07/52/image_30012025_07_53_05_10375.jpg', '/home/pi/Desktop/images/30012025/07/53/image_30012025_07_53_16_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/52/image_30012025_07_52_25_9343.jpg
/home/pi/Desktop/images/30012025/07/52/image_30012025_07_52_35_10366.jpg
/home/pi/Desktop/images/30012025/07/52/image_30012025_07_52_46_10378.jpg
/home/pi/Desktop/images/30012025/07/52/image_30012025_07_52_55_9465.jpg
/home/pi/Desktop/images/30012025/07/52/image_30012025_07_53_05_10375.jpg
/home/pi/Desktop/images/30012025/07/53/image_30012025_07_53_16_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":["1332916434","1332916421","1332916430","1332916427","1332916412","1332916432"],"photo_ids_order":["1332916412","1332916421","1332916427","1332916430","1332916432","1332916434"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/02b4db73e4792c1d8915a43b9de1e33b.jpg","text":"TemporaryFile(/tmp/multipartBody2497797834122606976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220263567,"filename":"image_30012025_07_53_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/30/b1e03760b5a0a640eac6d01906910316.jpg","text":"TemporaryFile(/tmp/multipartBody5009328380060178994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220263567,"filename":"image_30012025_07_52_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/30/f2930c1486746364ca7df7b470b743e4.jpg","text":"TemporaryFile(/tmp/multipartBody4398411660474975044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220263567,"filename":"image_30012025_07_52_55_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/30/572e6d80e2e0876a1dd7d9258b8853c2.jpg","text":"TemporaryFile(/tmp/multipartBody2750005715441986216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220263567,"filename":"image_30012025_07_52_46_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/30/57464ca3c5885ea0cb8642183820aa1b.jpg","text":"TemporaryFile(/tmp/multipartBody2909202359752761278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220263567,"filename":"image_30012025_07_52_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/30/6e0845734738c555b7d199a7ab18bc33.jpg","text":"TemporaryFile(/tmp/multipartBody9119190114269927615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220263567,"filename":"image_30012025_07_53_05_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332916427","file1":"1332916421","file0":"1332916412","file4":"1332916432","file5":"1332916434","file3":"1332916430"},"map_files_photo_id_array":[{"photo_id":"1332916434","filename":"file5"},{"photo_id":"1332916427","filename":"file2"},{"photo_id":"1332916432","filename":"file4"},{"photo_id":"1332916421","filename":"file1"},{"photo_id":"1332916412","filename":"file0"},{"photo_id":"1332916430","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332916434":["hashtag1","hashtag2"]},{"1332916421":["hashtag1","hashtag2"]},{"1332916430":["hashtag1","hashtag2"]},{"1332916427":["hashtag1","hashtag2"]},{"1332916412":["hashtag1","hashtag2"]},{"1332916432":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332916434, 1332916421, 1332916430, 1332916427, 1332916412, 1332916432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.707892179489136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:57:32.713847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/53/image_30012025_07_53_25_9353.jpg', '/home/pi/Desktop/images/30012025/07/53/image_30012025_07_53_36_10553.jpg', '/home/pi/Desktop/images/30012025/07/53/image_30012025_07_53_45_9410.jpg', '/home/pi/Desktop/images/30012025/07/53/image_30012025_07_53_55_10356.jpg', '/home/pi/Desktop/images/30012025/07/53/image_30012025_07_54_05_9427.jpg', '/home/pi/Desktop/images/30012025/07/54/image_30012025_07_54_15_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/53/image_30012025_07_53_25_9353.jpg
/home/pi/Desktop/images/30012025/07/53/image_30012025_07_53_36_10553.jpg
/home/pi/Desktop/images/30012025/07/53/image_30012025_07_53_45_9410.jpg
/home/pi/Desktop/images/30012025/07/53/image_30012025_07_53_55_10356.jpg
/home/pi/Desktop/images/30012025/07/53/image_30012025_07_54_05_9427.jpg
/home/pi/Desktop/images/30012025/07/54/image_30012025_07_54_15_10367.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-30 07:59:03.904768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/53/image_30012025_07_53_25_9353.jpg', '/home/pi/Desktop/images/30012025/07/53/image_30012025_07_53_36_10553.jpg', '/home/pi/Desktop/images/30012025/07/53/image_30012025_07_53_45_9410.jpg', '/home/pi/Desktop/images/30012025/07/53/image_30012025_07_53_55_10356.jpg', '/home/pi/Desktop/images/30012025/07/53/image_30012025_07_54_05_9427.jpg', '/home/pi/Desktop/images/30012025/07/54/image_30012025_07_54_15_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/53/image_30012025_07_53_25_9353.jpg
/home/pi/Desktop/images/30012025/07/53/image_30012025_07_53_36_10553.jpg
/home/pi/Desktop/images/30012025/07/53/image_30012025_07_53_45_9410.jpg
/home/pi/Desktop/images/30012025/07/53/image_30012025_07_53_55_10356.jpg
/home/pi/Desktop/images/30012025/07/53/image_30012025_07_54_05_9427.jpg
/home/pi/Desktop/images/30012025/07/54/image_30012025_07_54_15_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":["1332917153","1332917150","1332917144","1332917132","1332917170","1332917113"],"photo_ids_order":["1332917113","1332917132","1332917144","1332917150","1332917153","1332917170"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e6fdd6353b8bf0702a07f3fbbe0e3d4b.jpg","text":"TemporaryFile(/tmp/multipartBody3679660578361509189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220404955,"filename":"image_30012025_07_54_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/30/628b04fa73f3c09e0f920f0f130449d6.jpg","text":"TemporaryFile(/tmp/multipartBody3841162901635444877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220404955,"filename":"image_30012025_07_53_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/30/6fa7b7fa80d92618101aa4a0ca32889d.jpg","text":"TemporaryFile(/tmp/multipartBody3496062172945377305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220404955,"filename":"image_30012025_07_53_45_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/80ab54ef605e2e81a3f2b2793010ee5d.jpg","text":"TemporaryFile(/tmp/multipartBody5881079434734157988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220404955,"filename":"image_30012025_07_53_36_10553.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b4bc845ced77a846af894a06fdbab4a4.jpg","text":"TemporaryFile(/tmp/multipartBody1620354049424422611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220404955,"filename":"image_30012025_07_54_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/30/0a2fb362b43287ac55bee88b738aae52.jpg","text":"TemporaryFile(/tmp/multipartBody6343455349738437969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220404955,"filename":"image_30012025_07_53_25_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332917144","file1":"1332917132","file0":"1332917113","file4":"1332917153","file5":"1332917170","file3":"1332917150"},"map_files_photo_id_array":[{"photo_id":"1332917170","filename":"file5"},{"photo_id":"1332917144","filename":"file2"},{"photo_id":"1332917153","filename":"file4"},{"photo_id":"1332917132","filename":"file1"},{"photo_id":"1332917113","filename":"file0"},{"photo_id":"1332917150","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332917153":["hashtag1","hashtag2"]},{"1332917150":["hashtag1","hashtag2"]},{"1332917144":["hashtag1","hashtag2"]},{"1332917132":["hashtag1","hashtag2"]},{"1332917170":["hashtag1","hashtag2"]},{"1332917113":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332917153, 1332917150, 1332917144, 1332917132, 1332917170, 1332917113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9076132774353 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 07:59:52.473374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/54/image_30012025_07_54_26_10407.jpg', '/home/pi/Desktop/images/30012025/07/54/image_30012025_07_54_35_9487.jpg', '/home/pi/Desktop/images/30012025/07/54/image_30012025_07_54_55_9502.jpg', '/home/pi/Desktop/images/30012025/07/54/image_30012025_07_55_05_10360.jpg', '/home/pi/Desktop/images/30012025/07/55/image_30012025_07_55_16_10389.jpg', '/home/pi/Desktop/images/30012025/07/55/image_30012025_07_55_25_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/54/image_30012025_07_54_26_10407.jpg
/home/pi/Desktop/images/30012025/07/54/image_30012025_07_54_35_9487.jpg
/home/pi/Desktop/images/30012025/07/54/image_30012025_07_54_55_9502.jpg
/home/pi/Desktop/images/30012025/07/54/image_30012025_07_55_05_10360.jpg
/home/pi/Desktop/images/30012025/07/55/image_30012025_07_55_16_10389.jpg
/home/pi/Desktop/images/30012025/07/55/image_30012025_07_55_25_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":["1332917313","1332917321","1332917303","1332917293","1332917290","1332917298"],"photo_ids_order":["1332917290","1332917293","1332917298","1332917303","1332917313","1332917321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/068d9c81484d623037f0d0a23aa0e812.jpg","text":"TemporaryFile(/tmp/multipartBody5066182871730538815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220453407,"filename":"image_30012025_07_55_16_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/30/f7a7fc24fa28c31c17b5debb216b50bf.jpg","text":"TemporaryFile(/tmp/multipartBody758237315135476246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220453407,"filename":"image_30012025_07_55_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/30/4fbb0d29dc66e65d7609f4287527b2cf.jpg","text":"TemporaryFile(/tmp/multipartBody3846058338951419105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220453407,"filename":"image_30012025_07_55_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/30/f9d633301df3fdf376a9ccdb1185115f.jpg","text":"TemporaryFile(/tmp/multipartBody5634831741054715094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220453407,"filename":"image_30012025_07_54_35_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/30/f3ff7f95953cf585af63c13749ba6a7b.jpg","text":"TemporaryFile(/tmp/multipartBody2888111757627107880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220453407,"filename":"image_30012025_07_54_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/30/06e215210ea5b85be93a281bcec95f4a.jpg","text":"TemporaryFile(/tmp/multipartBody5045462231339967984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220453407,"filename":"image_30012025_07_54_55_9502.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332917298","file1":"1332917293","file0":"1332917290","file4":"1332917313","file5":"1332917321","file3":"1332917303"},"map_files_photo_id_array":[{"photo_id":"1332917321","filename":"file5"},{"photo_id":"1332917298","filename":"file2"},{"photo_id":"1332917313","filename":"file4"},{"photo_id":"1332917293","filename":"file1"},{"photo_id":"1332917290","filename":"file0"},{"photo_id":"1332917303","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332917313":["hashtag1","hashtag2"]},{"1332917321":["hashtag1","hashtag2"]},{"1332917303":["hashtag1","hashtag2"]},{"1332917293":["hashtag1","hashtag2"]},{"1332917290":["hashtag1","hashtag2"]},{"1332917298":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332917313, 1332917321, 1332917303, 1332917293, 1332917290, 1332917298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.48255968093872 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 08:00:42.650220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/55/image_30012025_07_55_35_10362.jpg', '/home/pi/Desktop/images/30012025/07/55/image_30012025_07_55_45_9381.jpg', '/home/pi/Desktop/images/30012025/07/55/image_30012025_07_55_55_10359.jpg', '/home/pi/Desktop/images/30012025/07/55/image_30012025_07_56_05_10356.jpg', '/home/pi/Desktop/images/30012025/07/56/image_30012025_07_56_15_9464.jpg', '/home/pi/Desktop/images/30012025/07/56/image_30012025_07_56_25_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/55/image_30012025_07_55_35_10362.jpg
/home/pi/Desktop/images/30012025/07/55/image_30012025_07_55_45_9381.jpg
/home/pi/Desktop/images/30012025/07/55/image_30012025_07_55_55_10359.jpg
/home/pi/Desktop/images/30012025/07/55/image_30012025_07_56_05_10356.jpg
/home/pi/Desktop/images/30012025/07/56/image_30012025_07_56_15_9464.jpg
/home/pi/Desktop/images/30012025/07/56/image_30012025_07_56_25_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":["1332917366","1332917360","1332917354","1332917383","1332917371","1332917349"],"photo_ids_order":["1332917349","1332917354","1332917360","1332917366","1332917371","1332917383"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9b5fc611aecc1e1d554030844d050be4.jpg","text":"TemporaryFile(/tmp/multipartBody8931421842306204566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220503554,"filename":"image_30012025_07_56_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/30/f97857cc8cbf47768bfd39c41a525c15.jpg","text":"TemporaryFile(/tmp/multipartBody2704647547273159112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220503554,"filename":"image_30012025_07_55_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/30/d530ae76e1c800deab5c5994003bb86c.jpg","text":"TemporaryFile(/tmp/multipartBody4578724650248822221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220503554,"filename":"image_30012025_07_55_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/30/a69764b3b45af17c19207c22fedd9933.jpg","text":"TemporaryFile(/tmp/multipartBody3377693157502910659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220503554,"filename":"image_30012025_07_56_25_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/30/08a204b9407eae997c0c9b1549c1817d.jpg","text":"TemporaryFile(/tmp/multipartBody2461156287213604983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220503554,"filename":"image_30012025_07_56_15_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f5d7f9333208c7537857d83901ee7385.jpg","text":"TemporaryFile(/tmp/multipartBody8768664925627124914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220503554,"filename":"image_30012025_07_55_35_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332917360","file1":"1332917354","file0":"1332917349","file4":"1332917371","file5":"1332917383","file3":"1332917366"},"map_files_photo_id_array":[{"photo_id":"1332917383","filename":"file5"},{"photo_id":"1332917360","filename":"file2"},{"photo_id":"1332917371","filename":"file4"},{"photo_id":"1332917354","filename":"file1"},{"photo_id":"1332917349","filename":"file0"},{"photo_id":"1332917366","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332917366":["hashtag1","hashtag2"]},{"1332917360":["hashtag1","hashtag2"]},{"1332917354":["hashtag1","hashtag2"]},{"1332917383":["hashtag1","hashtag2"]},{"1332917371":["hashtag1","hashtag2"]},{"1332917349":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332917366, 1332917360, 1332917354, 1332917383, 1332917371, 1332917349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.30700612068176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:01:32.910695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/56/image_30012025_07_56_35_9404.jpg', '/home/pi/Desktop/images/30012025/07/56/image_30012025_07_56_45_10368.jpg', '/home/pi/Desktop/images/30012025/07/56/image_30012025_07_56_55_10359.jpg', '/home/pi/Desktop/images/30012025/07/56/image_30012025_07_57_05_9346.jpg', '/home/pi/Desktop/images/30012025/07/57/image_30012025_07_57_15_10372.jpg', '/home/pi/Desktop/images/30012025/07/57/image_30012025_07_57_26_10396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/56/image_30012025_07_56_35_9404.jpg
/home/pi/Desktop/images/30012025/07/56/image_30012025_07_56_45_10368.jpg
/home/pi/Desktop/images/30012025/07/56/image_30012025_07_56_55_10359.jpg
/home/pi/Desktop/images/30012025/07/56/image_30012025_07_57_05_9346.jpg
/home/pi/Desktop/images/30012025/07/57/image_30012025_07_57_15_10372.jpg
/home/pi/Desktop/images/30012025/07/57/image_30012025_07_57_26_10396.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5156378746032715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 08:01:42.823502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/56/image_30012025_07_56_35_9404.jpg', '/home/pi/Desktop/images/30012025/07/56/image_30012025_07_56_45_10368.jpg', '/home/pi/Desktop/images/30012025/07/56/image_30012025_07_56_55_10359.jpg', '/home/pi/Desktop/images/30012025/07/56/image_30012025_07_57_05_9346.jpg', '/home/pi/Desktop/images/30012025/07/57/image_30012025_07_57_15_10372.jpg', '/home/pi/Desktop/images/30012025/07/57/image_30012025_07_57_26_10396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/56/image_30012025_07_56_35_9404.jpg
/home/pi/Desktop/images/30012025/07/56/image_30012025_07_56_45_10368.jpg
/home/pi/Desktop/images/30012025/07/56/image_30012025_07_56_55_10359.jpg
/home/pi/Desktop/images/30012025/07/56/image_30012025_07_57_05_9346.jpg
/home/pi/Desktop/images/30012025/07/57/image_30012025_07_57_15_10372.jpg
/home/pi/Desktop/images/30012025/07/57/image_30012025_07_57_26_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332917457","1332917451","1332917433","1332917446","1332917440","1332917454"],"photo_ids_order":["1332917433","1332917440","1332917446","1332917451","1332917454","1332917457"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/58d86926982129c023bbcb3669d9af8d.jpg","text":"TemporaryFile(/tmp/multipartBody4788403499604684133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220563739,"filename":"image_30012025_07_57_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/30/eb6f054922242a9849da69108a5a65fd.jpg","text":"TemporaryFile(/tmp/multipartBody8273745998642110663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220563739,"filename":"image_30012025_07_57_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/30/950d10e51824187639263719821b4b13.jpg","text":"TemporaryFile(/tmp/multipartBody7965841483710798581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220563739,"filename":"image_30012025_07_56_35_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/30/9cc4739143aa670011cadc41f6ca4825.jpg","text":"TemporaryFile(/tmp/multipartBody6228281622422379527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220563739,"filename":"image_30012025_07_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/30/052423e492c7159971a83a27f0cfc909.jpg","text":"TemporaryFile(/tmp/multipartBody4722165630732932571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220563739,"filename":"image_30012025_07_56_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/30/e942cdeba9c76f32dedc54a87ead7eef.jpg","text":"TemporaryFile(/tmp/multipartBody5530295601170230846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220563739,"filename":"image_30012025_07_57_15_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332917446","file1":"1332917440","file0":"1332917433","file4":"1332917454","file5":"1332917457","file3":"1332917451"},"map_files_photo_id_array":[{"photo_id":"1332917457","filename":"file5"},{"photo_id":"1332917446","filename":"file2"},{"photo_id":"1332917454","filename":"file4"},{"photo_id":"1332917440","filename":"file1"},{"photo_id":"1332917433","filename":"file0"},{"photo_id":"1332917451","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332917457":["hashtag1","hashtag2"]},{"1332917451":["hashtag1","hashtag2"]},{"1332917433":["hashtag1","hashtag2"]},{"1332917446":["hashtag1","hashtag2"]},{"1332917440":["hashtag1","hashtag2"]},{"1332917454":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332917457, 1332917451, 1332917433, 1332917446, 1332917440, 1332917454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.38434624671936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:02:32.242085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/57/image_30012025_07_57_35_9485.jpg', '/home/pi/Desktop/images/30012025/07/57/image_30012025_07_57_45_10432.jpg', '/home/pi/Desktop/images/30012025/07/57/image_30012025_07_57_55_9347.jpg', '/home/pi/Desktop/images/30012025/07/57/image_30012025_07_58_05_10348.jpg', '/home/pi/Desktop/images/30012025/07/58/image_30012025_07_58_25_9399.jpg', '/home/pi/Desktop/images/30012025/07/58/image_30012025_07_58_35_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/57/image_30012025_07_57_35_9485.jpg
/home/pi/Desktop/images/30012025/07/57/image_30012025_07_57_45_10432.jpg
/home/pi/Desktop/images/30012025/07/57/image_30012025_07_57_55_9347.jpg
/home/pi/Desktop/images/30012025/07/57/image_30012025_07_58_05_10348.jpg
/home/pi/Desktop/images/30012025/07/58/image_30012025_07_58_25_9399.jpg
/home/pi/Desktop/images/30012025/07/58/image_30012025_07_58_35_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332917628","1332917837","1332917533","1332917730","1332917481","1332917475"],"photo_ids_order":["1332917475","1332917481","1332917533","1332917628","1332917730","1332917837"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f23db62606c8407638fc5ed982c2374a.jpg","text":"TemporaryFile(/tmp/multipartBody9032624033498683324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220613166,"filename":"image_30012025_07_58_05_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0963a12d534044886065c28fa68ba190.jpg","text":"TemporaryFile(/tmp/multipartBody6580777060612625634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220613166,"filename":"image_30012025_07_58_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/30/6bd240d1044f9301aa28c21cf112fa11.jpg","text":"TemporaryFile(/tmp/multipartBody8388371440654325304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220613166,"filename":"image_30012025_07_57_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/30/5ffee581dddd43a9a4cdedd0dbbe8aae.jpg","text":"TemporaryFile(/tmp/multipartBody6818731088000060208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220613166,"filename":"image_30012025_07_58_25_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4619e2258c435ce0bd1e394425863c34.jpg","text":"TemporaryFile(/tmp/multipartBody7065686921556110066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220613166,"filename":"image_30012025_07_57_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/30/a3cdb9a072f1ed1359bf171eae23e045.jpg","text":"TemporaryFile(/tmp/multipartBody8984692884728171524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220613166,"filename":"image_30012025_07_57_35_9485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332917533","file1":"1332917481","file0":"1332917475","file4":"1332917730","file5":"1332917837","file3":"1332917628"},"map_files_photo_id_array":[{"photo_id":"1332917837","filename":"file5"},{"photo_id":"1332917533","filename":"file2"},{"photo_id":"1332917730","filename":"file4"},{"photo_id":"1332917481","filename":"file1"},{"photo_id":"1332917475","filename":"file0"},{"photo_id":"1332917628","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332917628":["hashtag1","hashtag2"]},{"1332917837":["hashtag1","hashtag2"]},{"1332917533":["hashtag1","hashtag2"]},{"1332917730":["hashtag1","hashtag2"]},{"1332917481":["hashtag1","hashtag2"]},{"1332917475":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332917628, 1332917837, 1332917533, 1332917730, 1332917481, 1332917475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.22423458099365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:03:32.550534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/58/image_30012025_07_58_55_9342.jpg', '/home/pi/Desktop/images/30012025/07/58/image_30012025_07_59_05_10359.jpg', '/home/pi/Desktop/images/30012025/07/59/image_30012025_07_59_15_9349.jpg', '/home/pi/Desktop/images/30012025/07/59/image_30012025_07_59_25_10432.jpg', '/home/pi/Desktop/images/30012025/07/59/image_30012025_07_59_36_10351.jpg', '/home/pi/Desktop/images/30012025/07/59/image_30012025_07_59_45_9432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/58/image_30012025_07_58_55_9342.jpg
/home/pi/Desktop/images/30012025/07/58/image_30012025_07_59_05_10359.jpg
/home/pi/Desktop/images/30012025/07/59/image_30012025_07_59_15_9349.jpg
/home/pi/Desktop/images/30012025/07/59/image_30012025_07_59_25_10432.jpg
/home/pi/Desktop/images/30012025/07/59/image_30012025_07_59_36_10351.jpg
/home/pi/Desktop/images/30012025/07/59/image_30012025_07_59_45_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":["1332918104","1332917998","1332918109","1332918060","1332918039","1332918132"],"photo_ids_order":["1332917998","1332918039","1332918060","1332918104","1332918109","1332918132"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e55f96337abd051c0867e7618bc2e84c.jpg","text":"TemporaryFile(/tmp/multipartBody4392991095764264184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220673465,"filename":"image_30012025_07_59_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/30/6fd446c9ec428840abf6fc43162173f3.jpg","text":"TemporaryFile(/tmp/multipartBody7094431193395308074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220673465,"filename":"image_30012025_07_58_55_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d8b8bf905e111f201e8f07544cbde83d.jpg","text":"TemporaryFile(/tmp/multipartBody606274032425245197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220673465,"filename":"image_30012025_07_59_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/30/437a0c7c964a87a2c77baffaf58b51ac.jpg","text":"TemporaryFile(/tmp/multipartBody3826529205780595006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220673465,"filename":"image_30012025_07_59_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/30/ed78a6f00cd15357710fd3125d70e993.jpg","text":"TemporaryFile(/tmp/multipartBody1766092876967785170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220673465,"filename":"image_30012025_07_59_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/30/eb52a43cfa1cfd0de5d4c385bf0e273f.jpg","text":"TemporaryFile(/tmp/multipartBody354691982055270031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220673465,"filename":"image_30012025_07_59_45_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332918060","file1":"1332918039","file0":"1332917998","file4":"1332918109","file5":"1332918132","file3":"1332918104"},"map_files_photo_id_array":[{"photo_id":"1332918132","filename":"file5"},{"photo_id":"1332918060","filename":"file2"},{"photo_id":"1332918109","filename":"file4"},{"photo_id":"1332918039","filename":"file1"},{"photo_id":"1332917998","filename":"file0"},{"photo_id":"1332918104","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332918104":["hashtag1","hashtag2"]},{"1332917998":["hashtag1","hashtag2"]},{"1332918109":["hashtag1","hashtag2"]},{"1332918060":["hashtag1","hashtag2"]},{"1332918039":["hashtag1","hashtag2"]},{"1332918132":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332918104, 1332917998, 1332918109, 1332918060, 1332918039, 1332918132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.40981578826904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:04:32.704638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/07/59/image_30012025_07_59_55_10392.jpg', '/home/pi/Desktop/images/30012025/08/00/image_30012025_08_00_15_10077.jpg', '/home/pi/Desktop/images/30012025/08/00/image_30012025_08_00_26_10373.jpg', '/home/pi/Desktop/images/30012025/08/00/image_30012025_08_00_36_10435.jpg', '/home/pi/Desktop/images/30012025/08/00/image_30012025_08_00_56_10447.jpg', '/home/pi/Desktop/images/30012025/08/00/image_30012025_08_01_05_9397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/07/59/image_30012025_07_59_55_10392.jpg
/home/pi/Desktop/images/30012025/08/00/image_30012025_08_00_15_10077.jpg
/home/pi/Desktop/images/30012025/08/00/image_30012025_08_00_26_10373.jpg
/home/pi/Desktop/images/30012025/08/00/image_30012025_08_00_36_10435.jpg
/home/pi/Desktop/images/30012025/08/00/image_30012025_08_00_56_10447.jpg
/home/pi/Desktop/images/30012025/08/00/image_30012025_08_01_05_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":["1332918197","1332918182","1332918164","1332918158","1332918148","1332918204"],"photo_ids_order":["1332918148","1332918158","1332918164","1332918182","1332918197","1332918204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9e60361b244b190bf09037383f289411.jpg","text":"TemporaryFile(/tmp/multipartBody2507432787376896373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220733632,"filename":"image_30012025_08_00_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/30/de8d368f1d59f6631b8836e80d8e25fa.jpg","text":"TemporaryFile(/tmp/multipartBody8857794824815486088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220733632,"filename":"image_30012025_08_00_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/30/844353174a50b50611311b54e735dd63.jpg","text":"TemporaryFile(/tmp/multipartBody1508884736825648115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220733632,"filename":"image_30012025_08_00_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/30/dad3a8cc7b61c8ae2f1151a8e56bfaf8.jpg","text":"TemporaryFile(/tmp/multipartBody7481001544760824414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220733632,"filename":"image_30012025_08_00_15_10077.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/994617a677fb9f8b0d149528dc0f2d9d.jpg","text":"TemporaryFile(/tmp/multipartBody1390870370726129972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220733632,"filename":"image_30012025_07_59_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/30/592b594f64ab005182742f4c6093801e.jpg","text":"TemporaryFile(/tmp/multipartBody5217058048111186876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220733632,"filename":"image_30012025_08_01_05_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332918164","file1":"1332918158","file0":"1332918148","file4":"1332918197","file5":"1332918204","file3":"1332918182"},"map_files_photo_id_array":[{"photo_id":"1332918204","filename":"file5"},{"photo_id":"1332918164","filename":"file2"},{"photo_id":"1332918197","filename":"file4"},{"photo_id":"1332918158","filename":"file1"},{"photo_id":"1332918148","filename":"file0"},{"photo_id":"1332918182","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332918197":["hashtag1","hashtag2"]},{"1332918182":["hashtag1","hashtag2"]},{"1332918164":["hashtag1","hashtag2"]},{"1332918158":["hashtag1","hashtag2"]},{"1332918148":["hashtag1","hashtag2"]},{"1332918204":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332918197, 1332918182, 1332918164, 1332918158, 1332918148, 1332918204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.82436943054199 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:05:33.056901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/01/image_30012025_08_01_16_10350.jpg', '/home/pi/Desktop/images/30012025/08/01/image_30012025_08_01_26_10429.jpg', '/home/pi/Desktop/images/30012025/08/01/image_30012025_08_01_46_10440.jpg', '/home/pi/Desktop/images/30012025/08/01/image_30012025_08_01_55_9352.jpg', '/home/pi/Desktop/images/30012025/08/02/image_30012025_08_02_25_9355.jpg', '/home/pi/Desktop/images/30012025/08/02/image_30012025_08_02_36_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/01/image_30012025_08_01_16_10350.jpg
/home/pi/Desktop/images/30012025/08/01/image_30012025_08_01_26_10429.jpg
/home/pi/Desktop/images/30012025/08/01/image_30012025_08_01_46_10440.jpg
/home/pi/Desktop/images/30012025/08/01/image_30012025_08_01_55_9352.jpg
/home/pi/Desktop/images/30012025/08/02/image_30012025_08_02_25_9355.jpg
/home/pi/Desktop/images/30012025/08/02/image_30012025_08_02_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":["1332918233","1332918241","1332918244","1332918235","1332918228","1332918237"],"photo_ids_order":["1332918228","1332918233","1332918235","1332918237","1332918241","1332918244"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1168a3c9de423a3cff9d96094fac57fd.jpg","text":"TemporaryFile(/tmp/multipartBody9196182782343763470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220793962,"filename":"image_30012025_08_01_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/30/39a20524d7756d3f6ec56937447bafb6.jpg","text":"TemporaryFile(/tmp/multipartBody7883909821011826915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220793962,"filename":"image_30012025_08_02_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/30/526c0d2893193c3713c2f1b69faae940.jpg","text":"TemporaryFile(/tmp/multipartBody165398765253597674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220793962,"filename":"image_30012025_08_02_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/30/ac7577f176b3c2e500b8edb28211257b.jpg","text":"TemporaryFile(/tmp/multipartBody9154397165646861157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220793962,"filename":"image_30012025_08_01_46_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5bb4ebedc0ae37dd10e57a6da962c7b5.jpg","text":"TemporaryFile(/tmp/multipartBody4301991626440449795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220793962,"filename":"image_30012025_08_01_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/30/6c9c79033ec8eaa2a9630266b0cfa8ec.jpg","text":"TemporaryFile(/tmp/multipartBody8223141185772823949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220793962,"filename":"image_30012025_08_01_55_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332918235","file1":"1332918233","file0":"1332918228","file4":"1332918241","file5":"1332918244","file3":"1332918237"},"map_files_photo_id_array":[{"photo_id":"1332918244","filename":"file5"},{"photo_id":"1332918235","filename":"file2"},{"photo_id":"1332918241","filename":"file4"},{"photo_id":"1332918233","filename":"file1"},{"photo_id":"1332918228","filename":"file0"},{"photo_id":"1332918237","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332918233":["hashtag1","hashtag2"]},{"1332918241":["hashtag1","hashtag2"]},{"1332918244":["hashtag1","hashtag2"]},{"1332918235":["hashtag1","hashtag2"]},{"1332918228":["hashtag1","hashtag2"]},{"1332918237":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332918233, 1332918241, 1332918244, 1332918235, 1332918228, 1332918237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.48587942123413 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:06:33.121174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/02/image_30012025_08_02_56_9345.jpg', '/home/pi/Desktop/images/30012025/08/02/image_30012025_08_03_06_10442.jpg', '/home/pi/Desktop/images/30012025/08/03/image_30012025_08_03_15_9354.jpg', '/home/pi/Desktop/images/30012025/08/03/image_30012025_08_03_26_10345.jpg', '/home/pi/Desktop/images/30012025/08/03/image_30012025_08_03_36_10428.jpg', '/home/pi/Desktop/images/30012025/08/03/image_30012025_08_03_56_10447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/02/image_30012025_08_02_56_9345.jpg
/home/pi/Desktop/images/30012025/08/02/image_30012025_08_03_06_10442.jpg
/home/pi/Desktop/images/30012025/08/03/image_30012025_08_03_15_9354.jpg
/home/pi/Desktop/images/30012025/08/03/image_30012025_08_03_26_10345.jpg
/home/pi/Desktop/images/30012025/08/03/image_30012025_08_03_36_10428.jpg
/home/pi/Desktop/images/30012025/08/03/image_30012025_08_03_56_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":["1332918281","1332918340","1332918265","1332918465","1332918273","1332918276"],"photo_ids_order":["1332918265","1332918273","1332918276","1332918281","1332918340","1332918465"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b174415b6d5a3d55f13037d12d0d641e.jpg","text":"TemporaryFile(/tmp/multipartBody7019918403451800001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220854028,"filename":"image_30012025_08_03_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/30/7c2a0b0a00508cb8999276cab080b667.jpg","text":"TemporaryFile(/tmp/multipartBody486325800500795421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220854028,"filename":"image_30012025_08_03_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/30/9ffbaa8ff581a35b6443927c52df6e42.jpg","text":"TemporaryFile(/tmp/multipartBody1744367796846163338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220854028,"filename":"image_30012025_08_02_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/30/6b053914c8ab3777e6420f9c5fd63e94.jpg","text":"TemporaryFile(/tmp/multipartBody7265911138239738519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220854028,"filename":"image_30012025_08_03_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/30/4f20d0bb7bbe6e182718f314611d7c11.jpg","text":"TemporaryFile(/tmp/multipartBody4487101371778931365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220854028,"filename":"image_30012025_08_03_06_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/30/e152b5af8555e9de58b6d540328f23b5.jpg","text":"TemporaryFile(/tmp/multipartBody1788260580449305205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220854028,"filename":"image_30012025_08_03_15_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332918276","file1":"1332918273","file0":"1332918265","file4":"1332918340","file5":"1332918465","file3":"1332918281"},"map_files_photo_id_array":[{"photo_id":"1332918465","filename":"file5"},{"photo_id":"1332918276","filename":"file2"},{"photo_id":"1332918340","filename":"file4"},{"photo_id":"1332918273","filename":"file1"},{"photo_id":"1332918265","filename":"file0"},{"photo_id":"1332918281","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332918281":["hashtag1","hashtag2"]},{"1332918340":["hashtag1","hashtag2"]},{"1332918265":["hashtag1","hashtag2"]},{"1332918465":["hashtag1","hashtag2"]},{"1332918273":["hashtag1","hashtag2"]},{"1332918276":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332918281, 1332918340, 1332918265, 1332918465, 1332918273, 1332918276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.27552795410156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:07:32.311796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/03/image_30012025_08_04_05_9461.jpg', '/home/pi/Desktop/images/30012025/08/04/image_30012025_08_04_16_10366.jpg', '/home/pi/Desktop/images/30012025/08/04/image_30012025_08_04_26_10342.jpg', '/home/pi/Desktop/images/30012025/08/04/image_30012025_08_04_36_9416.jpg', '/home/pi/Desktop/images/30012025/08/04/image_30012025_08_04_46_10455.jpg', '/home/pi/Desktop/images/30012025/08/04/image_30012025_08_04_56_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/03/image_30012025_08_04_05_9461.jpg
/home/pi/Desktop/images/30012025/08/04/image_30012025_08_04_16_10366.jpg
/home/pi/Desktop/images/30012025/08/04/image_30012025_08_04_26_10342.jpg
/home/pi/Desktop/images/30012025/08/04/image_30012025_08_04_36_9416.jpg
/home/pi/Desktop/images/30012025/08/04/image_30012025_08_04_46_10455.jpg
/home/pi/Desktop/images/30012025/08/04/image_30012025_08_04_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":["1332919172","1332919145","1332919154","1332919168","1332919173","1332919161"],"photo_ids_order":["1332919145","1332919154","1332919161","1332919168","1332919172","1332919173"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/871625e21154ee0765ca7809cc48bd19.jpg","text":"TemporaryFile(/tmp/multipartBody3154053078286292169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220913228,"filename":"image_30012025_08_04_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/30/94775087a8ce830b479e8a87e8f6b227.jpg","text":"TemporaryFile(/tmp/multipartBody2414666752077589545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220913228,"filename":"image_30012025_08_04_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/30/cd593ed8c8b0e056be41d5bed28ca8c1.jpg","text":"TemporaryFile(/tmp/multipartBody6788741091184785737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220913228,"filename":"image_30012025_08_04_16_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a36bfc73be344c718e39cd1cd09c8958.jpg","text":"TemporaryFile(/tmp/multipartBody3165205037412317839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220913228,"filename":"image_30012025_08_04_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/30/bc101c099eb2ce0e4bc5b1d9024c6ef8.jpg","text":"TemporaryFile(/tmp/multipartBody8700140269509187427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220913228,"filename":"image_30012025_08_04_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/30/c9dfe2628bb295749d8d8168deb9d0d7.jpg","text":"TemporaryFile(/tmp/multipartBody352962776571680495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220913228,"filename":"image_30012025_08_04_26_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332919161","file1":"1332919154","file0":"1332919145","file4":"1332919172","file5":"1332919173","file3":"1332919168"},"map_files_photo_id_array":[{"photo_id":"1332919173","filename":"file5"},{"photo_id":"1332919161","filename":"file2"},{"photo_id":"1332919172","filename":"file4"},{"photo_id":"1332919154","filename":"file1"},{"photo_id":"1332919145","filename":"file0"},{"photo_id":"1332919168","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332919172":["hashtag1","hashtag2"]},{"1332919145":["hashtag1","hashtag2"]},{"1332919154":["hashtag1","hashtag2"]},{"1332919168":["hashtag1","hashtag2"]},{"1332919173":["hashtag1","hashtag2"]},{"1332919161":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332919172, 1332919145, 1332919154, 1332919168, 1332919173, 1332919161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.18988609313965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:08:32.457298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/04/image_30012025_08_05_06_9360.jpg', '/home/pi/Desktop/images/30012025/08/05/image_30012025_08_05_16_10421.jpg', '/home/pi/Desktop/images/30012025/08/05/image_30012025_08_05_26_9395.jpg', '/home/pi/Desktop/images/30012025/08/05/image_30012025_08_05_36_10339.jpg', '/home/pi/Desktop/images/30012025/08/05/image_30012025_08_05_46_10361.jpg', '/home/pi/Desktop/images/30012025/08/05/image_30012025_08_05_56_9416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/04/image_30012025_08_05_06_9360.jpg
/home/pi/Desktop/images/30012025/08/05/image_30012025_08_05_16_10421.jpg
/home/pi/Desktop/images/30012025/08/05/image_30012025_08_05_26_9395.jpg
/home/pi/Desktop/images/30012025/08/05/image_30012025_08_05_36_10339.jpg
/home/pi/Desktop/images/30012025/08/05/image_30012025_08_05_46_10361.jpg
/home/pi/Desktop/images/30012025/08/05/image_30012025_08_05_56_9416.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5213315486907959 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 08:08:42.454569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/04/image_30012025_08_05_06_9360.jpg', '/home/pi/Desktop/images/30012025/08/05/image_30012025_08_05_16_10421.jpg', '/home/pi/Desktop/images/30012025/08/05/image_30012025_08_05_26_9395.jpg', '/home/pi/Desktop/images/30012025/08/05/image_30012025_08_05_36_10339.jpg', '/home/pi/Desktop/images/30012025/08/05/image_30012025_08_05_46_10361.jpg', '/home/pi/Desktop/images/30012025/08/05/image_30012025_08_05_56_9416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/04/image_30012025_08_05_06_9360.jpg
/home/pi/Desktop/images/30012025/08/05/image_30012025_08_05_16_10421.jpg
/home/pi/Desktop/images/30012025/08/05/image_30012025_08_05_26_9395.jpg
/home/pi/Desktop/images/30012025/08/05/image_30012025_08_05_36_10339.jpg
/home/pi/Desktop/images/30012025/08/05/image_30012025_08_05_46_10361.jpg
/home/pi/Desktop/images/30012025/08/05/image_30012025_08_05_56_9416.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":["1332919748","1332919601","1332920057","1332919939","1332919383","1332919841"],"photo_ids_order":["1332919383","1332919601","1332919748","1332919841","1332919939","1332920057"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c241cac46a1baf01af3aa84e242b6498.jpg","text":"TemporaryFile(/tmp/multipartBody739207079290576513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220983397,"filename":"image_30012025_08_05_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/30/db07e93acbdc4a8e31669f5c0b8912a1.jpg","text":"TemporaryFile(/tmp/multipartBody1277354720010373622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220983397,"filename":"image_30012025_08_05_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/30/dfb976e4534930e446cd28d319ba02b3.jpg","text":"TemporaryFile(/tmp/multipartBody7666817308771229558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220983397,"filename":"image_30012025_08_05_56_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/30/95a785286b1687a2d61ed11fe606656a.jpg","text":"TemporaryFile(/tmp/multipartBody3223267615918986944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220983397,"filename":"image_30012025_08_05_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/30/db817dad620588f77af118a7bf403084.jpg","text":"TemporaryFile(/tmp/multipartBody2929974751374817505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220983397,"filename":"image_30012025_08_05_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/30/af784af6a8b798a340366a29ac2e6b04.jpg","text":"TemporaryFile(/tmp/multipartBody1252592948245724236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738220983397,"filename":"image_30012025_08_05_36_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332919748","file1":"1332919601","file0":"1332919383","file4":"1332919939","file5":"1332920057","file3":"1332919841"},"map_files_photo_id_array":[{"photo_id":"1332920057","filename":"file5"},{"photo_id":"1332919748","filename":"file2"},{"photo_id":"1332919939","filename":"file4"},{"photo_id":"1332919601","filename":"file1"},{"photo_id":"1332919383","filename":"file0"},{"photo_id":"1332919841","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332919748":["hashtag1","hashtag2"]},{"1332919601":["hashtag1","hashtag2"]},{"1332920057":["hashtag1","hashtag2"]},{"1332919939":["hashtag1","hashtag2"]},{"1332919383":["hashtag1","hashtag2"]},{"1332919841":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332919748, 1332919601, 1332920057, 1332919939, 1332919383, 1332919841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.24045634269714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:09:52.633406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/05/image_30012025_08_06_06_10385.jpg', '/home/pi/Desktop/images/30012025/08/06/image_30012025_08_06_15_9368.jpg', '/home/pi/Desktop/images/30012025/08/06/image_30012025_08_06_26_10432.jpg', '/home/pi/Desktop/images/30012025/08/06/image_30012025_08_06_36_10340.jpg', '/home/pi/Desktop/images/30012025/08/06/image_30012025_08_06_46_9357.jpg', '/home/pi/Desktop/images/30012025/08/06/image_30012025_08_06_56_10501.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/05/image_30012025_08_06_06_10385.jpg
/home/pi/Desktop/images/30012025/08/06/image_30012025_08_06_15_9368.jpg
/home/pi/Desktop/images/30012025/08/06/image_30012025_08_06_26_10432.jpg
/home/pi/Desktop/images/30012025/08/06/image_30012025_08_06_36_10340.jpg
/home/pi/Desktop/images/30012025/08/06/image_30012025_08_06_46_9357.jpg
/home/pi/Desktop/images/30012025/08/06/image_30012025_08_06_56_10501.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332920378","1332920447","1332920491","1332920488","1332920530","1332920527"],"photo_ids_order":["1332920378","1332920447","1332920488","1332920491","1332920527","1332920530"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/48524d31ad7950dfc1669388f613f4bf.jpg","text":"TemporaryFile(/tmp/multipartBody6433261386069519050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221053578,"filename":"image_30012025_08_06_06_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/30/ce5ca9929467d00db9e80d30df1c4319.jpg","text":"TemporaryFile(/tmp/multipartBody2973617383694134253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221053578,"filename":"image_30012025_08_06_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/30/e7d803e3c8ec031714e647f6ca250b81.jpg","text":"TemporaryFile(/tmp/multipartBody4005340435484514847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221053578,"filename":"image_30012025_08_06_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/30/8be32e1251e0f19157970f58c78ff8dc.jpg","text":"TemporaryFile(/tmp/multipartBody7668709428884933315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221053578,"filename":"image_30012025_08_06_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/30/002cd392a9d4bf3eee7e5115fbcbbc21.jpg","text":"TemporaryFile(/tmp/multipartBody6859128566908613046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221053578,"filename":"image_30012025_08_06_56_10501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/180b074b9ad24ad9a7722c5fad4f9a83.jpg","text":"TemporaryFile(/tmp/multipartBody5081005465698613625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221053578,"filename":"image_30012025_08_06_46_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332920488","file1":"1332920447","file0":"1332920378","file4":"1332920527","file5":"1332920530","file3":"1332920491"},"map_files_photo_id_array":[{"photo_id":"1332920530","filename":"file5"},{"photo_id":"1332920488","filename":"file2"},{"photo_id":"1332920527","filename":"file4"},{"photo_id":"1332920447","filename":"file1"},{"photo_id":"1332920378","filename":"file0"},{"photo_id":"1332920491","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332920378":["hashtag1","hashtag2"]},{"1332920447":["hashtag1","hashtag2"]},{"1332920491":["hashtag1","hashtag2"]},{"1332920488":["hashtag1","hashtag2"]},{"1332920530":["hashtag1","hashtag2"]},{"1332920527":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332920378, 1332920447, 1332920491, 1332920488, 1332920530, 1332920527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.60525465011597 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 08:10:42.880658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/06/image_30012025_08_07_05_9355.jpg', '/home/pi/Desktop/images/30012025/08/07/image_30012025_08_07_16_10382.jpg', '/home/pi/Desktop/images/30012025/08/07/image_30012025_08_07_36_9371.jpg', '/home/pi/Desktop/images/30012025/08/07/image_30012025_08_07_46_10438.jpg', '/home/pi/Desktop/images/30012025/08/07/image_30012025_08_07_55_9351.jpg', '/home/pi/Desktop/images/30012025/08/07/image_30012025_08_08_06_10381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/06/image_30012025_08_07_05_9355.jpg
/home/pi/Desktop/images/30012025/08/07/image_30012025_08_07_16_10382.jpg
/home/pi/Desktop/images/30012025/08/07/image_30012025_08_07_36_9371.jpg
/home/pi/Desktop/images/30012025/08/07/image_30012025_08_07_46_10438.jpg
/home/pi/Desktop/images/30012025/08/07/image_30012025_08_07_55_9351.jpg
/home/pi/Desktop/images/30012025/08/07/image_30012025_08_08_06_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":["1332920788","1332920665","1332920830","1332920812","1332920751","1332920760"],"photo_ids_order":["1332920665","1332920751","1332920760","1332920788","1332920812","1332920830"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4d076d786d07154fb9a9af35e8ffa00e.jpg","text":"TemporaryFile(/tmp/multipartBody1891185649114189542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221103796,"filename":"image_30012025_08_07_46_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/331f79205fbf024f13bf22bd3eb33c48.jpg","text":"TemporaryFile(/tmp/multipartBody7896147077052207406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221103796,"filename":"image_30012025_08_07_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/30/cfc4f954b5fe6df631d6993298d8fbd6.jpg","text":"TemporaryFile(/tmp/multipartBody5628608250581022699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221103796,"filename":"image_30012025_08_08_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/30/70d9544938719949d59c82126c207beb.jpg","text":"TemporaryFile(/tmp/multipartBody4805590556909819243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221103796,"filename":"image_30012025_08_07_55_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9d4b5d342b005c7bca300696bdfca050.jpg","text":"TemporaryFile(/tmp/multipartBody418497360351216731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221103796,"filename":"image_30012025_08_07_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/30/1eef48c1e20a19f85548de40d3e12d80.jpg","text":"TemporaryFile(/tmp/multipartBody7849135443792080537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221103796,"filename":"image_30012025_08_07_36_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332920760","file1":"1332920751","file0":"1332920665","file4":"1332920812","file5":"1332920830","file3":"1332920788"},"map_files_photo_id_array":[{"photo_id":"1332920830","filename":"file5"},{"photo_id":"1332920760","filename":"file2"},{"photo_id":"1332920812","filename":"file4"},{"photo_id":"1332920751","filename":"file1"},{"photo_id":"1332920665","filename":"file0"},{"photo_id":"1332920788","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332920788":["hashtag1","hashtag2"]},{"1332920665":["hashtag1","hashtag2"]},{"1332920830":["hashtag1","hashtag2"]},{"1332920812":["hashtag1","hashtag2"]},{"1332920751":["hashtag1","hashtag2"]},{"1332920760":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332920788, 1332920665, 1332920830, 1332920812, 1332920751, 1332920760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.89677691459656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:11:33.109807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/08/image_30012025_08_08_16_10357.jpg', '/home/pi/Desktop/images/30012025/08/08/image_30012025_08_08_25_9374.jpg', '/home/pi/Desktop/images/30012025/08/08/image_30012025_08_08_36_10368.jpg', '/home/pi/Desktop/images/30012025/08/08/image_30012025_08_08_46_10346.jpg', '/home/pi/Desktop/images/30012025/08/08/image_30012025_08_08_56_9426.jpg', '/home/pi/Desktop/images/30012025/08/08/image_30012025_08_09_06_10443.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/08/image_30012025_08_08_16_10357.jpg
/home/pi/Desktop/images/30012025/08/08/image_30012025_08_08_25_9374.jpg
/home/pi/Desktop/images/30012025/08/08/image_30012025_08_08_36_10368.jpg
/home/pi/Desktop/images/30012025/08/08/image_30012025_08_08_46_10346.jpg
/home/pi/Desktop/images/30012025/08/08/image_30012025_08_08_56_9426.jpg
/home/pi/Desktop/images/30012025/08/08/image_30012025_08_09_06_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332920927","1332920906","1332920932","1332920941","1332920917","1332920898"],"photo_ids_order":["1332920898","1332920906","1332920917","1332920927","1332920932","1332920941"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ebb3cd89e0a25093799e0808befb679f.jpg","text":"TemporaryFile(/tmp/multipartBody529017316591532395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221154014,"filename":"image_30012025_08_08_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/30/a42ba88e8235809f754e69aa84ebe14d.jpg","text":"TemporaryFile(/tmp/multipartBody357270395253507795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221154014,"filename":"image_30012025_08_08_25_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/30/545aed0e81699fa1955675cbe0d1129e.jpg","text":"TemporaryFile(/tmp/multipartBody7002633410721418720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221154014,"filename":"image_30012025_08_08_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/30/caa918061bb75f89f72e83f1784cf8cd.jpg","text":"TemporaryFile(/tmp/multipartBody7559726170626551528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221154014,"filename":"image_30012025_08_09_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/30/2044608466ffb934a64b5340af9f5cfa.jpg","text":"TemporaryFile(/tmp/multipartBody7505209457178839761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221154014,"filename":"image_30012025_08_08_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/30/331ebcd6dd2c1d59d7a707c7070cf5e5.jpg","text":"TemporaryFile(/tmp/multipartBody3001432780755194910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221154014,"filename":"image_30012025_08_08_16_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332920917","file1":"1332920906","file0":"1332920898","file4":"1332920932","file5":"1332920941","file3":"1332920927"},"map_files_photo_id_array":[{"photo_id":"1332920941","filename":"file5"},{"photo_id":"1332920917","filename":"file2"},{"photo_id":"1332920932","filename":"file4"},{"photo_id":"1332920906","filename":"file1"},{"photo_id":"1332920898","filename":"file0"},{"photo_id":"1332920927","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332920927":["hashtag1","hashtag2"]},{"1332920906":["hashtag1","hashtag2"]},{"1332920932":["hashtag1","hashtag2"]},{"1332920941":["hashtag1","hashtag2"]},{"1332920917":["hashtag1","hashtag2"]},{"1332920898":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332920927, 1332920906, 1332920932, 1332920941, 1332920917, 1332920898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.993178606033325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:12:32.381636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/09/image_30012025_08_09_15_9348.jpg', '/home/pi/Desktop/images/30012025/08/09/image_30012025_08_09_26_10346.jpg', '/home/pi/Desktop/images/30012025/08/09/image_30012025_08_09_36_10466.jpg', '/home/pi/Desktop/images/30012025/08/09/image_30012025_08_09_46_9397.jpg', '/home/pi/Desktop/images/30012025/08/09/image_30012025_08_09_56_10498.jpg', '/home/pi/Desktop/images/30012025/08/09/image_30012025_08_10_05_9370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/09/image_30012025_08_09_15_9348.jpg
/home/pi/Desktop/images/30012025/08/09/image_30012025_08_09_26_10346.jpg
/home/pi/Desktop/images/30012025/08/09/image_30012025_08_09_36_10466.jpg
/home/pi/Desktop/images/30012025/08/09/image_30012025_08_09_46_9397.jpg
/home/pi/Desktop/images/30012025/08/09/image_30012025_08_09_56_10498.jpg
/home/pi/Desktop/images/30012025/08/09/image_30012025_08_10_05_9370.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0407214164733887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 08:12:42.398230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/09/image_30012025_08_09_15_9348.jpg', '/home/pi/Desktop/images/30012025/08/09/image_30012025_08_09_26_10346.jpg', '/home/pi/Desktop/images/30012025/08/09/image_30012025_08_09_36_10466.jpg', '/home/pi/Desktop/images/30012025/08/09/image_30012025_08_09_46_9397.jpg', '/home/pi/Desktop/images/30012025/08/09/image_30012025_08_09_56_10498.jpg', '/home/pi/Desktop/images/30012025/08/09/image_30012025_08_10_05_9370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/09/image_30012025_08_09_15_9348.jpg
/home/pi/Desktop/images/30012025/08/09/image_30012025_08_09_26_10346.jpg
/home/pi/Desktop/images/30012025/08/09/image_30012025_08_09_36_10466.jpg
/home/pi/Desktop/images/30012025/08/09/image_30012025_08_09_46_9397.jpg
/home/pi/Desktop/images/30012025/08/09/image_30012025_08_09_56_10498.jpg
/home/pi/Desktop/images/30012025/08/09/image_30012025_08_10_05_9370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332921175","1332921184","1332921163","1332921139","1332921148","1332921152"],"photo_ids_order":["1332921139","1332921148","1332921152","1332921163","1332921175","1332921184"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8a230b8d251c4ee6459ea58bd84b4e8a.jpg","text":"TemporaryFile(/tmp/multipartBody4797834987229066348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221223318,"filename":"image_30012025_08_09_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/30/d0e59f1abcef77cfbd397692dbcfb6fb.jpg","text":"TemporaryFile(/tmp/multipartBody8764742890616935606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221223318,"filename":"image_30012025_08_10_05_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/30/bdd1b66f04ee12a0917f84b49f220be8.jpg","text":"TemporaryFile(/tmp/multipartBody2420113420912587419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221223318,"filename":"image_30012025_08_09_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/30/77f31a2d321a492b3bfaecbb5b9aba73.jpg","text":"TemporaryFile(/tmp/multipartBody4144975249712588244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221223318,"filename":"image_30012025_08_09_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/30/8b4833ae9f93de9c8b483157cabc2659.jpg","text":"TemporaryFile(/tmp/multipartBody2206686040493116140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221223318,"filename":"image_30012025_08_09_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/30/38de363f9850e34dd76372ca6c881ccc.jpg","text":"TemporaryFile(/tmp/multipartBody8952762199002508212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221223318,"filename":"image_30012025_08_09_36_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332921152","file1":"1332921148","file0":"1332921139","file4":"1332921175","file5":"1332921184","file3":"1332921163"},"map_files_photo_id_array":[{"photo_id":"1332921184","filename":"file5"},{"photo_id":"1332921152","filename":"file2"},{"photo_id":"1332921175","filename":"file4"},{"photo_id":"1332921148","filename":"file1"},{"photo_id":"1332921139","filename":"file0"},{"photo_id":"1332921163","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332921175":["hashtag1","hashtag2"]},{"1332921184":["hashtag1","hashtag2"]},{"1332921163":["hashtag1","hashtag2"]},{"1332921139":["hashtag1","hashtag2"]},{"1332921148":["hashtag1","hashtag2"]},{"1332921152":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332921175, 1332921184, 1332921163, 1332921139, 1332921148, 1332921152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2567503452301 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:13:32.340116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/10/image_30012025_08_10_16_10474.jpg', '/home/pi/Desktop/images/30012025/08/10/image_30012025_08_10_26_10356.jpg', '/home/pi/Desktop/images/30012025/08/10/image_30012025_08_10_36_9346.jpg', '/home/pi/Desktop/images/30012025/08/10/image_30012025_08_10_46_10359.jpg', '/home/pi/Desktop/images/30012025/08/10/image_30012025_08_10_55_9333.jpg', '/home/pi/Desktop/images/30012025/08/10/image_30012025_08_11_06_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/10/image_30012025_08_10_16_10474.jpg
/home/pi/Desktop/images/30012025/08/10/image_30012025_08_10_26_10356.jpg
/home/pi/Desktop/images/30012025/08/10/image_30012025_08_10_36_9346.jpg
/home/pi/Desktop/images/30012025/08/10/image_30012025_08_10_46_10359.jpg
/home/pi/Desktop/images/30012025/08/10/image_30012025_08_10_55_9333.jpg
/home/pi/Desktop/images/30012025/08/10/image_30012025_08_11_06_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":["1332921203","1332921226","1332921211","1332921220","1332921216","1332921207"],"photo_ids_order":["1332921203","1332921207","1332921211","1332921216","1332921220","1332921226"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c9bfc84f89a146e7a1730f93001c1d0b.jpg","text":"TemporaryFile(/tmp/multipartBody871747953985325608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221273295,"filename":"image_30012025_08_10_16_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/30/fd733b09d1270f752d04a4c5cad6fed9.jpg","text":"TemporaryFile(/tmp/multipartBody6055889169276354553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221273295,"filename":"image_30012025_08_11_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/30/6cb6b761796a2407c7e0e183f74c1311.jpg","text":"TemporaryFile(/tmp/multipartBody1030167301801355764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221273295,"filename":"image_30012025_08_10_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/30/4cd6451040da4c1d4015b210ecc0d6e6.jpg","text":"TemporaryFile(/tmp/multipartBody4181326272174842987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221273295,"filename":"image_30012025_08_10_55_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/30/8d366f6fd4cd68986beb6f429b29d343.jpg","text":"TemporaryFile(/tmp/multipartBody650502207393504497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221273295,"filename":"image_30012025_08_10_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/30/00b53df46a6e3b07f7f2d2260267d894.jpg","text":"TemporaryFile(/tmp/multipartBody6810424763269995940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221273295,"filename":"image_30012025_08_10_26_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332921211","file1":"1332921207","file0":"1332921203","file4":"1332921220","file5":"1332921226","file3":"1332921216"},"map_files_photo_id_array":[{"photo_id":"1332921226","filename":"file5"},{"photo_id":"1332921211","filename":"file2"},{"photo_id":"1332921220","filename":"file4"},{"photo_id":"1332921207","filename":"file1"},{"photo_id":"1332921203","filename":"file0"},{"photo_id":"1332921216","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332921203":["hashtag1","hashtag2"]},{"1332921226":["hashtag1","hashtag2"]},{"1332921211":["hashtag1","hashtag2"]},{"1332921220":["hashtag1","hashtag2"]},{"1332921216":["hashtag1","hashtag2"]},{"1332921207":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332921203, 1332921226, 1332921211, 1332921220, 1332921216, 1332921207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.13961434364319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:14:32.509441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/11/image_30012025_08_11_16_10421.jpg', '/home/pi/Desktop/images/30012025/08/11/image_30012025_08_11_25_9361.jpg', '/home/pi/Desktop/images/30012025/08/11/image_30012025_08_11_36_10374.jpg', '/home/pi/Desktop/images/30012025/08/11/image_30012025_08_11_46_10416.jpg', '/home/pi/Desktop/images/30012025/08/11/image_30012025_08_11_56_9364.jpg', '/home/pi/Desktop/images/30012025/08/12/image_30012025_08_12_36_10380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/11/image_30012025_08_11_16_10421.jpg
/home/pi/Desktop/images/30012025/08/11/image_30012025_08_11_25_9361.jpg
/home/pi/Desktop/images/30012025/08/11/image_30012025_08_11_36_10374.jpg
/home/pi/Desktop/images/30012025/08/11/image_30012025_08_11_46_10416.jpg
/home/pi/Desktop/images/30012025/08/11/image_30012025_08_11_56_9364.jpg
/home/pi/Desktop/images/30012025/08/12/image_30012025_08_12_36_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":["1332921298","1332921292","1332921286","1332921305","1332921310","1332921315"],"photo_ids_order":["1332921286","1332921292","1332921298","1332921305","1332921310","1332921315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/db00f8ee8a2412ce8c5a3cc9eaca0678.jpg","text":"TemporaryFile(/tmp/multipartBody6112103766993682429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221333434,"filename":"image_30012025_08_11_36_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/30/528098e788c2d2e1db6139db86443f1a.jpg","text":"TemporaryFile(/tmp/multipartBody5353427387352991369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221333434,"filename":"image_30012025_08_11_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/30/af3b5e0c9d5cb02389eeb7da8d8e6c02.jpg","text":"TemporaryFile(/tmp/multipartBody7605043425548230479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221333434,"filename":"image_30012025_08_11_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/30/e83da42066bb6b70910b9c9ebbabbea5.jpg","text":"TemporaryFile(/tmp/multipartBody1116907358940628140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221333434,"filename":"image_30012025_08_11_46_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/40fe96a596356e827f83c34251ee03c7.jpg","text":"TemporaryFile(/tmp/multipartBody5012112163574839412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221333434,"filename":"image_30012025_08_11_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/30/7f3194836c5a51beb607f25235c09ca4.jpg","text":"TemporaryFile(/tmp/multipartBody714378534997297960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221333434,"filename":"image_30012025_08_12_36_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332921298","file1":"1332921292","file0":"1332921286","file4":"1332921310","file5":"1332921315","file3":"1332921305"},"map_files_photo_id_array":[{"photo_id":"1332921315","filename":"file5"},{"photo_id":"1332921298","filename":"file2"},{"photo_id":"1332921310","filename":"file4"},{"photo_id":"1332921292","filename":"file1"},{"photo_id":"1332921286","filename":"file0"},{"photo_id":"1332921305","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332921298":["hashtag1","hashtag2"]},{"1332921292":["hashtag1","hashtag2"]},{"1332921286":["hashtag1","hashtag2"]},{"1332921305":["hashtag1","hashtag2"]},{"1332921310":["hashtag1","hashtag2"]},{"1332921315":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332921298, 1332921292, 1332921286, 1332921305, 1332921310, 1332921315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.872528076171875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:15:32.729209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/13/image_30012025_08_13_46_10446.jpg', '/home/pi/Desktop/images/30012025/08/13/image_30012025_08_13_55_9451.jpg', '/home/pi/Desktop/images/30012025/08/13/image_30012025_08_14_06_10339.jpg', '/home/pi/Desktop/images/30012025/08/14/image_30012025_08_14_16_10481.jpg', '/home/pi/Desktop/images/30012025/08/14/image_30012025_08_14_45_9332.jpg', '/home/pi/Desktop/images/30012025/08/14/image_30012025_08_14_56_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/13/image_30012025_08_13_46_10446.jpg
/home/pi/Desktop/images/30012025/08/13/image_30012025_08_13_55_9451.jpg
/home/pi/Desktop/images/30012025/08/13/image_30012025_08_14_06_10339.jpg
/home/pi/Desktop/images/30012025/08/14/image_30012025_08_14_16_10481.jpg
/home/pi/Desktop/images/30012025/08/14/image_30012025_08_14_45_9332.jpg
/home/pi/Desktop/images/30012025/08/14/image_30012025_08_14_56_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":["1332921379","1332921373","1332921382","1332921363","1332921387","1332921348"],"photo_ids_order":["1332921348","1332921363","1332921373","1332921379","1332921382","1332921387"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bec9a573e5c84ecaf67f44b7140d9a94.jpg","text":"TemporaryFile(/tmp/multipartBody5915062593022950774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221393652,"filename":"image_30012025_08_14_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/30/d91d2a9a0e9aea35c767bc5617abba21.jpg","text":"TemporaryFile(/tmp/multipartBody3859812461262504201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221393652,"filename":"image_30012025_08_14_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/30/31a8d0be51d5e71451b637b4968ba0cc.jpg","text":"TemporaryFile(/tmp/multipartBody5822115433095085425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221393652,"filename":"image_30012025_08_14_45_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/84b97edeec7afba1e2f33486b298a5bf.jpg","text":"TemporaryFile(/tmp/multipartBody421631536222689545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221393652,"filename":"image_30012025_08_13_55_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b91438d7bfb0368505c261026e97a07b.jpg","text":"TemporaryFile(/tmp/multipartBody2578854272223320664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221393652,"filename":"image_30012025_08_14_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/30/033dffd77379786fa4dfd7f16c8c2470.jpg","text":"TemporaryFile(/tmp/multipartBody7955049570509474711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221393652,"filename":"image_30012025_08_13_46_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332921373","file1":"1332921363","file0":"1332921348","file4":"1332921382","file5":"1332921387","file3":"1332921379"},"map_files_photo_id_array":[{"photo_id":"1332921387","filename":"file5"},{"photo_id":"1332921373","filename":"file2"},{"photo_id":"1332921382","filename":"file4"},{"photo_id":"1332921363","filename":"file1"},{"photo_id":"1332921348","filename":"file0"},{"photo_id":"1332921379","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332921379":["hashtag1","hashtag2"]},{"1332921373":["hashtag1","hashtag2"]},{"1332921382":["hashtag1","hashtag2"]},{"1332921363":["hashtag1","hashtag2"]},{"1332921387":["hashtag1","hashtag2"]},{"1332921348":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332921379, 1332921373, 1332921382, 1332921363, 1332921387, 1332921348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.57488298416138 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:16:32.965762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/14/image_30012025_08_15_06_10334.jpg', '/home/pi/Desktop/images/30012025/08/15/image_30012025_08_15_36_10454.jpg', '/home/pi/Desktop/images/30012025/08/15/image_30012025_08_15_46_9352.jpg', '/home/pi/Desktop/images/30012025/08/16/image_30012025_08_16_16_10350.jpg', '/home/pi/Desktop/images/30012025/08/16/image_30012025_08_16_26_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/14/image_30012025_08_15_06_10334.jpg
/home/pi/Desktop/images/30012025/08/15/image_30012025_08_15_36_10454.jpg
/home/pi/Desktop/images/30012025/08/15/image_30012025_08_15_46_9352.jpg
/home/pi/Desktop/images/30012025/08/16/image_30012025_08_16_16_10350.jpg
/home/pi/Desktop/images/30012025/08/16/image_30012025_08_16_26_10350.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5169212818145752 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 08:16:42.919202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/14/image_30012025_08_15_06_10334.jpg', '/home/pi/Desktop/images/30012025/08/15/image_30012025_08_15_36_10454.jpg', '/home/pi/Desktop/images/30012025/08/15/image_30012025_08_15_46_9352.jpg', '/home/pi/Desktop/images/30012025/08/16/image_30012025_08_16_16_10350.jpg', '/home/pi/Desktop/images/30012025/08/16/image_30012025_08_16_26_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/14/image_30012025_08_15_06_10334.jpg
/home/pi/Desktop/images/30012025/08/15/image_30012025_08_15_36_10454.jpg
/home/pi/Desktop/images/30012025/08/15/image_30012025_08_15_46_9352.jpg
/home/pi/Desktop/images/30012025/08/16/image_30012025_08_16_16_10350.jpg
/home/pi/Desktop/images/30012025/08/16/image_30012025_08_16_26_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332921545","1332921688","1332921654","1332921683","1332921686"],"photo_ids_order":["1332921545","1332921654","1332921683","1332921686","1332921688"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7db84e06d876e39edcbdf5447ec274d2.jpg","text":"TemporaryFile(/tmp/multipartBody5377499905568344233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221463810,"filename":"image_30012025_08_15_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/30/b1960c87cc73842a1fc9c70166c6c4e7.jpg","text":"TemporaryFile(/tmp/multipartBody1234804264850688109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221463810,"filename":"image_30012025_08_16_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/30/48c958322551c1b3113cb952ce36ebd2.jpg","text":"TemporaryFile(/tmp/multipartBody5668392079585158737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221463810,"filename":"image_30012025_08_15_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/30/918c39f755f13608079f115cd62c137e.jpg","text":"TemporaryFile(/tmp/multipartBody6746176118592802403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221463810,"filename":"image_30012025_08_15_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/30/4f7d2fa9524b537c70d54f901e900aad.jpg","text":"TemporaryFile(/tmp/multipartBody6094019508191969782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221463810,"filename":"image_30012025_08_16_16_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332921683","file1":"1332921654","file0":"1332921545","file4":"1332921688","file3":"1332921686"},"map_files_photo_id_array":[{"photo_id":"1332921683","filename":"file2"},{"photo_id":"1332921688","filename":"file4"},{"photo_id":"1332921654","filename":"file1"},{"photo_id":"1332921545","filename":"file0"},{"photo_id":"1332921686","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332921545":["hashtag1","hashtag2"]},{"1332921688":["hashtag1","hashtag2"]},{"1332921654":["hashtag1","hashtag2"]},{"1332921683":["hashtag1","hashtag2"]},{"1332921686":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332921545, 1332921688, 1332921654, 1332921683, 1332921686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.64165663719177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:17:32.194178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/16/image_30012025_08_16_35_9373.jpg', '/home/pi/Desktop/images/30012025/08/17/image_30012025_08_17_15_9902.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/16/image_30012025_08_16_35_9373.jpg
/home/pi/Desktop/images/30012025/08/17/image_30012025_08_17_15_9902.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332921807","1332921860"],"photo_ids_order":["1332921807","1332921860"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f72aaa5e7d015312b93e7dce27b00df0.jpg","text":"TemporaryFile(/tmp/multipartBody7866058729524240188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221513046,"filename":"image_30012025_08_16_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/30/783e5176daf87c8dea497bd94172c5a7.jpg","text":"TemporaryFile(/tmp/multipartBody7547236238590808898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221513046,"filename":"image_30012025_08_17_15_9902.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1332921860","file0":"1332921807"},"map_files_photo_id_array":[{"photo_id":"1332921860","filename":"file1"},{"photo_id":"1332921807","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332921807":["hashtag1","hashtag2"]},{"1332921860":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332921807, 1332921860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.40982675552368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:17:52.227728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/37/image_28012025_20_37_45_10350.jpg', '/home/pi/Desktop/images/28012025/20/37/image_28012025_20_37_55_10434.jpg', '/home/pi/Desktop/images/28012025/20/37/image_28012025_20_38_05_9340.jpg', '/home/pi/Desktop/images/28012025/20/38/image_28012025_20_38_15_10350.jpg', '/home/pi/Desktop/images/28012025/20/38/image_28012025_20_38_24_9455.jpg', '/home/pi/Desktop/images/28012025/20/38/image_28012025_20_38_35_10460.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/37/image_28012025_20_37_45_10350.jpg
/home/pi/Desktop/images/28012025/20/37/image_28012025_20_37_55_10434.jpg
/home/pi/Desktop/images/28012025/20/37/image_28012025_20_38_05_9340.jpg
/home/pi/Desktop/images/28012025/20/38/image_28012025_20_38_15_10350.jpg
/home/pi/Desktop/images/28012025/20/38/image_28012025_20_38_24_9455.jpg
/home/pi/Desktop/images/28012025/20/38/image_28012025_20_38_35_10460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332921880","1332921871","1332921885","1332921890","1332921878","1332921875"],"photo_ids_order":["1332921871","1332921875","1332921878","1332921880","1332921885","1332921890"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e0b0c692234fe6cb3249565414b00b37.jpg","text":"TemporaryFile(/tmp/multipartBody820435906832825193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221534743,"filename":"image_28012025_20_38_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/30/ea51223587ff8b59bb7b7ac253492aef.jpg","text":"TemporaryFile(/tmp/multipartBody8226914744256640703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221534743,"filename":"image_28012025_20_37_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/30/9481d559fb554c24f958b1ce8d15e52a.jpg","text":"TemporaryFile(/tmp/multipartBody5880891430028190882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221534743,"filename":"image_28012025_20_38_24_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/30/17f0c00e24a09f37e4d5854d787e1805.jpg","text":"TemporaryFile(/tmp/multipartBody5296552378633857985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221534743,"filename":"image_28012025_20_38_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/30/396aa814e31e7d6eba3c674f3d90fd55.jpg","text":"TemporaryFile(/tmp/multipartBody2967142518362847677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221534743,"filename":"image_28012025_20_38_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/30/047fa643003a94edd2472994e447011a.jpg","text":"TemporaryFile(/tmp/multipartBody8566121732639409767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221534743,"filename":"image_28012025_20_37_55_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332921878","file1":"1332921875","file0":"1332921871","file4":"1332921885","file5":"1332921890","file3":"1332921880"},"map_files_photo_id_array":[{"photo_id":"1332921890","filename":"file5"},{"photo_id":"1332921878","filename":"file2"},{"photo_id":"1332921885","filename":"file4"},{"photo_id":"1332921875","filename":"file1"},{"photo_id":"1332921871","filename":"file0"},{"photo_id":"1332921880","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332921880":["hashtag1","hashtag2"]},{"1332921871":["hashtag1","hashtag2"]},{"1332921885":["hashtag1","hashtag2"]},{"1332921890":["hashtag1","hashtag2"]},{"1332921878":["hashtag1","hashtag2"]},{"1332921875":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332921880, 1332921871, 1332921885, 1332921890, 1332921878, 1332921875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.907862424850464 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 08:18:42.399465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/17/image_30012025_08_17_56_10418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/17/image_30012025_08_17_56_10418.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332921905"],"photo_id":"1332921905","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5bd89bd35dc6653155d6f15c09ac5794.jpg","text":"TemporaryFile(/tmp/multipartBody4528598028318004129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221583218,"filename":"image_30012025_08_17_56_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1332921905"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1332921905"}],"hashtags":[],"portfolio_id":"20052290","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.450262308120728 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 08:19:04.284769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/38/image_28012025_20_38_45_10378.jpg', '/home/pi/Desktop/images/28012025/20/38/image_28012025_20_38_55_9356.jpg', '/home/pi/Desktop/images/28012025/20/38/image_28012025_20_39_05_10354.jpg', '/home/pi/Desktop/images/28012025/20/39/image_28012025_20_39_14_9447.jpg', '/home/pi/Desktop/images/28012025/20/39/image_28012025_20_39_25_10434.jpg', '/home/pi/Desktop/images/28012025/20/39/image_28012025_20_39_35_10413.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/38/image_28012025_20_38_45_10378.jpg
/home/pi/Desktop/images/28012025/20/38/image_28012025_20_38_55_9356.jpg
/home/pi/Desktop/images/28012025/20/38/image_28012025_20_39_05_10354.jpg
/home/pi/Desktop/images/28012025/20/39/image_28012025_20_39_14_9447.jpg
/home/pi/Desktop/images/28012025/20/39/image_28012025_20_39_25_10434.jpg
/home/pi/Desktop/images/28012025/20/39/image_28012025_20_39_35_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":["1332921935","1332921929","1332921923","1332921925","1332921921","1332921944"],"photo_ids_order":["1332921921","1332921923","1332921925","1332921929","1332921935","1332921944"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a3ceac2f059c8142e6ce35ac91c9c527.jpg","text":"TemporaryFile(/tmp/multipartBody2179787989410168187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221606358,"filename":"image_28012025_20_39_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/30/292df42065ffc8c72e6a30037957a2bd.jpg","text":"TemporaryFile(/tmp/multipartBody399717769784700830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221606358,"filename":"image_28012025_20_39_14_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d8a25fbce8e644e4e94fddda92cf18ab.jpg","text":"TemporaryFile(/tmp/multipartBody7092120635054643563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221606358,"filename":"image_28012025_20_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/30/29257d0e996fa5681af481df61663c96.jpg","text":"TemporaryFile(/tmp/multipartBody2570203558951290449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221606358,"filename":"image_28012025_20_39_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/30/7e995de4f3c08e0de97d79307927c2e4.jpg","text":"TemporaryFile(/tmp/multipartBody6125358487307044936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221606358,"filename":"image_28012025_20_38_45_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/30/2c63318b8f6386007856bcb9b7f77f00.jpg","text":"TemporaryFile(/tmp/multipartBody1330751205765706246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221606358,"filename":"image_28012025_20_39_35_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332921925","file1":"1332921923","file0":"1332921921","file4":"1332921935","file5":"1332921944","file3":"1332921929"},"map_files_photo_id_array":[{"photo_id":"1332921944","filename":"file5"},{"photo_id":"1332921925","filename":"file2"},{"photo_id":"1332921935","filename":"file4"},{"photo_id":"1332921923","filename":"file1"},{"photo_id":"1332921921","filename":"file0"},{"photo_id":"1332921929","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332921935":["hashtag1","hashtag2"]},{"1332921929":["hashtag1","hashtag2"]},{"1332921923":["hashtag1","hashtag2"]},{"1332921925":["hashtag1","hashtag2"]},{"1332921921":["hashtag1","hashtag2"]},{"1332921944":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332921935, 1332921929, 1332921923, 1332921925, 1332921921, 1332921944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.51602602005005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:19:54.049639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/18/image_30012025_08_18_55_9353.jpg', '/home/pi/Desktop/images/30012025/08/18/image_30012025_08_19_06_10421.jpg', '/home/pi/Desktop/images/30012025/08/19/image_30012025_08_19_16_10368.jpg', '/home/pi/Desktop/images/30012025/08/19/image_30012025_08_19_26_9398.jpg', '/home/pi/Desktop/images/30012025/08/19/image_30012025_08_19_36_10550.jpg', '/home/pi/Desktop/images/30012025/08/19/image_30012025_08_19_46_9441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/18/image_30012025_08_18_55_9353.jpg
/home/pi/Desktop/images/30012025/08/18/image_30012025_08_19_06_10421.jpg
/home/pi/Desktop/images/30012025/08/19/image_30012025_08_19_16_10368.jpg
/home/pi/Desktop/images/30012025/08/19/image_30012025_08_19_26_9398.jpg
/home/pi/Desktop/images/30012025/08/19/image_30012025_08_19_36_10550.jpg
/home/pi/Desktop/images/30012025/08/19/image_30012025_08_19_46_9441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332921988","1332921990","1332921978","1332921972","1332921983","1332921968"],"photo_ids_order":["1332921968","1332921972","1332921978","1332921983","1332921988","1332921990"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/69064da37dd7bd886fd6d6242db0e773.jpg","text":"TemporaryFile(/tmp/multipartBody4069706854358412995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221654965,"filename":"image_30012025_08_19_36_10550.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f1ffeb74dcdc2cf7f8e9f9922c48aac7.jpg","text":"TemporaryFile(/tmp/multipartBody8255673935788421498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221654965,"filename":"image_30012025_08_19_46_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/30/90e68ce5488eff0d8e1b646bc139ec59.jpg","text":"TemporaryFile(/tmp/multipartBody7801270933697430475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221654965,"filename":"image_30012025_08_19_16_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4700d899edbba3da6177298650facf32.jpg","text":"TemporaryFile(/tmp/multipartBody8519409936222214568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221654965,"filename":"image_30012025_08_19_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/30/3f8a9c102b5c19f0c12adeff76952e66.jpg","text":"TemporaryFile(/tmp/multipartBody6427634401266084683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221654965,"filename":"image_30012025_08_19_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/30/300324aa6ab563f65cd436bd7b34684f.jpg","text":"TemporaryFile(/tmp/multipartBody840580679959660022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221654965,"filename":"image_30012025_08_18_55_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332921978","file1":"1332921972","file0":"1332921968","file4":"1332921988","file5":"1332921990","file3":"1332921983"},"map_files_photo_id_array":[{"photo_id":"1332921990","filename":"file5"},{"photo_id":"1332921978","filename":"file2"},{"photo_id":"1332921988","filename":"file4"},{"photo_id":"1332921972","filename":"file1"},{"photo_id":"1332921968","filename":"file0"},{"photo_id":"1332921983","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332921988":["hashtag1","hashtag2"]},{"1332921990":["hashtag1","hashtag2"]},{"1332921978":["hashtag1","hashtag2"]},{"1332921972":["hashtag1","hashtag2"]},{"1332921983":["hashtag1","hashtag2"]},{"1332921968":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332921988, 1332921990, 1332921978, 1332921972, 1332921983, 1332921968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38297915458679 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 08:20:42.165345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/19/image_30012025_08_19_56_10419.jpg', '/home/pi/Desktop/images/30012025/08/19/image_30012025_08_20_05_9401.jpg', '/home/pi/Desktop/images/30012025/08/20/image_30012025_08_20_16_10354.jpg', '/home/pi/Desktop/images/30012025/08/20/image_30012025_08_20_26_10446.jpg', '/home/pi/Desktop/images/30012025/08/20/image_30012025_08_20_35_9351.jpg', '/home/pi/Desktop/images/30012025/08/20/image_30012025_08_20_46_10479.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/19/image_30012025_08_19_56_10419.jpg
/home/pi/Desktop/images/30012025/08/19/image_30012025_08_20_05_9401.jpg
/home/pi/Desktop/images/30012025/08/20/image_30012025_08_20_16_10354.jpg
/home/pi/Desktop/images/30012025/08/20/image_30012025_08_20_26_10446.jpg
/home/pi/Desktop/images/30012025/08/20/image_30012025_08_20_35_9351.jpg
/home/pi/Desktop/images/30012025/08/20/image_30012025_08_20_46_10479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332922010","1332922004","1332922029","1332922025","1332922022","1332922016"],"photo_ids_order":["1332922004","1332922010","1332922016","1332922022","1332922025","1332922029"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d6b7c1012111c1ca8bbe936d5be5e09e.jpg","text":"TemporaryFile(/tmp/multipartBody4738345371816872301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221703123,"filename":"image_30012025_08_20_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/30/855c1336a9147969d76fdb83ebe2133d.jpg","text":"TemporaryFile(/tmp/multipartBody6868103001028552010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221703123,"filename":"image_30012025_08_19_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/30/0de0da93705e9fe7b52cabd2045bdb6e.jpg","text":"TemporaryFile(/tmp/multipartBody9123765932448027744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221703123,"filename":"image_30012025_08_20_46_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/30/a47a15b9e8a25c3ba02f82987b626d37.jpg","text":"TemporaryFile(/tmp/multipartBody1969673055454890819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221703123,"filename":"image_30012025_08_20_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/30/7055f55c39f2b3f0a8a063648377c271.jpg","text":"TemporaryFile(/tmp/multipartBody7298985102569088937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221703123,"filename":"image_30012025_08_20_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/30/6f72f40ae441806a08f91547f02ba402.jpg","text":"TemporaryFile(/tmp/multipartBody304614876495382699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221703123,"filename":"image_30012025_08_20_16_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332922016","file1":"1332922010","file0":"1332922004","file4":"1332922025","file5":"1332922029","file3":"1332922022"},"map_files_photo_id_array":[{"photo_id":"1332922029","filename":"file5"},{"photo_id":"1332922016","filename":"file2"},{"photo_id":"1332922025","filename":"file4"},{"photo_id":"1332922010","filename":"file1"},{"photo_id":"1332922004","filename":"file0"},{"photo_id":"1332922022","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332922010":["hashtag1","hashtag2"]},{"1332922004":["hashtag1","hashtag2"]},{"1332922029":["hashtag1","hashtag2"]},{"1332922025":["hashtag1","hashtag2"]},{"1332922022":["hashtag1","hashtag2"]},{"1332922016":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332922010, 1332922004, 1332922029, 1332922025, 1332922022, 1332922016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.220250844955444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:21:32.384648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/20/image_30012025_08_20_56_10334.jpg', '/home/pi/Desktop/images/30012025/08/20/image_30012025_08_21_06_9436.jpg', '/home/pi/Desktop/images/30012025/08/21/image_30012025_08_21_16_10348.jpg', '/home/pi/Desktop/images/30012025/08/21/image_30012025_08_21_25_9364.jpg', '/home/pi/Desktop/images/30012025/08/21/image_30012025_08_21_36_10344.jpg', '/home/pi/Desktop/images/30012025/08/21/image_30012025_08_21_46_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/20/image_30012025_08_20_56_10334.jpg
/home/pi/Desktop/images/30012025/08/20/image_30012025_08_21_06_9436.jpg
/home/pi/Desktop/images/30012025/08/21/image_30012025_08_21_16_10348.jpg
/home/pi/Desktop/images/30012025/08/21/image_30012025_08_21_25_9364.jpg
/home/pi/Desktop/images/30012025/08/21/image_30012025_08_21_36_10344.jpg
/home/pi/Desktop/images/30012025/08/21/image_30012025_08_21_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":["1332922078","1332922053","1332922047","1332922082","1332922064","1332922055"],"photo_ids_order":["1332922047","1332922053","1332922055","1332922064","1332922078","1332922082"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/112809a347da3f491d0ac199c9652d38.jpg","text":"TemporaryFile(/tmp/multipartBody5834181132340017410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221753306,"filename":"image_30012025_08_21_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/30/d4c4cc25c7b2472fd0819de79a64521a.jpg","text":"TemporaryFile(/tmp/multipartBody80298615508884022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221753306,"filename":"image_30012025_08_21_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/30/0fed32530352754a2ea51e9292c86420.jpg","text":"TemporaryFile(/tmp/multipartBody1248678599259357195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221753306,"filename":"image_30012025_08_20_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/30/635fd6e56de7b2d56bb78027f789da5f.jpg","text":"TemporaryFile(/tmp/multipartBody5369420564083806255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221753306,"filename":"image_30012025_08_21_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/30/6437dd829ba8e5c394da06c7443da5c2.jpg","text":"TemporaryFile(/tmp/multipartBody7849020658011037847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221753306,"filename":"image_30012025_08_21_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/30/f95b4586bab7b6f5860216e11989c8a8.jpg","text":"TemporaryFile(/tmp/multipartBody8503637240821338022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221753306,"filename":"image_30012025_08_21_16_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332922055","file1":"1332922053","file0":"1332922047","file4":"1332922078","file5":"1332922082","file3":"1332922064"},"map_files_photo_id_array":[{"photo_id":"1332922082","filename":"file5"},{"photo_id":"1332922055","filename":"file2"},{"photo_id":"1332922078","filename":"file4"},{"photo_id":"1332922053","filename":"file1"},{"photo_id":"1332922047","filename":"file0"},{"photo_id":"1332922064","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332922078":["hashtag1","hashtag2"]},{"1332922053":["hashtag1","hashtag2"]},{"1332922047":["hashtag1","hashtag2"]},{"1332922082":["hashtag1","hashtag2"]},{"1332922064":["hashtag1","hashtag2"]},{"1332922055":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332922078, 1332922053, 1332922047, 1332922082, 1332922064, 1332922055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.23198962211609 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:22:32.649236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/21/image_30012025_08_21_56_9339.jpg', '/home/pi/Desktop/images/30012025/08/21/image_30012025_08_22_06_10442.jpg', '/home/pi/Desktop/images/30012025/08/22/image_30012025_08_22_15_9395.jpg', '/home/pi/Desktop/images/30012025/08/22/image_30012025_08_22_36_10360.jpg', '/home/pi/Desktop/images/30012025/08/22/image_30012025_08_22_45_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/21/image_30012025_08_21_56_9339.jpg
/home/pi/Desktop/images/30012025/08/21/image_30012025_08_22_06_10442.jpg
/home/pi/Desktop/images/30012025/08/22/image_30012025_08_22_15_9395.jpg
/home/pi/Desktop/images/30012025/08/22/image_30012025_08_22_36_10360.jpg
/home/pi/Desktop/images/30012025/08/22/image_30012025_08_22_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":["1332922174","1332922441","1332922336","1332922107","1332922256"],"photo_ids_order":["1332922107","1332922174","1332922256","1332922336","1332922441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7ec99672959950eb53e2d9e35a1873e1.jpg","text":"TemporaryFile(/tmp/multipartBody1017905845153767166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221813556,"filename":"image_30012025_08_22_06_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/30/4cb84aacb5cca33c51a047f550e27205.jpg","text":"TemporaryFile(/tmp/multipartBody1897373070750133450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221813556,"filename":"image_30012025_08_22_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/30/49f7267c22870f40029f940dbae45336.jpg","text":"TemporaryFile(/tmp/multipartBody4042903531422266401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221813556,"filename":"image_30012025_08_22_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/30/b014cade772216cb588d591b347ad8ec.jpg","text":"TemporaryFile(/tmp/multipartBody4005333423404169363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221813556,"filename":"image_30012025_08_21_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/30/90ab940e94ec34b6efa5d753ecf10712.jpg","text":"TemporaryFile(/tmp/multipartBody7042186525912440046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221813556,"filename":"image_30012025_08_22_15_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332922256","file1":"1332922174","file0":"1332922107","file4":"1332922441","file3":"1332922336"},"map_files_photo_id_array":[{"photo_id":"1332922256","filename":"file2"},{"photo_id":"1332922441","filename":"file4"},{"photo_id":"1332922174","filename":"file1"},{"photo_id":"1332922107","filename":"file0"},{"photo_id":"1332922336","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332922174":["hashtag1","hashtag2"]},{"1332922441":["hashtag1","hashtag2"]},{"1332922336":["hashtag1","hashtag2"]},{"1332922107":["hashtag1","hashtag2"]},{"1332922256":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332922174, 1332922441, 1332922336, 1332922107, 1332922256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.43574905395508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:23:32.926749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/22/image_30012025_08_22_56_10345.jpg', '/home/pi/Desktop/images/30012025/08/22/image_30012025_08_23_06_10366.jpg', '/home/pi/Desktop/images/30012025/08/23/image_30012025_08_23_26_10460.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/22/image_30012025_08_22_56_10345.jpg
/home/pi/Desktop/images/30012025/08/22/image_30012025_08_23_06_10366.jpg
/home/pi/Desktop/images/30012025/08/23/image_30012025_08_23_26_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":["1332922858","1332922831","1332922808"],"photo_ids_order":["1332922808","1332922831","1332922858"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3a0a85f7b2a5a4911d738c8507cd9497.jpg","text":"TemporaryFile(/tmp/multipartBody3985977253209554850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221873788,"filename":"image_30012025_08_23_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/30/34ba4f3acb0d7beef36b3350b7d7ef7a.jpg","text":"TemporaryFile(/tmp/multipartBody6646618804296204733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221873788,"filename":"image_30012025_08_23_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/30/c814b4108a5c6e7b6aed0408948c0bb4.jpg","text":"TemporaryFile(/tmp/multipartBody3996230052733835902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221873788,"filename":"image_30012025_08_22_56_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332922858","file1":"1332922831","file0":"1332922808"},"map_files_photo_id_array":[{"photo_id":"1332922858","filename":"file2"},{"photo_id":"1332922831","filename":"file1"},{"photo_id":"1332922808","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332922858":["hashtag1","hashtag2"]},{"1332922831":["hashtag1","hashtag2"]},{"1332922808":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332922858, 1332922831, 1332922808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.29065299034119 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:24:33.016646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/23/image_30012025_08_23_56_10416.jpg', '/home/pi/Desktop/images/30012025/08/23/image_30012025_08_24_05_9345.jpg', '/home/pi/Desktop/images/30012025/08/24/image_30012025_08_24_26_10446.jpg', '/home/pi/Desktop/images/30012025/08/24/image_30012025_08_24_46_10392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/23/image_30012025_08_23_56_10416.jpg
/home/pi/Desktop/images/30012025/08/23/image_30012025_08_24_05_9345.jpg
/home/pi/Desktop/images/30012025/08/24/image_30012025_08_24_26_10446.jpg
/home/pi/Desktop/images/30012025/08/24/image_30012025_08_24_46_10392.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4956033229827881 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 08:24:43.077876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/23/image_30012025_08_23_56_10416.jpg', '/home/pi/Desktop/images/30012025/08/23/image_30012025_08_24_05_9345.jpg', '/home/pi/Desktop/images/30012025/08/24/image_30012025_08_24_26_10446.jpg', '/home/pi/Desktop/images/30012025/08/24/image_30012025_08_24_46_10392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/23/image_30012025_08_23_56_10416.jpg
/home/pi/Desktop/images/30012025/08/23/image_30012025_08_24_05_9345.jpg
/home/pi/Desktop/images/30012025/08/24/image_30012025_08_24_26_10446.jpg
/home/pi/Desktop/images/30012025/08/24/image_30012025_08_24_46_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332923109","1332923048","1332923042","1332923158"],"photo_ids_order":["1332923042","1332923048","1332923109","1332923158"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d4877cc99607a926d38a1bd92af11404.jpg","text":"TemporaryFile(/tmp/multipartBody7151912801734721720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221943961,"filename":"image_30012025_08_24_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/30/de8a8016e7dc138140dfe4a4774e43ee.jpg","text":"TemporaryFile(/tmp/multipartBody6341258639679040364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221943961,"filename":"image_30012025_08_24_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/30/0763fd73890ce5cc2de2f371f3c16742.jpg","text":"TemporaryFile(/tmp/multipartBody3907049041136592951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221943961,"filename":"image_30012025_08_23_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/30/d7266f1bb74fbcc90a67c6ccd6a04e94.jpg","text":"TemporaryFile(/tmp/multipartBody4248346231193540535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221943961,"filename":"image_30012025_08_24_46_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332923109","file1":"1332923048","file0":"1332923042","file3":"1332923158"},"map_files_photo_id_array":[{"photo_id":"1332923109","filename":"file2"},{"photo_id":"1332923048","filename":"file1"},{"photo_id":"1332923042","filename":"file0"},{"photo_id":"1332923158","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332923109":["hashtag1","hashtag2"]},{"1332923048":["hashtag1","hashtag2"]},{"1332923042":["hashtag1","hashtag2"]},{"1332923158":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332923109, 1332923048, 1332923042, 1332923158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 35.26219606399536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:25:32.210630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/24/image_30012025_08_24_55_9346.jpg', '/home/pi/Desktop/images/30012025/08/24/image_30012025_08_25_06_10348.jpg', '/home/pi/Desktop/images/30012025/08/25/image_30012025_08_25_16_10402.jpg', '/home/pi/Desktop/images/30012025/08/25/image_30012025_08_25_26_9398.jpg', '/home/pi/Desktop/images/30012025/08/25/image_30012025_08_25_46_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/24/image_30012025_08_24_55_9346.jpg
/home/pi/Desktop/images/30012025/08/24/image_30012025_08_25_06_10348.jpg
/home/pi/Desktop/images/30012025/08/25/image_30012025_08_25_16_10402.jpg
/home/pi/Desktop/images/30012025/08/25/image_30012025_08_25_26_9398.jpg
/home/pi/Desktop/images/30012025/08/25/image_30012025_08_25_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":["1332923199","1332923205","1332923192","1332923210","1332923182"],"photo_ids_order":["1332923182","1332923192","1332923199","1332923205","1332923210"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c24a8dbb22b1115bd09cbec4c1ad8ebe.jpg","text":"TemporaryFile(/tmp/multipartBody5645551847610873650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221993111,"filename":"image_30012025_08_25_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/30/5ef134f5224e8671487c500402623d4e.jpg","text":"TemporaryFile(/tmp/multipartBody9135628440675538519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221993111,"filename":"image_30012025_08_25_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/30/a1cc20d0734f8ad9ad90d0bd2a6b1513.jpg","text":"TemporaryFile(/tmp/multipartBody1899404137732180247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221993111,"filename":"image_30012025_08_25_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/30/ef9e2fd4adc8547bc0c31b11ed15b1b9.jpg","text":"TemporaryFile(/tmp/multipartBody4094362900926726688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221993111,"filename":"image_30012025_08_25_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/30/2ada2ba71f24b3a65d7837f1b5c1c8a3.jpg","text":"TemporaryFile(/tmp/multipartBody6448715271127171390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738221993111,"filename":"image_30012025_08_24_55_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332923199","file1":"1332923192","file0":"1332923182","file4":"1332923210","file3":"1332923205"},"map_files_photo_id_array":[{"photo_id":"1332923199","filename":"file2"},{"photo_id":"1332923210","filename":"file4"},{"photo_id":"1332923192","filename":"file1"},{"photo_id":"1332923182","filename":"file0"},{"photo_id":"1332923205","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332923199":["hashtag1","hashtag2"]},{"1332923205":["hashtag1","hashtag2"]},{"1332923192":["hashtag1","hashtag2"]},{"1332923210":["hashtag1","hashtag2"]},{"1332923182":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332923199, 1332923205, 1332923192, 1332923210, 1332923182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 39.2484335899353 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:26:32.379462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/25/image_30012025_08_25_56_9404.jpg', '/home/pi/Desktop/images/30012025/08/26/image_30012025_08_26_15_9346.jpg', '/home/pi/Desktop/images/30012025/08/26/image_30012025_08_26_26_10337.jpg', '/home/pi/Desktop/images/30012025/08/26/image_30012025_08_26_36_10377.jpg', '/home/pi/Desktop/images/30012025/08/26/image_30012025_08_26_45_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/25/image_30012025_08_25_56_9404.jpg
/home/pi/Desktop/images/30012025/08/26/image_30012025_08_26_15_9346.jpg
/home/pi/Desktop/images/30012025/08/26/image_30012025_08_26_26_10337.jpg
/home/pi/Desktop/images/30012025/08/26/image_30012025_08_26_36_10377.jpg
/home/pi/Desktop/images/30012025/08/26/image_30012025_08_26_45_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":["1332923233","1332923227","1332923256","1332923240","1332923237"],"photo_ids_order":["1332923227","1332923233","1332923237","1332923240","1332923256"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9a96b7b5aa93359f5c7af3f0aca36eee.jpg","text":"TemporaryFile(/tmp/multipartBody6381504139995617675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222053293,"filename":"image_30012025_08_26_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/30/1a321ef2569109a500710ca0ceb9207a.jpg","text":"TemporaryFile(/tmp/multipartBody462014486688273407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222053293,"filename":"image_30012025_08_25_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/30/a5aedd197217b6b4ab6bf9c489338472.jpg","text":"TemporaryFile(/tmp/multipartBody7554493035047029833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222053293,"filename":"image_30012025_08_26_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/30/d0f8517249fc77950b7a78b8d10c1780.jpg","text":"TemporaryFile(/tmp/multipartBody3219239240680406733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222053293,"filename":"image_30012025_08_26_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/30/7b4896749a2faa434d8cd81dd4d79b64.jpg","text":"TemporaryFile(/tmp/multipartBody256387792131071728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222053293,"filename":"image_30012025_08_26_26_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332923237","file1":"1332923233","file0":"1332923227","file4":"1332923256","file3":"1332923240"},"map_files_photo_id_array":[{"photo_id":"1332923237","filename":"file2"},{"photo_id":"1332923256","filename":"file4"},{"photo_id":"1332923233","filename":"file1"},{"photo_id":"1332923227","filename":"file0"},{"photo_id":"1332923240","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332923233":["hashtag1","hashtag2"]},{"1332923227":["hashtag1","hashtag2"]},{"1332923256":["hashtag1","hashtag2"]},{"1332923240":["hashtag1","hashtag2"]},{"1332923237":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332923233, 1332923227, 1332923256, 1332923240, 1332923237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.44127321243286 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:27:32.595813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/26/image_30012025_08_26_56_10359.jpg', '/home/pi/Desktop/images/30012025/08/26/image_30012025_08_27_06_10348.jpg', '/home/pi/Desktop/images/30012025/08/27/image_30012025_08_27_16_9435.jpg', '/home/pi/Desktop/images/30012025/08/27/image_30012025_08_27_26_10433.jpg', '/home/pi/Desktop/images/30012025/08/27/image_30012025_08_27_35_9339.jpg', '/home/pi/Desktop/images/30012025/08/27/image_30012025_08_27_46_10388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/26/image_30012025_08_26_56_10359.jpg
/home/pi/Desktop/images/30012025/08/26/image_30012025_08_27_06_10348.jpg
/home/pi/Desktop/images/30012025/08/27/image_30012025_08_27_16_9435.jpg
/home/pi/Desktop/images/30012025/08/27/image_30012025_08_27_26_10433.jpg
/home/pi/Desktop/images/30012025/08/27/image_30012025_08_27_35_9339.jpg
/home/pi/Desktop/images/30012025/08/27/image_30012025_08_27_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":["1332923659","1332923551","1332923595","1332923652","1332923573","1332923567"],"photo_ids_order":["1332923551","1332923567","1332923573","1332923595","1332923652","1332923659"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e9dc0d42a28db5e53d4082c52da10f9c.jpg","text":"TemporaryFile(/tmp/multipartBody4933770531832829921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222113506,"filename":"image_30012025_08_27_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/30/1557e2fe65bf732994394a2cabbdc261.jpg","text":"TemporaryFile(/tmp/multipartBody5361813235233692006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222113506,"filename":"image_30012025_08_26_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/30/44a932ca5066a234f6872a8531319534.jpg","text":"TemporaryFile(/tmp/multipartBody1067599770344323458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222113506,"filename":"image_30012025_08_27_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/30/8896d1486aaf3be3d37dfbf76578e3c9.jpg","text":"TemporaryFile(/tmp/multipartBody8837529164756348259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222113506,"filename":"image_30012025_08_27_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/30/811db5ca59262948a23dc5a86badd57f.jpg","text":"TemporaryFile(/tmp/multipartBody7241521978513474035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222113506,"filename":"image_30012025_08_27_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/30/5102cde946d61df86cb76f412cf93726.jpg","text":"TemporaryFile(/tmp/multipartBody4879605269700913192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222113506,"filename":"image_30012025_08_27_06_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332923573","file1":"1332923567","file0":"1332923551","file4":"1332923652","file5":"1332923659","file3":"1332923595"},"map_files_photo_id_array":[{"photo_id":"1332923659","filename":"file5"},{"photo_id":"1332923573","filename":"file2"},{"photo_id":"1332923652","filename":"file4"},{"photo_id":"1332923567","filename":"file1"},{"photo_id":"1332923551","filename":"file0"},{"photo_id":"1332923595","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332923659":["hashtag1","hashtag2"]},{"1332923551":["hashtag1","hashtag2"]},{"1332923595":["hashtag1","hashtag2"]},{"1332923652":["hashtag1","hashtag2"]},{"1332923573":["hashtag1","hashtag2"]},{"1332923567":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332923659, 1332923551, 1332923595, 1332923652, 1332923573, 1332923567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.82450485229492 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:28:32.836275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/27/image_30012025_08_27_56_10333.jpg', '/home/pi/Desktop/images/30012025/08/27/image_30012025_08_28_05_9363.jpg', '/home/pi/Desktop/images/30012025/08/28/image_30012025_08_28_16_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/27/image_30012025_08_27_56_10333.jpg
/home/pi/Desktop/images/30012025/08/27/image_30012025_08_28_05_9363.jpg
/home/pi/Desktop/images/30012025/08/28/image_30012025_08_28_16_10419.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.47000932693481445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 08:28:42.879102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/27/image_30012025_08_27_56_10333.jpg', '/home/pi/Desktop/images/30012025/08/27/image_30012025_08_28_05_9363.jpg', '/home/pi/Desktop/images/30012025/08/28/image_30012025_08_28_16_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/27/image_30012025_08_27_56_10333.jpg
/home/pi/Desktop/images/30012025/08/27/image_30012025_08_28_05_9363.jpg
/home/pi/Desktop/images/30012025/08/28/image_30012025_08_28_16_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332923780","1332923773","1332923776"],"photo_ids_order":["1332923773","1332923776","1332923780"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ed064f43d997cdd0edd4c367fccfea5c.jpg","text":"TemporaryFile(/tmp/multipartBody900431666532432166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222183741,"filename":"image_30012025_08_28_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/30/d84c0dc1863ca6dce2edcbfad71fb451.jpg","text":"TemporaryFile(/tmp/multipartBody3993917648795574396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222183741,"filename":"image_30012025_08_27_56_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/30/eb5bdc89bc9fa650e5f4d71b3aab8d0a.jpg","text":"TemporaryFile(/tmp/multipartBody7703195729667175873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222183741,"filename":"image_30012025_08_28_05_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332923780","file1":"1332923776","file0":"1332923773"},"map_files_photo_id_array":[{"photo_id":"1332923780","filename":"file2"},{"photo_id":"1332923776","filename":"file1"},{"photo_id":"1332923773","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332923780":["hashtag1","hashtag2"]},{"1332923773":["hashtag1","hashtag2"]},{"1332923776":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332923780, 1332923773, 1332923776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 28.394405841827393 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:29:33.128628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/28/image_30012025_08_28_36_9348.jpg', '/home/pi/Desktop/images/30012025/08/29/image_30012025_08_29_16_10335.jpg', '/home/pi/Desktop/images/30012025/08/29/image_30012025_08_29_26_9455.jpg', '/home/pi/Desktop/images/30012025/08/29/image_30012025_08_29_36_10460.jpg', '/home/pi/Desktop/images/30012025/08/29/image_30012025_08_29_45_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/28/image_30012025_08_28_36_9348.jpg
/home/pi/Desktop/images/30012025/08/29/image_30012025_08_29_16_10335.jpg
/home/pi/Desktop/images/30012025/08/29/image_30012025_08_29_26_9455.jpg
/home/pi/Desktop/images/30012025/08/29/image_30012025_08_29_36_10460.jpg
/home/pi/Desktop/images/30012025/08/29/image_30012025_08_29_45_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":["1332924024","1332923865","1332924015","1332924009","1332923835"],"photo_ids_order":["1332923835","1332923865","1332924009","1332924015","1332924024"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/903c8a4445cf6261ec2c7dc13b6554ac.jpg","text":"TemporaryFile(/tmp/multipartBody946809652144491433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222234024,"filename":"image_30012025_08_29_45_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/50e6debd75af2849eb9f4dd201e4e48f.jpg","text":"TemporaryFile(/tmp/multipartBody7510340939455985499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222234024,"filename":"image_30012025_08_29_16_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ba0c560855b21b91522fcf3b0a4d0251.jpg","text":"TemporaryFile(/tmp/multipartBody7737138700541225892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222234024,"filename":"image_30012025_08_29_36_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/30/385fec8fa8a69a749e8b03a71a5a0f1a.jpg","text":"TemporaryFile(/tmp/multipartBody3783326898400382424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222234024,"filename":"image_30012025_08_29_26_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/30/90043d2c1761e684539fc3f322f01645.jpg","text":"TemporaryFile(/tmp/multipartBody3172335047654364167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222234024,"filename":"image_30012025_08_28_36_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332924009","file1":"1332923865","file0":"1332923835","file4":"1332924024","file3":"1332924015"},"map_files_photo_id_array":[{"photo_id":"1332924009","filename":"file2"},{"photo_id":"1332924024","filename":"file4"},{"photo_id":"1332923865","filename":"file1"},{"photo_id":"1332923835","filename":"file0"},{"photo_id":"1332924015","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332924024":["hashtag1","hashtag2"]},{"1332923865":["hashtag1","hashtag2"]},{"1332924015":["hashtag1","hashtag2"]},{"1332924009":["hashtag1","hashtag2"]},{"1332923835":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332924024, 1332923865, 1332924015, 1332924009, 1332923835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 49.735774993896484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:30:32.402163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/29/image_30012025_08_29_56_10358.jpg', '/home/pi/Desktop/images/30012025/08/30/image_30012025_08_30_36_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/29/image_30012025_08_29_56_10358.jpg
/home/pi/Desktop/images/30012025/08/30/image_30012025_08_30_36_10354.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332924072","1332924081"],"photo_ids_order":["1332924072","1332924081"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7788ece871f6b40ea7baf0c69098936c.jpg","text":"TemporaryFile(/tmp/multipartBody4540075325055520360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222293257,"filename":"image_30012025_08_29_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/30/b87610b1da0c0cca70a807fba0153277.jpg","text":"TemporaryFile(/tmp/multipartBody7242346364190633219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222293257,"filename":"image_30012025_08_30_36_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1332924081","file0":"1332924072"},"map_files_photo_id_array":[{"photo_id":"1332924081","filename":"file1"},{"photo_id":"1332924072","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332924072":["hashtag1","hashtag2"]},{"1332924081":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332924072, 1332924081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.989777088165283 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:30:52.441108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/39/image_28012025_20_39_45_9348.jpg', '/home/pi/Desktop/images/28012025/20/39/image_28012025_20_39_55_10346.jpg', '/home/pi/Desktop/images/28012025/20/39/image_28012025_20_40_05_10335.jpg', '/home/pi/Desktop/images/28012025/20/40/image_28012025_20_40_15_9343.jpg', '/home/pi/Desktop/images/28012025/20/40/image_28012025_20_40_25_10500.jpg', '/home/pi/Desktop/images/28012025/20/40/image_28012025_20_40_45_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/20/39/image_28012025_20_39_45_9348.jpg
/home/pi/Desktop/images/28012025/20/39/image_28012025_20_39_55_10346.jpg
/home/pi/Desktop/images/28012025/20/39/image_28012025_20_40_05_10335.jpg
/home/pi/Desktop/images/28012025/20/40/image_28012025_20_40_15_9343.jpg
/home/pi/Desktop/images/28012025/20/40/image_28012025_20_40_25_10500.jpg
/home/pi/Desktop/images/28012025/20/40/image_28012025_20_40_45_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: 2.1025846004486084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 08:31:04.219480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/39/image_28012025_20_39_45_9348.jpg', '/home/pi/Desktop/images/28012025/20/39/image_28012025_20_39_55_10346.jpg', '/home/pi/Desktop/images/28012025/20/39/image_28012025_20_40_05_10335.jpg', '/home/pi/Desktop/images/28012025/20/40/image_28012025_20_40_15_9343.jpg', '/home/pi/Desktop/images/28012025/20/40/image_28012025_20_40_25_10500.jpg', '/home/pi/Desktop/images/28012025/20/40/image_28012025_20_40_45_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/20/39/image_28012025_20_39_45_9348.jpg
/home/pi/Desktop/images/28012025/20/39/image_28012025_20_39_55_10346.jpg
/home/pi/Desktop/images/28012025/20/39/image_28012025_20_40_05_10335.jpg
/home/pi/Desktop/images/28012025/20/40/image_28012025_20_40_15_9343.jpg
/home/pi/Desktop/images/28012025/20/40/image_28012025_20_40_25_10500.jpg
/home/pi/Desktop/images/28012025/20/40/image_28012025_20_40_45_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332924123","1332924117","1332924143","1332924107","1332924130","1332924112"],"photo_ids_order":["1332924107","1332924112","1332924117","1332924123","1332924130","1332924143"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/13527b5fe7e13d677ef2887614c6272a.jpg","text":"TemporaryFile(/tmp/multipartBody7839014212610372313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222326060,"filename":"image_28012025_20_40_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/30/391151d8a3a7eafe23d9fd69b61490fa.jpg","text":"TemporaryFile(/tmp/multipartBody4838994743996467675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222326060,"filename":"image_28012025_20_40_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/30/9ed90d0d84a172230f521d2e973246e0.jpg","text":"TemporaryFile(/tmp/multipartBody6125423286202579351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222326060,"filename":"image_28012025_20_40_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/30/c02d52de641fa3f88566abec9cd6402e.jpg","text":"TemporaryFile(/tmp/multipartBody35764136599069958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222326060,"filename":"image_28012025_20_39_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/30/e76d6ebb7719686ea7e2ba3b74ad384c.jpg","text":"TemporaryFile(/tmp/multipartBody576985488073194767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222326060,"filename":"image_28012025_20_40_25_10500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/78011b85979ada66b13774d579989b5a.jpg","text":"TemporaryFile(/tmp/multipartBody4472047712880558441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222326060,"filename":"image_28012025_20_39_55_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332924117","file1":"1332924112","file0":"1332924107","file4":"1332924130","file5":"1332924143","file3":"1332924123"},"map_files_photo_id_array":[{"photo_id":"1332924143","filename":"file5"},{"photo_id":"1332924117","filename":"file2"},{"photo_id":"1332924130","filename":"file4"},{"photo_id":"1332924112","filename":"file1"},{"photo_id":"1332924107","filename":"file0"},{"photo_id":"1332924123","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332924123":["hashtag1","hashtag2"]},{"1332924117":["hashtag1","hashtag2"]},{"1332924143":["hashtag1","hashtag2"]},{"1332924107":["hashtag1","hashtag2"]},{"1332924130":["hashtag1","hashtag2"]},{"1332924112":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332924123, 1332924117, 1332924143, 1332924107, 1332924130, 1332924112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.91367816925049 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 08:32:04.010761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/30/image_30012025_08_30_56_10390.jpg', '/home/pi/Desktop/images/30012025/08/30/image_30012025_08_31_06_10340.jpg', '/home/pi/Desktop/images/30012025/08/31/image_30012025_08_31_16_9362.jpg', '/home/pi/Desktop/images/30012025/08/31/image_30012025_08_31_26_10444.jpg', '/home/pi/Desktop/images/30012025/08/31/image_30012025_08_31_35_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/30/image_30012025_08_30_56_10390.jpg
/home/pi/Desktop/images/30012025/08/30/image_30012025_08_31_06_10340.jpg
/home/pi/Desktop/images/30012025/08/31/image_30012025_08_31_16_9362.jpg
/home/pi/Desktop/images/30012025/08/31/image_30012025_08_31_26_10444.jpg
/home/pi/Desktop/images/30012025/08/31/image_30012025_08_31_35_9334.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.070448875427246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:32:32.827531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/30/image_30012025_08_30_56_10390.jpg', '/home/pi/Desktop/images/30012025/08/30/image_30012025_08_31_06_10340.jpg', '/home/pi/Desktop/images/30012025/08/31/image_30012025_08_31_16_9362.jpg', '/home/pi/Desktop/images/30012025/08/31/image_30012025_08_31_26_10444.jpg', '/home/pi/Desktop/images/30012025/08/31/image_30012025_08_31_35_9334.jpg', '/home/pi/Desktop/images/30012025/08/31/image_30012025_08_31_46_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/30/image_30012025_08_30_56_10390.jpg
/home/pi/Desktop/images/30012025/08/30/image_30012025_08_31_06_10340.jpg
/home/pi/Desktop/images/30012025/08/31/image_30012025_08_31_16_9362.jpg
/home/pi/Desktop/images/30012025/08/31/image_30012025_08_31_26_10444.jpg
/home/pi/Desktop/images/30012025/08/31/image_30012025_08_31_35_9334.jpg
/home/pi/Desktop/images/30012025/08/31/image_30012025_08_31_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":["1332924465","1332924552","1332924522","1332924581","1332924490","1332924480"],"photo_ids_order":["1332924465","1332924480","1332924490","1332924522","1332924552","1332924581"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9e90560498f54acf9cd836ff07368edd.jpg","text":"TemporaryFile(/tmp/multipartBody7494194062325246564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222413742,"filename":"image_30012025_08_30_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/30/edeabc4ff4fbb2fdca48f4cef2c0ae8e.jpg","text":"TemporaryFile(/tmp/multipartBody833861460889202030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222413742,"filename":"image_30012025_08_31_35_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/63d9ff0096400e17f764c60d689cd6d4.jpg","text":"TemporaryFile(/tmp/multipartBody2465246348095867627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222413742,"filename":"image_30012025_08_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/30/03f563063078e6cc819837f3bd63c87d.jpg","text":"TemporaryFile(/tmp/multipartBody1100055137831749973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222413742,"filename":"image_30012025_08_31_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/30/584f4495fab68af551f84e443885519c.jpg","text":"TemporaryFile(/tmp/multipartBody8970469904302399984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222413742,"filename":"image_30012025_08_31_16_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/30/c83b0ab497d98b5e960b83c87ab87c13.jpg","text":"TemporaryFile(/tmp/multipartBody8532237394988739327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222413742,"filename":"image_30012025_08_31_06_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332924490","file1":"1332924480","file0":"1332924465","file4":"1332924552","file5":"1332924581","file3":"1332924522"},"map_files_photo_id_array":[{"photo_id":"1332924581","filename":"file5"},{"photo_id":"1332924490","filename":"file2"},{"photo_id":"1332924552","filename":"file4"},{"photo_id":"1332924480","filename":"file1"},{"photo_id":"1332924465","filename":"file0"},{"photo_id":"1332924522","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332924465":["hashtag1","hashtag2"]},{"1332924552":["hashtag1","hashtag2"]},{"1332924522":["hashtag1","hashtag2"]},{"1332924581":["hashtag1","hashtag2"]},{"1332924490":["hashtag1","hashtag2"]},{"1332924480":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332924465, 1332924552, 1332924522, 1332924581, 1332924490, 1332924480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.046297550201416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:33:33.110790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/31/image_30012025_08_32_06_9345.jpg', '/home/pi/Desktop/images/30012025/08/32/image_30012025_08_32_16_10434.jpg', '/home/pi/Desktop/images/30012025/08/32/image_30012025_08_32_25_9356.jpg', '/home/pi/Desktop/images/30012025/08/32/image_30012025_08_32_36_10372.jpg', '/home/pi/Desktop/images/30012025/08/32/image_30012025_08_32_56_9502.jpg', '/home/pi/Desktop/images/30012025/08/33/image_30012025_08_33_15_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/31/image_30012025_08_32_06_9345.jpg
/home/pi/Desktop/images/30012025/08/32/image_30012025_08_32_16_10434.jpg
/home/pi/Desktop/images/30012025/08/32/image_30012025_08_32_25_9356.jpg
/home/pi/Desktop/images/30012025/08/32/image_30012025_08_32_36_10372.jpg
/home/pi/Desktop/images/30012025/08/32/image_30012025_08_32_56_9502.jpg
/home/pi/Desktop/images/30012025/08/33/image_30012025_08_33_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":["1332924729","1332924677","1332924764","1332924758","1332924737","1332924745"],"photo_ids_order":["1332924677","1332924729","1332924737","1332924745","1332924758","1332924764"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a493125f3c2c8cdba0f098d5408ba850.jpg","text":"TemporaryFile(/tmp/multipartBody6157755844344118974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222475401,"filename":"image_30012025_08_32_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/30/7b8617017e91609c565f4f2d78403673.jpg","text":"TemporaryFile(/tmp/multipartBody510563639200113597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222475401,"filename":"image_30012025_08_32_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/30/c30eaeb9f80c8bf9ec0aa261c25599db.jpg","text":"TemporaryFile(/tmp/multipartBody6581084680297870388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222475401,"filename":"image_30012025_08_33_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/30/6f8bece331f1aedebaef629816ab6414.jpg","text":"TemporaryFile(/tmp/multipartBody8370435922497286111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222475401,"filename":"image_30012025_08_32_56_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/30/4e1f1807503468f7f2185f2cea1efc48.jpg","text":"TemporaryFile(/tmp/multipartBody2252521249702572737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222475401,"filename":"image_30012025_08_32_25_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5709c4b39825717c4acad2429a905d40.jpg","text":"TemporaryFile(/tmp/multipartBody1563773325388996707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222475401,"filename":"image_30012025_08_32_36_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332924737","file1":"1332924729","file0":"1332924677","file4":"1332924758","file5":"1332924764","file3":"1332924745"},"map_files_photo_id_array":[{"photo_id":"1332924764","filename":"file5"},{"photo_id":"1332924737","filename":"file2"},{"photo_id":"1332924758","filename":"file4"},{"photo_id":"1332924729","filename":"file1"},{"photo_id":"1332924677","filename":"file0"},{"photo_id":"1332924745","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332924729":["hashtag1","hashtag2"]},{"1332924677":["hashtag1","hashtag2"]},{"1332924764":["hashtag1","hashtag2"]},{"1332924758":["hashtag1","hashtag2"]},{"1332924737":["hashtag1","hashtag2"]},{"1332924745":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332924729, 1332924677, 1332924764, 1332924758, 1332924737, 1332924745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.741677045822144 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:34:32.142981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/33/image_30012025_08_33_36_10423.jpg', '/home/pi/Desktop/images/30012025/08/33/image_30012025_08_33_46_9348.jpg', '/home/pi/Desktop/images/30012025/08/33/image_30012025_08_33_56_10446.jpg', '/home/pi/Desktop/images/30012025/08/33/image_30012025_08_34_05_9350.jpg', '/home/pi/Desktop/images/30012025/08/34/image_30012025_08_34_16_10419.jpg', '/home/pi/Desktop/images/30012025/08/34/image_30012025_08_34_26_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/33/image_30012025_08_33_36_10423.jpg
/home/pi/Desktop/images/30012025/08/33/image_30012025_08_33_46_9348.jpg
/home/pi/Desktop/images/30012025/08/33/image_30012025_08_33_56_10446.jpg
/home/pi/Desktop/images/30012025/08/33/image_30012025_08_34_05_9350.jpg
/home/pi/Desktop/images/30012025/08/34/image_30012025_08_34_16_10419.jpg
/home/pi/Desktop/images/30012025/08/34/image_30012025_08_34_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":["1332924852","1332924855","1332924858","1332924822","1332924810","1332924802"],"photo_ids_order":["1332924802","1332924810","1332924822","1332924852","1332924855","1332924858"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/21ddc31b193d1f8e79fcbe6d25a1b4cf.jpg","text":"TemporaryFile(/tmp/multipartBody8890884623042672823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222533060,"filename":"image_30012025_08_34_05_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8cbe7eab90a4146c9eb7b4fc76a20497.jpg","text":"TemporaryFile(/tmp/multipartBody8407548568047916232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222533060,"filename":"image_30012025_08_34_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/30/81f7b329f72c31e6b968f77ace4ab9f9.jpg","text":"TemporaryFile(/tmp/multipartBody61446902685653206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222533060,"filename":"image_30012025_08_34_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/30/8cdb41cd2c0bc4a603bf9ab9191fa8c6.jpg","text":"TemporaryFile(/tmp/multipartBody87345397034136423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222533060,"filename":"image_30012025_08_33_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/30/208f3fbb284181b64cf9674f24f6d1df.jpg","text":"TemporaryFile(/tmp/multipartBody2592101457116822163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222533060,"filename":"image_30012025_08_33_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/30/19583139ad4431fa2ccca25c028cd923.jpg","text":"TemporaryFile(/tmp/multipartBody6023513751369755784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222533060,"filename":"image_30012025_08_33_36_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332924822","file1":"1332924810","file0":"1332924802","file4":"1332924855","file5":"1332924858","file3":"1332924852"},"map_files_photo_id_array":[{"photo_id":"1332924858","filename":"file5"},{"photo_id":"1332924822","filename":"file2"},{"photo_id":"1332924855","filename":"file4"},{"photo_id":"1332924810","filename":"file1"},{"photo_id":"1332924802","filename":"file0"},{"photo_id":"1332924852","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332924852":["hashtag1","hashtag2"]},{"1332924855":["hashtag1","hashtag2"]},{"1332924858":["hashtag1","hashtag2"]},{"1332924822":["hashtag1","hashtag2"]},{"1332924810":["hashtag1","hashtag2"]},{"1332924802":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332924852, 1332924855, 1332924858, 1332924822, 1332924810, 1332924802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.687270641326904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:35:32.516680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/34/image_30012025_08_34_36_9413.jpg', '/home/pi/Desktop/images/30012025/08/34/image_30012025_08_34_55_9389.jpg', '/home/pi/Desktop/images/30012025/08/34/image_30012025_08_35_06_10398.jpg', '/home/pi/Desktop/images/30012025/08/35/image_30012025_08_35_16_10346.jpg', '/home/pi/Desktop/images/30012025/08/35/image_30012025_08_35_46_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/34/image_30012025_08_34_36_9413.jpg
/home/pi/Desktop/images/30012025/08/34/image_30012025_08_34_55_9389.jpg
/home/pi/Desktop/images/30012025/08/34/image_30012025_08_35_06_10398.jpg
/home/pi/Desktop/images/30012025/08/35/image_30012025_08_35_16_10346.jpg
/home/pi/Desktop/images/30012025/08/35/image_30012025_08_35_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":["1332925038","1332924896","1332925034","1332924902","1332924981"],"photo_ids_order":["1332924896","1332924902","1332924981","1332925034","1332925038"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e59d84814f62d31b20d938944c183ce4.jpg","text":"TemporaryFile(/tmp/multipartBody7909063751158665576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222593423,"filename":"image_30012025_08_35_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/30/3422bc4166eb81be504c288265b896c5.jpg","text":"TemporaryFile(/tmp/multipartBody2802437900462170482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222593423,"filename":"image_30012025_08_34_36_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/30/13723a5ef2a874ea892e3bf9709b714a.jpg","text":"TemporaryFile(/tmp/multipartBody164183572080857355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222593423,"filename":"image_30012025_08_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/30/daed16c8389f8ea19cf1a946e53a5142.jpg","text":"TemporaryFile(/tmp/multipartBody4216482134877234788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222593423,"filename":"image_30012025_08_34_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/30/3a1d9a658b231e8ad20888310b005c11.jpg","text":"TemporaryFile(/tmp/multipartBody6889674511590767189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222593423,"filename":"image_30012025_08_35_06_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332924981","file1":"1332924902","file0":"1332924896","file4":"1332925038","file3":"1332925034"},"map_files_photo_id_array":[{"photo_id":"1332924981","filename":"file2"},{"photo_id":"1332925038","filename":"file4"},{"photo_id":"1332924902","filename":"file1"},{"photo_id":"1332924896","filename":"file0"},{"photo_id":"1332925034","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332925038":["hashtag1","hashtag2"]},{"1332924896":["hashtag1","hashtag2"]},{"1332925034":["hashtag1","hashtag2"]},{"1332924902":["hashtag1","hashtag2"]},{"1332924981":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332925038, 1332924896, 1332925034, 1332924902, 1332924981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.755796670913696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:36:32.501435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/35/image_30012025_08_35_56_9340.jpg', '/home/pi/Desktop/images/30012025/08/35/image_30012025_08_36_06_10488.jpg', '/home/pi/Desktop/images/30012025/08/36/image_30012025_08_36_15_9353.jpg', '/home/pi/Desktop/images/30012025/08/36/image_30012025_08_36_26_10419.jpg', '/home/pi/Desktop/images/30012025/08/36/image_30012025_08_36_36_10353.jpg', '/home/pi/Desktop/images/30012025/08/36/image_30012025_08_36_45_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/35/image_30012025_08_35_56_9340.jpg
/home/pi/Desktop/images/30012025/08/35/image_30012025_08_36_06_10488.jpg
/home/pi/Desktop/images/30012025/08/36/image_30012025_08_36_15_9353.jpg
/home/pi/Desktop/images/30012025/08/36/image_30012025_08_36_26_10419.jpg
/home/pi/Desktop/images/30012025/08/36/image_30012025_08_36_36_10353.jpg
/home/pi/Desktop/images/30012025/08/36/image_30012025_08_36_45_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332925166","1332925145","1332925139","1332925161","1332925164","1332925158"],"photo_ids_order":["1332925139","1332925145","1332925158","1332925161","1332925164","1332925166"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/668772f165af71a1b35edc759c8101c7.jpg","text":"TemporaryFile(/tmp/multipartBody3831702815643512957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222653406,"filename":"image_30012025_08_36_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/30/b08bd7b54e94382f9246c5165d8055e0.jpg","text":"TemporaryFile(/tmp/multipartBody3507105876743350009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222653406,"filename":"image_30012025_08_36_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/30/fefa9c15bbeca3fe78756d0d960601be.jpg","text":"TemporaryFile(/tmp/multipartBody7808531784844447250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222653406,"filename":"image_30012025_08_35_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/30/0518f5dd0e3133855a02ea8688dd440b.jpg","text":"TemporaryFile(/tmp/multipartBody5046656194717333294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222653406,"filename":"image_30012025_08_36_26_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/30/25dde50064240d135e611394fc094205.jpg","text":"TemporaryFile(/tmp/multipartBody3100487715671750792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222653406,"filename":"image_30012025_08_36_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/30/aa0a1080d322dbe8005d925dfc2ee6a5.jpg","text":"TemporaryFile(/tmp/multipartBody7915766976351063404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222653406,"filename":"image_30012025_08_36_15_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332925158","file1":"1332925145","file0":"1332925139","file4":"1332925164","file5":"1332925166","file3":"1332925161"},"map_files_photo_id_array":[{"photo_id":"1332925166","filename":"file5"},{"photo_id":"1332925158","filename":"file2"},{"photo_id":"1332925164","filename":"file4"},{"photo_id":"1332925145","filename":"file1"},{"photo_id":"1332925139","filename":"file0"},{"photo_id":"1332925161","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332925166":["hashtag1","hashtag2"]},{"1332925145":["hashtag1","hashtag2"]},{"1332925139":["hashtag1","hashtag2"]},{"1332925161":["hashtag1","hashtag2"]},{"1332925164":["hashtag1","hashtag2"]},{"1332925158":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332925166, 1332925145, 1332925139, 1332925161, 1332925164, 1332925158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.373775243759155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:37:32.820846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/36/image_30012025_08_36_56_10359.jpg', '/home/pi/Desktop/images/30012025/08/36/image_30012025_08_37_06_10414.jpg', '/home/pi/Desktop/images/30012025/08/37/image_30012025_08_37_16_9375.jpg', '/home/pi/Desktop/images/30012025/08/37/image_30012025_08_37_46_10493.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/36/image_30012025_08_36_56_10359.jpg
/home/pi/Desktop/images/30012025/08/36/image_30012025_08_37_06_10414.jpg
/home/pi/Desktop/images/30012025/08/37/image_30012025_08_37_16_9375.jpg
/home/pi/Desktop/images/30012025/08/37/image_30012025_08_37_46_10493.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332925200","1332925203","1332925214","1332925208"],"photo_ids_order":["1332925200","1332925203","1332925208","1332925214"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0cdb1e47f606c60ea0cb243617eec2c0.jpg","text":"TemporaryFile(/tmp/multipartBody6770616874730882835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222713707,"filename":"image_30012025_08_36_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/30/3ddec0497c9ddfc0a0ff71115ea9ad63.jpg","text":"TemporaryFile(/tmp/multipartBody4195144401347225025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222713707,"filename":"image_30012025_08_37_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/30/ee7d325aebf62187facd25e29af454f4.jpg","text":"TemporaryFile(/tmp/multipartBody3952343869635211976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222713707,"filename":"image_30012025_08_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/30/7154151d2988d1e1acf61c9bf33a8528.jpg","text":"TemporaryFile(/tmp/multipartBody2196089058245179089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222713707,"filename":"image_30012025_08_37_16_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332925208","file1":"1332925203","file0":"1332925200","file3":"1332925214"},"map_files_photo_id_array":[{"photo_id":"1332925208","filename":"file2"},{"photo_id":"1332925203","filename":"file1"},{"photo_id":"1332925200","filename":"file0"},{"photo_id":"1332925214","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332925200":["hashtag1","hashtag2"]},{"1332925203":["hashtag1","hashtag2"]},{"1332925214":["hashtag1","hashtag2"]},{"1332925208":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332925200, 1332925203, 1332925214, 1332925208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.04696035385132 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 08:38:03.468817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/40/image_28012025_20_40_55_10358.jpg', '/home/pi/Desktop/images/28012025/20/40/image_28012025_20_41_05_9342.jpg', '/home/pi/Desktop/images/28012025/20/41/image_28012025_20_41_15_10382.jpg', '/home/pi/Desktop/images/28012025/20/41/image_28012025_20_41_25_10452.jpg', '/home/pi/Desktop/images/28012025/20/41/image_28012025_20_41_45_10440.jpg', '/home/pi/Desktop/images/28012025/20/41/image_28012025_20_41_55_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/20/40/image_28012025_20_40_55_10358.jpg
/home/pi/Desktop/images/28012025/20/40/image_28012025_20_41_05_9342.jpg
/home/pi/Desktop/images/28012025/20/41/image_28012025_20_41_15_10382.jpg
/home/pi/Desktop/images/28012025/20/41/image_28012025_20_41_25_10452.jpg
/home/pi/Desktop/images/28012025/20/41/image_28012025_20_41_45_10440.jpg
/home/pi/Desktop/images/28012025/20/41/image_28012025_20_41_55_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":["1332925236","1332925232","1332925252","1332925240","1332925257","1332925245"],"photo_ids_order":["1332925232","1332925236","1332925240","1332925245","1332925252","1332925257"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dec5cad5dc3089c6ab12c9076342f256.jpg","text":"TemporaryFile(/tmp/multipartBody2666084489546530162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222748341,"filename":"image_28012025_20_41_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/30/43e69f39373cbb6ec84054b1d5094829.jpg","text":"TemporaryFile(/tmp/multipartBody2197455065202523191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222748341,"filename":"image_28012025_20_40_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/30/6fcb21c53c6230ba0f23cf299a0a9752.jpg","text":"TemporaryFile(/tmp/multipartBody4837061032208804739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222748341,"filename":"image_28012025_20_41_45_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/42a91d87519c8c9056e608d25896a325.jpg","text":"TemporaryFile(/tmp/multipartBody3195647230731889900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222748341,"filename":"image_28012025_20_41_15_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/30/2878114cf32c2560a8252a688c3b2a1b.jpg","text":"TemporaryFile(/tmp/multipartBody3276071512668668773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222748341,"filename":"image_28012025_20_41_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/30/60e66ff657be6e2685a3f50a5d71bd74.jpg","text":"TemporaryFile(/tmp/multipartBody7319410319029400448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222748341,"filename":"image_28012025_20_41_25_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332925240","file1":"1332925236","file0":"1332925232","file4":"1332925252","file5":"1332925257","file3":"1332925245"},"map_files_photo_id_array":[{"photo_id":"1332925257","filename":"file5"},{"photo_id":"1332925240","filename":"file2"},{"photo_id":"1332925252","filename":"file4"},{"photo_id":"1332925236","filename":"file1"},{"photo_id":"1332925232","filename":"file0"},{"photo_id":"1332925245","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332925236":["hashtag1","hashtag2"]},{"1332925232":["hashtag1","hashtag2"]},{"1332925252":["hashtag1","hashtag2"]},{"1332925240":["hashtag1","hashtag2"]},{"1332925257":["hashtag1","hashtag2"]},{"1332925245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332925236, 1332925232, 1332925252, 1332925240, 1332925257, 1332925245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.57699704170227 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:38:52.971992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/37/image_30012025_08_37_55_9354.jpg', '/home/pi/Desktop/images/30012025/08/37/image_30012025_08_38_06_10349.jpg', '/home/pi/Desktop/images/30012025/08/38/image_30012025_08_38_16_10358.jpg', '/home/pi/Desktop/images/30012025/08/38/image_30012025_08_38_26_9507.jpg', '/home/pi/Desktop/images/30012025/08/38/image_30012025_08_38_36_10398.jpg', '/home/pi/Desktop/images/30012025/08/38/image_30012025_08_38_46_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/37/image_30012025_08_37_55_9354.jpg
/home/pi/Desktop/images/30012025/08/37/image_30012025_08_38_06_10349.jpg
/home/pi/Desktop/images/30012025/08/38/image_30012025_08_38_16_10358.jpg
/home/pi/Desktop/images/30012025/08/38/image_30012025_08_38_26_9507.jpg
/home/pi/Desktop/images/30012025/08/38/image_30012025_08_38_36_10398.jpg
/home/pi/Desktop/images/30012025/08/38/image_30012025_08_38_46_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332925353","1332925347","1332925286","1332925340","1332925297","1332925303"],"photo_ids_order":["1332925286","1332925297","1332925303","1332925340","1332925347","1332925353"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bf9ee7549192b2e342fab328f12a4661.jpg","text":"TemporaryFile(/tmp/multipartBody2544534114582053207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222793885,"filename":"image_30012025_08_38_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/30/0b8a2c1d28f78a28b9d41ed7ae2da7ee.jpg","text":"TemporaryFile(/tmp/multipartBody399562809875144429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222793885,"filename":"image_30012025_08_38_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/30/13568ba5c071b2e203bdc2a33996731c.jpg","text":"TemporaryFile(/tmp/multipartBody2017944517995350814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222793885,"filename":"image_30012025_08_37_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/30/b79e32c03b5fc433c86c2e975999c5cf.jpg","text":"TemporaryFile(/tmp/multipartBody230498464649911473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222793885,"filename":"image_30012025_08_38_26_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/30/3597383a688d5dd3004177fda0a8e2d8.jpg","text":"TemporaryFile(/tmp/multipartBody6690202847246052243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222793885,"filename":"image_30012025_08_38_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/30/ba7afa79f749ffe11712e9d9641eec56.jpg","text":"TemporaryFile(/tmp/multipartBody749870077447626028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222793885,"filename":"image_30012025_08_38_16_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332925303","file1":"1332925297","file0":"1332925286","file4":"1332925347","file5":"1332925353","file3":"1332925340"},"map_files_photo_id_array":[{"photo_id":"1332925353","filename":"file5"},{"photo_id":"1332925303","filename":"file2"},{"photo_id":"1332925347","filename":"file4"},{"photo_id":"1332925297","filename":"file1"},{"photo_id":"1332925286","filename":"file0"},{"photo_id":"1332925340","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332925353":["hashtag1","hashtag2"]},{"1332925347":["hashtag1","hashtag2"]},{"1332925286":["hashtag1","hashtag2"]},{"1332925340":["hashtag1","hashtag2"]},{"1332925297":["hashtag1","hashtag2"]},{"1332925303":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332925353, 1332925347, 1332925286, 1332925340, 1332925297, 1332925303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.33852934837341 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 08:39:42.192494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/38/image_30012025_08_38_56_9467.jpg', '/home/pi/Desktop/images/30012025/08/38/image_30012025_08_39_06_10413.jpg', '/home/pi/Desktop/images/30012025/08/39/image_30012025_08_39_16_9340.jpg', '/home/pi/Desktop/images/30012025/08/39/image_30012025_08_39_26_10434.jpg', '/home/pi/Desktop/images/30012025/08/39/image_30012025_08_39_35_9416.jpg', '/home/pi/Desktop/images/30012025/08/39/image_30012025_08_39_46_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/38/image_30012025_08_38_56_9467.jpg
/home/pi/Desktop/images/30012025/08/38/image_30012025_08_39_06_10413.jpg
/home/pi/Desktop/images/30012025/08/39/image_30012025_08_39_16_9340.jpg
/home/pi/Desktop/images/30012025/08/39/image_30012025_08_39_26_10434.jpg
/home/pi/Desktop/images/30012025/08/39/image_30012025_08_39_35_9416.jpg
/home/pi/Desktop/images/30012025/08/39/image_30012025_08_39_46_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.5199236869812012 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:39:52.222526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/38/image_30012025_08_38_56_9467.jpg', '/home/pi/Desktop/images/30012025/08/38/image_30012025_08_39_06_10413.jpg', '/home/pi/Desktop/images/30012025/08/39/image_30012025_08_39_16_9340.jpg', '/home/pi/Desktop/images/30012025/08/39/image_30012025_08_39_26_10434.jpg', '/home/pi/Desktop/images/30012025/08/39/image_30012025_08_39_35_9416.jpg', '/home/pi/Desktop/images/30012025/08/39/image_30012025_08_39_46_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/38/image_30012025_08_38_56_9467.jpg
/home/pi/Desktop/images/30012025/08/38/image_30012025_08_39_06_10413.jpg
/home/pi/Desktop/images/30012025/08/39/image_30012025_08_39_16_9340.jpg
/home/pi/Desktop/images/30012025/08/39/image_30012025_08_39_26_10434.jpg
/home/pi/Desktop/images/30012025/08/39/image_30012025_08_39_35_9416.jpg
/home/pi/Desktop/images/30012025/08/39/image_30012025_08_39_46_10374.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332925409","1332925406","1332925396","1332925390","1332925384","1332925402"],"photo_ids_order":["1332925384","1332925390","1332925396","1332925402","1332925406","1332925409"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/19c935f5302f6d4e73354de4581fd949.jpg","text":"TemporaryFile(/tmp/multipartBody9213899003660586269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222853137,"filename":"image_30012025_08_39_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/30/58bc5257501178a8906ae635f4678587.jpg","text":"TemporaryFile(/tmp/multipartBody2029791083618862142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222853137,"filename":"image_30012025_08_39_35_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/30/d4cd99d7b56205439ee97013a282088e.jpg","text":"TemporaryFile(/tmp/multipartBody6473223757036526463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222853137,"filename":"image_30012025_08_39_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/30/865b12aeca57e3ba9386826c0d0f5c32.jpg","text":"TemporaryFile(/tmp/multipartBody8110240767940398366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222853137,"filename":"image_30012025_08_39_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/30/2906d16271239404bab66c42ee440b79.jpg","text":"TemporaryFile(/tmp/multipartBody8054540516359390018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222853137,"filename":"image_30012025_08_38_56_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/30/d94926190344dd6e179bac1328ad5dbe.jpg","text":"TemporaryFile(/tmp/multipartBody8543156418298464711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222853137,"filename":"image_30012025_08_39_26_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332925396","file1":"1332925390","file0":"1332925384","file4":"1332925406","file5":"1332925409","file3":"1332925402"},"map_files_photo_id_array":[{"photo_id":"1332925409","filename":"file5"},{"photo_id":"1332925396","filename":"file2"},{"photo_id":"1332925406","filename":"file4"},{"photo_id":"1332925390","filename":"file1"},{"photo_id":"1332925384","filename":"file0"},{"photo_id":"1332925402","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332925409":["hashtag1","hashtag2"]},{"1332925406":["hashtag1","hashtag2"]},{"1332925396":["hashtag1","hashtag2"]},{"1332925390":["hashtag1","hashtag2"]},{"1332925384":["hashtag1","hashtag2"]},{"1332925402":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332925409, 1332925406, 1332925396, 1332925390, 1332925384, 1332925402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.287875175476074 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-30 08:40:42.387452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/39/image_30012025_08_39_56_10384.jpg', '/home/pi/Desktop/images/30012025/08/39/image_30012025_08_40_05_9341.jpg', '/home/pi/Desktop/images/30012025/08/40/image_30012025_08_40_16_10351.jpg', '/home/pi/Desktop/images/30012025/08/40/image_30012025_08_40_26_10448.jpg', '/home/pi/Desktop/images/30012025/08/40/image_30012025_08_40_36_9341.jpg', '/home/pi/Desktop/images/30012025/08/40/image_30012025_08_40_46_10475.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/39/image_30012025_08_39_56_10384.jpg
/home/pi/Desktop/images/30012025/08/39/image_30012025_08_40_05_9341.jpg
/home/pi/Desktop/images/30012025/08/40/image_30012025_08_40_16_10351.jpg
/home/pi/Desktop/images/30012025/08/40/image_30012025_08_40_26_10448.jpg
/home/pi/Desktop/images/30012025/08/40/image_30012025_08_40_36_9341.jpg
/home/pi/Desktop/images/30012025/08/40/image_30012025_08_40_46_10475.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332925445","1332925433","1332925453","1332925449","1332925440","1332925443"],"photo_ids_order":["1332925433","1332925440","1332925443","1332925445","1332925449","1332925453"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2c39e805495602aba0bbd712ee8e9394.jpg","text":"TemporaryFile(/tmp/multipartBody5499287911525923412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222903310,"filename":"image_30012025_08_40_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/30/dc8080b4d6a71fd7fa0d0dc8a0a45820.jpg","text":"TemporaryFile(/tmp/multipartBody4724012994059977002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222903310,"filename":"image_30012025_08_39_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/30/dfa408571ea08381e2a729c545a9f6e7.jpg","text":"TemporaryFile(/tmp/multipartBody4386621364201811958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222903310,"filename":"image_30012025_08_40_46_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e70b976182db307674fd14da5eb6cb5f.jpg","text":"TemporaryFile(/tmp/multipartBody7366266519396245186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222903310,"filename":"image_30012025_08_40_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/30/bbcdf88be22d7eb449a7a72a05074f97.jpg","text":"TemporaryFile(/tmp/multipartBody3724046477399804985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222903310,"filename":"image_30012025_08_40_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/30/f35046305c49b83a0905c4797c2060a0.jpg","text":"TemporaryFile(/tmp/multipartBody4464878030323419888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222903310,"filename":"image_30012025_08_40_16_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332925443","file1":"1332925440","file0":"1332925433","file4":"1332925449","file5":"1332925453","file3":"1332925445"},"map_files_photo_id_array":[{"photo_id":"1332925453","filename":"file5"},{"photo_id":"1332925443","filename":"file2"},{"photo_id":"1332925449","filename":"file4"},{"photo_id":"1332925440","filename":"file1"},{"photo_id":"1332925433","filename":"file0"},{"photo_id":"1332925445","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332925445":["hashtag1","hashtag2"]},{"1332925433":["hashtag1","hashtag2"]},{"1332925453":["hashtag1","hashtag2"]},{"1332925449":["hashtag1","hashtag2"]},{"1332925440":["hashtag1","hashtag2"]},{"1332925443":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332925445, 1332925433, 1332925453, 1332925449, 1332925440, 1332925443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.090306758880615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:41:32.576173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/40/image_30012025_08_40_55_9357.jpg', '/home/pi/Desktop/images/30012025/08/40/image_30012025_08_41_06_10378.jpg', '/home/pi/Desktop/images/30012025/08/41/image_30012025_08_41_16_10433.jpg', '/home/pi/Desktop/images/30012025/08/41/image_30012025_08_41_26_9401.jpg', '/home/pi/Desktop/images/30012025/08/41/image_30012025_08_41_36_10367.jpg', '/home/pi/Desktop/images/30012025/08/41/image_30012025_08_41_45_9381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/40/image_30012025_08_40_55_9357.jpg
/home/pi/Desktop/images/30012025/08/40/image_30012025_08_41_06_10378.jpg
/home/pi/Desktop/images/30012025/08/41/image_30012025_08_41_16_10433.jpg
/home/pi/Desktop/images/30012025/08/41/image_30012025_08_41_26_9401.jpg
/home/pi/Desktop/images/30012025/08/41/image_30012025_08_41_36_10367.jpg
/home/pi/Desktop/images/30012025/08/41/image_30012025_08_41_45_9381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332925490","1332925505","1332925495","1332925498","1332925483","1332925476"],"photo_ids_order":["1332925476","1332925483","1332925490","1332925495","1332925498","1332925505"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9466b3702dae528800dc9d3e80cb9ca4.jpg","text":"TemporaryFile(/tmp/multipartBody4721547064545738480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222953500,"filename":"image_30012025_08_41_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/30/1c5c6f07f90fc09adc761167a2cf4bf6.jpg","text":"TemporaryFile(/tmp/multipartBody3297000843513411957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222953500,"filename":"image_30012025_08_41_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/30/4710d35496aaa3975fb54a6699213133.jpg","text":"TemporaryFile(/tmp/multipartBody5233979042002351073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222953500,"filename":"image_30012025_08_41_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/30/8d3eb339affce1b55ea36c85fb3af8ea.jpg","text":"TemporaryFile(/tmp/multipartBody2865152616278803684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222953500,"filename":"image_30012025_08_41_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/30/548c804271d18920ad29d1c86e83a3ab.jpg","text":"TemporaryFile(/tmp/multipartBody4433921890003745860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222953500,"filename":"image_30012025_08_41_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/30/40cc9c2faf459852f9b297d3253d1fb8.jpg","text":"TemporaryFile(/tmp/multipartBody1436417730010939783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738222953500,"filename":"image_30012025_08_40_55_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332925490","file1":"1332925483","file0":"1332925476","file4":"1332925498","file5":"1332925505","file3":"1332925495"},"map_files_photo_id_array":[{"photo_id":"1332925505","filename":"file5"},{"photo_id":"1332925490","filename":"file2"},{"photo_id":"1332925498","filename":"file4"},{"photo_id":"1332925483","filename":"file1"},{"photo_id":"1332925476","filename":"file0"},{"photo_id":"1332925495","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332925490":["hashtag1","hashtag2"]},{"1332925505":["hashtag1","hashtag2"]},{"1332925495":["hashtag1","hashtag2"]},{"1332925498":["hashtag1","hashtag2"]},{"1332925483":["hashtag1","hashtag2"]},{"1332925476":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332925490, 1332925505, 1332925495, 1332925498, 1332925483, 1332925476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.713019371032715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:42:32.886543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/41/image_30012025_08_41_56_10366.jpg', '/home/pi/Desktop/images/30012025/08/41/image_30012025_08_42_06_10354.jpg', '/home/pi/Desktop/images/30012025/08/42/image_30012025_08_42_15_9362.jpg', '/home/pi/Desktop/images/30012025/08/42/image_30012025_08_42_26_10433.jpg', '/home/pi/Desktop/images/30012025/08/42/image_30012025_08_42_36_10343.jpg', '/home/pi/Desktop/images/30012025/08/42/image_30012025_08_42_46_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/41/image_30012025_08_41_56_10366.jpg
/home/pi/Desktop/images/30012025/08/41/image_30012025_08_42_06_10354.jpg
/home/pi/Desktop/images/30012025/08/42/image_30012025_08_42_15_9362.jpg
/home/pi/Desktop/images/30012025/08/42/image_30012025_08_42_26_10433.jpg
/home/pi/Desktop/images/30012025/08/42/image_30012025_08_42_36_10343.jpg
/home/pi/Desktop/images/30012025/08/42/image_30012025_08_42_46_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":["1332925545","1332925552","1332925578","1332925572","1332925575","1332925563"],"photo_ids_order":["1332925545","1332925552","1332925563","1332925572","1332925575","1332925578"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c5b5c01068eabb035c18ec9d0e4b677a.jpg","text":"TemporaryFile(/tmp/multipartBody6107550626445162231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223013803,"filename":"image_30012025_08_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/30/30ab71eb5ab2514cfa68a54d4d8a5d54.jpg","text":"TemporaryFile(/tmp/multipartBody2752338590429068225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223013803,"filename":"image_30012025_08_42_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/30/073d4c6a5930b62dc0bb3f6cdbea2452.jpg","text":"TemporaryFile(/tmp/multipartBody4098355067581683550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223013803,"filename":"image_30012025_08_42_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/30/57b03b92511f6c3cb00e3aa66d6af28c.jpg","text":"TemporaryFile(/tmp/multipartBody8820287787469127107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223013803,"filename":"image_30012025_08_42_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/30/00c6674f50d3dbedfc718ae4885ddffe.jpg","text":"TemporaryFile(/tmp/multipartBody8071167545619244109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223013803,"filename":"image_30012025_08_42_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/30/d0c7a575b5b720f26f72cd5ecf0705fe.jpg","text":"TemporaryFile(/tmp/multipartBody2007527012713107153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223013803,"filename":"image_30012025_08_42_15_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332925563","file1":"1332925552","file0":"1332925545","file4":"1332925575","file5":"1332925578","file3":"1332925572"},"map_files_photo_id_array":[{"photo_id":"1332925578","filename":"file5"},{"photo_id":"1332925563","filename":"file2"},{"photo_id":"1332925575","filename":"file4"},{"photo_id":"1332925552","filename":"file1"},{"photo_id":"1332925545","filename":"file0"},{"photo_id":"1332925572","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332925545":["hashtag1","hashtag2"]},{"1332925552":["hashtag1","hashtag2"]},{"1332925578":["hashtag1","hashtag2"]},{"1332925572":["hashtag1","hashtag2"]},{"1332925575":["hashtag1","hashtag2"]},{"1332925563":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332925545, 1332925552, 1332925578, 1332925572, 1332925575, 1332925563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.6860933303833 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:43:33.014383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/42/image_30012025_08_42_56_10418.jpg', '/home/pi/Desktop/images/30012025/08/42/image_30012025_08_43_05_9396.jpg', '/home/pi/Desktop/images/30012025/08/43/image_30012025_08_43_16_10418.jpg', '/home/pi/Desktop/images/30012025/08/43/image_30012025_08_43_26_10416.jpg', '/home/pi/Desktop/images/30012025/08/43/image_30012025_08_43_36_9341.jpg', '/home/pi/Desktop/images/30012025/08/43/image_30012025_08_43_46_10380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/42/image_30012025_08_42_56_10418.jpg
/home/pi/Desktop/images/30012025/08/42/image_30012025_08_43_05_9396.jpg
/home/pi/Desktop/images/30012025/08/43/image_30012025_08_43_16_10418.jpg
/home/pi/Desktop/images/30012025/08/43/image_30012025_08_43_26_10416.jpg
/home/pi/Desktop/images/30012025/08/43/image_30012025_08_43_36_9341.jpg
/home/pi/Desktop/images/30012025/08/43/image_30012025_08_43_46_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332925632","1332925628","1332925637","1332925601","1332925610","1332925621"],"photo_ids_order":["1332925601","1332925610","1332925621","1332925628","1332925632","1332925637"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c86429cb59f4efcd1cfb13ce89f923b2.jpg","text":"TemporaryFile(/tmp/multipartBody1682006319884911129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223073926,"filename":"image_30012025_08_43_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/30/4ac3111ba3898ea148f3247f84da6436.jpg","text":"TemporaryFile(/tmp/multipartBody9062641575913303327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223073926,"filename":"image_30012025_08_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/30/34453351311a4af402522d26ac37692b.jpg","text":"TemporaryFile(/tmp/multipartBody6103331383024622485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223073926,"filename":"image_30012025_08_43_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/30/1b5e246c936b36adff54d3040623232f.jpg","text":"TemporaryFile(/tmp/multipartBody2947890654453921937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223073926,"filename":"image_30012025_08_42_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/30/0ace537abfdc4823edac23e775be5c4f.jpg","text":"TemporaryFile(/tmp/multipartBody7740202873245753341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223073926,"filename":"image_30012025_08_43_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/30/90315d75743c99d3497ac08d6832496d.jpg","text":"TemporaryFile(/tmp/multipartBody2396970628366265341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223073926,"filename":"image_30012025_08_43_16_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332925621","file1":"1332925610","file0":"1332925601","file4":"1332925632","file5":"1332925637","file3":"1332925628"},"map_files_photo_id_array":[{"photo_id":"1332925637","filename":"file5"},{"photo_id":"1332925621","filename":"file2"},{"photo_id":"1332925632","filename":"file4"},{"photo_id":"1332925610","filename":"file1"},{"photo_id":"1332925601","filename":"file0"},{"photo_id":"1332925628","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332925632":["hashtag1","hashtag2"]},{"1332925628":["hashtag1","hashtag2"]},{"1332925637":["hashtag1","hashtag2"]},{"1332925601":["hashtag1","hashtag2"]},{"1332925610":["hashtag1","hashtag2"]},{"1332925621":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332925632, 1332925628, 1332925637, 1332925601, 1332925610, 1332925621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.10375499725342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:44:32.343726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/43/image_30012025_08_43_55_9365.jpg', '/home/pi/Desktop/images/30012025/08/43/image_30012025_08_44_06_10398.jpg', '/home/pi/Desktop/images/30012025/08/44/image_30012025_08_44_16_10424.jpg', '/home/pi/Desktop/images/30012025/08/44/image_30012025_08_44_26_9407.jpg', '/home/pi/Desktop/images/30012025/08/44/image_30012025_08_44_36_10405.jpg', '/home/pi/Desktop/images/30012025/08/44/image_30012025_08_44_45_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/43/image_30012025_08_43_55_9365.jpg
/home/pi/Desktop/images/30012025/08/43/image_30012025_08_44_06_10398.jpg
/home/pi/Desktop/images/30012025/08/44/image_30012025_08_44_16_10424.jpg
/home/pi/Desktop/images/30012025/08/44/image_30012025_08_44_26_9407.jpg
/home/pi/Desktop/images/30012025/08/44/image_30012025_08_44_36_10405.jpg
/home/pi/Desktop/images/30012025/08/44/image_30012025_08_44_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":["1332926411","1332925682","1332926114","1332925798","1332926431","1332926416"],"photo_ids_order":["1332925682","1332925798","1332926114","1332926411","1332926416","1332926431"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3c10aacff58e8649a6f4cf2df501bcdf.jpg","text":"TemporaryFile(/tmp/multipartBody5590710191291250859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223133263,"filename":"image_30012025_08_44_26_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/30/379e57689860979ecab4514e95ee238c.jpg","text":"TemporaryFile(/tmp/multipartBody793020818986214315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223133263,"filename":"image_30012025_08_43_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/30/524c241623f1033ee74ec858112cb8d8.jpg","text":"TemporaryFile(/tmp/multipartBody8470267302527399662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223133263,"filename":"image_30012025_08_44_16_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/951180795a693d8ea16d53b938331d76.jpg","text":"TemporaryFile(/tmp/multipartBody5642723481157050378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223133263,"filename":"image_30012025_08_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/30/41e078d000710b993ae0221fee9a6530.jpg","text":"TemporaryFile(/tmp/multipartBody4127838033940973216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223133263,"filename":"image_30012025_08_44_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/30/eb44c6dafcb511be57daf674c62b5a13.jpg","text":"TemporaryFile(/tmp/multipartBody6691233409482475823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223133263,"filename":"image_30012025_08_44_36_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332926114","file1":"1332925798","file0":"1332925682","file4":"1332926416","file5":"1332926431","file3":"1332926411"},"map_files_photo_id_array":[{"photo_id":"1332926431","filename":"file5"},{"photo_id":"1332926114","filename":"file2"},{"photo_id":"1332926416","filename":"file4"},{"photo_id":"1332925798","filename":"file1"},{"photo_id":"1332925682","filename":"file0"},{"photo_id":"1332926411","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332926411":["hashtag1","hashtag2"]},{"1332925682":["hashtag1","hashtag2"]},{"1332926114":["hashtag1","hashtag2"]},{"1332925798":["hashtag1","hashtag2"]},{"1332926431":["hashtag1","hashtag2"]},{"1332926416":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332926411, 1332925682, 1332926114, 1332925798, 1332926431, 1332926416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.740456342697144 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:45:32.397567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/44/image_30012025_08_44_56_10380.jpg', '/home/pi/Desktop/images/30012025/08/44/image_30012025_08_45_06_10407.jpg', '/home/pi/Desktop/images/30012025/08/45/image_30012025_08_45_15_9331.jpg', '/home/pi/Desktop/images/30012025/08/45/image_30012025_08_45_26_10391.jpg', '/home/pi/Desktop/images/30012025/08/45/image_30012025_08_45_36_10373.jpg', '/home/pi/Desktop/images/30012025/08/45/image_30012025_08_45_46_9439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/44/image_30012025_08_44_56_10380.jpg
/home/pi/Desktop/images/30012025/08/44/image_30012025_08_45_06_10407.jpg
/home/pi/Desktop/images/30012025/08/45/image_30012025_08_45_15_9331.jpg
/home/pi/Desktop/images/30012025/08/45/image_30012025_08_45_26_10391.jpg
/home/pi/Desktop/images/30012025/08/45/image_30012025_08_45_36_10373.jpg
/home/pi/Desktop/images/30012025/08/45/image_30012025_08_45_46_9439.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5372037887573242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 08:45:42.431345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/44/image_30012025_08_44_56_10380.jpg', '/home/pi/Desktop/images/30012025/08/44/image_30012025_08_45_06_10407.jpg', '/home/pi/Desktop/images/30012025/08/45/image_30012025_08_45_15_9331.jpg', '/home/pi/Desktop/images/30012025/08/45/image_30012025_08_45_26_10391.jpg', '/home/pi/Desktop/images/30012025/08/45/image_30012025_08_45_36_10373.jpg', '/home/pi/Desktop/images/30012025/08/45/image_30012025_08_45_46_9439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/44/image_30012025_08_44_56_10380.jpg
/home/pi/Desktop/images/30012025/08/44/image_30012025_08_45_06_10407.jpg
/home/pi/Desktop/images/30012025/08/45/image_30012025_08_45_15_9331.jpg
/home/pi/Desktop/images/30012025/08/45/image_30012025_08_45_26_10391.jpg
/home/pi/Desktop/images/30012025/08/45/image_30012025_08_45_36_10373.jpg
/home/pi/Desktop/images/30012025/08/45/image_30012025_08_45_46_9439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332926720","1332926764","1332926692","1332926746","1332926760","1332926757"],"photo_ids_order":["1332926692","1332926720","1332926746","1332926757","1332926760","1332926764"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1904289bed02a1ae1fd1a1311a53be23.jpg","text":"TemporaryFile(/tmp/multipartBody5662397825961360819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223203347,"filename":"image_30012025_08_45_06_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/30/63fc3a797c1691eade907d0f81cff012.jpg","text":"TemporaryFile(/tmp/multipartBody4145323446648482813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223203347,"filename":"image_30012025_08_45_46_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/30/a569083b9878ce8b4d91e5d278e9137a.jpg","text":"TemporaryFile(/tmp/multipartBody6115939024832307688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223203347,"filename":"image_30012025_08_44_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/30/645dce633eecdad88d3fbf66f5ab22c0.jpg","text":"TemporaryFile(/tmp/multipartBody4267389084979535114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223203347,"filename":"image_30012025_08_45_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/30/f68df3b79962951d3e025ad40256ad70.jpg","text":"TemporaryFile(/tmp/multipartBody6231015890261571144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223203347,"filename":"image_30012025_08_45_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/30/cff0586e4f2936e8484e9581316da2c7.jpg","text":"TemporaryFile(/tmp/multipartBody3648017908394593878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223203347,"filename":"image_30012025_08_45_26_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332926746","file1":"1332926720","file0":"1332926692","file4":"1332926760","file5":"1332926764","file3":"1332926757"},"map_files_photo_id_array":[{"photo_id":"1332926764","filename":"file5"},{"photo_id":"1332926746","filename":"file2"},{"photo_id":"1332926760","filename":"file4"},{"photo_id":"1332926720","filename":"file1"},{"photo_id":"1332926692","filename":"file0"},{"photo_id":"1332926757","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332926720":["hashtag1","hashtag2"]},{"1332926764":["hashtag1","hashtag2"]},{"1332926692":["hashtag1","hashtag2"]},{"1332926746":["hashtag1","hashtag2"]},{"1332926760":["hashtag1","hashtag2"]},{"1332926757":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332926720, 1332926764, 1332926692, 1332926746, 1332926760, 1332926757)","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 = 1332926746 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30012025/08/45/image_30012025_08_45_15_9331.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 63.184436559677124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:46:52.600076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/41/image_28012025_20_42_05_10371.jpg', '/home/pi/Desktop/images/28012025/20/42/image_28012025_20_42_15_10469.jpg', '/home/pi/Desktop/images/28012025/20/42/image_28012025_20_42_25_9357.jpg', '/home/pi/Desktop/images/28012025/20/42/image_28012025_20_42_35_10356.jpg', '/home/pi/Desktop/images/28012025/20/42/image_28012025_20_42_45_9472.jpg', '/home/pi/Desktop/images/28012025/20/42/image_28012025_20_42_55_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/20/41/image_28012025_20_42_05_10371.jpg
/home/pi/Desktop/images/28012025/20/42/image_28012025_20_42_15_10469.jpg
/home/pi/Desktop/images/28012025/20/42/image_28012025_20_42_25_9357.jpg
/home/pi/Desktop/images/28012025/20/42/image_28012025_20_42_35_10356.jpg
/home/pi/Desktop/images/28012025/20/42/image_28012025_20_42_45_9472.jpg
/home/pi/Desktop/images/28012025/20/42/image_28012025_20_42_55_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: 4.66250205039978 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 08:47:04.174707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/41/image_28012025_20_42_05_10371.jpg', '/home/pi/Desktop/images/28012025/20/42/image_28012025_20_42_15_10469.jpg', '/home/pi/Desktop/images/28012025/20/42/image_28012025_20_42_25_9357.jpg', '/home/pi/Desktop/images/28012025/20/42/image_28012025_20_42_35_10356.jpg', '/home/pi/Desktop/images/28012025/20/42/image_28012025_20_42_45_9472.jpg', '/home/pi/Desktop/images/28012025/20/42/image_28012025_20_42_55_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/20/41/image_28012025_20_42_05_10371.jpg
/home/pi/Desktop/images/28012025/20/42/image_28012025_20_42_15_10469.jpg
/home/pi/Desktop/images/28012025/20/42/image_28012025_20_42_25_9357.jpg
/home/pi/Desktop/images/28012025/20/42/image_28012025_20_42_35_10356.jpg
/home/pi/Desktop/images/28012025/20/42/image_28012025_20_42_45_9472.jpg
/home/pi/Desktop/images/28012025/20/42/image_28012025_20_42_55_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":["1332926857","1332926848","1332926874","1332926868","1332926862","1332926853"],"photo_ids_order":["1332926848","1332926853","1332926857","1332926862","1332926868","1332926874"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2c94fc52b03416d835caba9683155dd8.jpg","text":"TemporaryFile(/tmp/multipartBody1835548740200744041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223287886,"filename":"image_28012025_20_42_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/30/0580c69eaabc3ef8938a44ddb5e8ca83.jpg","text":"TemporaryFile(/tmp/multipartBody5801440137420678457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223287886,"filename":"image_28012025_20_42_05_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5eababac05b375c67a05242384559508.jpg","text":"TemporaryFile(/tmp/multipartBody9057303890923909051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223287886,"filename":"image_28012025_20_42_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/30/80e1dcde6152258d26b58e287aeddedb.jpg","text":"TemporaryFile(/tmp/multipartBody4686461943772251581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223287886,"filename":"image_28012025_20_42_45_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/30/96385c975b5867edfb85fb4660b5a538.jpg","text":"TemporaryFile(/tmp/multipartBody6498530928773308364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223287886,"filename":"image_28012025_20_42_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/30/490ba9710ffe2289a438638c8aa560bc.jpg","text":"TemporaryFile(/tmp/multipartBody8994698626263584433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223287886,"filename":"image_28012025_20_42_15_10469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332926857","file1":"1332926853","file0":"1332926848","file4":"1332926868","file5":"1332926874","file3":"1332926862"},"map_files_photo_id_array":[{"photo_id":"1332926874","filename":"file5"},{"photo_id":"1332926857","filename":"file2"},{"photo_id":"1332926868","filename":"file4"},{"photo_id":"1332926853","filename":"file1"},{"photo_id":"1332926848","filename":"file0"},{"photo_id":"1332926862","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332926857":["hashtag1","hashtag2"]},{"1332926848":["hashtag1","hashtag2"]},{"1332926874":["hashtag1","hashtag2"]},{"1332926868":["hashtag1","hashtag2"]},{"1332926862":["hashtag1","hashtag2"]},{"1332926853":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332926857, 1332926848, 1332926874, 1332926868, 1332926862, 1332926853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.529473543167114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:47:52.950754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/45/image_30012025_08_45_56_10447.jpg', '/home/pi/Desktop/images/30012025/08/45/image_30012025_08_46_05_9350.jpg', '/home/pi/Desktop/images/30012025/08/46/image_30012025_08_46_16_10446.jpg', '/home/pi/Desktop/images/30012025/08/46/image_30012025_08_46_26_10379.jpg', '/home/pi/Desktop/images/30012025/08/46/image_30012025_08_46_36_9335.jpg', '/home/pi/Desktop/images/30012025/08/46/image_30012025_08_46_46_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/45/image_30012025_08_45_56_10447.jpg
/home/pi/Desktop/images/30012025/08/45/image_30012025_08_46_05_9350.jpg
/home/pi/Desktop/images/30012025/08/46/image_30012025_08_46_16_10446.jpg
/home/pi/Desktop/images/30012025/08/46/image_30012025_08_46_26_10379.jpg
/home/pi/Desktop/images/30012025/08/46/image_30012025_08_46_36_9335.jpg
/home/pi/Desktop/images/30012025/08/46/image_30012025_08_46_46_10404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332926918","1332926893","1332926908","1332926898","1332926904","1332926913"],"photo_ids_order":["1332926893","1332926898","1332926904","1332926908","1332926913","1332926918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d1b91a75444efb402543212688e1d7af.jpg","text":"TemporaryFile(/tmp/multipartBody4011724625973457540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223333869,"filename":"image_30012025_08_46_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/30/c05674b9c60c11d12de4d2a337bf17ef.jpg","text":"TemporaryFile(/tmp/multipartBody8055673378923883977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223333869,"filename":"image_30012025_08_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/30/01c365d13ef235e627118849dd9aece0.jpg","text":"TemporaryFile(/tmp/multipartBody6384922678909850173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223333869,"filename":"image_30012025_08_46_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/30/959a9d099b50f1403475073ecd28bfe9.jpg","text":"TemporaryFile(/tmp/multipartBody1612387183728192951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223333869,"filename":"image_30012025_08_46_05_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5a8cded3235deb01867f896f9991ceba.jpg","text":"TemporaryFile(/tmp/multipartBody2004652619663249667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223333869,"filename":"image_30012025_08_46_16_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/30/1ef7ea44bfc41b977ea053eaa0879719.jpg","text":"TemporaryFile(/tmp/multipartBody3750533626290398457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223333869,"filename":"image_30012025_08_46_36_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332926904","file1":"1332926898","file0":"1332926893","file4":"1332926913","file5":"1332926918","file3":"1332926908"},"map_files_photo_id_array":[{"photo_id":"1332926918","filename":"file5"},{"photo_id":"1332926904","filename":"file2"},{"photo_id":"1332926913","filename":"file4"},{"photo_id":"1332926898","filename":"file1"},{"photo_id":"1332926893","filename":"file0"},{"photo_id":"1332926908","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332926918":["hashtag1","hashtag2"]},{"1332926893":["hashtag1","hashtag2"]},{"1332926908":["hashtag1","hashtag2"]},{"1332926898":["hashtag1","hashtag2"]},{"1332926904":["hashtag1","hashtag2"]},{"1332926913":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332926918, 1332926893, 1332926908, 1332926898, 1332926904, 1332926913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78798246383667 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 08:48:42.126585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/46/image_30012025_08_46_55_9366.jpg', '/home/pi/Desktop/images/30012025/08/46/image_30012025_08_47_06_10352.jpg', '/home/pi/Desktop/images/30012025/08/47/image_30012025_08_47_16_10427.jpg', '/home/pi/Desktop/images/30012025/08/47/image_30012025_08_47_25_9282.jpg', '/home/pi/Desktop/images/30012025/08/47/image_30012025_08_47_36_10329.jpg', '/home/pi/Desktop/images/30012025/08/47/image_30012025_08_47_46_10514.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/46/image_30012025_08_46_55_9366.jpg
/home/pi/Desktop/images/30012025/08/46/image_30012025_08_47_06_10352.jpg
/home/pi/Desktop/images/30012025/08/47/image_30012025_08_47_16_10427.jpg
/home/pi/Desktop/images/30012025/08/47/image_30012025_08_47_25_9282.jpg
/home/pi/Desktop/images/30012025/08/47/image_30012025_08_47_36_10329.jpg
/home/pi/Desktop/images/30012025/08/47/image_30012025_08_47_46_10514.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332926966","1332926938","1332926941","1332926952","1332926961","1332926946"],"photo_ids_order":["1332926938","1332926941","1332926946","1332926952","1332926961","1332926966"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d7eba1e78196292389b665178cf2a7c3.jpg","text":"TemporaryFile(/tmp/multipartBody710284595300051934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223383037,"filename":"image_30012025_08_47_46_10514.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b1145ab256ea57c71846aa942708a4e6.jpg","text":"TemporaryFile(/tmp/multipartBody1635736991092383774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223383037,"filename":"image_30012025_08_46_55_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/30/bac693085cf6fe33def4135d41699a20.jpg","text":"TemporaryFile(/tmp/multipartBody2561269152026113008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223383037,"filename":"image_30012025_08_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/30/7e29582def4ec57b5ac866dd2f8522ad.jpg","text":"TemporaryFile(/tmp/multipartBody4957531498462489309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223383037,"filename":"image_30012025_08_47_25_9282.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a1704fe2422eadc40f447dd9897a7b5e.jpg","text":"TemporaryFile(/tmp/multipartBody4967990374983158030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223383037,"filename":"image_30012025_08_47_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/30/6d39e7ba0c2764c9db6dc4b25c0cd2b6.jpg","text":"TemporaryFile(/tmp/multipartBody9093125471662553895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223383037,"filename":"image_30012025_08_47_16_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332926946","file1":"1332926941","file0":"1332926938","file4":"1332926961","file5":"1332926966","file3":"1332926952"},"map_files_photo_id_array":[{"photo_id":"1332926966","filename":"file5"},{"photo_id":"1332926946","filename":"file2"},{"photo_id":"1332926961","filename":"file4"},{"photo_id":"1332926941","filename":"file1"},{"photo_id":"1332926938","filename":"file0"},{"photo_id":"1332926952","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332926966":["hashtag1","hashtag2"]},{"1332926938":["hashtag1","hashtag2"]},{"1332926941":["hashtag1","hashtag2"]},{"1332926952":["hashtag1","hashtag2"]},{"1332926961":["hashtag1","hashtag2"]},{"1332926946":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332926966, 1332926938, 1332926941, 1332926952, 1332926961, 1332926946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.352068185806274 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:49:32.565234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/47/image_30012025_08_47_56_9380.jpg', '/home/pi/Desktop/images/30012025/08/47/image_30012025_08_48_06_10340.jpg', '/home/pi/Desktop/images/30012025/08/48/image_30012025_08_48_15_9340.jpg', '/home/pi/Desktop/images/30012025/08/48/image_30012025_08_48_26_10350.jpg', '/home/pi/Desktop/images/30012025/08/48/image_30012025_08_48_36_10474.jpg', '/home/pi/Desktop/images/30012025/08/48/image_30012025_08_48_46_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/47/image_30012025_08_47_56_9380.jpg
/home/pi/Desktop/images/30012025/08/47/image_30012025_08_48_06_10340.jpg
/home/pi/Desktop/images/30012025/08/48/image_30012025_08_48_15_9340.jpg
/home/pi/Desktop/images/30012025/08/48/image_30012025_08_48_26_10350.jpg
/home/pi/Desktop/images/30012025/08/48/image_30012025_08_48_36_10474.jpg
/home/pi/Desktop/images/30012025/08/48/image_30012025_08_48_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":["1332927002","1332927005","1332926986","1332927007","1332926997","1332926991"],"photo_ids_order":["1332926986","1332926991","1332926997","1332927002","1332927005","1332927007"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1216794e5c8785eb2357b53a20dfd87a.jpg","text":"TemporaryFile(/tmp/multipartBody100325347047921488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223433478,"filename":"image_30012025_08_48_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/30/8b3d4fdfd43867bac526e56105e9c28d.jpg","text":"TemporaryFile(/tmp/multipartBody6548614715164891047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223433478,"filename":"image_30012025_08_48_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/30/ba0a9e5d609477500fa7335a8e2f52fb.jpg","text":"TemporaryFile(/tmp/multipartBody5603625331456029082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223433478,"filename":"image_30012025_08_47_56_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/30/1f7c2e2fcd734352f98d1f5d8a65b914.jpg","text":"TemporaryFile(/tmp/multipartBody8251594197905496214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223433478,"filename":"image_30012025_08_48_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/30/630f0f156170239237de5f0fc2a0726f.jpg","text":"TemporaryFile(/tmp/multipartBody7635695324651321349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223433478,"filename":"image_30012025_08_48_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/30/9f66a31ac5d9c6cad44e06f9e718f770.jpg","text":"TemporaryFile(/tmp/multipartBody3034848175192120974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223433478,"filename":"image_30012025_08_48_06_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332926997","file1":"1332926991","file0":"1332926986","file4":"1332927005","file5":"1332927007","file3":"1332927002"},"map_files_photo_id_array":[{"photo_id":"1332927007","filename":"file5"},{"photo_id":"1332926997","filename":"file2"},{"photo_id":"1332927005","filename":"file4"},{"photo_id":"1332926991","filename":"file1"},{"photo_id":"1332926986","filename":"file0"},{"photo_id":"1332927002","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332927002":["hashtag1","hashtag2"]},{"1332927005":["hashtag1","hashtag2"]},{"1332926986":["hashtag1","hashtag2"]},{"1332927007":["hashtag1","hashtag2"]},{"1332926997":["hashtag1","hashtag2"]},{"1332926991":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332927002, 1332927005, 1332926986, 1332927007, 1332926997, 1332926991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36761260032654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:50:32.593815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/48/image_30012025_08_48_56_10447.jpg', '/home/pi/Desktop/images/30012025/08/48/image_30012025_08_49_05_9349.jpg', '/home/pi/Desktop/images/30012025/08/49/image_30012025_08_49_16_10342.jpg', '/home/pi/Desktop/images/30012025/08/49/image_30012025_08_49_26_10393.jpg', '/home/pi/Desktop/images/30012025/08/49/image_30012025_08_49_35_9382.jpg', '/home/pi/Desktop/images/30012025/08/49/image_30012025_08_49_46_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/48/image_30012025_08_48_56_10447.jpg
/home/pi/Desktop/images/30012025/08/48/image_30012025_08_49_05_9349.jpg
/home/pi/Desktop/images/30012025/08/49/image_30012025_08_49_16_10342.jpg
/home/pi/Desktop/images/30012025/08/49/image_30012025_08_49_26_10393.jpg
/home/pi/Desktop/images/30012025/08/49/image_30012025_08_49_35_9382.jpg
/home/pi/Desktop/images/30012025/08/49/image_30012025_08_49_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":["1332927056","1332927052","1332927040","1332927060","1332927057","1332927047"],"photo_ids_order":["1332927040","1332927047","1332927052","1332927056","1332927057","1332927060"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e7c8a9c5de86450c6b1de5951fd3b66d.jpg","text":"TemporaryFile(/tmp/multipartBody2346992086573584674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223493509,"filename":"image_30012025_08_49_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/30/28609866b989417c0e9c154aae90a4d5.jpg","text":"TemporaryFile(/tmp/multipartBody588159889296565421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223493509,"filename":"image_30012025_08_49_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/30/b6af3d3062acef5e537802a115f2a096.jpg","text":"TemporaryFile(/tmp/multipartBody5757500555362192116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223493509,"filename":"image_30012025_08_48_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/30/230b81fad30180ce178ce8a1a5047bd1.jpg","text":"TemporaryFile(/tmp/multipartBody3628048596836673064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223493509,"filename":"image_30012025_08_49_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/30/8b5135b8ec4883dde04e431591f79b27.jpg","text":"TemporaryFile(/tmp/multipartBody3504210130299102957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223493509,"filename":"image_30012025_08_49_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/30/6af72865236fd3531f270f57a382e9a1.jpg","text":"TemporaryFile(/tmp/multipartBody8922709837439308350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223493509,"filename":"image_30012025_08_49_05_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332927052","file1":"1332927047","file0":"1332927040","file4":"1332927057","file5":"1332927060","file3":"1332927056"},"map_files_photo_id_array":[{"photo_id":"1332927060","filename":"file5"},{"photo_id":"1332927052","filename":"file2"},{"photo_id":"1332927057","filename":"file4"},{"photo_id":"1332927047","filename":"file1"},{"photo_id":"1332927040","filename":"file0"},{"photo_id":"1332927056","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332927056":["hashtag1","hashtag2"]},{"1332927052":["hashtag1","hashtag2"]},{"1332927040":["hashtag1","hashtag2"]},{"1332927060":["hashtag1","hashtag2"]},{"1332927057":["hashtag1","hashtag2"]},{"1332927047":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332927056, 1332927052, 1332927040, 1332927060, 1332927057, 1332927047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.538187980651855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:51:32.867218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/49/image_30012025_08_49_56_10343.jpg', '/home/pi/Desktop/images/30012025/08/49/image_30012025_08_50_06_9346.jpg', '/home/pi/Desktop/images/30012025/08/50/image_30012025_08_50_16_10453.jpg', '/home/pi/Desktop/images/30012025/08/50/image_30012025_08_50_26_10361.jpg', '/home/pi/Desktop/images/30012025/08/50/image_30012025_08_50_36_9377.jpg', '/home/pi/Desktop/images/30012025/08/51/image_30012025_08_51_16_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/49/image_30012025_08_49_56_10343.jpg
/home/pi/Desktop/images/30012025/08/49/image_30012025_08_50_06_9346.jpg
/home/pi/Desktop/images/30012025/08/50/image_30012025_08_50_16_10453.jpg
/home/pi/Desktop/images/30012025/08/50/image_30012025_08_50_26_10361.jpg
/home/pi/Desktop/images/30012025/08/50/image_30012025_08_50_36_9377.jpg
/home/pi/Desktop/images/30012025/08/51/image_30012025_08_51_16_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":["1332927200","1332927166","1332927178","1332927127","1332927216","1332927210"],"photo_ids_order":["1332927127","1332927166","1332927178","1332927200","1332927210","1332927216"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d4f1677bf520c0b1c3a8fc139aedc928.jpg","text":"TemporaryFile(/tmp/multipartBody2881239256831518251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223553779,"filename":"image_30012025_08_50_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/30/6f9eb2b751f77c439f62c55286faf26e.jpg","text":"TemporaryFile(/tmp/multipartBody7109263971705426318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223553779,"filename":"image_30012025_08_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/30/9c511774d067f7f834fcc050de9442ff.jpg","text":"TemporaryFile(/tmp/multipartBody3099838389867003547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223553779,"filename":"image_30012025_08_50_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/30/f3781c2aabb783a44e29df81a089d6e7.jpg","text":"TemporaryFile(/tmp/multipartBody6616399125194111692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223553779,"filename":"image_30012025_08_49_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/30/ee1cb74790679b3ebf160c05b064bd21.jpg","text":"TemporaryFile(/tmp/multipartBody2488282140836797831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223553779,"filename":"image_30012025_08_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/30/9ed6d1942c2f9cb2ad8f85d55b70898c.jpg","text":"TemporaryFile(/tmp/multipartBody2801434904057486650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223553779,"filename":"image_30012025_08_50_36_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332927178","file1":"1332927166","file0":"1332927127","file4":"1332927210","file5":"1332927216","file3":"1332927200"},"map_files_photo_id_array":[{"photo_id":"1332927216","filename":"file5"},{"photo_id":"1332927178","filename":"file2"},{"photo_id":"1332927210","filename":"file4"},{"photo_id":"1332927166","filename":"file1"},{"photo_id":"1332927127","filename":"file0"},{"photo_id":"1332927200","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332927200":["hashtag1","hashtag2"]},{"1332927166":["hashtag1","hashtag2"]},{"1332927178":["hashtag1","hashtag2"]},{"1332927127":["hashtag1","hashtag2"]},{"1332927216":["hashtag1","hashtag2"]},{"1332927210":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332927200, 1332927166, 1332927178, 1332927127, 1332927216, 1332927210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.440521478652954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:52:33.116340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/51/image_30012025_08_51_26_9342.jpg', '/home/pi/Desktop/images/30012025/08/51/image_30012025_08_51_36_10410.jpg', '/home/pi/Desktop/images/30012025/08/51/image_30012025_08_51_45_9353.jpg', '/home/pi/Desktop/images/30012025/08/51/image_30012025_08_51_56_10349.jpg', '/home/pi/Desktop/images/30012025/08/51/image_30012025_08_52_06_10419.jpg', '/home/pi/Desktop/images/30012025/08/52/image_30012025_08_52_15_9381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/51/image_30012025_08_51_26_9342.jpg
/home/pi/Desktop/images/30012025/08/51/image_30012025_08_51_36_10410.jpg
/home/pi/Desktop/images/30012025/08/51/image_30012025_08_51_45_9353.jpg
/home/pi/Desktop/images/30012025/08/51/image_30012025_08_51_56_10349.jpg
/home/pi/Desktop/images/30012025/08/51/image_30012025_08_52_06_10419.jpg
/home/pi/Desktop/images/30012025/08/52/image_30012025_08_52_15_9381.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5400416851043701 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 08:52:43.179147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/51/image_30012025_08_51_26_9342.jpg', '/home/pi/Desktop/images/30012025/08/51/image_30012025_08_51_36_10410.jpg', '/home/pi/Desktop/images/30012025/08/51/image_30012025_08_51_45_9353.jpg', '/home/pi/Desktop/images/30012025/08/51/image_30012025_08_51_56_10349.jpg', '/home/pi/Desktop/images/30012025/08/51/image_30012025_08_52_06_10419.jpg', '/home/pi/Desktop/images/30012025/08/52/image_30012025_08_52_15_9381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/51/image_30012025_08_51_26_9342.jpg
/home/pi/Desktop/images/30012025/08/51/image_30012025_08_51_36_10410.jpg
/home/pi/Desktop/images/30012025/08/51/image_30012025_08_51_45_9353.jpg
/home/pi/Desktop/images/30012025/08/51/image_30012025_08_51_56_10349.jpg
/home/pi/Desktop/images/30012025/08/51/image_30012025_08_52_06_10419.jpg
/home/pi/Desktop/images/30012025/08/52/image_30012025_08_52_15_9381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332927286","1332927270","1332927261","1332927255","1332927275","1332927266"],"photo_ids_order":["1332927255","1332927261","1332927266","1332927270","1332927275","1332927286"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1411c52ce35f1d0f37819d2ea4e35405.jpg","text":"TemporaryFile(/tmp/multipartBody4979735699897172216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223624111,"filename":"image_30012025_08_52_15_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/925d62fd16bc3ea122587f8e372320dc.jpg","text":"TemporaryFile(/tmp/multipartBody1400056986346053670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223624111,"filename":"image_30012025_08_51_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/30/3558871f5cfae870d495fc8b387f5d4b.jpg","text":"TemporaryFile(/tmp/multipartBody9018891751782458846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223624111,"filename":"image_30012025_08_51_36_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c5a57445b616b4f9ec288f009380706f.jpg","text":"TemporaryFile(/tmp/multipartBody8217058449271646493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223624111,"filename":"image_30012025_08_51_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/30/e712080d4f338a527284c8928e7d835a.jpg","text":"TemporaryFile(/tmp/multipartBody7594532646534147741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223624111,"filename":"image_30012025_08_52_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/30/afac6994df9fffc12b4cd05fcb367972.jpg","text":"TemporaryFile(/tmp/multipartBody4339252463725985502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223624111,"filename":"image_30012025_08_51_45_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332927266","file1":"1332927261","file0":"1332927255","file4":"1332927275","file5":"1332927286","file3":"1332927270"},"map_files_photo_id_array":[{"photo_id":"1332927286","filename":"file5"},{"photo_id":"1332927266","filename":"file2"},{"photo_id":"1332927275","filename":"file4"},{"photo_id":"1332927261","filename":"file1"},{"photo_id":"1332927255","filename":"file0"},{"photo_id":"1332927270","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332927286":["hashtag1","hashtag2"]},{"1332927270":["hashtag1","hashtag2"]},{"1332927261":["hashtag1","hashtag2"]},{"1332927255":["hashtag1","hashtag2"]},{"1332927275":["hashtag1","hashtag2"]},{"1332927266":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332927286, 1332927270, 1332927261, 1332927255, 1332927275, 1332927266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.83076333999634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:53:32.314646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/52/image_30012025_08_52_36_10252.jpg', '/home/pi/Desktop/images/30012025/08/53/image_30012025_08_53_16_10370.jpg', '/home/pi/Desktop/images/30012025/08/53/image_30012025_08_53_26_10375.jpg', '/home/pi/Desktop/images/30012025/08/53/image_30012025_08_53_36_9419.jpg', '/home/pi/Desktop/images/30012025/08/53/image_30012025_08_53_46_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/52/image_30012025_08_52_36_10252.jpg
/home/pi/Desktop/images/30012025/08/53/image_30012025_08_53_16_10370.jpg
/home/pi/Desktop/images/30012025/08/53/image_30012025_08_53_26_10375.jpg
/home/pi/Desktop/images/30012025/08/53/image_30012025_08_53_36_9419.jpg
/home/pi/Desktop/images/30012025/08/53/image_30012025_08_53_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":["1332927346","1332927337","1332927330","1332927333","1332927342"],"photo_ids_order":["1332927330","1332927333","1332927337","1332927342","1332927346"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1a5cb8ae4fc7f2d0539f2477e8d03c7e.jpg","text":"TemporaryFile(/tmp/multipartBody2789941478427482160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223673218,"filename":"image_30012025_08_53_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/30/3e20be8344005b84581c2d35985f0dec.jpg","text":"TemporaryFile(/tmp/multipartBody7426012546197138475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223673218,"filename":"image_30012025_08_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/30/e18b64eda614b015a6e19fac5cbd87d9.jpg","text":"TemporaryFile(/tmp/multipartBody6278079760546732598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223673218,"filename":"image_30012025_08_52_36_10252.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2999c3008de59974db5afcc6ce131a23.jpg","text":"TemporaryFile(/tmp/multipartBody2066879319235924040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223673218,"filename":"image_30012025_08_53_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/30/6a5ef82e5fb12ed959641901783ab64b.jpg","text":"TemporaryFile(/tmp/multipartBody3831257859014130225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223673218,"filename":"image_30012025_08_53_36_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332927337","file1":"1332927333","file0":"1332927330","file4":"1332927346","file3":"1332927342"},"map_files_photo_id_array":[{"photo_id":"1332927337","filename":"file2"},{"photo_id":"1332927346","filename":"file4"},{"photo_id":"1332927333","filename":"file1"},{"photo_id":"1332927330","filename":"file0"},{"photo_id":"1332927342","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332927346":["hashtag1","hashtag2"]},{"1332927337":["hashtag1","hashtag2"]},{"1332927330":["hashtag1","hashtag2"]},{"1332927333":["hashtag1","hashtag2"]},{"1332927342":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332927346, 1332927337, 1332927330, 1332927333, 1332927342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.552650690078735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:54:32.485980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/53/image_30012025_08_53_55_9402.jpg', '/home/pi/Desktop/images/30012025/08/53/image_30012025_08_54_06_10364.jpg', '/home/pi/Desktop/images/30012025/08/54/image_30012025_08_54_16_10339.jpg', '/home/pi/Desktop/images/30012025/08/54/image_30012025_08_54_25_9352.jpg', '/home/pi/Desktop/images/30012025/08/54/image_30012025_08_54_36_10339.jpg', '/home/pi/Desktop/images/30012025/08/54/image_30012025_08_54_46_10420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/53/image_30012025_08_53_55_9402.jpg
/home/pi/Desktop/images/30012025/08/53/image_30012025_08_54_06_10364.jpg
/home/pi/Desktop/images/30012025/08/54/image_30012025_08_54_16_10339.jpg
/home/pi/Desktop/images/30012025/08/54/image_30012025_08_54_25_9352.jpg
/home/pi/Desktop/images/30012025/08/54/image_30012025_08_54_36_10339.jpg
/home/pi/Desktop/images/30012025/08/54/image_30012025_08_54_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":["1332928285","1332927997","1332928278","1332928302","1332928271","1332928196"],"photo_ids_order":["1332927997","1332928196","1332928271","1332928278","1332928285","1332928302"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a8d22a7edbcd7fb3462da1e33368742b.jpg","text":"TemporaryFile(/tmp/multipartBody991887331158346572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223733380,"filename":"image_30012025_08_54_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/30/ac2434311978788d251a137c232218f1.jpg","text":"TemporaryFile(/tmp/multipartBody4604674470196969206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223733380,"filename":"image_30012025_08_53_55_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/30/2ce5d347fb459d2c147f06e8d2be1184.jpg","text":"TemporaryFile(/tmp/multipartBody1860839725448466236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223733380,"filename":"image_30012025_08_54_25_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8e50076010401bf8e754f53b4c8635c0.jpg","text":"TemporaryFile(/tmp/multipartBody1099487619058123858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223733380,"filename":"image_30012025_08_54_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/30/09c4039f4621daa32ca8b909cb5ecd2c.jpg","text":"TemporaryFile(/tmp/multipartBody3776223121820718786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223733380,"filename":"image_30012025_08_54_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/30/85880666b78a50cc014e4c07f8e4612c.jpg","text":"TemporaryFile(/tmp/multipartBody2807146010419144188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223733380,"filename":"image_30012025_08_54_06_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332928271","file1":"1332928196","file0":"1332927997","file4":"1332928285","file5":"1332928302","file3":"1332928278"},"map_files_photo_id_array":[{"photo_id":"1332928302","filename":"file5"},{"photo_id":"1332928271","filename":"file2"},{"photo_id":"1332928285","filename":"file4"},{"photo_id":"1332928196","filename":"file1"},{"photo_id":"1332927997","filename":"file0"},{"photo_id":"1332928278","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332928285":["hashtag1","hashtag2"]},{"1332927997":["hashtag1","hashtag2"]},{"1332928278":["hashtag1","hashtag2"]},{"1332928302":["hashtag1","hashtag2"]},{"1332928271":["hashtag1","hashtag2"]},{"1332928196":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332928285, 1332927997, 1332928278, 1332928302, 1332928271, 1332928196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.7955060005188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:55:32.683759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/54/image_30012025_08_54_56_9344.jpg', '/home/pi/Desktop/images/30012025/08/54/image_30012025_08_55_06_10387.jpg', '/home/pi/Desktop/images/30012025/08/55/image_30012025_08_55_16_10358.jpg', '/home/pi/Desktop/images/30012025/08/55/image_30012025_08_55_26_9363.jpg', '/home/pi/Desktop/images/30012025/08/55/image_30012025_08_55_36_10425.jpg', '/home/pi/Desktop/images/30012025/08/55/image_30012025_08_55_45_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/54/image_30012025_08_54_56_9344.jpg
/home/pi/Desktop/images/30012025/08/54/image_30012025_08_55_06_10387.jpg
/home/pi/Desktop/images/30012025/08/55/image_30012025_08_55_16_10358.jpg
/home/pi/Desktop/images/30012025/08/55/image_30012025_08_55_26_9363.jpg
/home/pi/Desktop/images/30012025/08/55/image_30012025_08_55_36_10425.jpg
/home/pi/Desktop/images/30012025/08/55/image_30012025_08_55_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":["1332928791","1332928335","1332928598","1332928349","1332928331","1332928325"],"photo_ids_order":["1332928325","1332928331","1332928335","1332928349","1332928598","1332928791"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dcaeda48c926277a9ef31d124081d7cb.jpg","text":"TemporaryFile(/tmp/multipartBody7866416404570044257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223793612,"filename":"image_30012025_08_55_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/30/e8bac63136290098ce7e44604f5cae43.jpg","text":"TemporaryFile(/tmp/multipartBody4509763500824123737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223793612,"filename":"image_30012025_08_55_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/30/26952985de3856e11b9d5ae4ba9d7e81.jpg","text":"TemporaryFile(/tmp/multipartBody1622627155279369212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223793612,"filename":"image_30012025_08_55_36_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/30/b477b0f2f6fbe64b9d1e6ba2d6704917.jpg","text":"TemporaryFile(/tmp/multipartBody2566325352945533851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223793612,"filename":"image_30012025_08_55_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/30/b02901033ed9542a639d3bebf7528604.jpg","text":"TemporaryFile(/tmp/multipartBody2884976640750635210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223793612,"filename":"image_30012025_08_55_06_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/eb5a3c5f9111db3c69521150be1f2795.jpg","text":"TemporaryFile(/tmp/multipartBody2931876778124857324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223793612,"filename":"image_30012025_08_54_56_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332928335","file1":"1332928331","file0":"1332928325","file4":"1332928598","file5":"1332928791","file3":"1332928349"},"map_files_photo_id_array":[{"photo_id":"1332928791","filename":"file5"},{"photo_id":"1332928335","filename":"file2"},{"photo_id":"1332928598","filename":"file4"},{"photo_id":"1332928331","filename":"file1"},{"photo_id":"1332928325","filename":"file0"},{"photo_id":"1332928349","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332928791":["hashtag1","hashtag2"]},{"1332928335":["hashtag1","hashtag2"]},{"1332928598":["hashtag1","hashtag2"]},{"1332928349":["hashtag1","hashtag2"]},{"1332928331":["hashtag1","hashtag2"]},{"1332928325":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332928791, 1332928335, 1332928598, 1332928349, 1332928331, 1332928325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.95490336418152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:56:32.961143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/55/image_30012025_08_55_56_10374.jpg', '/home/pi/Desktop/images/30012025/08/55/image_30012025_08_56_06_10406.jpg', '/home/pi/Desktop/images/30012025/08/56/image_30012025_08_56_16_9389.jpg', '/home/pi/Desktop/images/30012025/08/56/image_30012025_08_56_26_10497.jpg', '/home/pi/Desktop/images/30012025/08/56/image_30012025_08_56_35_9341.jpg', '/home/pi/Desktop/images/30012025/08/56/image_30012025_08_56_46_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/55/image_30012025_08_55_56_10374.jpg
/home/pi/Desktop/images/30012025/08/55/image_30012025_08_56_06_10406.jpg
/home/pi/Desktop/images/30012025/08/56/image_30012025_08_56_16_9389.jpg
/home/pi/Desktop/images/30012025/08/56/image_30012025_08_56_26_10497.jpg
/home/pi/Desktop/images/30012025/08/56/image_30012025_08_56_35_9341.jpg
/home/pi/Desktop/images/30012025/08/56/image_30012025_08_56_46_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332929850","1332929907","1332929897","1332929912","1332929855","1332929903"],"photo_ids_order":["1332929850","1332929855","1332929897","1332929903","1332929907","1332929912"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/75141abc212d91644eeb03ca4024cf9e.jpg","text":"TemporaryFile(/tmp/multipartBody8987980177847393797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223853870,"filename":"image_30012025_08_55_56_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2f34f6e4d15dc0173ab27d52a7cd440a.jpg","text":"TemporaryFile(/tmp/multipartBody9093880898293944232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223853870,"filename":"image_30012025_08_56_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/30/a574f1c8b7af06943680dbf486af73e3.jpg","text":"TemporaryFile(/tmp/multipartBody5513641908801241838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223853870,"filename":"image_30012025_08_56_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/30/dcc20e6635b46194ef25e31d460c6605.jpg","text":"TemporaryFile(/tmp/multipartBody2191927304128331569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223853870,"filename":"image_30012025_08_56_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/30/4169e304761e2d98001b3c15da393cdd.jpg","text":"TemporaryFile(/tmp/multipartBody8719975420384135311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223853870,"filename":"image_30012025_08_56_06_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6aba92088f8d1420c5ca5dd29f5870e6.jpg","text":"TemporaryFile(/tmp/multipartBody4182384717141795286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738223853870,"filename":"image_30012025_08_56_26_10497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332929897","file1":"1332929855","file0":"1332929850","file4":"1332929907","file5":"1332929912","file3":"1332929903"},"map_files_photo_id_array":[{"photo_id":"1332929912","filename":"file5"},{"photo_id":"1332929897","filename":"file2"},{"photo_id":"1332929907","filename":"file4"},{"photo_id":"1332929855","filename":"file1"},{"photo_id":"1332929850","filename":"file0"},{"photo_id":"1332929903","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332929850":["hashtag1","hashtag2"]},{"1332929907":["hashtag1","hashtag2"]},{"1332929897":["hashtag1","hashtag2"]},{"1332929912":["hashtag1","hashtag2"]},{"1332929855":["hashtag1","hashtag2"]},{"1332929903":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332929850, 1332929907, 1332929897, 1332929912, 1332929855, 1332929903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03441309928894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:57:33.199942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/56/image_30012025_08_56_56_10336.jpg', '/home/pi/Desktop/images/30012025/08/57/image_30012025_08_57_16_10346.jpg', '/home/pi/Desktop/images/30012025/08/57/image_30012025_08_57_26_10428.jpg', '/home/pi/Desktop/images/30012025/08/57/image_30012025_08_57_36_9353.jpg', '/home/pi/Desktop/images/30012025/08/57/image_30012025_08_57_46_10433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/56/image_30012025_08_56_56_10336.jpg
/home/pi/Desktop/images/30012025/08/57/image_30012025_08_57_16_10346.jpg
/home/pi/Desktop/images/30012025/08/57/image_30012025_08_57_26_10428.jpg
/home/pi/Desktop/images/30012025/08/57/image_30012025_08_57_36_9353.jpg
/home/pi/Desktop/images/30012025/08/57/image_30012025_08_57_46_10433.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-30 08:59:03.784897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/56/image_30012025_08_56_56_10336.jpg', '/home/pi/Desktop/images/30012025/08/57/image_30012025_08_57_16_10346.jpg', '/home/pi/Desktop/images/30012025/08/57/image_30012025_08_57_26_10428.jpg', '/home/pi/Desktop/images/30012025/08/57/image_30012025_08_57_36_9353.jpg', '/home/pi/Desktop/images/30012025/08/57/image_30012025_08_57_46_10433.jpg', '/home/pi/Desktop/images/30012025/08/57/image_30012025_08_57_55_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/56/image_30012025_08_56_56_10336.jpg
/home/pi/Desktop/images/30012025/08/57/image_30012025_08_57_16_10346.jpg
/home/pi/Desktop/images/30012025/08/57/image_30012025_08_57_26_10428.jpg
/home/pi/Desktop/images/30012025/08/57/image_30012025_08_57_36_9353.jpg
/home/pi/Desktop/images/30012025/08/57/image_30012025_08_57_46_10433.jpg
/home/pi/Desktop/images/30012025/08/57/image_30012025_08_57_55_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":["1332930411","1332930423","1332930417","1332930404","1332930434","1332930428"],"photo_ids_order":["1332930404","1332930411","1332930417","1332930423","1332930428","1332930434"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bed99f76d4264b418814d7e59df8d3e5.jpg","text":"TemporaryFile(/tmp/multipartBody5237293613295792271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224004821,"filename":"image_30012025_08_57_16_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e266e9ef2aef7708eb8f78c87fa584cd.jpg","text":"TemporaryFile(/tmp/multipartBody1769969959568672624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224004821,"filename":"image_30012025_08_57_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/30/4fb8e1f279d002fae0cb753fbaf3ff2f.jpg","text":"TemporaryFile(/tmp/multipartBody1830168418155610081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224004821,"filename":"image_30012025_08_57_26_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6ebf5b49867155c6e2737a4d0c6e8b55.jpg","text":"TemporaryFile(/tmp/multipartBody2786385899270013110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224004821,"filename":"image_30012025_08_56_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/30/8ffd3fb5d233589d064330ce5bae811e.jpg","text":"TemporaryFile(/tmp/multipartBody9005464211699517954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224004821,"filename":"image_30012025_08_57_55_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ec13b9ae2120013f964c921c185b8acc.jpg","text":"TemporaryFile(/tmp/multipartBody9172624027572349178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224004821,"filename":"image_30012025_08_57_46_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332930417","file1":"1332930411","file0":"1332930404","file4":"1332930428","file5":"1332930434","file3":"1332930423"},"map_files_photo_id_array":[{"photo_id":"1332930434","filename":"file5"},{"photo_id":"1332930417","filename":"file2"},{"photo_id":"1332930428","filename":"file4"},{"photo_id":"1332930411","filename":"file1"},{"photo_id":"1332930404","filename":"file0"},{"photo_id":"1332930423","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332930411":["hashtag1","hashtag2"]},{"1332930423":["hashtag1","hashtag2"]},{"1332930417":["hashtag1","hashtag2"]},{"1332930404":["hashtag1","hashtag2"]},{"1332930434":["hashtag1","hashtag2"]},{"1332930428":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332930411, 1332930423, 1332930417, 1332930404, 1332930434, 1332930428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.92711639404297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 08:59:52.897391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/57/image_30012025_08_58_06_10364.jpg', '/home/pi/Desktop/images/30012025/08/58/image_30012025_08_58_16_10369.jpg', '/home/pi/Desktop/images/30012025/08/58/image_30012025_08_58_25_9343.jpg', '/home/pi/Desktop/images/30012025/08/58/image_30012025_08_58_36_10354.jpg', '/home/pi/Desktop/images/30012025/08/58/image_30012025_08_58_46_10418.jpg', '/home/pi/Desktop/images/30012025/08/58/image_30012025_08_58_56_9420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/57/image_30012025_08_58_06_10364.jpg
/home/pi/Desktop/images/30012025/08/58/image_30012025_08_58_16_10369.jpg
/home/pi/Desktop/images/30012025/08/58/image_30012025_08_58_25_9343.jpg
/home/pi/Desktop/images/30012025/08/58/image_30012025_08_58_36_10354.jpg
/home/pi/Desktop/images/30012025/08/58/image_30012025_08_58_46_10418.jpg
/home/pi/Desktop/images/30012025/08/58/image_30012025_08_58_56_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":["1332930529","1332930498","1332930540","1332930534","1332930491","1332930548"],"photo_ids_order":["1332930491","1332930498","1332930529","1332930534","1332930540","1332930548"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/13128fb366d441d559414274ac4f630c.jpg","text":"TemporaryFile(/tmp/multipartBody801295202332112266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224053841,"filename":"image_30012025_08_58_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/30/6425aaa99fc1d484c83701bbe1588be8.jpg","text":"TemporaryFile(/tmp/multipartBody3045839508135358769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224053841,"filename":"image_30012025_08_58_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/30/836f2dc30fe63ff1b7eba88c906f80f7.jpg","text":"TemporaryFile(/tmp/multipartBody3151151811225138010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224053841,"filename":"image_30012025_08_58_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/30/f59dd8dee543a469f28de4d7a6900d82.jpg","text":"TemporaryFile(/tmp/multipartBody1561029386399690230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224053841,"filename":"image_30012025_08_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/30/5c6ad2a4d39814d29d28707d11ba2ea4.jpg","text":"TemporaryFile(/tmp/multipartBody8553240611205284512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224053841,"filename":"image_30012025_08_58_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/30/f80be62007be8ecfbc004d5710974194.jpg","text":"TemporaryFile(/tmp/multipartBody2421823542424385540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224053841,"filename":"image_30012025_08_58_56_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332930529","file1":"1332930498","file0":"1332930491","file4":"1332930540","file5":"1332930548","file3":"1332930534"},"map_files_photo_id_array":[{"photo_id":"1332930548","filename":"file5"},{"photo_id":"1332930529","filename":"file2"},{"photo_id":"1332930540","filename":"file4"},{"photo_id":"1332930498","filename":"file1"},{"photo_id":"1332930491","filename":"file0"},{"photo_id":"1332930534","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332930529":["hashtag1","hashtag2"]},{"1332930498":["hashtag1","hashtag2"]},{"1332930540":["hashtag1","hashtag2"]},{"1332930534":["hashtag1","hashtag2"]},{"1332930491":["hashtag1","hashtag2"]},{"1332930548":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332930529, 1332930498, 1332930540, 1332930534, 1332930491, 1332930548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.59683012962341 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 09:00:43.134818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/58/image_30012025_08_59_06_10421.jpg', '/home/pi/Desktop/images/30012025/08/59/image_30012025_08_59_15_9399.jpg', '/home/pi/Desktop/images/30012025/08/59/image_30012025_08_59_26_10351.jpg', '/home/pi/Desktop/images/30012025/08/59/image_30012025_08_59_36_10457.jpg', '/home/pi/Desktop/images/30012025/08/59/image_30012025_08_59_46_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/58/image_30012025_08_59_06_10421.jpg
/home/pi/Desktop/images/30012025/08/59/image_30012025_08_59_15_9399.jpg
/home/pi/Desktop/images/30012025/08/59/image_30012025_08_59_26_10351.jpg
/home/pi/Desktop/images/30012025/08/59/image_30012025_08_59_36_10457.jpg
/home/pi/Desktop/images/30012025/08/59/image_30012025_08_59_46_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332930573","1332930609","1332930593","1332930569","1332930583"],"photo_ids_order":["1332930569","1332930573","1332930583","1332930593","1332930609"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8db2589e43f3485688a743dd6041e458.jpg","text":"TemporaryFile(/tmp/multipartBody2580861312967439884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224104015,"filename":"image_30012025_08_59_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/30/a7a4f42709881d0f65ed5fa210c06352.jpg","text":"TemporaryFile(/tmp/multipartBody3506713865424155094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224104015,"filename":"image_30012025_08_59_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/30/b13170dc1949d234a01d151cfcf365fc.jpg","text":"TemporaryFile(/tmp/multipartBody6896104495452788653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224104015,"filename":"image_30012025_08_59_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/30/afc0fe940a522f8da4dcdaa33a1d05c3.jpg","text":"TemporaryFile(/tmp/multipartBody3967944640647295457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224104015,"filename":"image_30012025_08_59_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/30/11aa2a27318831a9dda36318c5bc14d0.jpg","text":"TemporaryFile(/tmp/multipartBody1358779254135441876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224104015,"filename":"image_30012025_08_59_26_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332930583","file1":"1332930573","file0":"1332930569","file4":"1332930609","file3":"1332930593"},"map_files_photo_id_array":[{"photo_id":"1332930583","filename":"file2"},{"photo_id":"1332930609","filename":"file4"},{"photo_id":"1332930573","filename":"file1"},{"photo_id":"1332930569","filename":"file0"},{"photo_id":"1332930593","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332930573":["hashtag1","hashtag2"]},{"1332930609":["hashtag1","hashtag2"]},{"1332930593":["hashtag1","hashtag2"]},{"1332930569":["hashtag1","hashtag2"]},{"1332930583":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332930573, 1332930609, 1332930593, 1332930569, 1332930583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.01361417770386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:01:32.373844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/08/59/image_30012025_08_59_56_10446.jpg', '/home/pi/Desktop/images/30012025/09/01/image_30012025_09_01_15_10076.jpg', '/home/pi/Desktop/images/30012025/09/01/image_30012025_09_01_25_10465.jpg', '/home/pi/Desktop/images/30012025/09/01/image_30012025_09_01_36_10349.jpg', '/home/pi/Desktop/images/30012025/09/01/image_30012025_09_01_45_9412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/08/59/image_30012025_08_59_56_10446.jpg
/home/pi/Desktop/images/30012025/09/01/image_30012025_09_01_15_10076.jpg
/home/pi/Desktop/images/30012025/09/01/image_30012025_09_01_25_10465.jpg
/home/pi/Desktop/images/30012025/09/01/image_30012025_09_01_36_10349.jpg
/home/pi/Desktop/images/30012025/09/01/image_30012025_09_01_45_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":["1332930651","1332930632","1332930644","1332930638","1332930626"],"photo_ids_order":["1332930626","1332930632","1332930638","1332930644","1332930651"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/10088d8a10755bcd8f15ddc9b672304d.jpg","text":"TemporaryFile(/tmp/multipartBody971045783971760345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224153435,"filename":"image_30012025_09_01_45_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e3bd0a1a774109a59e74c7c0daef419f.jpg","text":"TemporaryFile(/tmp/multipartBody8689540720876863985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224153435,"filename":"image_30012025_09_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/30/2d697010da01920c21c014a569fc5aaa.jpg","text":"TemporaryFile(/tmp/multipartBody2951148405024640168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224153435,"filename":"image_30012025_09_01_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/30/cce3285aed5e2caefa8d346db2c87daa.jpg","text":"TemporaryFile(/tmp/multipartBody6820912955264593493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224153435,"filename":"image_30012025_09_01_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/30/9fc2bb33b77fce28c629465998dd0430.jpg","text":"TemporaryFile(/tmp/multipartBody8060748365270642094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224153435,"filename":"image_30012025_08_59_56_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332930638","file1":"1332930632","file0":"1332930626","file4":"1332930651","file3":"1332930644"},"map_files_photo_id_array":[{"photo_id":"1332930638","filename":"file2"},{"photo_id":"1332930651","filename":"file4"},{"photo_id":"1332930632","filename":"file1"},{"photo_id":"1332930626","filename":"file0"},{"photo_id":"1332930644","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332930651":["hashtag1","hashtag2"]},{"1332930632":["hashtag1","hashtag2"]},{"1332930644":["hashtag1","hashtag2"]},{"1332930638":["hashtag1","hashtag2"]},{"1332930626":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332930651, 1332930632, 1332930644, 1332930638, 1332930626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.1894588470459 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:02:32.621464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/01/image_30012025_09_01_55_10389.jpg', '/home/pi/Desktop/images/30012025/09/01/image_30012025_09_02_05_9348.jpg', '/home/pi/Desktop/images/30012025/09/02/image_30012025_09_02_15_10410.jpg', '/home/pi/Desktop/images/30012025/09/02/image_30012025_09_02_25_10363.jpg', '/home/pi/Desktop/images/30012025/09/02/image_30012025_09_02_35_9373.jpg', '/home/pi/Desktop/images/30012025/09/02/image_30012025_09_02_45_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/01/image_30012025_09_01_55_10389.jpg
/home/pi/Desktop/images/30012025/09/01/image_30012025_09_02_05_9348.jpg
/home/pi/Desktop/images/30012025/09/02/image_30012025_09_02_15_10410.jpg
/home/pi/Desktop/images/30012025/09/02/image_30012025_09_02_25_10363.jpg
/home/pi/Desktop/images/30012025/09/02/image_30012025_09_02_35_9373.jpg
/home/pi/Desktop/images/30012025/09/02/image_30012025_09_02_45_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332931230","1332931302","1332931226","1332930908","1332931288","1332931234"],"photo_ids_order":["1332930908","1332931226","1332931230","1332931234","1332931288","1332931302"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1d8e1a6d61923ad2ab21ffa1aabefe1c.jpg","text":"TemporaryFile(/tmp/multipartBody1771145667512112571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224213528,"filename":"image_30012025_09_02_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/30/ab7353cc7d38ea4ae6116cbe73666684.jpg","text":"TemporaryFile(/tmp/multipartBody7580683871580177804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224213528,"filename":"image_30012025_09_02_45_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e62151af382b298618c268c8b75154a0.jpg","text":"TemporaryFile(/tmp/multipartBody5659714052680453270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224213528,"filename":"image_30012025_09_02_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/30/a3ec66c570f1baff1b4e64a93d1a5994.jpg","text":"TemporaryFile(/tmp/multipartBody3861145935395629340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224213528,"filename":"image_30012025_09_01_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/30/3123eb2e8ca246f1f2348f583b5161ee.jpg","text":"TemporaryFile(/tmp/multipartBody6574160917652081868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224213528,"filename":"image_30012025_09_02_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/30/89442db2c880b3e32de49bcf2830e320.jpg","text":"TemporaryFile(/tmp/multipartBody8720371808696608595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224213528,"filename":"image_30012025_09_02_25_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332931230","file1":"1332931226","file0":"1332930908","file4":"1332931288","file5":"1332931302","file3":"1332931234"},"map_files_photo_id_array":[{"photo_id":"1332931302","filename":"file5"},{"photo_id":"1332931230","filename":"file2"},{"photo_id":"1332931288","filename":"file4"},{"photo_id":"1332931226","filename":"file1"},{"photo_id":"1332930908","filename":"file0"},{"photo_id":"1332931234","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332931230":["hashtag1","hashtag2"]},{"1332931302":["hashtag1","hashtag2"]},{"1332931226":["hashtag1","hashtag2"]},{"1332930908":["hashtag1","hashtag2"]},{"1332931288":["hashtag1","hashtag2"]},{"1332931234":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332931230, 1332931302, 1332931226, 1332930908, 1332931288, 1332931234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.564677000045776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:03:32.812152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/02/image_30012025_09_02_56_10374.jpg', '/home/pi/Desktop/images/30012025/09/02/image_30012025_09_03_05_9414.jpg', '/home/pi/Desktop/images/30012025/09/03/image_30012025_09_03_15_10378.jpg', '/home/pi/Desktop/images/30012025/09/03/image_30012025_09_03_25_9333.jpg', '/home/pi/Desktop/images/30012025/09/03/image_30012025_09_03_35_10359.jpg', '/home/pi/Desktop/images/30012025/09/03/image_30012025_09_03_46_10476.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/02/image_30012025_09_02_56_10374.jpg
/home/pi/Desktop/images/30012025/09/02/image_30012025_09_03_05_9414.jpg
/home/pi/Desktop/images/30012025/09/03/image_30012025_09_03_15_10378.jpg
/home/pi/Desktop/images/30012025/09/03/image_30012025_09_03_25_9333.jpg
/home/pi/Desktop/images/30012025/09/03/image_30012025_09_03_35_10359.jpg
/home/pi/Desktop/images/30012025/09/03/image_30012025_09_03_46_10476.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332931386","1332931389","1332931380","1332931374","1332931390","1332931369"],"photo_ids_order":["1332931369","1332931374","1332931380","1332931386","1332931389","1332931390"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/453b9d1be7b4da64f673c9cf0ca8bcea.jpg","text":"TemporaryFile(/tmp/multipartBody1475018402137467750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224273724,"filename":"image_30012025_09_03_25_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7a2a205a119bcbf5c9b49613b4922cc7.jpg","text":"TemporaryFile(/tmp/multipartBody6441546378106768799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224273724,"filename":"image_30012025_09_03_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/30/cee136953c1d81fa42fc209d9255443f.jpg","text":"TemporaryFile(/tmp/multipartBody3673522173945182357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224273724,"filename":"image_30012025_09_03_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/30/613a8951c29e7d3e2d426f535ce2f3a4.jpg","text":"TemporaryFile(/tmp/multipartBody6286543437283576683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224273724,"filename":"image_30012025_09_03_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/30/3e0f3b9f8030ab0b4bed60e14f0e73a9.jpg","text":"TemporaryFile(/tmp/multipartBody6305321388623400461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224273724,"filename":"image_30012025_09_03_46_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c22423194552f2056b68df1978f06a3d.jpg","text":"TemporaryFile(/tmp/multipartBody1944026877706865273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224273724,"filename":"image_30012025_09_02_56_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332931380","file1":"1332931374","file0":"1332931369","file4":"1332931389","file5":"1332931390","file3":"1332931386"},"map_files_photo_id_array":[{"photo_id":"1332931390","filename":"file5"},{"photo_id":"1332931380","filename":"file2"},{"photo_id":"1332931389","filename":"file4"},{"photo_id":"1332931374","filename":"file1"},{"photo_id":"1332931369","filename":"file0"},{"photo_id":"1332931386","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332931386":["hashtag1","hashtag2"]},{"1332931389":["hashtag1","hashtag2"]},{"1332931380":["hashtag1","hashtag2"]},{"1332931374":["hashtag1","hashtag2"]},{"1332931390":["hashtag1","hashtag2"]},{"1332931369":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332931386, 1332931389, 1332931380, 1332931374, 1332931390, 1332931369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.16062307357788 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:04:32.927405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/03/image_30012025_09_03_55_9388.jpg', '/home/pi/Desktop/images/30012025/09/03/image_30012025_09_04_05_10353.jpg', '/home/pi/Desktop/images/30012025/09/04/image_30012025_09_04_15_9371.jpg', '/home/pi/Desktop/images/30012025/09/04/image_30012025_09_04_25_10422.jpg', '/home/pi/Desktop/images/30012025/09/04/image_30012025_09_04_35_10338.jpg', '/home/pi/Desktop/images/30012025/09/04/image_30012025_09_04_45_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/03/image_30012025_09_03_55_9388.jpg
/home/pi/Desktop/images/30012025/09/03/image_30012025_09_04_05_10353.jpg
/home/pi/Desktop/images/30012025/09/04/image_30012025_09_04_15_9371.jpg
/home/pi/Desktop/images/30012025/09/04/image_30012025_09_04_25_10422.jpg
/home/pi/Desktop/images/30012025/09/04/image_30012025_09_04_35_10338.jpg
/home/pi/Desktop/images/30012025/09/04/image_30012025_09_04_45_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":["1332931435","1332931467","1332931458","1332931463","1332931475","1332931471"],"photo_ids_order":["1332931435","1332931458","1332931463","1332931467","1332931471","1332931475"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/31d5000e530f2c829dd696613cf20a9a.jpg","text":"TemporaryFile(/tmp/multipartBody5939301799845435754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224333890,"filename":"image_30012025_09_03_55_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/30/1a81764c894b69eda7f9631dfa2934e4.jpg","text":"TemporaryFile(/tmp/multipartBody844147218466082890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224333890,"filename":"image_30012025_09_04_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/30/cee0b043fe31b1a8cd425dc036df7968.jpg","text":"TemporaryFile(/tmp/multipartBody8433847118229183800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224333890,"filename":"image_30012025_09_04_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/30/4aec02ca25f4f293c11872755f0823bb.jpg","text":"TemporaryFile(/tmp/multipartBody800766976877994885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224333890,"filename":"image_30012025_09_04_15_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/30/56a445f427131468634e6a2fe117bf27.jpg","text":"TemporaryFile(/tmp/multipartBody2330936191208889648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224333890,"filename":"image_30012025_09_04_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/30/d8a742075672da1f32fca05ed26202ed.jpg","text":"TemporaryFile(/tmp/multipartBody6822775438549031614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224333890,"filename":"image_30012025_09_04_35_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332931463","file1":"1332931458","file0":"1332931435","file4":"1332931471","file5":"1332931475","file3":"1332931467"},"map_files_photo_id_array":[{"photo_id":"1332931475","filename":"file5"},{"photo_id":"1332931463","filename":"file2"},{"photo_id":"1332931471","filename":"file4"},{"photo_id":"1332931458","filename":"file1"},{"photo_id":"1332931435","filename":"file0"},{"photo_id":"1332931467","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332931435":["hashtag1","hashtag2"]},{"1332931467":["hashtag1","hashtag2"]},{"1332931458":["hashtag1","hashtag2"]},{"1332931463":["hashtag1","hashtag2"]},{"1332931475":["hashtag1","hashtag2"]},{"1332931471":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332931435, 1332931467, 1332931458, 1332931463, 1332931475, 1332931471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7949583530426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:05:33.222774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/04/image_30012025_09_04_55_10462.jpg', '/home/pi/Desktop/images/30012025/09/04/image_30012025_09_05_06_10339.jpg', '/home/pi/Desktop/images/30012025/09/05/image_30012025_09_05_15_9369.jpg', '/home/pi/Desktop/images/30012025/09/05/image_30012025_09_05_25_10364.jpg', '/home/pi/Desktop/images/30012025/09/05/image_30012025_09_05_35_9350.jpg', '/home/pi/Desktop/images/30012025/09/05/image_30012025_09_05_45_10445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/04/image_30012025_09_04_55_10462.jpg
/home/pi/Desktop/images/30012025/09/04/image_30012025_09_05_06_10339.jpg
/home/pi/Desktop/images/30012025/09/05/image_30012025_09_05_15_9369.jpg
/home/pi/Desktop/images/30012025/09/05/image_30012025_09_05_25_10364.jpg
/home/pi/Desktop/images/30012025/09/05/image_30012025_09_05_35_9350.jpg
/home/pi/Desktop/images/30012025/09/05/image_30012025_09_05_45_10445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332931659","1332931647","1332931664","1332931637","1332931652","1332931642"],"photo_ids_order":["1332931637","1332931642","1332931647","1332931652","1332931659","1332931664"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cb771e852c67e44399689cd66c2ae6b2.jpg","text":"TemporaryFile(/tmp/multipartBody4623514178111667976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224394126,"filename":"image_30012025_09_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/30/b93a955384303f66245f77ed5a9bea89.jpg","text":"TemporaryFile(/tmp/multipartBody780226361101692345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224394126,"filename":"image_30012025_09_05_15_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/30/0fd710d58c6322d491c67f9d6e037cc0.jpg","text":"TemporaryFile(/tmp/multipartBody4783921218956318580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224394126,"filename":"image_30012025_09_05_45_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f9a45ad296f699dee25b8ce5e18791a7.jpg","text":"TemporaryFile(/tmp/multipartBody5719836408918120367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224394126,"filename":"image_30012025_09_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/30/3b699ae97fb69ca81c10c2d8e819149b.jpg","text":"TemporaryFile(/tmp/multipartBody608094124540697130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224394126,"filename":"image_30012025_09_05_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/30/c880ef33e1ba07c7765e7f04d08792ba.jpg","text":"TemporaryFile(/tmp/multipartBody658734722239750135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224394126,"filename":"image_30012025_09_05_06_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332931647","file1":"1332931642","file0":"1332931637","file4":"1332931659","file5":"1332931664","file3":"1332931652"},"map_files_photo_id_array":[{"photo_id":"1332931664","filename":"file5"},{"photo_id":"1332931647","filename":"file2"},{"photo_id":"1332931659","filename":"file4"},{"photo_id":"1332931642","filename":"file1"},{"photo_id":"1332931637","filename":"file0"},{"photo_id":"1332931652","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332931659":["hashtag1","hashtag2"]},{"1332931647":["hashtag1","hashtag2"]},{"1332931664":["hashtag1","hashtag2"]},{"1332931637":["hashtag1","hashtag2"]},{"1332931652":["hashtag1","hashtag2"]},{"1332931642":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332931659, 1332931647, 1332931664, 1332931637, 1332931652, 1332931642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70082974433899 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:06:32.358613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/05/image_30012025_09_05_56_10403.jpg', '/home/pi/Desktop/images/30012025/09/05/image_30012025_09_06_05_9391.jpg', '/home/pi/Desktop/images/30012025/09/06/image_30012025_09_06_15_10350.jpg', '/home/pi/Desktop/images/30012025/09/06/image_30012025_09_06_26_10341.jpg', '/home/pi/Desktop/images/30012025/09/06/image_30012025_09_06_35_9412.jpg', '/home/pi/Desktop/images/30012025/09/06/image_30012025_09_06_45_10463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/05/image_30012025_09_05_56_10403.jpg
/home/pi/Desktop/images/30012025/09/05/image_30012025_09_06_05_9391.jpg
/home/pi/Desktop/images/30012025/09/06/image_30012025_09_06_15_10350.jpg
/home/pi/Desktop/images/30012025/09/06/image_30012025_09_06_26_10341.jpg
/home/pi/Desktop/images/30012025/09/06/image_30012025_09_06_35_9412.jpg
/home/pi/Desktop/images/30012025/09/06/image_30012025_09_06_45_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":["1332931695","1332931692","1332931688","1332931697","1332931700","1332931684"],"photo_ids_order":["1332931684","1332931688","1332931692","1332931695","1332931697","1332931700"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e6a11161c839b540dce09a9ca69357a8.jpg","text":"TemporaryFile(/tmp/multipartBody4578196813409094359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224453272,"filename":"image_30012025_09_06_26_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8e97f594c3c82fcc4b573c615ec6ccec.jpg","text":"TemporaryFile(/tmp/multipartBody2660772159952495628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224453272,"filename":"image_30012025_09_06_15_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9fcd32241c01e6f11028663e79d3ed18.jpg","text":"TemporaryFile(/tmp/multipartBody4631700505016441094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224453272,"filename":"image_30012025_09_06_05_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f3a8c8b50ba664b3521b9abb89708155.jpg","text":"TemporaryFile(/tmp/multipartBody5273783182783733547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224453272,"filename":"image_30012025_09_06_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/30/46bf2d016e4b14ef06c35d56a11d8661.jpg","text":"TemporaryFile(/tmp/multipartBody266796767401733425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224453272,"filename":"image_30012025_09_06_45_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/30/26baf35c2f2b067b7d11eb8af569b7e3.jpg","text":"TemporaryFile(/tmp/multipartBody1376469558429361129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224453272,"filename":"image_30012025_09_05_56_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332931692","file1":"1332931688","file0":"1332931684","file4":"1332931697","file5":"1332931700","file3":"1332931695"},"map_files_photo_id_array":[{"photo_id":"1332931700","filename":"file5"},{"photo_id":"1332931692","filename":"file2"},{"photo_id":"1332931697","filename":"file4"},{"photo_id":"1332931688","filename":"file1"},{"photo_id":"1332931684","filename":"file0"},{"photo_id":"1332931695","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332931695":["hashtag1","hashtag2"]},{"1332931692":["hashtag1","hashtag2"]},{"1332931688":["hashtag1","hashtag2"]},{"1332931697":["hashtag1","hashtag2"]},{"1332931700":["hashtag1","hashtag2"]},{"1332931684":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332931695, 1332931692, 1332931688, 1332931697, 1332931700, 1332931684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.17625069618225 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:07:32.534414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/06/image_30012025_09_06_55_9454.jpg', '/home/pi/Desktop/images/30012025/09/06/image_30012025_09_07_05_10368.jpg', '/home/pi/Desktop/images/30012025/09/07/image_30012025_09_07_16_10329.jpg', '/home/pi/Desktop/images/30012025/09/07/image_30012025_09_07_25_9362.jpg', '/home/pi/Desktop/images/30012025/09/07/image_30012025_09_07_35_10376.jpg', '/home/pi/Desktop/images/30012025/09/07/image_30012025_09_07_45_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/06/image_30012025_09_06_55_9454.jpg
/home/pi/Desktop/images/30012025/09/06/image_30012025_09_07_05_10368.jpg
/home/pi/Desktop/images/30012025/09/07/image_30012025_09_07_16_10329.jpg
/home/pi/Desktop/images/30012025/09/07/image_30012025_09_07_25_9362.jpg
/home/pi/Desktop/images/30012025/09/07/image_30012025_09_07_35_10376.jpg
/home/pi/Desktop/images/30012025/09/07/image_30012025_09_07_45_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":["1332931764","1332931812","1332931815","1332931790","1332931806","1332931802"],"photo_ids_order":["1332931764","1332931790","1332931802","1332931806","1332931812","1332931815"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3130833bb2ad5126d880e42dda18252a.jpg","text":"TemporaryFile(/tmp/multipartBody9135876721276165792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224513431,"filename":"image_30012025_09_06_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/30/b2376bbc9385eed805da5e0bd378c816.jpg","text":"TemporaryFile(/tmp/multipartBody4833278833532295373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224513431,"filename":"image_30012025_09_07_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/30/221d7975e2dd97e2aeee37793dc658de.jpg","text":"TemporaryFile(/tmp/multipartBody341074656539450739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224513431,"filename":"image_30012025_09_07_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/30/9293740d85a01fefd47d41a1a3224488.jpg","text":"TemporaryFile(/tmp/multipartBody7580880119149276378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224513431,"filename":"image_30012025_09_07_05_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/30/86b6ffc7fbf98a39cc22a51c7e2aec56.jpg","text":"TemporaryFile(/tmp/multipartBody3442848127135337808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224513431,"filename":"image_30012025_09_07_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/30/5722be83899226b413781d3563a448ac.jpg","text":"TemporaryFile(/tmp/multipartBody9076214773691604045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224513431,"filename":"image_30012025_09_07_16_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332931802","file1":"1332931790","file0":"1332931764","file4":"1332931812","file5":"1332931815","file3":"1332931806"},"map_files_photo_id_array":[{"photo_id":"1332931815","filename":"file5"},{"photo_id":"1332931802","filename":"file2"},{"photo_id":"1332931812","filename":"file4"},{"photo_id":"1332931790","filename":"file1"},{"photo_id":"1332931764","filename":"file0"},{"photo_id":"1332931806","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332931764":["hashtag1","hashtag2"]},{"1332931812":["hashtag1","hashtag2"]},{"1332931815":["hashtag1","hashtag2"]},{"1332931790":["hashtag1","hashtag2"]},{"1332931806":["hashtag1","hashtag2"]},{"1332931802":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332931764, 1332931812, 1332931815, 1332931790, 1332931806, 1332931802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.92635917663574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:08:32.891491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/07/image_30012025_09_07_55_10439.jpg', '/home/pi/Desktop/images/30012025/09/07/image_30012025_09_08_06_10353.jpg', '/home/pi/Desktop/images/30012025/09/08/image_30012025_09_08_15_9478.jpg', '/home/pi/Desktop/images/30012025/09/08/image_30012025_09_08_25_10364.jpg', '/home/pi/Desktop/images/30012025/09/08/image_30012025_09_08_35_9426.jpg', '/home/pi/Desktop/images/30012025/09/08/image_30012025_09_08_45_10493.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/07/image_30012025_09_07_55_10439.jpg
/home/pi/Desktop/images/30012025/09/07/image_30012025_09_08_06_10353.jpg
/home/pi/Desktop/images/30012025/09/08/image_30012025_09_08_15_9478.jpg
/home/pi/Desktop/images/30012025/09/08/image_30012025_09_08_25_10364.jpg
/home/pi/Desktop/images/30012025/09/08/image_30012025_09_08_35_9426.jpg
/home/pi/Desktop/images/30012025/09/08/image_30012025_09_08_45_10493.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332931896","1332931860","1332931836","1332931886","1332931844","1332931867"],"photo_ids_order":["1332931836","1332931844","1332931860","1332931867","1332931886","1332931896"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/110c90188a09da6bc36063190f024dba.jpg","text":"TemporaryFile(/tmp/multipartBody8234781493832566247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224573801,"filename":"image_30012025_09_08_45_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/30/ea1ce716e8751cec082481838d3fa0dc.jpg","text":"TemporaryFile(/tmp/multipartBody4749500221513758147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224573801,"filename":"image_30012025_09_08_15_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/30/0e5af8ecf340eb0f88cba7c3f16077a7.jpg","text":"TemporaryFile(/tmp/multipartBody7975826086087056870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224573801,"filename":"image_30012025_09_07_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/30/f62c0a28dfaa56455b14b07f7b031c72.jpg","text":"TemporaryFile(/tmp/multipartBody2101475043851208233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224573801,"filename":"image_30012025_09_08_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/30/735ef1af90c258527dbef815b94b570a.jpg","text":"TemporaryFile(/tmp/multipartBody5356631082142069460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224573801,"filename":"image_30012025_09_08_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/30/91d4942ee9fae24091fa22e2ad765705.jpg","text":"TemporaryFile(/tmp/multipartBody6493173348370929815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224573801,"filename":"image_30012025_09_08_25_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332931860","file1":"1332931844","file0":"1332931836","file4":"1332931886","file5":"1332931896","file3":"1332931867"},"map_files_photo_id_array":[{"photo_id":"1332931896","filename":"file5"},{"photo_id":"1332931860","filename":"file2"},{"photo_id":"1332931886","filename":"file4"},{"photo_id":"1332931844","filename":"file1"},{"photo_id":"1332931836","filename":"file0"},{"photo_id":"1332931867","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332931896":["hashtag1","hashtag2"]},{"1332931860":["hashtag1","hashtag2"]},{"1332931836":["hashtag1","hashtag2"]},{"1332931886":["hashtag1","hashtag2"]},{"1332931844":["hashtag1","hashtag2"]},{"1332931867":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332931896, 1332931860, 1332931836, 1332931886, 1332931844, 1332931867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.48618006706238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:09:33.216938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/08/image_30012025_09_08_55_9359.jpg', '/home/pi/Desktop/images/30012025/09/08/image_30012025_09_09_05_10349.jpg', '/home/pi/Desktop/images/30012025/09/09/image_30012025_09_09_15_10373.jpg', '/home/pi/Desktop/images/30012025/09/09/image_30012025_09_09_25_9339.jpg', '/home/pi/Desktop/images/30012025/09/09/image_30012025_09_09_35_10400.jpg', '/home/pi/Desktop/images/30012025/09/09/image_30012025_09_09_46_10455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/08/image_30012025_09_08_55_9359.jpg
/home/pi/Desktop/images/30012025/09/08/image_30012025_09_09_05_10349.jpg
/home/pi/Desktop/images/30012025/09/09/image_30012025_09_09_15_10373.jpg
/home/pi/Desktop/images/30012025/09/09/image_30012025_09_09_25_9339.jpg
/home/pi/Desktop/images/30012025/09/09/image_30012025_09_09_35_10400.jpg
/home/pi/Desktop/images/30012025/09/09/image_30012025_09_09_46_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":["1332931992","1332932007","1332931923","1332931934","1332931931","1332931927"],"photo_ids_order":["1332931923","1332931927","1332931931","1332931934","1332931992","1332932007"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d5dc5d228517f6d0cab5ceab79b6c408.jpg","text":"TemporaryFile(/tmp/multipartBody1132935444784426422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224634130,"filename":"image_30012025_09_09_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/30/7b5a9d6be318d92647aeceeda424bc68.jpg","text":"TemporaryFile(/tmp/multipartBody7808855882266836925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224634130,"filename":"image_30012025_09_09_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/30/368dda3cb9f7bd43f11683ff53920bff.jpg","text":"TemporaryFile(/tmp/multipartBody5772709519568994527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224634130,"filename":"image_30012025_09_08_55_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8eccd0b0f461b86a2e0b9cd3691e3654.jpg","text":"TemporaryFile(/tmp/multipartBody1129911763102809314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224634130,"filename":"image_30012025_09_09_25_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a5b0b0920d8b3fcc3567440cc0b497b3.jpg","text":"TemporaryFile(/tmp/multipartBody396204046495755727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224634130,"filename":"image_30012025_09_09_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/30/c52099f08e9b72542b5de012c13bf44e.jpg","text":"TemporaryFile(/tmp/multipartBody5437556003105491270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224634130,"filename":"image_30012025_09_09_05_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332931931","file1":"1332931927","file0":"1332931923","file4":"1332931992","file5":"1332932007","file3":"1332931934"},"map_files_photo_id_array":[{"photo_id":"1332932007","filename":"file5"},{"photo_id":"1332931931","filename":"file2"},{"photo_id":"1332931992","filename":"file4"},{"photo_id":"1332931927","filename":"file1"},{"photo_id":"1332931923","filename":"file0"},{"photo_id":"1332931934","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332931992":["hashtag1","hashtag2"]},{"1332932007":["hashtag1","hashtag2"]},{"1332931923":["hashtag1","hashtag2"]},{"1332931934":["hashtag1","hashtag2"]},{"1332931931":["hashtag1","hashtag2"]},{"1332931927":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332931992, 1332932007, 1332931923, 1332931934, 1332931931, 1332931927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.10250210762024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:10:32.252324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/09/image_30012025_09_09_55_9390.jpg', '/home/pi/Desktop/images/30012025/09/09/image_30012025_09_10_05_10346.jpg', '/home/pi/Desktop/images/30012025/09/10/image_30012025_09_10_15_9407.jpg', '/home/pi/Desktop/images/30012025/09/10/image_30012025_09_10_25_10423.jpg', '/home/pi/Desktop/images/30012025/09/10/image_30012025_09_10_35_10345.jpg', '/home/pi/Desktop/images/30012025/09/10/image_30012025_09_10_45_9463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/09/image_30012025_09_09_55_9390.jpg
/home/pi/Desktop/images/30012025/09/09/image_30012025_09_10_05_10346.jpg
/home/pi/Desktop/images/30012025/09/10/image_30012025_09_10_15_9407.jpg
/home/pi/Desktop/images/30012025/09/10/image_30012025_09_10_25_10423.jpg
/home/pi/Desktop/images/30012025/09/10/image_30012025_09_10_35_10345.jpg
/home/pi/Desktop/images/30012025/09/10/image_30012025_09_10_45_9463.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5054428577423096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 09:10:42.299855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/09/image_30012025_09_09_55_9390.jpg', '/home/pi/Desktop/images/30012025/09/09/image_30012025_09_10_05_10346.jpg', '/home/pi/Desktop/images/30012025/09/10/image_30012025_09_10_15_9407.jpg', '/home/pi/Desktop/images/30012025/09/10/image_30012025_09_10_25_10423.jpg', '/home/pi/Desktop/images/30012025/09/10/image_30012025_09_10_35_10345.jpg', '/home/pi/Desktop/images/30012025/09/10/image_30012025_09_10_45_9463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/09/image_30012025_09_09_55_9390.jpg
/home/pi/Desktop/images/30012025/09/09/image_30012025_09_10_05_10346.jpg
/home/pi/Desktop/images/30012025/09/10/image_30012025_09_10_15_9407.jpg
/home/pi/Desktop/images/30012025/09/10/image_30012025_09_10_25_10423.jpg
/home/pi/Desktop/images/30012025/09/10/image_30012025_09_10_35_10345.jpg
/home/pi/Desktop/images/30012025/09/10/image_30012025_09_10_45_9463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332932103","1332932112","1332932096","1332932114","1332932108","1332932068"],"photo_ids_order":["1332932068","1332932096","1332932103","1332932108","1332932112","1332932114"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7c3b24a2a7bf20b9e2fd1148ada97e1a.jpg","text":"TemporaryFile(/tmp/multipartBody1580102665498748121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224703200,"filename":"image_30012025_09_10_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/30/a43da72f0239a99b7295220beda75e2a.jpg","text":"TemporaryFile(/tmp/multipartBody4167712157664522857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224703200,"filename":"image_30012025_09_10_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6e0123c369dd4554746b1c545797eeaf.jpg","text":"TemporaryFile(/tmp/multipartBody5692595340221744734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224703200,"filename":"image_30012025_09_10_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/30/1b5e74d486e0b3805c768798e8d9f60d.jpg","text":"TemporaryFile(/tmp/multipartBody9208418399623747729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224703200,"filename":"image_30012025_09_10_45_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/30/806f18b021ca9129d4228fdd83bc1b87.jpg","text":"TemporaryFile(/tmp/multipartBody5479710653372017163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224703200,"filename":"image_30012025_09_10_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/30/b602205526f2e86252518c31876714d5.jpg","text":"TemporaryFile(/tmp/multipartBody2824104420805719285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224703200,"filename":"image_30012025_09_09_55_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332932103","file1":"1332932096","file0":"1332932068","file4":"1332932112","file5":"1332932114","file3":"1332932108"},"map_files_photo_id_array":[{"photo_id":"1332932114","filename":"file5"},{"photo_id":"1332932103","filename":"file2"},{"photo_id":"1332932112","filename":"file4"},{"photo_id":"1332932096","filename":"file1"},{"photo_id":"1332932068","filename":"file0"},{"photo_id":"1332932108","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332932103":["hashtag1","hashtag2"]},{"1332932112":["hashtag1","hashtag2"]},{"1332932096":["hashtag1","hashtag2"]},{"1332932114":["hashtag1","hashtag2"]},{"1332932108":["hashtag1","hashtag2"]},{"1332932068":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332932103, 1332932112, 1332932096, 1332932114, 1332932108, 1332932068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.98598623275757 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:11:32.499635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/10/image_30012025_09_10_55_10347.jpg', '/home/pi/Desktop/images/30012025/09/10/image_30012025_09_11_06_10344.jpg', '/home/pi/Desktop/images/30012025/09/11/image_30012025_09_11_15_9455.jpg', '/home/pi/Desktop/images/30012025/09/11/image_30012025_09_11_25_10341.jpg', '/home/pi/Desktop/images/30012025/09/11/image_30012025_09_11_35_9342.jpg', '/home/pi/Desktop/images/30012025/09/11/image_30012025_09_11_45_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/10/image_30012025_09_10_55_10347.jpg
/home/pi/Desktop/images/30012025/09/10/image_30012025_09_11_06_10344.jpg
/home/pi/Desktop/images/30012025/09/11/image_30012025_09_11_15_9455.jpg
/home/pi/Desktop/images/30012025/09/11/image_30012025_09_11_25_10341.jpg
/home/pi/Desktop/images/30012025/09/11/image_30012025_09_11_35_9342.jpg
/home/pi/Desktop/images/30012025/09/11/image_30012025_09_11_45_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332932148","1332932235","1332932229","1332932180","1332932228","1332932222"],"photo_ids_order":["1332932148","1332932180","1332932222","1332932228","1332932229","1332932235"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/56da622204bd7e61ef4d69fa23d88d4a.jpg","text":"TemporaryFile(/tmp/multipartBody2668746052788846886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224753429,"filename":"image_30012025_09_10_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/30/463545d7cebe6e578959240c567bd658.jpg","text":"TemporaryFile(/tmp/multipartBody7354023028548505554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224753429,"filename":"image_30012025_09_11_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/30/4f477e85a19649c4baad1f5bd52f1fe8.jpg","text":"TemporaryFile(/tmp/multipartBody2409479994017111635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224753429,"filename":"image_30012025_09_11_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/30/8b709970c99d0a6500778b7353b383c6.jpg","text":"TemporaryFile(/tmp/multipartBody2817130229148590698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224753429,"filename":"image_30012025_09_11_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/30/ad6bf4c9c0e34be2a2fc4d0370721043.jpg","text":"TemporaryFile(/tmp/multipartBody4689726450833981234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224753429,"filename":"image_30012025_09_11_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/30/78b1a95b5ad6bc0ab602450edd08cf7f.jpg","text":"TemporaryFile(/tmp/multipartBody2971852499915256031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224753429,"filename":"image_30012025_09_11_15_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332932222","file1":"1332932180","file0":"1332932148","file4":"1332932229","file5":"1332932235","file3":"1332932228"},"map_files_photo_id_array":[{"photo_id":"1332932235","filename":"file5"},{"photo_id":"1332932222","filename":"file2"},{"photo_id":"1332932229","filename":"file4"},{"photo_id":"1332932180","filename":"file1"},{"photo_id":"1332932148","filename":"file0"},{"photo_id":"1332932228","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332932148":["hashtag1","hashtag2"]},{"1332932235":["hashtag1","hashtag2"]},{"1332932229":["hashtag1","hashtag2"]},{"1332932180":["hashtag1","hashtag2"]},{"1332932228":["hashtag1","hashtag2"]},{"1332932222":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332932148, 1332932235, 1332932229, 1332932180, 1332932228, 1332932222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.567131757736206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:12:32.566564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/11/image_30012025_09_11_55_10364.jpg', '/home/pi/Desktop/images/30012025/09/11/image_30012025_09_12_05_9388.jpg', '/home/pi/Desktop/images/30012025/09/12/image_30012025_09_12_15_10346.jpg', '/home/pi/Desktop/images/30012025/09/12/image_30012025_09_12_26_10344.jpg', '/home/pi/Desktop/images/30012025/09/12/image_30012025_09_12_35_9510.jpg', '/home/pi/Desktop/images/30012025/09/12/image_30012025_09_12_45_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/11/image_30012025_09_11_55_10364.jpg
/home/pi/Desktop/images/30012025/09/11/image_30012025_09_12_05_9388.jpg
/home/pi/Desktop/images/30012025/09/12/image_30012025_09_12_15_10346.jpg
/home/pi/Desktop/images/30012025/09/12/image_30012025_09_12_26_10344.jpg
/home/pi/Desktop/images/30012025/09/12/image_30012025_09_12_35_9510.jpg
/home/pi/Desktop/images/30012025/09/12/image_30012025_09_12_45_10411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332932475","1332932439","1332932387","1332932477","1332932399","1332932333"],"photo_ids_order":["1332932333","1332932387","1332932399","1332932439","1332932475","1332932477"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5f44f96d82c471686eaf090ef014cdc7.jpg","text":"TemporaryFile(/tmp/multipartBody3503688314428691002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224813464,"filename":"image_30012025_09_12_35_9510.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fdd3dccdce1531cbe66a5c89207a8266.jpg","text":"TemporaryFile(/tmp/multipartBody2767817077128775762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224813464,"filename":"image_30012025_09_12_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/30/59c58d1eb63a82602d0edd3599d6f2b2.jpg","text":"TemporaryFile(/tmp/multipartBody8022350792454177499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224813464,"filename":"image_30012025_09_12_05_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/30/147fc71ddbd1b05aadc9d9e12e4ae52e.jpg","text":"TemporaryFile(/tmp/multipartBody6604791008619894093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224813464,"filename":"image_30012025_09_12_45_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/400b3deedae7659d68b2deb58a6ecee5.jpg","text":"TemporaryFile(/tmp/multipartBody6171318249543132160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224813464,"filename":"image_30012025_09_12_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/30/b5dba2a9971557f867481a241e48201c.jpg","text":"TemporaryFile(/tmp/multipartBody9081097019633256804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224813464,"filename":"image_30012025_09_11_55_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332932399","file1":"1332932387","file0":"1332932333","file4":"1332932475","file5":"1332932477","file3":"1332932439"},"map_files_photo_id_array":[{"photo_id":"1332932477","filename":"file5"},{"photo_id":"1332932399","filename":"file2"},{"photo_id":"1332932475","filename":"file4"},{"photo_id":"1332932387","filename":"file1"},{"photo_id":"1332932333","filename":"file0"},{"photo_id":"1332932439","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332932475":["hashtag1","hashtag2"]},{"1332932439":["hashtag1","hashtag2"]},{"1332932387":["hashtag1","hashtag2"]},{"1332932477":["hashtag1","hashtag2"]},{"1332932399":["hashtag1","hashtag2"]},{"1332932333":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332932475, 1332932439, 1332932387, 1332932477, 1332932399, 1332932333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13096356391907 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:13:32.785552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/12/image_30012025_09_12_55_9350.jpg', '/home/pi/Desktop/images/30012025/09/13/image_30012025_09_13_25_9359.jpg', '/home/pi/Desktop/images/30012025/09/13/image_30012025_09_13_35_10416.jpg', '/home/pi/Desktop/images/30012025/09/13/image_30012025_09_13_45_9402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/12/image_30012025_09_12_55_9350.jpg
/home/pi/Desktop/images/30012025/09/13/image_30012025_09_13_25_9359.jpg
/home/pi/Desktop/images/30012025/09/13/image_30012025_09_13_35_10416.jpg
/home/pi/Desktop/images/30012025/09/13/image_30012025_09_13_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":["1332932502","1332932516","1332932496","1332932509"],"photo_ids_order":["1332932496","1332932502","1332932509","1332932516"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7949c76fb8616fcdbe25c899a54eb6b8.jpg","text":"TemporaryFile(/tmp/multipartBody6656247072912186758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224873656,"filename":"image_30012025_09_13_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/30/61110053bc0424d837c2b754ecf94a63.jpg","text":"TemporaryFile(/tmp/multipartBody8043755748717388306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224873656,"filename":"image_30012025_09_13_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/30/46ada1e088074080401431b7bd848029.jpg","text":"TemporaryFile(/tmp/multipartBody5246004977474180987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224873656,"filename":"image_30012025_09_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/30/bd1178d51e31e85421cd8007a6f83844.jpg","text":"TemporaryFile(/tmp/multipartBody4567205701016196450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224873656,"filename":"image_30012025_09_13_35_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332932509","file1":"1332932502","file0":"1332932496","file3":"1332932516"},"map_files_photo_id_array":[{"photo_id":"1332932509","filename":"file2"},{"photo_id":"1332932502","filename":"file1"},{"photo_id":"1332932496","filename":"file0"},{"photo_id":"1332932516","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332932502":["hashtag1","hashtag2"]},{"1332932516":["hashtag1","hashtag2"]},{"1332932496":["hashtag1","hashtag2"]},{"1332932509":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332932502, 1332932516, 1332932496, 1332932509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.29477548599243 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 09:14:03.653334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/42/image_28012025_20_43_05_10359.jpg', '/home/pi/Desktop/images/28012025/20/43/image_28012025_20_43_15_9320.jpg', '/home/pi/Desktop/images/28012025/20/43/image_28012025_20_43_35_10441.jpg', '/home/pi/Desktop/images/28012025/20/43/image_28012025_20_43_55_10368.jpg', '/home/pi/Desktop/images/28012025/20/43/image_28012025_20_44_05_9478.jpg', '/home/pi/Desktop/images/28012025/20/44/image_28012025_20_44_15_10344.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/42/image_28012025_20_43_05_10359.jpg
/home/pi/Desktop/images/28012025/20/43/image_28012025_20_43_15_9320.jpg
/home/pi/Desktop/images/28012025/20/43/image_28012025_20_43_35_10441.jpg
/home/pi/Desktop/images/28012025/20/43/image_28012025_20_43_55_10368.jpg
/home/pi/Desktop/images/28012025/20/43/image_28012025_20_44_05_9478.jpg
/home/pi/Desktop/images/28012025/20/44/image_28012025_20_44_15_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":["1332932532","1332932526","1332932557","1332932539","1332932530","1332932524"],"photo_ids_order":["1332932524","1332932526","1332932530","1332932532","1332932539","1332932557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/183d7c9d829bd3d5e6d1b03065b7ae7c.jpg","text":"TemporaryFile(/tmp/multipartBody6810055774171674389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224905346,"filename":"image_28012025_20_43_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/30/e4a0f4f726dbe3d6a6e695e3bf54779c.jpg","text":"TemporaryFile(/tmp/multipartBody629108751888685551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224905346,"filename":"image_28012025_20_43_15_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/30/c4ed22f3df02e27f72aed1ae7f2675e2.jpg","text":"TemporaryFile(/tmp/multipartBody3201593061633872568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224905346,"filename":"image_28012025_20_44_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/30/ecfe29d675cbb7e9eb60c1a3a399c574.jpg","text":"TemporaryFile(/tmp/multipartBody1304764203063329868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224905346,"filename":"image_28012025_20_44_05_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/30/20566eaabe12f5242f2c25f593bf0c91.jpg","text":"TemporaryFile(/tmp/multipartBody9105217498208908827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224905346,"filename":"image_28012025_20_43_35_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/30/79870bca8b4fc6b6512e3d50489d7a70.jpg","text":"TemporaryFile(/tmp/multipartBody8380440133901417064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224905346,"filename":"image_28012025_20_43_05_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332932530","file1":"1332932526","file0":"1332932524","file4":"1332932539","file5":"1332932557","file3":"1332932532"},"map_files_photo_id_array":[{"photo_id":"1332932557","filename":"file5"},{"photo_id":"1332932530","filename":"file2"},{"photo_id":"1332932539","filename":"file4"},{"photo_id":"1332932526","filename":"file1"},{"photo_id":"1332932524","filename":"file0"},{"photo_id":"1332932532","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332932532":["hashtag1","hashtag2"]},{"1332932526":["hashtag1","hashtag2"]},{"1332932557":["hashtag1","hashtag2"]},{"1332932539":["hashtag1","hashtag2"]},{"1332932530":["hashtag1","hashtag2"]},{"1332932524":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332932532, 1332932526, 1332932557, 1332932539, 1332932530, 1332932524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.57891249656677 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:14:52.979268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/13/image_30012025_09_13_55_10431.jpg', '/home/pi/Desktop/images/30012025/09/14/image_30012025_09_14_15_9392.jpg', '/home/pi/Desktop/images/30012025/09/14/image_30012025_09_14_25_10420.jpg', '/home/pi/Desktop/images/30012025/09/14/image_30012025_09_14_35_9346.jpg', '/home/pi/Desktop/images/30012025/09/14/image_30012025_09_14_45_10438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/13/image_30012025_09_13_55_10431.jpg
/home/pi/Desktop/images/30012025/09/14/image_30012025_09_14_15_9392.jpg
/home/pi/Desktop/images/30012025/09/14/image_30012025_09_14_25_10420.jpg
/home/pi/Desktop/images/30012025/09/14/image_30012025_09_14_35_9346.jpg
/home/pi/Desktop/images/30012025/09/14/image_30012025_09_14_45_10438.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332932643","1332932649","1332932610","1332932663","1332932686"],"photo_ids_order":["1332932610","1332932643","1332932649","1332932663","1332932686"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a04c75b2df184538865b85bfbc5f69b2.jpg","text":"TemporaryFile(/tmp/multipartBody2827624479035101994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224953897,"filename":"image_30012025_09_14_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/30/7bb0c0eb595c2f16a9fe2d9db9a63a74.jpg","text":"TemporaryFile(/tmp/multipartBody3495532367021448789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224953897,"filename":"image_30012025_09_14_25_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/30/d68920e2ddec0f5bd00a6d4f2ea25539.jpg","text":"TemporaryFile(/tmp/multipartBody1976177511406205954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224953897,"filename":"image_30012025_09_13_55_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e093f377adb22eb17906555c77913797.jpg","text":"TemporaryFile(/tmp/multipartBody5196422931938522446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224953897,"filename":"image_30012025_09_14_35_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/30/bbf439db8664252f9f077e013c8af664.jpg","text":"TemporaryFile(/tmp/multipartBody3332422049349913075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738224953897,"filename":"image_30012025_09_14_45_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332932649","file1":"1332932643","file0":"1332932610","file4":"1332932686","file3":"1332932663"},"map_files_photo_id_array":[{"photo_id":"1332932649","filename":"file2"},{"photo_id":"1332932686","filename":"file4"},{"photo_id":"1332932643","filename":"file1"},{"photo_id":"1332932610","filename":"file0"},{"photo_id":"1332932663","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332932643":["hashtag1","hashtag2"]},{"1332932649":["hashtag1","hashtag2"]},{"1332932610":["hashtag1","hashtag2"]},{"1332932663":["hashtag1","hashtag2"]},{"1332932686":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332932643, 1332932649, 1332932610, 1332932663, 1332932686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.87319612503052 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:15:32.264520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/14/image_30012025_09_14_56_10340.jpg', '/home/pi/Desktop/images/30012025/09/15/image_30012025_09_15_26_10350.jpg', '/home/pi/Desktop/images/30012025/09/15/image_30012025_09_15_35_9369.jpg', '/home/pi/Desktop/images/30012025/09/15/image_30012025_09_15_45_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/14/image_30012025_09_14_56_10340.jpg
/home/pi/Desktop/images/30012025/09/15/image_30012025_09_15_26_10350.jpg
/home/pi/Desktop/images/30012025/09/15/image_30012025_09_15_35_9369.jpg
/home/pi/Desktop/images/30012025/09/15/image_30012025_09_15_45_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.4807777404785156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 09:15:42.246340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/14/image_30012025_09_14_56_10340.jpg', '/home/pi/Desktop/images/30012025/09/15/image_30012025_09_15_26_10350.jpg', '/home/pi/Desktop/images/30012025/09/15/image_30012025_09_15_35_9369.jpg', '/home/pi/Desktop/images/30012025/09/15/image_30012025_09_15_45_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/14/image_30012025_09_14_56_10340.jpg
/home/pi/Desktop/images/30012025/09/15/image_30012025_09_15_26_10350.jpg
/home/pi/Desktop/images/30012025/09/15/image_30012025_09_15_35_9369.jpg
/home/pi/Desktop/images/30012025/09/15/image_30012025_09_15_45_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332932795","1332932780","1332932791","1332932787"],"photo_ids_order":["1332932780","1332932787","1332932791","1332932795"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8de13dade1b673d08d40af3e4a5bd4c5.jpg","text":"TemporaryFile(/tmp/multipartBody875799346025521672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225003132,"filename":"image_30012025_09_15_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/30/859f7b8528cb52864a11d1f069e930ac.jpg","text":"TemporaryFile(/tmp/multipartBody4232751599431072453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225003132,"filename":"image_30012025_09_14_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/30/10a7d7647e1c5fc4e163261a5c7c2f88.jpg","text":"TemporaryFile(/tmp/multipartBody4036277194484530602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225003132,"filename":"image_30012025_09_15_35_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/30/b9d9081b8e1bc4e8d2d2e2f76eb6d864.jpg","text":"TemporaryFile(/tmp/multipartBody6975354294168936162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225003132,"filename":"image_30012025_09_15_26_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332932791","file1":"1332932787","file0":"1332932780","file3":"1332932795"},"map_files_photo_id_array":[{"photo_id":"1332932791","filename":"file2"},{"photo_id":"1332932787","filename":"file1"},{"photo_id":"1332932780","filename":"file0"},{"photo_id":"1332932795","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332932795":["hashtag1","hashtag2"]},{"1332932780":["hashtag1","hashtag2"]},{"1332932791":["hashtag1","hashtag2"]},{"1332932787":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332932795, 1332932780, 1332932791, 1332932787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.552185773849487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:16:32.313908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/15/image_30012025_09_15_55_9332.jpg', '/home/pi/Desktop/images/30012025/09/15/image_30012025_09_16_05_10341.jpg', '/home/pi/Desktop/images/30012025/09/16/image_30012025_09_16_15_10359.jpg', '/home/pi/Desktop/images/30012025/09/16/image_30012025_09_16_26_10253.jpg', '/home/pi/Desktop/images/30012025/09/16/image_30012025_09_16_35_9374.jpg', '/home/pi/Desktop/images/30012025/09/16/image_30012025_09_16_45_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/15/image_30012025_09_15_55_9332.jpg
/home/pi/Desktop/images/30012025/09/15/image_30012025_09_16_05_10341.jpg
/home/pi/Desktop/images/30012025/09/16/image_30012025_09_16_15_10359.jpg
/home/pi/Desktop/images/30012025/09/16/image_30012025_09_16_26_10253.jpg
/home/pi/Desktop/images/30012025/09/16/image_30012025_09_16_35_9374.jpg
/home/pi/Desktop/images/30012025/09/16/image_30012025_09_16_45_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":["1332932856","1332932835","1332932894","1332932820","1332932861","1332932827"],"photo_ids_order":["1332932820","1332932827","1332932835","1332932856","1332932861","1332932894"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/489b2ce1fff77da2430a48e84c9b7851.jpg","text":"TemporaryFile(/tmp/multipartBody4711090113582269001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225053217,"filename":"image_30012025_09_16_26_10253.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4f8b0e6ec2d38ec00734e8b1b02a2ae2.jpg","text":"TemporaryFile(/tmp/multipartBody8884720003147505459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225053217,"filename":"image_30012025_09_16_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/30/1058bdf62ac65a2d4576fc08f49a050c.jpg","text":"TemporaryFile(/tmp/multipartBody4837784596933823260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225053217,"filename":"image_30012025_09_16_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/30/22515a57aaff443a318c0c950ec766fa.jpg","text":"TemporaryFile(/tmp/multipartBody4933034944414664777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225053217,"filename":"image_30012025_09_15_55_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/68ddc03b8641fd721b8cee45ddcc9f5c.jpg","text":"TemporaryFile(/tmp/multipartBody1386199254657229337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225053217,"filename":"image_30012025_09_16_35_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/30/ee87ac5d64ed87376b361a238d8bc93e.jpg","text":"TemporaryFile(/tmp/multipartBody5006843468390583032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225053217,"filename":"image_30012025_09_16_05_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332932835","file1":"1332932827","file0":"1332932820","file4":"1332932861","file5":"1332932894","file3":"1332932856"},"map_files_photo_id_array":[{"photo_id":"1332932894","filename":"file5"},{"photo_id":"1332932835","filename":"file2"},{"photo_id":"1332932861","filename":"file4"},{"photo_id":"1332932827","filename":"file1"},{"photo_id":"1332932820","filename":"file0"},{"photo_id":"1332932856","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332932856":["hashtag1","hashtag2"]},{"1332932835":["hashtag1","hashtag2"]},{"1332932894":["hashtag1","hashtag2"]},{"1332932820":["hashtag1","hashtag2"]},{"1332932861":["hashtag1","hashtag2"]},{"1332932827":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332932856, 1332932835, 1332932894, 1332932820, 1332932861, 1332932827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.87330102920532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:17:32.599749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/16/image_30012025_09_16_55_9345.jpg', '/home/pi/Desktop/images/30012025/09/17/image_30012025_09_17_15_10343.jpg', '/home/pi/Desktop/images/30012025/09/17/image_30012025_09_17_35_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/16/image_30012025_09_16_55_9345.jpg
/home/pi/Desktop/images/30012025/09/17/image_30012025_09_17_15_10343.jpg
/home/pi/Desktop/images/30012025/09/17/image_30012025_09_17_35_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":["1332933026","1332933033","1332932991"],"photo_ids_order":["1332932991","1332933026","1332933033"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/352c6b532c84b933b9e736238189cbd1.jpg","text":"TemporaryFile(/tmp/multipartBody2328349677746086703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225113460,"filename":"image_30012025_09_17_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/30/0d638187b25bc0528751e07c4887a542.jpg","text":"TemporaryFile(/tmp/multipartBody3751568577391800412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225113460,"filename":"image_30012025_09_17_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/30/7395647e4f4c8caeb6614d483b219216.jpg","text":"TemporaryFile(/tmp/multipartBody8325404417414181069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225113460,"filename":"image_30012025_09_16_55_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332933033","file1":"1332933026","file0":"1332932991"},"map_files_photo_id_array":[{"photo_id":"1332933033","filename":"file2"},{"photo_id":"1332933026","filename":"file1"},{"photo_id":"1332932991","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332933026":["hashtag1","hashtag2"]},{"1332933033":["hashtag1","hashtag2"]},{"1332932991":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332933026, 1332933033, 1332932991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 27.066476106643677 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 09:18:03.595331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/44/image_28012025_20_44_24_9417.jpg', '/home/pi/Desktop/images/28012025/20/44/image_28012025_20_44_35_10351.jpg', '/home/pi/Desktop/images/28012025/20/44/image_28012025_20_44_45_10435.jpg', '/home/pi/Desktop/images/28012025/20/44/image_28012025_20_44_55_9365.jpg', '/home/pi/Desktop/images/28012025/20/44/image_28012025_20_45_05_10347.jpg', '/home/pi/Desktop/images/28012025/20/45/image_28012025_20_45_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/20/44/image_28012025_20_44_24_9417.jpg
/home/pi/Desktop/images/28012025/20/44/image_28012025_20_44_35_10351.jpg
/home/pi/Desktop/images/28012025/20/44/image_28012025_20_44_45_10435.jpg
/home/pi/Desktop/images/28012025/20/44/image_28012025_20_44_55_9365.jpg
/home/pi/Desktop/images/28012025/20/44/image_28012025_20_45_05_10347.jpg
/home/pi/Desktop/images/28012025/20/45/image_28012025_20_45_15_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: 10.174388408660889 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:18:33.091579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/17/image_30012025_09_17_55_9410.jpg', '/home/pi/Desktop/images/30012025/09/17/image_30012025_09_18_05_10371.jpg', '/home/pi/Desktop/images/30012025/09/18/image_30012025_09_18_15_9347.jpg', '/home/pi/Desktop/images/30012025/09/18/image_30012025_09_18_25_10351.jpg', '/home/pi/Desktop/images/30012025/09/18/image_30012025_09_18_35_10352.jpg', '/home/pi/Desktop/images/30012025/09/18/image_30012025_09_18_45_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/17/image_30012025_09_17_55_9410.jpg
/home/pi/Desktop/images/30012025/09/17/image_30012025_09_18_05_10371.jpg
/home/pi/Desktop/images/30012025/09/18/image_30012025_09_18_15_9347.jpg
/home/pi/Desktop/images/30012025/09/18/image_30012025_09_18_25_10351.jpg
/home/pi/Desktop/images/30012025/09/18/image_30012025_09_18_35_10352.jpg
/home/pi/Desktop/images/30012025/09/18/image_30012025_09_18_45_9337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332933425","1332933772","1332933775","1332933124","1332933747","1332933762"],"photo_ids_order":["1332933124","1332933425","1332933747","1332933762","1332933772","1332933775"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7a51ed80e21357c6082d6b131bccacdf.jpg","text":"TemporaryFile(/tmp/multipartBody5493898591776814463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225173995,"filename":"image_30012025_09_18_05_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/be402f1a2f441eda23fabb4ef2f45850.jpg","text":"TemporaryFile(/tmp/multipartBody2235954167973883203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225173995,"filename":"image_30012025_09_18_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/30/de0a1b82f63c598ed74275cc81a04911.jpg","text":"TemporaryFile(/tmp/multipartBody8964325928658025856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225173995,"filename":"image_30012025_09_18_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/30/c08fead2a21f56aac3b7b512dbdb977d.jpg","text":"TemporaryFile(/tmp/multipartBody6600541412210850644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225173995,"filename":"image_30012025_09_17_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/30/f5d2f002098c551b06ff2efc9ff8e74a.jpg","text":"TemporaryFile(/tmp/multipartBody5991478435328618082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225173995,"filename":"image_30012025_09_18_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/30/19609447d229f94d57311a5f98198026.jpg","text":"TemporaryFile(/tmp/multipartBody8138398315050469359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225173995,"filename":"image_30012025_09_18_25_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332933747","file1":"1332933425","file0":"1332933124","file4":"1332933772","file5":"1332933775","file3":"1332933762"},"map_files_photo_id_array":[{"photo_id":"1332933775","filename":"file5"},{"photo_id":"1332933747","filename":"file2"},{"photo_id":"1332933772","filename":"file4"},{"photo_id":"1332933425","filename":"file1"},{"photo_id":"1332933124","filename":"file0"},{"photo_id":"1332933762","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332933425":["hashtag1","hashtag2"]},{"1332933772":["hashtag1","hashtag2"]},{"1332933775":["hashtag1","hashtag2"]},{"1332933124":["hashtag1","hashtag2"]},{"1332933747":["hashtag1","hashtag2"]},{"1332933762":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332933425, 1332933772, 1332933775, 1332933124, 1332933747, 1332933762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.388248443603516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:19:32.219089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/18/image_30012025_09_18_55_10356.jpg', '/home/pi/Desktop/images/30012025/09/18/image_30012025_09_19_05_10349.jpg', '/home/pi/Desktop/images/30012025/09/19/image_30012025_09_19_15_9554.jpg', '/home/pi/Desktop/images/30012025/09/19/image_30012025_09_19_25_10380.jpg', '/home/pi/Desktop/images/30012025/09/19/image_30012025_09_19_35_9366.jpg', '/home/pi/Desktop/images/30012025/09/19/image_30012025_09_19_45_10441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/18/image_30012025_09_18_55_10356.jpg
/home/pi/Desktop/images/30012025/09/18/image_30012025_09_19_05_10349.jpg
/home/pi/Desktop/images/30012025/09/19/image_30012025_09_19_15_9554.jpg
/home/pi/Desktop/images/30012025/09/19/image_30012025_09_19_25_10380.jpg
/home/pi/Desktop/images/30012025/09/19/image_30012025_09_19_35_9366.jpg
/home/pi/Desktop/images/30012025/09/19/image_30012025_09_19_45_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":["1332934055","1332934118","1332934112","1332934051","1332934123","1332934128"],"photo_ids_order":["1332934051","1332934055","1332934112","1332934118","1332934123","1332934128"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f4b0cf08107c14b9ad444b01a700d9f4.jpg","text":"TemporaryFile(/tmp/multipartBody7081640213966344851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225233394,"filename":"image_30012025_09_19_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bc5e46d6e3991661839fd5b13500c4e4.jpg","text":"TemporaryFile(/tmp/multipartBody5672050607363911449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225233394,"filename":"image_30012025_09_19_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/30/7a9c8c43c334b21118d9875e4b44666a.jpg","text":"TemporaryFile(/tmp/multipartBody1042933120918161424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225233394,"filename":"image_30012025_09_19_15_9554.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/574a9c9be0ab65dff424fe911f744d80.jpg","text":"TemporaryFile(/tmp/multipartBody2636493951894554876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225233394,"filename":"image_30012025_09_18_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/30/555f5f14da10fa4e45e1f2ef08bb4c51.jpg","text":"TemporaryFile(/tmp/multipartBody3744597435718478263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225233394,"filename":"image_30012025_09_19_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/30/7313203b750d1770eb903c3527aef11c.jpg","text":"TemporaryFile(/tmp/multipartBody3615553608947735044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225233394,"filename":"image_30012025_09_19_45_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332934112","file1":"1332934055","file0":"1332934051","file4":"1332934123","file5":"1332934128","file3":"1332934118"},"map_files_photo_id_array":[{"photo_id":"1332934128","filename":"file5"},{"photo_id":"1332934112","filename":"file2"},{"photo_id":"1332934123","filename":"file4"},{"photo_id":"1332934055","filename":"file1"},{"photo_id":"1332934051","filename":"file0"},{"photo_id":"1332934118","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332934055":["hashtag1","hashtag2"]},{"1332934118":["hashtag1","hashtag2"]},{"1332934112":["hashtag1","hashtag2"]},{"1332934051":["hashtag1","hashtag2"]},{"1332934123":["hashtag1","hashtag2"]},{"1332934128":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332934055, 1332934118, 1332934112, 1332934051, 1332934123, 1332934128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.61220741271973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:20:32.667044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/19/image_30012025_09_19_55_10359.jpg', '/home/pi/Desktop/images/30012025/09/19/image_30012025_09_20_05_9415.jpg', '/home/pi/Desktop/images/30012025/09/20/image_30012025_09_20_15_10336.jpg', '/home/pi/Desktop/images/30012025/09/20/image_30012025_09_20_26_10359.jpg', '/home/pi/Desktop/images/30012025/09/20/image_30012025_09_20_45_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/19/image_30012025_09_19_55_10359.jpg
/home/pi/Desktop/images/30012025/09/19/image_30012025_09_20_05_9415.jpg
/home/pi/Desktop/images/30012025/09/20/image_30012025_09_20_15_10336.jpg
/home/pi/Desktop/images/30012025/09/20/image_30012025_09_20_26_10359.jpg
/home/pi/Desktop/images/30012025/09/20/image_30012025_09_20_45_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332934198","1332934177","1332934207","1332934219","1332934203"],"photo_ids_order":["1332934177","1332934198","1332934203","1332934207","1332934219"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4925f268a1dc6fa2a920e88167f7c16f.jpg","text":"TemporaryFile(/tmp/multipartBody4171510899201371040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225293557,"filename":"image_30012025_09_20_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/30/413b65119858fda1384cd91d32bba19c.jpg","text":"TemporaryFile(/tmp/multipartBody8028982972172953236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225293557,"filename":"image_30012025_09_19_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/30/2dd2adb48bb343ce321480ee35e9022c.jpg","text":"TemporaryFile(/tmp/multipartBody2696057453028557029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225293557,"filename":"image_30012025_09_20_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/30/dfe1de8d8a241055f5baf273e4228fde.jpg","text":"TemporaryFile(/tmp/multipartBody7107145529898937725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225293557,"filename":"image_30012025_09_20_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/30/3bd7d17cfbbcfbdeaec895685c6664f5.jpg","text":"TemporaryFile(/tmp/multipartBody2453271224392987749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225293557,"filename":"image_30012025_09_20_15_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332934203","file1":"1332934198","file0":"1332934177","file4":"1332934219","file3":"1332934207"},"map_files_photo_id_array":[{"photo_id":"1332934203","filename":"file2"},{"photo_id":"1332934219","filename":"file4"},{"photo_id":"1332934198","filename":"file1"},{"photo_id":"1332934177","filename":"file0"},{"photo_id":"1332934207","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332934198":["hashtag1","hashtag2"]},{"1332934177":["hashtag1","hashtag2"]},{"1332934207":["hashtag1","hashtag2"]},{"1332934219":["hashtag1","hashtag2"]},{"1332934203":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332934198, 1332934177, 1332934207, 1332934219, 1332934203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.14817571640015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:21:32.716834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/20/image_30012025_09_20_55_9319.jpg', '/home/pi/Desktop/images/30012025/09/20/image_30012025_09_21_05_10373.jpg', '/home/pi/Desktop/images/30012025/09/21/image_30012025_09_21_15_10355.jpg', '/home/pi/Desktop/images/30012025/09/21/image_30012025_09_21_25_9335.jpg', '/home/pi/Desktop/images/30012025/09/21/image_30012025_09_21_35_10381.jpg', '/home/pi/Desktop/images/30012025/09/21/image_30012025_09_21_45_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/20/image_30012025_09_20_55_9319.jpg
/home/pi/Desktop/images/30012025/09/20/image_30012025_09_21_05_10373.jpg
/home/pi/Desktop/images/30012025/09/21/image_30012025_09_21_15_10355.jpg
/home/pi/Desktop/images/30012025/09/21/image_30012025_09_21_25_9335.jpg
/home/pi/Desktop/images/30012025/09/21/image_30012025_09_21_35_10381.jpg
/home/pi/Desktop/images/30012025/09/21/image_30012025_09_21_45_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":["1332934268","1332934252","1332934263","1332934257","1332934245","1332934271"],"photo_ids_order":["1332934245","1332934252","1332934257","1332934263","1332934268","1332934271"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/52246a5e71c9edb232df20b70d894127.jpg","text":"TemporaryFile(/tmp/multipartBody4141224373248317280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225353648,"filename":"image_30012025_09_21_35_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/30/1bdd548a555c1ee2fb8a00e054884c43.jpg","text":"TemporaryFile(/tmp/multipartBody1937266525119775235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225353648,"filename":"image_30012025_09_21_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2232c448bc7f3e7ce950cb251fda72aa.jpg","text":"TemporaryFile(/tmp/multipartBody4753030417345311068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225353648,"filename":"image_30012025_09_21_25_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1daa63fcc347e8b731c7df4670cb52be.jpg","text":"TemporaryFile(/tmp/multipartBody866364427982716452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225353648,"filename":"image_30012025_09_21_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/30/26a1c61c2a271e36bf4afdaad4ad86f1.jpg","text":"TemporaryFile(/tmp/multipartBody462474127156752587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225353648,"filename":"image_30012025_09_20_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/30/f975c0675c3523cf1a85589c1715159e.jpg","text":"TemporaryFile(/tmp/multipartBody8027040579391505242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225353648,"filename":"image_30012025_09_21_45_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332934257","file1":"1332934252","file0":"1332934245","file4":"1332934268","file5":"1332934271","file3":"1332934263"},"map_files_photo_id_array":[{"photo_id":"1332934271","filename":"file5"},{"photo_id":"1332934257","filename":"file2"},{"photo_id":"1332934268","filename":"file4"},{"photo_id":"1332934252","filename":"file1"},{"photo_id":"1332934245","filename":"file0"},{"photo_id":"1332934263","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332934268":["hashtag1","hashtag2"]},{"1332934252":["hashtag1","hashtag2"]},{"1332934263":["hashtag1","hashtag2"]},{"1332934257":["hashtag1","hashtag2"]},{"1332934245":["hashtag1","hashtag2"]},{"1332934271":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332934268, 1332934252, 1332934263, 1332934257, 1332934245, 1332934271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.58874821662903 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:22:32.886072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/21/image_30012025_09_21_55_9476.jpg', '/home/pi/Desktop/images/30012025/09/21/image_30012025_09_22_05_10442.jpg', '/home/pi/Desktop/images/30012025/09/22/image_30012025_09_22_15_9349.jpg', '/home/pi/Desktop/images/30012025/09/22/image_30012025_09_22_25_10443.jpg', '/home/pi/Desktop/images/30012025/09/22/image_30012025_09_22_35_9431.jpg', '/home/pi/Desktop/images/30012025/09/22/image_30012025_09_22_45_10409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/21/image_30012025_09_21_55_9476.jpg
/home/pi/Desktop/images/30012025/09/21/image_30012025_09_22_05_10442.jpg
/home/pi/Desktop/images/30012025/09/22/image_30012025_09_22_15_9349.jpg
/home/pi/Desktop/images/30012025/09/22/image_30012025_09_22_25_10443.jpg
/home/pi/Desktop/images/30012025/09/22/image_30012025_09_22_35_9431.jpg
/home/pi/Desktop/images/30012025/09/22/image_30012025_09_22_45_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":["1332934745","1332934789","1332934477","1332934606","1332934782","1332934359"],"photo_ids_order":["1332934359","1332934477","1332934606","1332934745","1332934782","1332934789"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2bff4585c13a2330ad4c5d411309eb69.jpg","text":"TemporaryFile(/tmp/multipartBody2000337444964103516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225413781,"filename":"image_30012025_09_22_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/30/6504e4c2b95e5cdf408f8b27bcaf59d7.jpg","text":"TemporaryFile(/tmp/multipartBody5142414268903721594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225413781,"filename":"image_30012025_09_22_45_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d47c0bea16c750edcef77bd6deda014c.jpg","text":"TemporaryFile(/tmp/multipartBody2181411322582638261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225413781,"filename":"image_30012025_09_22_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/30/fe3167422f90a00e902afad664c1a273.jpg","text":"TemporaryFile(/tmp/multipartBody1900797483925992202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225413781,"filename":"image_30012025_09_22_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/30/161d7c385cb2a1f6fc498e08d530c29e.jpg","text":"TemporaryFile(/tmp/multipartBody1006197557236215367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225413781,"filename":"image_30012025_09_22_35_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/30/3b68dfa6047f067f579d60b4257d6970.jpg","text":"TemporaryFile(/tmp/multipartBody4418533089689927575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225413781,"filename":"image_30012025_09_21_55_9476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332934606","file1":"1332934477","file0":"1332934359","file4":"1332934782","file5":"1332934789","file3":"1332934745"},"map_files_photo_id_array":[{"photo_id":"1332934789","filename":"file5"},{"photo_id":"1332934606","filename":"file2"},{"photo_id":"1332934782","filename":"file4"},{"photo_id":"1332934477","filename":"file1"},{"photo_id":"1332934359","filename":"file0"},{"photo_id":"1332934745","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332934745":["hashtag1","hashtag2"]},{"1332934789":["hashtag1","hashtag2"]},{"1332934477":["hashtag1","hashtag2"]},{"1332934606":["hashtag1","hashtag2"]},{"1332934782":["hashtag1","hashtag2"]},{"1332934359":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332934745, 1332934789, 1332934477, 1332934606, 1332934782, 1332934359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.49309849739075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:23:33.080565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/22/image_30012025_09_22_55_10357.jpg', '/home/pi/Desktop/images/30012025/09/22/image_30012025_09_23_05_9334.jpg', '/home/pi/Desktop/images/30012025/09/23/image_30012025_09_23_15_10374.jpg', '/home/pi/Desktop/images/30012025/09/23/image_30012025_09_23_25_10362.jpg', '/home/pi/Desktop/images/30012025/09/23/image_30012025_09_23_35_9332.jpg', '/home/pi/Desktop/images/30012025/09/23/image_30012025_09_23_45_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/22/image_30012025_09_22_55_10357.jpg
/home/pi/Desktop/images/30012025/09/22/image_30012025_09_23_05_9334.jpg
/home/pi/Desktop/images/30012025/09/23/image_30012025_09_23_15_10374.jpg
/home/pi/Desktop/images/30012025/09/23/image_30012025_09_23_25_10362.jpg
/home/pi/Desktop/images/30012025/09/23/image_30012025_09_23_35_9332.jpg
/home/pi/Desktop/images/30012025/09/23/image_30012025_09_23_45_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.5135259628295898 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 09:23:43.120326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/22/image_30012025_09_22_55_10357.jpg', '/home/pi/Desktop/images/30012025/09/22/image_30012025_09_23_05_9334.jpg', '/home/pi/Desktop/images/30012025/09/23/image_30012025_09_23_15_10374.jpg', '/home/pi/Desktop/images/30012025/09/23/image_30012025_09_23_25_10362.jpg', '/home/pi/Desktop/images/30012025/09/23/image_30012025_09_23_35_9332.jpg', '/home/pi/Desktop/images/30012025/09/23/image_30012025_09_23_45_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/22/image_30012025_09_22_55_10357.jpg
/home/pi/Desktop/images/30012025/09/22/image_30012025_09_23_05_9334.jpg
/home/pi/Desktop/images/30012025/09/23/image_30012025_09_23_15_10374.jpg
/home/pi/Desktop/images/30012025/09/23/image_30012025_09_23_25_10362.jpg
/home/pi/Desktop/images/30012025/09/23/image_30012025_09_23_35_9332.jpg
/home/pi/Desktop/images/30012025/09/23/image_30012025_09_23_45_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":["1332934976","1332934993","1332934990","1332934986","1332934997","1332934982"],"photo_ids_order":["1332934976","1332934982","1332934986","1332934990","1332934993","1332934997"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6774a3bff573d46f162be0de60635b9c.jpg","text":"TemporaryFile(/tmp/multipartBody3778277524805657208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225484017,"filename":"image_30012025_09_22_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/30/b5ed18d1120d78063f9cc1cb7fcdda7e.jpg","text":"TemporaryFile(/tmp/multipartBody4225136436525290950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225484017,"filename":"image_30012025_09_23_35_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/efcd03e40c3c8a5578cc07186bf2e11b.jpg","text":"TemporaryFile(/tmp/multipartBody2286982682687385641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225484017,"filename":"image_30012025_09_23_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/30/246f147b768e07ef7d74da8e9986bfd0.jpg","text":"TemporaryFile(/tmp/multipartBody8992340722466665342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225484017,"filename":"image_30012025_09_23_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/30/66b7cb8be80abdb173c91211880c8e93.jpg","text":"TemporaryFile(/tmp/multipartBody6054299539837351635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225484017,"filename":"image_30012025_09_23_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/30/658674043f4ed39b9dffad0a52b35bc5.jpg","text":"TemporaryFile(/tmp/multipartBody1686184173869763011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225484017,"filename":"image_30012025_09_23_05_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332934986","file1":"1332934982","file0":"1332934976","file4":"1332934993","file5":"1332934997","file3":"1332934990"},"map_files_photo_id_array":[{"photo_id":"1332934997","filename":"file5"},{"photo_id":"1332934986","filename":"file2"},{"photo_id":"1332934993","filename":"file4"},{"photo_id":"1332934982","filename":"file1"},{"photo_id":"1332934976","filename":"file0"},{"photo_id":"1332934990","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332934976":["hashtag1","hashtag2"]},{"1332934993":["hashtag1","hashtag2"]},{"1332934990":["hashtag1","hashtag2"]},{"1332934986":["hashtag1","hashtag2"]},{"1332934997":["hashtag1","hashtag2"]},{"1332934982":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332934976, 1332934993, 1332934990, 1332934986, 1332934997, 1332934982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.42496085166931 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:24:32.234190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/23/image_30012025_09_23_56_10354.jpg', '/home/pi/Desktop/images/30012025/09/23/image_30012025_09_24_05_9385.jpg', '/home/pi/Desktop/images/30012025/09/24/image_30012025_09_24_15_10331.jpg', '/home/pi/Desktop/images/30012025/09/24/image_30012025_09_24_25_9337.jpg', '/home/pi/Desktop/images/30012025/09/24/image_30012025_09_24_35_10456.jpg', '/home/pi/Desktop/images/30012025/09/24/image_30012025_09_24_45_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/23/image_30012025_09_23_56_10354.jpg
/home/pi/Desktop/images/30012025/09/23/image_30012025_09_24_05_9385.jpg
/home/pi/Desktop/images/30012025/09/24/image_30012025_09_24_15_10331.jpg
/home/pi/Desktop/images/30012025/09/24/image_30012025_09_24_25_9337.jpg
/home/pi/Desktop/images/30012025/09/24/image_30012025_09_24_35_10456.jpg
/home/pi/Desktop/images/30012025/09/24/image_30012025_09_24_45_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332935030","1332935035","1332935020","1332935008","1332935025","1332935013"],"photo_ids_order":["1332935008","1332935013","1332935020","1332935025","1332935030","1332935035"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6e2454cdcb3196a136e096182d96eee2.jpg","text":"TemporaryFile(/tmp/multipartBody7572258243684522263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225533143,"filename":"image_30012025_09_24_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/30/907a98e590bc24d706b5b8ea8bda89f3.jpg","text":"TemporaryFile(/tmp/multipartBody4003937890596614675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225533143,"filename":"image_30012025_09_24_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/30/477d7a0b0b507ea389b6292d36d95afa.jpg","text":"TemporaryFile(/tmp/multipartBody8965329207824472673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225533143,"filename":"image_30012025_09_24_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/30/b379de50144ed8622e09901858f771df.jpg","text":"TemporaryFile(/tmp/multipartBody5602560933569692620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225533143,"filename":"image_30012025_09_23_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/30/39cc1d354aaaad85966c538caf29ca33.jpg","text":"TemporaryFile(/tmp/multipartBody2212948514789408962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225533143,"filename":"image_30012025_09_24_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/30/86117af7108f4b7c6413216fd3f072d5.jpg","text":"TemporaryFile(/tmp/multipartBody7495035574815845568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225533143,"filename":"image_30012025_09_24_05_9385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332935020","file1":"1332935013","file0":"1332935008","file4":"1332935030","file5":"1332935035","file3":"1332935025"},"map_files_photo_id_array":[{"photo_id":"1332935035","filename":"file5"},{"photo_id":"1332935020","filename":"file2"},{"photo_id":"1332935030","filename":"file4"},{"photo_id":"1332935013","filename":"file1"},{"photo_id":"1332935008","filename":"file0"},{"photo_id":"1332935025","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332935030":["hashtag1","hashtag2"]},{"1332935035":["hashtag1","hashtag2"]},{"1332935020":["hashtag1","hashtag2"]},{"1332935008":["hashtag1","hashtag2"]},{"1332935025":["hashtag1","hashtag2"]},{"1332935013":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332935030, 1332935035, 1332935020, 1332935008, 1332935025, 1332935013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.666412353515625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:25:32.440047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/24/image_30012025_09_24_55_9468.jpg', '/home/pi/Desktop/images/30012025/09/24/image_30012025_09_25_05_10321.jpg', '/home/pi/Desktop/images/30012025/09/25/image_30012025_09_25_16_10337.jpg', '/home/pi/Desktop/images/30012025/09/25/image_30012025_09_25_25_9445.jpg', '/home/pi/Desktop/images/30012025/09/25/image_30012025_09_25_35_10402.jpg', '/home/pi/Desktop/images/30012025/09/25/image_30012025_09_25_45_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/24/image_30012025_09_24_55_9468.jpg
/home/pi/Desktop/images/30012025/09/24/image_30012025_09_25_05_10321.jpg
/home/pi/Desktop/images/30012025/09/25/image_30012025_09_25_16_10337.jpg
/home/pi/Desktop/images/30012025/09/25/image_30012025_09_25_25_9445.jpg
/home/pi/Desktop/images/30012025/09/25/image_30012025_09_25_35_10402.jpg
/home/pi/Desktop/images/30012025/09/25/image_30012025_09_25_45_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332935062","1332935044","1332935067","1332935070","1332935051","1332935057"],"photo_ids_order":["1332935044","1332935051","1332935057","1332935062","1332935067","1332935070"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/74ee23eda13b98917c86ae3c6b36f04f.jpg","text":"TemporaryFile(/tmp/multipartBody670826026014293793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225593361,"filename":"image_30012025_09_25_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/30/503b28c89e3867a96cd7052528fcc91d.jpg","text":"TemporaryFile(/tmp/multipartBody7695676058107459659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225593361,"filename":"image_30012025_09_24_55_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/30/af78b614bf8441f186ec045dc250b2f8.jpg","text":"TemporaryFile(/tmp/multipartBody2825049896471318200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225593361,"filename":"image_30012025_09_25_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/30/ae72e6221caf5b876146ae32969d9be4.jpg","text":"TemporaryFile(/tmp/multipartBody8309694926833477642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225593361,"filename":"image_30012025_09_25_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/30/8569a00bb95a6fbbc71748484c0f25d8.jpg","text":"TemporaryFile(/tmp/multipartBody5017446570791320767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225593361,"filename":"image_30012025_09_25_05_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/93f22b14759cd8cc5a7c8d2e68ba5453.jpg","text":"TemporaryFile(/tmp/multipartBody273670542419609288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225593361,"filename":"image_30012025_09_25_16_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332935057","file1":"1332935051","file0":"1332935044","file4":"1332935067","file5":"1332935070","file3":"1332935062"},"map_files_photo_id_array":[{"photo_id":"1332935070","filename":"file5"},{"photo_id":"1332935057","filename":"file2"},{"photo_id":"1332935067","filename":"file4"},{"photo_id":"1332935051","filename":"file1"},{"photo_id":"1332935044","filename":"file0"},{"photo_id":"1332935062","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332935062":["hashtag1","hashtag2"]},{"1332935044":["hashtag1","hashtag2"]},{"1332935067":["hashtag1","hashtag2"]},{"1332935070":["hashtag1","hashtag2"]},{"1332935051":["hashtag1","hashtag2"]},{"1332935057":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332935062, 1332935044, 1332935067, 1332935070, 1332935051, 1332935057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.6201810836792 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:26:32.776878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/25/image_30012025_09_25_55_10352.jpg', '/home/pi/Desktop/images/30012025/09/25/image_30012025_09_26_05_10364.jpg', '/home/pi/Desktop/images/30012025/09/26/image_30012025_09_26_15_9434.jpg', '/home/pi/Desktop/images/30012025/09/26/image_30012025_09_26_25_10371.jpg', '/home/pi/Desktop/images/30012025/09/26/image_30012025_09_26_35_9341.jpg', '/home/pi/Desktop/images/30012025/09/26/image_30012025_09_26_45_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/25/image_30012025_09_25_55_10352.jpg
/home/pi/Desktop/images/30012025/09/25/image_30012025_09_26_05_10364.jpg
/home/pi/Desktop/images/30012025/09/26/image_30012025_09_26_15_9434.jpg
/home/pi/Desktop/images/30012025/09/26/image_30012025_09_26_25_10371.jpg
/home/pi/Desktop/images/30012025/09/26/image_30012025_09_26_35_9341.jpg
/home/pi/Desktop/images/30012025/09/26/image_30012025_09_26_45_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":["1332935131","1332935125","1332935119","1332935097","1332935109","1332935084"],"photo_ids_order":["1332935084","1332935097","1332935109","1332935119","1332935125","1332935131"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/35dd6af6ec380d2f8a9563cf4739b558.jpg","text":"TemporaryFile(/tmp/multipartBody2315412811337842501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225653710,"filename":"image_30012025_09_26_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/30/2eb9115ed91e97d3919ff5a12668511b.jpg","text":"TemporaryFile(/tmp/multipartBody8974414818677983502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225653710,"filename":"image_30012025_09_26_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/30/2650189075dc83ba9abf2d50d1aedfb4.jpg","text":"TemporaryFile(/tmp/multipartBody3617533199480766067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225653710,"filename":"image_30012025_09_26_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/30/928154bf3c4803eaa9a02f0ffd1a8be3.jpg","text":"TemporaryFile(/tmp/multipartBody2339153438794993014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225653710,"filename":"image_30012025_09_26_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/30/09fd464a25461c4215c33fc7ac1e9d9f.jpg","text":"TemporaryFile(/tmp/multipartBody5712087894661018535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225653710,"filename":"image_30012025_09_26_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/30/58877bfbeeb94607b5bcd670f1868945.jpg","text":"TemporaryFile(/tmp/multipartBody4070544439185781939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225653710,"filename":"image_30012025_09_25_55_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332935109","file1":"1332935097","file0":"1332935084","file4":"1332935125","file5":"1332935131","file3":"1332935119"},"map_files_photo_id_array":[{"photo_id":"1332935131","filename":"file5"},{"photo_id":"1332935109","filename":"file2"},{"photo_id":"1332935125","filename":"file4"},{"photo_id":"1332935097","filename":"file1"},{"photo_id":"1332935084","filename":"file0"},{"photo_id":"1332935119","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332935131":["hashtag1","hashtag2"]},{"1332935125":["hashtag1","hashtag2"]},{"1332935119":["hashtag1","hashtag2"]},{"1332935097":["hashtag1","hashtag2"]},{"1332935109":["hashtag1","hashtag2"]},{"1332935084":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332935131, 1332935125, 1332935119, 1332935097, 1332935109, 1332935084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39189314842224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:27:33.035084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/26/image_30012025_09_26_55_10344.jpg', '/home/pi/Desktop/images/30012025/09/26/image_30012025_09_27_05_9342.jpg', '/home/pi/Desktop/images/30012025/09/27/image_30012025_09_27_15_10445.jpg', '/home/pi/Desktop/images/30012025/09/27/image_30012025_09_27_26_10338.jpg', '/home/pi/Desktop/images/30012025/09/27/image_30012025_09_27_35_9465.jpg', '/home/pi/Desktop/images/30012025/09/27/image_30012025_09_27_45_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/26/image_30012025_09_26_55_10344.jpg
/home/pi/Desktop/images/30012025/09/26/image_30012025_09_27_05_9342.jpg
/home/pi/Desktop/images/30012025/09/27/image_30012025_09_27_15_10445.jpg
/home/pi/Desktop/images/30012025/09/27/image_30012025_09_27_26_10338.jpg
/home/pi/Desktop/images/30012025/09/27/image_30012025_09_27_35_9465.jpg
/home/pi/Desktop/images/30012025/09/27/image_30012025_09_27_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":["1332935191","1332935224","1332935218","1332935221","1332935214","1332935205"],"photo_ids_order":["1332935191","1332935205","1332935214","1332935218","1332935221","1332935224"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/072b8600783fad3f2163e934407c2f42.jpg","text":"TemporaryFile(/tmp/multipartBody4277643430445030528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225713963,"filename":"image_30012025_09_26_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/30/ede7409f407d639ab636460400a5d386.jpg","text":"TemporaryFile(/tmp/multipartBody6543658879359026564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225713963,"filename":"image_30012025_09_27_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/30/fbf717d917898e5d0e8b6b11f29edfed.jpg","text":"TemporaryFile(/tmp/multipartBody1277304429724334759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225713963,"filename":"image_30012025_09_27_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/30/0f8fcfd2e422a56df83ce00ce410ad01.jpg","text":"TemporaryFile(/tmp/multipartBody2205106201446817094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225713963,"filename":"image_30012025_09_27_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/30/e99e119f66466e1967ed667c02c2527f.jpg","text":"TemporaryFile(/tmp/multipartBody4291993560310705697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225713963,"filename":"image_30012025_09_27_15_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2fcee276973f0396b91bd97a686cdf8e.jpg","text":"TemporaryFile(/tmp/multipartBody4126860693397886575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225713963,"filename":"image_30012025_09_27_05_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332935214","file1":"1332935205","file0":"1332935191","file4":"1332935221","file5":"1332935224","file3":"1332935218"},"map_files_photo_id_array":[{"photo_id":"1332935224","filename":"file5"},{"photo_id":"1332935214","filename":"file2"},{"photo_id":"1332935221","filename":"file4"},{"photo_id":"1332935205","filename":"file1"},{"photo_id":"1332935191","filename":"file0"},{"photo_id":"1332935218","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332935191":["hashtag1","hashtag2"]},{"1332935224":["hashtag1","hashtag2"]},{"1332935218":["hashtag1","hashtag2"]},{"1332935221":["hashtag1","hashtag2"]},{"1332935214":["hashtag1","hashtag2"]},{"1332935205":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332935191, 1332935224, 1332935218, 1332935221, 1332935214, 1332935205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.238017559051514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:28:32.278281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/27/image_30012025_09_27_55_9431.jpg', '/home/pi/Desktop/images/30012025/09/27/image_30012025_09_28_05_10413.jpg', '/home/pi/Desktop/images/30012025/09/28/image_30012025_09_28_16_10346.jpg', '/home/pi/Desktop/images/30012025/09/28/image_30012025_09_28_25_9400.jpg', '/home/pi/Desktop/images/30012025/09/28/image_30012025_09_28_35_10345.jpg', '/home/pi/Desktop/images/30012025/09/28/image_30012025_09_28_45_9379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/27/image_30012025_09_27_55_9431.jpg
/home/pi/Desktop/images/30012025/09/27/image_30012025_09_28_05_10413.jpg
/home/pi/Desktop/images/30012025/09/28/image_30012025_09_28_16_10346.jpg
/home/pi/Desktop/images/30012025/09/28/image_30012025_09_28_25_9400.jpg
/home/pi/Desktop/images/30012025/09/28/image_30012025_09_28_35_10345.jpg
/home/pi/Desktop/images/30012025/09/28/image_30012025_09_28_45_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":["1332935315","1332935309","1332935332","1332935322","1332935330","1332935327"],"photo_ids_order":["1332935309","1332935315","1332935322","1332935327","1332935330","1332935332"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cf4dee30c3cf81d636ee8558b14ce209.jpg","text":"TemporaryFile(/tmp/multipartBody2609355465403379139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225773207,"filename":"image_30012025_09_28_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/30/93063e2c4e4c94a4f057f81f39f09f12.jpg","text":"TemporaryFile(/tmp/multipartBody8498804585057860755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225773207,"filename":"image_30012025_09_27_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/30/edc6a2e0cc99994ff6515f4ee913daac.jpg","text":"TemporaryFile(/tmp/multipartBody4889302259296747191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225773207,"filename":"image_30012025_09_28_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/30/8eb37697e8eb2d393f74b81d27e63ad8.jpg","text":"TemporaryFile(/tmp/multipartBody4189723798985234648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225773207,"filename":"image_30012025_09_28_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/30/2a282c3c26f85c6679b4a7edbde7b146.jpg","text":"TemporaryFile(/tmp/multipartBody1578173743873778436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225773207,"filename":"image_30012025_09_28_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/07ce72e7d3bb3b4d90947087551d4c54.jpg","text":"TemporaryFile(/tmp/multipartBody109383680312216835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225773207,"filename":"image_30012025_09_28_25_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332935322","file1":"1332935315","file0":"1332935309","file4":"1332935330","file5":"1332935332","file3":"1332935327"},"map_files_photo_id_array":[{"photo_id":"1332935332","filename":"file5"},{"photo_id":"1332935322","filename":"file2"},{"photo_id":"1332935330","filename":"file4"},{"photo_id":"1332935315","filename":"file1"},{"photo_id":"1332935309","filename":"file0"},{"photo_id":"1332935327","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332935315":["hashtag1","hashtag2"]},{"1332935309":["hashtag1","hashtag2"]},{"1332935332":["hashtag1","hashtag2"]},{"1332935322":["hashtag1","hashtag2"]},{"1332935330":["hashtag1","hashtag2"]},{"1332935327":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332935315, 1332935309, 1332935332, 1332935322, 1332935330, 1332935327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.689836502075195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:29:32.413947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/28/image_30012025_09_28_55_10351.jpg', '/home/pi/Desktop/images/30012025/09/28/image_30012025_09_29_05_10430.jpg', '/home/pi/Desktop/images/30012025/09/29/image_30012025_09_29_15_9479.jpg', '/home/pi/Desktop/images/30012025/09/29/image_30012025_09_29_25_10356.jpg', '/home/pi/Desktop/images/30012025/09/29/image_30012025_09_29_35_9351.jpg', '/home/pi/Desktop/images/30012025/09/29/image_30012025_09_29_45_10412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/28/image_30012025_09_28_55_10351.jpg
/home/pi/Desktop/images/30012025/09/28/image_30012025_09_29_05_10430.jpg
/home/pi/Desktop/images/30012025/09/29/image_30012025_09_29_15_9479.jpg
/home/pi/Desktop/images/30012025/09/29/image_30012025_09_29_25_10356.jpg
/home/pi/Desktop/images/30012025/09/29/image_30012025_09_29_35_9351.jpg
/home/pi/Desktop/images/30012025/09/29/image_30012025_09_29_45_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332935374","1332935368","1332935356","1332935385","1332935379","1332935364"],"photo_ids_order":["1332935356","1332935364","1332935368","1332935374","1332935379","1332935385"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2b2cd82a646a59c1946ac295e6c03e5c.jpg","text":"TemporaryFile(/tmp/multipartBody8969386515893171127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225833318,"filename":"image_30012025_09_29_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/30/ffc5e58e37cbc402ddbb66adb10538e7.jpg","text":"TemporaryFile(/tmp/multipartBody1514751994562741571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225833318,"filename":"image_30012025_09_29_15_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/30/887989254db9789e959f0b180d7ccec4.jpg","text":"TemporaryFile(/tmp/multipartBody3176461198403892436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225833318,"filename":"image_30012025_09_28_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/30/8d77c5a37b0cae9f37fdac5be5742cd8.jpg","text":"TemporaryFile(/tmp/multipartBody3587204828802652072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225833318,"filename":"image_30012025_09_29_45_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a34d3b78906a329a2d613752219c391e.jpg","text":"TemporaryFile(/tmp/multipartBody2646074777021724084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225833318,"filename":"image_30012025_09_29_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/30/c09dc770a882ba98fc32502ca63d9b55.jpg","text":"TemporaryFile(/tmp/multipartBody4880742037244657410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225833318,"filename":"image_30012025_09_29_05_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332935368","file1":"1332935364","file0":"1332935356","file4":"1332935379","file5":"1332935385","file3":"1332935374"},"map_files_photo_id_array":[{"photo_id":"1332935385","filename":"file5"},{"photo_id":"1332935368","filename":"file2"},{"photo_id":"1332935379","filename":"file4"},{"photo_id":"1332935364","filename":"file1"},{"photo_id":"1332935356","filename":"file0"},{"photo_id":"1332935374","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332935374":["hashtag1","hashtag2"]},{"1332935368":["hashtag1","hashtag2"]},{"1332935356":["hashtag1","hashtag2"]},{"1332935385":["hashtag1","hashtag2"]},{"1332935379":["hashtag1","hashtag2"]},{"1332935364":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332935374, 1332935368, 1332935356, 1332935385, 1332935379, 1332935364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32545495033264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:30:32.686580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/29/image_30012025_09_29_55_10353.jpg', '/home/pi/Desktop/images/30012025/09/29/image_30012025_09_30_05_9371.jpg', '/home/pi/Desktop/images/30012025/09/30/image_30012025_09_30_15_10432.jpg', '/home/pi/Desktop/images/30012025/09/30/image_30012025_09_30_26_10357.jpg', '/home/pi/Desktop/images/30012025/09/30/image_30012025_09_30_35_9395.jpg', '/home/pi/Desktop/images/30012025/09/30/image_30012025_09_30_45_10442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/29/image_30012025_09_29_55_10353.jpg
/home/pi/Desktop/images/30012025/09/29/image_30012025_09_30_05_9371.jpg
/home/pi/Desktop/images/30012025/09/30/image_30012025_09_30_15_10432.jpg
/home/pi/Desktop/images/30012025/09/30/image_30012025_09_30_26_10357.jpg
/home/pi/Desktop/images/30012025/09/30/image_30012025_09_30_35_9395.jpg
/home/pi/Desktop/images/30012025/09/30/image_30012025_09_30_45_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":["1332935428","1332935457","1332935454","1332935433","1332935418","1332935450"],"photo_ids_order":["1332935418","1332935428","1332935433","1332935450","1332935454","1332935457"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/86917f2589cac6b9fc59413ea8fa6066.jpg","text":"TemporaryFile(/tmp/multipartBody2554030026253978823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225893580,"filename":"image_30012025_09_30_05_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/30/1e8258cf05ed2f0af96d15bff64669d5.jpg","text":"TemporaryFile(/tmp/multipartBody8729424593078734773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225893580,"filename":"image_30012025_09_30_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/30/09504d27b4abe066d01412c11acb7ca5.jpg","text":"TemporaryFile(/tmp/multipartBody1485070860189567230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225893580,"filename":"image_30012025_09_30_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/30/977aa822408eafe4854e957a0e303831.jpg","text":"TemporaryFile(/tmp/multipartBody4927612565446560676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225893580,"filename":"image_30012025_09_30_15_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4ca23806834343f08b87d77b71f7415d.jpg","text":"TemporaryFile(/tmp/multipartBody6025392571218124622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225893580,"filename":"image_30012025_09_29_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/30/8c5efd63423d4cec31d736246a8ee630.jpg","text":"TemporaryFile(/tmp/multipartBody5260406638030193041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225893580,"filename":"image_30012025_09_30_26_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332935433","file1":"1332935428","file0":"1332935418","file4":"1332935454","file5":"1332935457","file3":"1332935450"},"map_files_photo_id_array":[{"photo_id":"1332935457","filename":"file5"},{"photo_id":"1332935433","filename":"file2"},{"photo_id":"1332935454","filename":"file4"},{"photo_id":"1332935428","filename":"file1"},{"photo_id":"1332935418","filename":"file0"},{"photo_id":"1332935450","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332935428":["hashtag1","hashtag2"]},{"1332935457":["hashtag1","hashtag2"]},{"1332935454":["hashtag1","hashtag2"]},{"1332935433":["hashtag1","hashtag2"]},{"1332935418":["hashtag1","hashtag2"]},{"1332935450":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332935428, 1332935457, 1332935454, 1332935433, 1332935418, 1332935450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.853105306625366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:31:32.974895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/30/image_30012025_09_30_55_9354.jpg', '/home/pi/Desktop/images/30012025/09/30/image_30012025_09_31_05_10413.jpg', '/home/pi/Desktop/images/30012025/09/31/image_30012025_09_31_16_10346.jpg', '/home/pi/Desktop/images/30012025/09/31/image_30012025_09_31_25_9383.jpg', '/home/pi/Desktop/images/30012025/09/31/image_30012025_09_31_35_10343.jpg', '/home/pi/Desktop/images/30012025/09/31/image_30012025_09_31_46_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/30/image_30012025_09_30_55_9354.jpg
/home/pi/Desktop/images/30012025/09/30/image_30012025_09_31_05_10413.jpg
/home/pi/Desktop/images/30012025/09/31/image_30012025_09_31_16_10346.jpg
/home/pi/Desktop/images/30012025/09/31/image_30012025_09_31_25_9383.jpg
/home/pi/Desktop/images/30012025/09/31/image_30012025_09_31_35_10343.jpg
/home/pi/Desktop/images/30012025/09/31/image_30012025_09_31_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":["1332935577","1332935585","1332935570","1332935582","1332935549","1332935564"],"photo_ids_order":["1332935549","1332935564","1332935570","1332935577","1332935582","1332935585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/17d98c7594c5ed03af786fc3b560bfcc.jpg","text":"TemporaryFile(/tmp/multipartBody409002830222043934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225953893,"filename":"image_30012025_09_31_25_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/30/d3607598016265748f2c89a0eb20dcb9.jpg","text":"TemporaryFile(/tmp/multipartBody7602599278721171647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225953893,"filename":"image_30012025_09_31_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/30/faf38298ea1d52de027ff9aae3f832fe.jpg","text":"TemporaryFile(/tmp/multipartBody8456333923636885366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225953893,"filename":"image_30012025_09_31_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/30/13c7d7bd5a5cc43b06c9133ae1ab23ca.jpg","text":"TemporaryFile(/tmp/multipartBody1108956919942679837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225953893,"filename":"image_30012025_09_31_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/30/47e168b408f5493903049e9960ecb9ce.jpg","text":"TemporaryFile(/tmp/multipartBody3702239917620433698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225953893,"filename":"image_30012025_09_30_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/30/001415f188e9aa74cf681222a1786e54.jpg","text":"TemporaryFile(/tmp/multipartBody3459539491703645461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738225953893,"filename":"image_30012025_09_31_05_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332935570","file1":"1332935564","file0":"1332935549","file4":"1332935582","file5":"1332935585","file3":"1332935577"},"map_files_photo_id_array":[{"photo_id":"1332935585","filename":"file5"},{"photo_id":"1332935570","filename":"file2"},{"photo_id":"1332935582","filename":"file4"},{"photo_id":"1332935564","filename":"file1"},{"photo_id":"1332935549","filename":"file0"},{"photo_id":"1332935577","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332935577":["hashtag1","hashtag2"]},{"1332935585":["hashtag1","hashtag2"]},{"1332935570":["hashtag1","hashtag2"]},{"1332935582":["hashtag1","hashtag2"]},{"1332935549":["hashtag1","hashtag2"]},{"1332935564":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332935577, 1332935585, 1332935570, 1332935582, 1332935549, 1332935564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.48028206825256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:32:32.969327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/31/image_30012025_09_31_55_9406.jpg', '/home/pi/Desktop/images/30012025/09/31/image_30012025_09_32_05_10349.jpg', '/home/pi/Desktop/images/30012025/09/32/image_30012025_09_32_15_9317.jpg', '/home/pi/Desktop/images/30012025/09/32/image_30012025_09_32_25_10424.jpg', '/home/pi/Desktop/images/30012025/09/32/image_30012025_09_32_35_10398.jpg', '/home/pi/Desktop/images/30012025/09/32/image_30012025_09_32_45_9463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/31/image_30012025_09_31_55_9406.jpg
/home/pi/Desktop/images/30012025/09/31/image_30012025_09_32_05_10349.jpg
/home/pi/Desktop/images/30012025/09/32/image_30012025_09_32_15_9317.jpg
/home/pi/Desktop/images/30012025/09/32/image_30012025_09_32_25_10424.jpg
/home/pi/Desktop/images/30012025/09/32/image_30012025_09_32_35_10398.jpg
/home/pi/Desktop/images/30012025/09/32/image_30012025_09_32_45_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":["1332936340","1332936316","1332936191","1332936341","1332936071","1332936338"],"photo_ids_order":["1332936071","1332936191","1332936316","1332936338","1332936340","1332936341"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b3dae99fd77452d0faf206844f3a4076.jpg","text":"TemporaryFile(/tmp/multipartBody2969178345072247262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226013869,"filename":"image_30012025_09_32_35_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d3770c4239a0f13bf11be1ce7acd61d9.jpg","text":"TemporaryFile(/tmp/multipartBody806889297655720052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226013869,"filename":"image_30012025_09_32_15_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4b5c701740960757b0cd54801726669e.jpg","text":"TemporaryFile(/tmp/multipartBody1667706385898693652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226013869,"filename":"image_30012025_09_32_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/30/aa61852c39c6aa2d0e907286270bfc52.jpg","text":"TemporaryFile(/tmp/multipartBody7535842663413389642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226013869,"filename":"image_30012025_09_32_45_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/30/b584a8884dfc9cb6570cf55191bc90e5.jpg","text":"TemporaryFile(/tmp/multipartBody3607369349506511822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226013869,"filename":"image_30012025_09_31_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/30/b218063459ddcc9f76590facd6c48173.jpg","text":"TemporaryFile(/tmp/multipartBody4391731065244402296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226013869,"filename":"image_30012025_09_32_25_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332936316","file1":"1332936191","file0":"1332936071","file4":"1332936340","file5":"1332936341","file3":"1332936338"},"map_files_photo_id_array":[{"photo_id":"1332936341","filename":"file5"},{"photo_id":"1332936316","filename":"file2"},{"photo_id":"1332936340","filename":"file4"},{"photo_id":"1332936191","filename":"file1"},{"photo_id":"1332936071","filename":"file0"},{"photo_id":"1332936338","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332936340":["hashtag1","hashtag2"]},{"1332936316":["hashtag1","hashtag2"]},{"1332936191":["hashtag1","hashtag2"]},{"1332936341":["hashtag1","hashtag2"]},{"1332936071":["hashtag1","hashtag2"]},{"1332936338":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332936340, 1332936316, 1332936191, 1332936341, 1332936071, 1332936338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2860803604126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:33:32.139082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/32/image_30012025_09_32_55_10346.jpg', '/home/pi/Desktop/images/30012025/09/32/image_30012025_09_33_05_9341.jpg', '/home/pi/Desktop/images/30012025/09/33/image_30012025_09_33_15_10405.jpg', '/home/pi/Desktop/images/30012025/09/33/image_30012025_09_33_25_10381.jpg', '/home/pi/Desktop/images/30012025/09/33/image_30012025_09_33_35_9341.jpg', '/home/pi/Desktop/images/30012025/09/33/image_30012025_09_33_45_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/32/image_30012025_09_32_55_10346.jpg
/home/pi/Desktop/images/30012025/09/32/image_30012025_09_33_05_9341.jpg
/home/pi/Desktop/images/30012025/09/33/image_30012025_09_33_15_10405.jpg
/home/pi/Desktop/images/30012025/09/33/image_30012025_09_33_25_10381.jpg
/home/pi/Desktop/images/30012025/09/33/image_30012025_09_33_35_9341.jpg
/home/pi/Desktop/images/30012025/09/33/image_30012025_09_33_45_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":["1332937050","1332937206","1332936900","1332936818","1332937183","1332937159"],"photo_ids_order":["1332936818","1332936900","1332937050","1332937159","1332937183","1332937206"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/74eea9458460637d7936db53274fc065.jpg","text":"TemporaryFile(/tmp/multipartBody3598819212760016793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226073045,"filename":"image_30012025_09_33_15_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/41ec8dd6ade72bea63b2b68aa0640be7.jpg","text":"TemporaryFile(/tmp/multipartBody4874582212534102801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226073045,"filename":"image_30012025_09_33_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/30/82247b2d37ea4fe2681382bd99d56e4b.jpg","text":"TemporaryFile(/tmp/multipartBody4423836996434610854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226073045,"filename":"image_30012025_09_33_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/30/222c82ed1d13f3cbb323db00bb1aaf78.jpg","text":"TemporaryFile(/tmp/multipartBody6782310047566468663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226073045,"filename":"image_30012025_09_32_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/30/b6cd86a8b91b454522b5c7d22b2a5708.jpg","text":"TemporaryFile(/tmp/multipartBody2800632788099226043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226073045,"filename":"image_30012025_09_33_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/30/4acbebc09547c326d53d93d126383fd1.jpg","text":"TemporaryFile(/tmp/multipartBody1105843598483632043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226073045,"filename":"image_30012025_09_33_25_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332937050","file1":"1332936900","file0":"1332936818","file4":"1332937183","file5":"1332937206","file3":"1332937159"},"map_files_photo_id_array":[{"photo_id":"1332937206","filename":"file5"},{"photo_id":"1332937050","filename":"file2"},{"photo_id":"1332937183","filename":"file4"},{"photo_id":"1332936900","filename":"file1"},{"photo_id":"1332936818","filename":"file0"},{"photo_id":"1332937159","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332937050":["hashtag1","hashtag2"]},{"1332937206":["hashtag1","hashtag2"]},{"1332936900":["hashtag1","hashtag2"]},{"1332936818":["hashtag1","hashtag2"]},{"1332937183":["hashtag1","hashtag2"]},{"1332937159":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332937050, 1332937206, 1332936900, 1332936818, 1332937183, 1332937159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.02271127700806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:34:32.433283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/33/image_30012025_09_33_56_10440.jpg', '/home/pi/Desktop/images/30012025/09/33/image_30012025_09_34_05_9404.jpg', '/home/pi/Desktop/images/30012025/09/34/image_30012025_09_34_15_10349.jpg', '/home/pi/Desktop/images/30012025/09/34/image_30012025_09_34_35_10443.jpg', '/home/pi/Desktop/images/30012025/09/34/image_30012025_09_34_46_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/33/image_30012025_09_33_56_10440.jpg
/home/pi/Desktop/images/30012025/09/33/image_30012025_09_34_05_9404.jpg
/home/pi/Desktop/images/30012025/09/34/image_30012025_09_34_15_10349.jpg
/home/pi/Desktop/images/30012025/09/34/image_30012025_09_34_35_10443.jpg
/home/pi/Desktop/images/30012025/09/34/image_30012025_09_34_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":["1332937344","1332937338","1332937332","1332937357","1332937351"],"photo_ids_order":["1332937332","1332937338","1332937344","1332937351","1332937357"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a160a0d4f5628f89c819c732b2d228e4.jpg","text":"TemporaryFile(/tmp/multipartBody6503376444089236160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226133326,"filename":"image_30012025_09_34_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/30/047ea84e655da6def0cb96f19605c950.jpg","text":"TemporaryFile(/tmp/multipartBody3983765447751344982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226133326,"filename":"image_30012025_09_34_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/30/3ed7f11530ffa0dbe0754e24c14020c4.jpg","text":"TemporaryFile(/tmp/multipartBody5761105285323729974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226133326,"filename":"image_30012025_09_33_56_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/30/ed22ae6dcb4df0f3673fa981dada6e94.jpg","text":"TemporaryFile(/tmp/multipartBody3182556958148996832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226133326,"filename":"image_30012025_09_34_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/30/c8f9b584bd6a2d8f12a81583a936284a.jpg","text":"TemporaryFile(/tmp/multipartBody6033595067200129394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226133326,"filename":"image_30012025_09_34_35_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332937344","file1":"1332937338","file0":"1332937332","file4":"1332937357","file3":"1332937351"},"map_files_photo_id_array":[{"photo_id":"1332937344","filename":"file2"},{"photo_id":"1332937357","filename":"file4"},{"photo_id":"1332937338","filename":"file1"},{"photo_id":"1332937332","filename":"file0"},{"photo_id":"1332937351","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332937344":["hashtag1","hashtag2"]},{"1332937338":["hashtag1","hashtag2"]},{"1332937332":["hashtag1","hashtag2"]},{"1332937357":["hashtag1","hashtag2"]},{"1332937351":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332937344, 1332937338, 1332937332, 1332937357, 1332937351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.43509650230408 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:35:32.718792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/34/image_30012025_09_34_55_9422.jpg', '/home/pi/Desktop/images/30012025/09/34/image_30012025_09_35_05_10330.jpg', '/home/pi/Desktop/images/30012025/09/35/image_30012025_09_35_15_9317.jpg', '/home/pi/Desktop/images/30012025/09/35/image_30012025_09_35_25_10367.jpg', '/home/pi/Desktop/images/30012025/09/35/image_30012025_09_35_35_10356.jpg', '/home/pi/Desktop/images/30012025/09/35/image_30012025_09_35_45_9444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/34/image_30012025_09_34_55_9422.jpg
/home/pi/Desktop/images/30012025/09/34/image_30012025_09_35_05_10330.jpg
/home/pi/Desktop/images/30012025/09/35/image_30012025_09_35_15_9317.jpg
/home/pi/Desktop/images/30012025/09/35/image_30012025_09_35_25_10367.jpg
/home/pi/Desktop/images/30012025/09/35/image_30012025_09_35_35_10356.jpg
/home/pi/Desktop/images/30012025/09/35/image_30012025_09_35_45_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.5172054767608643 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 09:35:42.649715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/34/image_30012025_09_34_55_9422.jpg', '/home/pi/Desktop/images/30012025/09/34/image_30012025_09_35_05_10330.jpg', '/home/pi/Desktop/images/30012025/09/35/image_30012025_09_35_15_9317.jpg', '/home/pi/Desktop/images/30012025/09/35/image_30012025_09_35_25_10367.jpg', '/home/pi/Desktop/images/30012025/09/35/image_30012025_09_35_35_10356.jpg', '/home/pi/Desktop/images/30012025/09/35/image_30012025_09_35_45_9444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/34/image_30012025_09_34_55_9422.jpg
/home/pi/Desktop/images/30012025/09/34/image_30012025_09_35_05_10330.jpg
/home/pi/Desktop/images/30012025/09/35/image_30012025_09_35_15_9317.jpg
/home/pi/Desktop/images/30012025/09/35/image_30012025_09_35_25_10367.jpg
/home/pi/Desktop/images/30012025/09/35/image_30012025_09_35_35_10356.jpg
/home/pi/Desktop/images/30012025/09/35/image_30012025_09_35_45_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":["1332937404","1332937391","1332937412","1332937486","1332937406","1332937396"],"photo_ids_order":["1332937391","1332937396","1332937404","1332937406","1332937412","1332937486"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7a871c51e88e50b77a712d336a37c6cd.jpg","text":"TemporaryFile(/tmp/multipartBody399195139565191120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226203563,"filename":"image_30012025_09_35_15_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2c7348ecc87b366e7a987e5e336d43c0.jpg","text":"TemporaryFile(/tmp/multipartBody2099300348493309916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226203563,"filename":"image_30012025_09_34_55_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a990bc0f875dc300ebca2c00bc11747b.jpg","text":"TemporaryFile(/tmp/multipartBody5732790183414224477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226203563,"filename":"image_30012025_09_35_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/30/887162f894370366ab787d1bd4453001.jpg","text":"TemporaryFile(/tmp/multipartBody1879707416520948253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226203563,"filename":"image_30012025_09_35_45_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/30/0d965781af1792d855fd1da87c9bd7ec.jpg","text":"TemporaryFile(/tmp/multipartBody4499051648839338573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226203563,"filename":"image_30012025_09_35_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/30/dec60d99c6d2177495916c9d18530e21.jpg","text":"TemporaryFile(/tmp/multipartBody6895071857692535668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226203563,"filename":"image_30012025_09_35_05_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332937404","file1":"1332937396","file0":"1332937391","file4":"1332937412","file5":"1332937486","file3":"1332937406"},"map_files_photo_id_array":[{"photo_id":"1332937486","filename":"file5"},{"photo_id":"1332937404","filename":"file2"},{"photo_id":"1332937412","filename":"file4"},{"photo_id":"1332937396","filename":"file1"},{"photo_id":"1332937391","filename":"file0"},{"photo_id":"1332937406","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332937404":["hashtag1","hashtag2"]},{"1332937391":["hashtag1","hashtag2"]},{"1332937412":["hashtag1","hashtag2"]},{"1332937486":["hashtag1","hashtag2"]},{"1332937406":["hashtag1","hashtag2"]},{"1332937396":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332937404, 1332937391, 1332937412, 1332937486, 1332937406, 1332937396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.667964220047 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:36:32.779806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/35/image_30012025_09_35_55_10398.jpg', '/home/pi/Desktop/images/30012025/09/35/image_30012025_09_36_06_10369.jpg', '/home/pi/Desktop/images/30012025/09/36/image_30012025_09_36_15_9382.jpg', '/home/pi/Desktop/images/30012025/09/36/image_30012025_09_36_25_10403.jpg', '/home/pi/Desktop/images/30012025/09/36/image_30012025_09_36_35_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/35/image_30012025_09_35_55_10398.jpg
/home/pi/Desktop/images/30012025/09/35/image_30012025_09_36_06_10369.jpg
/home/pi/Desktop/images/30012025/09/36/image_30012025_09_36_15_9382.jpg
/home/pi/Desktop/images/30012025/09/36/image_30012025_09_36_25_10403.jpg
/home/pi/Desktop/images/30012025/09/36/image_30012025_09_36_35_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332937600","1332937626","1332937608","1332937617","1332937639"],"photo_ids_order":["1332937600","1332937608","1332937617","1332937626","1332937639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/112023e417dcb4aecbce0826a30d0386.jpg","text":"TemporaryFile(/tmp/multipartBody7249542083271196593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226253676,"filename":"image_30012025_09_35_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/30/7e9c314b78ce0181733b677ad3734809.jpg","text":"TemporaryFile(/tmp/multipartBody3108295918028361025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226253676,"filename":"image_30012025_09_36_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/30/653df67d5f0f72a960e0323ec726c36f.jpg","text":"TemporaryFile(/tmp/multipartBody1248620159784913468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226253676,"filename":"image_30012025_09_36_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/30/ccdb15cab20619722c0a14c2bd554150.jpg","text":"TemporaryFile(/tmp/multipartBody440981370421710352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226253676,"filename":"image_30012025_09_36_15_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/30/a9fcb9522fcbae54e838fbcb64f3fb92.jpg","text":"TemporaryFile(/tmp/multipartBody2501790572000034777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226253676,"filename":"image_30012025_09_36_35_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332937617","file1":"1332937608","file0":"1332937600","file4":"1332937639","file3":"1332937626"},"map_files_photo_id_array":[{"photo_id":"1332937617","filename":"file2"},{"photo_id":"1332937639","filename":"file4"},{"photo_id":"1332937608","filename":"file1"},{"photo_id":"1332937600","filename":"file0"},{"photo_id":"1332937626","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332937600":["hashtag1","hashtag2"]},{"1332937626":["hashtag1","hashtag2"]},{"1332937608":["hashtag1","hashtag2"]},{"1332937617":["hashtag1","hashtag2"]},{"1332937639":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332937600, 1332937626, 1332937608, 1332937617, 1332937639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.20112752914429 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:37:33.110523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/36/image_30012025_09_36_55_10364.jpg', '/home/pi/Desktop/images/30012025/09/36/image_30012025_09_37_05_9391.jpg', '/home/pi/Desktop/images/30012025/09/37/image_30012025_09_37_15_10363.jpg', '/home/pi/Desktop/images/30012025/09/37/image_30012025_09_37_25_9386.jpg', '/home/pi/Desktop/images/30012025/09/37/image_30012025_09_37_35_10485.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/36/image_30012025_09_36_55_10364.jpg
/home/pi/Desktop/images/30012025/09/36/image_30012025_09_37_05_9391.jpg
/home/pi/Desktop/images/30012025/09/37/image_30012025_09_37_15_10363.jpg
/home/pi/Desktop/images/30012025/09/37/image_30012025_09_37_25_9386.jpg
/home/pi/Desktop/images/30012025/09/37/image_30012025_09_37_35_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":["1332937686","1332937694","1332937682","1332937690","1332937678"],"photo_ids_order":["1332937678","1332937682","1332937686","1332937690","1332937694"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8088f375e0846d84db4a3b87873d6863.jpg","text":"TemporaryFile(/tmp/multipartBody83186977214472340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226314016,"filename":"image_30012025_09_37_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/30/5134b9e16e22d2f54fee0ea441a513d2.jpg","text":"TemporaryFile(/tmp/multipartBody6982927812437894582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226314016,"filename":"image_30012025_09_37_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/30/6cf5024b329eacda3f57fb4835870a4b.jpg","text":"TemporaryFile(/tmp/multipartBody3855425954896777881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226314016,"filename":"image_30012025_09_37_05_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/10840ab3ba825a4cb679f90bf655868a.jpg","text":"TemporaryFile(/tmp/multipartBody5390362643156135229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226314016,"filename":"image_30012025_09_37_25_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0e4deaddcbd92180c5275c838b1a9ff4.jpg","text":"TemporaryFile(/tmp/multipartBody7732484631802319688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226314016,"filename":"image_30012025_09_36_55_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332937686","file1":"1332937682","file0":"1332937678","file4":"1332937694","file3":"1332937690"},"map_files_photo_id_array":[{"photo_id":"1332937686","filename":"file2"},{"photo_id":"1332937694","filename":"file4"},{"photo_id":"1332937682","filename":"file1"},{"photo_id":"1332937678","filename":"file0"},{"photo_id":"1332937690","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332937686":["hashtag1","hashtag2"]},{"1332937694":["hashtag1","hashtag2"]},{"1332937682":["hashtag1","hashtag2"]},{"1332937690":["hashtag1","hashtag2"]},{"1332937678":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332937686, 1332937694, 1332937682, 1332937690, 1332937678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.445483922958374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:38:32.227041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/37/image_30012025_09_37_55_9344.jpg', '/home/pi/Desktop/images/30012025/09/37/image_30012025_09_38_05_10454.jpg', '/home/pi/Desktop/images/30012025/09/38/image_30012025_09_38_15_9402.jpg', '/home/pi/Desktop/images/30012025/09/38/image_30012025_09_38_25_10445.jpg', '/home/pi/Desktop/images/30012025/09/38/image_30012025_09_38_35_10364.jpg', '/home/pi/Desktop/images/30012025/09/38/image_30012025_09_38_45_9411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/37/image_30012025_09_37_55_9344.jpg
/home/pi/Desktop/images/30012025/09/37/image_30012025_09_38_05_10454.jpg
/home/pi/Desktop/images/30012025/09/38/image_30012025_09_38_15_9402.jpg
/home/pi/Desktop/images/30012025/09/38/image_30012025_09_38_25_10445.jpg
/home/pi/Desktop/images/30012025/09/38/image_30012025_09_38_35_10364.jpg
/home/pi/Desktop/images/30012025/09/38/image_30012025_09_38_45_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":["1332937740","1332937728","1332937713","1332937745","1332937735","1332937720"],"photo_ids_order":["1332937713","1332937720","1332937728","1332937735","1332937740","1332937745"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9e12d0ffb7ebbd813701d45da213595a.jpg","text":"TemporaryFile(/tmp/multipartBody4794325987032839178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226373131,"filename":"image_30012025_09_38_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/93a96dbafd0ff2c267b47adea8414e1d.jpg","text":"TemporaryFile(/tmp/multipartBody1465032561707588157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226373131,"filename":"image_30012025_09_38_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/30/6ab3b5f83a6fe4731bba5a91adccae19.jpg","text":"TemporaryFile(/tmp/multipartBody3869238840712210103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226373131,"filename":"image_30012025_09_37_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/30/72d90ae0f3c28fa01b632f1d96e0f732.jpg","text":"TemporaryFile(/tmp/multipartBody350925533145399211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226373131,"filename":"image_30012025_09_38_45_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/30/e6c379996fd124a98e58beb472ea0a20.jpg","text":"TemporaryFile(/tmp/multipartBody5876949549281904859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226373131,"filename":"image_30012025_09_38_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/30/382575f404d47269f22011d7799e8b81.jpg","text":"TemporaryFile(/tmp/multipartBody4428878201288099442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226373131,"filename":"image_30012025_09_38_05_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332937728","file1":"1332937720","file0":"1332937713","file4":"1332937740","file5":"1332937745","file3":"1332937735"},"map_files_photo_id_array":[{"photo_id":"1332937745","filename":"file5"},{"photo_id":"1332937728","filename":"file2"},{"photo_id":"1332937740","filename":"file4"},{"photo_id":"1332937720","filename":"file1"},{"photo_id":"1332937713","filename":"file0"},{"photo_id":"1332937735","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332937740":["hashtag1","hashtag2"]},{"1332937728":["hashtag1","hashtag2"]},{"1332937713":["hashtag1","hashtag2"]},{"1332937745":["hashtag1","hashtag2"]},{"1332937735":["hashtag1","hashtag2"]},{"1332937720":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332937740, 1332937728, 1332937713, 1332937745, 1332937735, 1332937720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.40755486488342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:39:32.292478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/38/image_30012025_09_38_55_10357.jpg', '/home/pi/Desktop/images/30012025/09/38/image_30012025_09_39_06_10350.jpg', '/home/pi/Desktop/images/30012025/09/39/image_30012025_09_39_15_9421.jpg', '/home/pi/Desktop/images/30012025/09/39/image_30012025_09_39_25_10410.jpg', '/home/pi/Desktop/images/30012025/09/39/image_30012025_09_39_35_9352.jpg', '/home/pi/Desktop/images/30012025/09/39/image_30012025_09_39_45_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/38/image_30012025_09_38_55_10357.jpg
/home/pi/Desktop/images/30012025/09/38/image_30012025_09_39_06_10350.jpg
/home/pi/Desktop/images/30012025/09/39/image_30012025_09_39_15_9421.jpg
/home/pi/Desktop/images/30012025/09/39/image_30012025_09_39_25_10410.jpg
/home/pi/Desktop/images/30012025/09/39/image_30012025_09_39_35_9352.jpg
/home/pi/Desktop/images/30012025/09/39/image_30012025_09_39_45_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":["1332937779","1332937790","1332937775","1332937795","1332937783","1332937771"],"photo_ids_order":["1332937771","1332937775","1332937779","1332937783","1332937790","1332937795"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0b68e322ea90cb314371202b7dfd001c.jpg","text":"TemporaryFile(/tmp/multipartBody8985096173466276650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226433198,"filename":"image_30012025_09_39_15_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f9a4236afb4b016ee1d5891dd2b09f30.jpg","text":"TemporaryFile(/tmp/multipartBody4124103573010649557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226433198,"filename":"image_30012025_09_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/30/812747ff4004414a3617d3808a244bc2.jpg","text":"TemporaryFile(/tmp/multipartBody6352455443719402924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226433198,"filename":"image_30012025_09_39_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/30/c5d3616cc6ba60daf9855db191f57e55.jpg","text":"TemporaryFile(/tmp/multipartBody8546934642665330470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226433198,"filename":"image_30012025_09_39_45_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d310c4116e6103f2fe976ffaea03ea87.jpg","text":"TemporaryFile(/tmp/multipartBody2120011083728178220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226433198,"filename":"image_30012025_09_39_25_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/30/a632b60e9a4e8fb48ef0d8ed832a24b4.jpg","text":"TemporaryFile(/tmp/multipartBody4546279912997433983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226433198,"filename":"image_30012025_09_38_55_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332937779","file1":"1332937775","file0":"1332937771","file4":"1332937790","file5":"1332937795","file3":"1332937783"},"map_files_photo_id_array":[{"photo_id":"1332937795","filename":"file5"},{"photo_id":"1332937779","filename":"file2"},{"photo_id":"1332937790","filename":"file4"},{"photo_id":"1332937775","filename":"file1"},{"photo_id":"1332937771","filename":"file0"},{"photo_id":"1332937783","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332937779":["hashtag1","hashtag2"]},{"1332937790":["hashtag1","hashtag2"]},{"1332937775":["hashtag1","hashtag2"]},{"1332937795":["hashtag1","hashtag2"]},{"1332937783":["hashtag1","hashtag2"]},{"1332937771":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332937779, 1332937790, 1332937775, 1332937795, 1332937783, 1332937771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23274517059326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:40:32.659821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/39/image_30012025_09_39_56_10352.jpg', '/home/pi/Desktop/images/30012025/09/39/image_30012025_09_40_05_9467.jpg', '/home/pi/Desktop/images/30012025/09/40/image_30012025_09_40_15_10347.jpg', '/home/pi/Desktop/images/30012025/09/40/image_30012025_09_40_25_9415.jpg', '/home/pi/Desktop/images/30012025/09/40/image_30012025_09_40_35_10384.jpg', '/home/pi/Desktop/images/30012025/09/40/image_30012025_09_40_46_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/39/image_30012025_09_39_56_10352.jpg
/home/pi/Desktop/images/30012025/09/39/image_30012025_09_40_05_9467.jpg
/home/pi/Desktop/images/30012025/09/40/image_30012025_09_40_15_10347.jpg
/home/pi/Desktop/images/30012025/09/40/image_30012025_09_40_25_9415.jpg
/home/pi/Desktop/images/30012025/09/40/image_30012025_09_40_35_10384.jpg
/home/pi/Desktop/images/30012025/09/40/image_30012025_09_40_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":["1332937845","1332937839","1332937850","1332937826","1332937852","1332937831"],"photo_ids_order":["1332937826","1332937831","1332937839","1332937845","1332937850","1332937852"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/97a33840da1030bab2fe6ba7df69a0ec.jpg","text":"TemporaryFile(/tmp/multipartBody4792762600973623103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226493587,"filename":"image_30012025_09_40_25_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4b2927d31b67d7cf2f7f4f5de31a3a86.jpg","text":"TemporaryFile(/tmp/multipartBody7262516690171546686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226493587,"filename":"image_30012025_09_40_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/30/e985596b0c43080d57eb9b49eca8d2ff.jpg","text":"TemporaryFile(/tmp/multipartBody6224812137226745368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226493587,"filename":"image_30012025_09_40_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/30/0b34695840b1b39a69e80b4b15646a44.jpg","text":"TemporaryFile(/tmp/multipartBody5018597672550429100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226493587,"filename":"image_30012025_09_39_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/30/09c7a4e40b802f7752d88bc39b006598.jpg","text":"TemporaryFile(/tmp/multipartBody6372388017246070289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226493587,"filename":"image_30012025_09_40_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/30/1c0d68913d5ed15f8a6970841b1156c4.jpg","text":"TemporaryFile(/tmp/multipartBody9185036058444992891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226493587,"filename":"image_30012025_09_40_05_9467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332937839","file1":"1332937831","file0":"1332937826","file4":"1332937850","file5":"1332937852","file3":"1332937845"},"map_files_photo_id_array":[{"photo_id":"1332937852","filename":"file5"},{"photo_id":"1332937839","filename":"file2"},{"photo_id":"1332937850","filename":"file4"},{"photo_id":"1332937831","filename":"file1"},{"photo_id":"1332937826","filename":"file0"},{"photo_id":"1332937845","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332937845":["hashtag1","hashtag2"]},{"1332937839":["hashtag1","hashtag2"]},{"1332937850":["hashtag1","hashtag2"]},{"1332937826":["hashtag1","hashtag2"]},{"1332937852":["hashtag1","hashtag2"]},{"1332937831":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332937845, 1332937839, 1332937850, 1332937826, 1332937852, 1332937831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.687089920043945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:41:32.817219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/40/image_30012025_09_40_55_9433.jpg', '/home/pi/Desktop/images/30012025/09/40/image_30012025_09_41_05_10374.jpg', '/home/pi/Desktop/images/30012025/09/41/image_30012025_09_41_15_9368.jpg', '/home/pi/Desktop/images/30012025/09/41/image_30012025_09_41_25_10422.jpg', '/home/pi/Desktop/images/30012025/09/41/image_30012025_09_41_35_10342.jpg', '/home/pi/Desktop/images/30012025/09/41/image_30012025_09_41_45_9422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/40/image_30012025_09_40_55_9433.jpg
/home/pi/Desktop/images/30012025/09/40/image_30012025_09_41_05_10374.jpg
/home/pi/Desktop/images/30012025/09/41/image_30012025_09_41_15_9368.jpg
/home/pi/Desktop/images/30012025/09/41/image_30012025_09_41_25_10422.jpg
/home/pi/Desktop/images/30012025/09/41/image_30012025_09_41_35_10342.jpg
/home/pi/Desktop/images/30012025/09/41/image_30012025_09_41_45_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":["1332937911","1332937894","1332937897","1332937882","1332937879","1332937900"],"photo_ids_order":["1332937879","1332937882","1332937894","1332937897","1332937900","1332937911"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1d3f89445012dcaa4e138f80e269950a.jpg","text":"TemporaryFile(/tmp/multipartBody4054881104537685606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226553712,"filename":"image_30012025_09_41_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/30/564c632edcde7cd48db394202f1a18d4.jpg","text":"TemporaryFile(/tmp/multipartBody5883986128913267818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226553712,"filename":"image_30012025_09_41_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/30/d8f14144f608c3f0b4503174a5ba5834.jpg","text":"TemporaryFile(/tmp/multipartBody5946508473622656292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226553712,"filename":"image_30012025_09_41_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/30/e944c0de912fc856fdb408c569545bd7.jpg","text":"TemporaryFile(/tmp/multipartBody2681522826837616889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226553712,"filename":"image_30012025_09_41_05_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/30/c8037c3ba633c17b7808b44bcf50f78d.jpg","text":"TemporaryFile(/tmp/multipartBody1348237633020624422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226553712,"filename":"image_30012025_09_40_55_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7ff44ffb55351c86e1c7b5d85b6bff8d.jpg","text":"TemporaryFile(/tmp/multipartBody154408464998446998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226553712,"filename":"image_30012025_09_41_35_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332937894","file1":"1332937882","file0":"1332937879","file4":"1332937900","file5":"1332937911","file3":"1332937897"},"map_files_photo_id_array":[{"photo_id":"1332937911","filename":"file5"},{"photo_id":"1332937894","filename":"file2"},{"photo_id":"1332937900","filename":"file4"},{"photo_id":"1332937882","filename":"file1"},{"photo_id":"1332937879","filename":"file0"},{"photo_id":"1332937897","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332937911":["hashtag1","hashtag2"]},{"1332937894":["hashtag1","hashtag2"]},{"1332937897":["hashtag1","hashtag2"]},{"1332937882":["hashtag1","hashtag2"]},{"1332937879":["hashtag1","hashtag2"]},{"1332937900":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332937911, 1332937894, 1332937897, 1332937882, 1332937879, 1332937900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.72964906692505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:42:33.084144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/41/image_30012025_09_41_55_10371.jpg', '/home/pi/Desktop/images/30012025/09/41/image_30012025_09_42_05_9370.jpg', '/home/pi/Desktop/images/30012025/09/42/image_30012025_09_42_15_10342.jpg', '/home/pi/Desktop/images/30012025/09/42/image_30012025_09_42_25_10375.jpg', '/home/pi/Desktop/images/30012025/09/42/image_30012025_09_42_35_9435.jpg', '/home/pi/Desktop/images/30012025/09/42/image_30012025_09_42_45_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/41/image_30012025_09_41_55_10371.jpg
/home/pi/Desktop/images/30012025/09/41/image_30012025_09_42_05_9370.jpg
/home/pi/Desktop/images/30012025/09/42/image_30012025_09_42_15_10342.jpg
/home/pi/Desktop/images/30012025/09/42/image_30012025_09_42_25_10375.jpg
/home/pi/Desktop/images/30012025/09/42/image_30012025_09_42_35_9435.jpg
/home/pi/Desktop/images/30012025/09/42/image_30012025_09_42_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":["1332937986","1332937980","1332937997","1332937976","1332938009","1332938006"],"photo_ids_order":["1332937976","1332937980","1332937986","1332937997","1332938006","1332938009"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e66f204d9e8f7b842303803beccdb02a.jpg","text":"TemporaryFile(/tmp/multipartBody8516117494715979221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226613977,"filename":"image_30012025_09_42_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/30/23899c453d2d02c50a4000dee9d03c91.jpg","text":"TemporaryFile(/tmp/multipartBody4282974158918105962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226613977,"filename":"image_30012025_09_42_05_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/30/f781001e931d762b136f4bc0948ec0b1.jpg","text":"TemporaryFile(/tmp/multipartBody7316094532544421735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226613977,"filename":"image_30012025_09_42_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/40dc2964797c39819a1d36e233e72db9.jpg","text":"TemporaryFile(/tmp/multipartBody1770653922026953079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226613977,"filename":"image_30012025_09_41_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/30/85b42ea92e11d29eb0effef0c9e45e05.jpg","text":"TemporaryFile(/tmp/multipartBody3362585083985077051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226613977,"filename":"image_30012025_09_42_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/30/d197d5972961895e3b3af9f84717fa33.jpg","text":"TemporaryFile(/tmp/multipartBody8487177763829532214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226613977,"filename":"image_30012025_09_42_35_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332937986","file1":"1332937980","file0":"1332937976","file4":"1332938006","file5":"1332938009","file3":"1332937997"},"map_files_photo_id_array":[{"photo_id":"1332938009","filename":"file5"},{"photo_id":"1332937986","filename":"file2"},{"photo_id":"1332938006","filename":"file4"},{"photo_id":"1332937980","filename":"file1"},{"photo_id":"1332937976","filename":"file0"},{"photo_id":"1332937997","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332937986":["hashtag1","hashtag2"]},{"1332937980":["hashtag1","hashtag2"]},{"1332937997":["hashtag1","hashtag2"]},{"1332937976":["hashtag1","hashtag2"]},{"1332938009":["hashtag1","hashtag2"]},{"1332938006":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332937986, 1332937980, 1332937997, 1332937976, 1332938009, 1332938006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48763656616211 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:43:32.422230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/42/image_30012025_09_42_56_10345.jpg', '/home/pi/Desktop/images/30012025/09/42/image_30012025_09_43_05_9385.jpg', '/home/pi/Desktop/images/30012025/09/43/image_30012025_09_43_15_10332.jpg', '/home/pi/Desktop/images/30012025/09/43/image_30012025_09_43_26_10341.jpg', '/home/pi/Desktop/images/30012025/09/43/image_30012025_09_43_35_9537.jpg', '/home/pi/Desktop/images/30012025/09/43/image_30012025_09_43_45_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/42/image_30012025_09_42_56_10345.jpg
/home/pi/Desktop/images/30012025/09/42/image_30012025_09_43_05_9385.jpg
/home/pi/Desktop/images/30012025/09/43/image_30012025_09_43_15_10332.jpg
/home/pi/Desktop/images/30012025/09/43/image_30012025_09_43_26_10341.jpg
/home/pi/Desktop/images/30012025/09/43/image_30012025_09_43_35_9537.jpg
/home/pi/Desktop/images/30012025/09/43/image_30012025_09_43_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":["1332938049","1332938034","1332938046","1332938042","1332938038","1332938053"],"photo_ids_order":["1332938034","1332938038","1332938042","1332938046","1332938049","1332938053"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5a954ca2fe3c542a93929675b32475b7.jpg","text":"TemporaryFile(/tmp/multipartBody1464107272334581373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226673327,"filename":"image_30012025_09_43_35_9537.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ccd5fe944d57e80c1fd78722103fdb9f.jpg","text":"TemporaryFile(/tmp/multipartBody6455171286754869205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226673327,"filename":"image_30012025_09_42_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/30/6b1d4c376b573ec0b8a2018fac8fac1d.jpg","text":"TemporaryFile(/tmp/multipartBody157089536662566496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226673327,"filename":"image_30012025_09_43_26_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a465244f2bf2b1014ecb56fe498b1db2.jpg","text":"TemporaryFile(/tmp/multipartBody7035386331884299868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226673327,"filename":"image_30012025_09_43_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/30/dc904712988d18c461822189aac854d9.jpg","text":"TemporaryFile(/tmp/multipartBody1381254542967180077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226673327,"filename":"image_30012025_09_43_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/30/e5d6e21b40680f70dfc0ef39d0a0de60.jpg","text":"TemporaryFile(/tmp/multipartBody1759271833364281026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226673327,"filename":"image_30012025_09_43_45_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332938042","file1":"1332938038","file0":"1332938034","file4":"1332938049","file5":"1332938053","file3":"1332938046"},"map_files_photo_id_array":[{"photo_id":"1332938053","filename":"file5"},{"photo_id":"1332938042","filename":"file2"},{"photo_id":"1332938049","filename":"file4"},{"photo_id":"1332938038","filename":"file1"},{"photo_id":"1332938034","filename":"file0"},{"photo_id":"1332938046","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332938049":["hashtag1","hashtag2"]},{"1332938034":["hashtag1","hashtag2"]},{"1332938046":["hashtag1","hashtag2"]},{"1332938042":["hashtag1","hashtag2"]},{"1332938038":["hashtag1","hashtag2"]},{"1332938053":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332938049, 1332938034, 1332938046, 1332938042, 1332938038, 1332938053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84246230125427 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:44:32.561524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/43/image_30012025_09_43_55_9329.jpg', '/home/pi/Desktop/images/30012025/09/43/image_30012025_09_44_05_10364.jpg', '/home/pi/Desktop/images/30012025/09/44/image_30012025_09_44_15_10319.jpg', '/home/pi/Desktop/images/30012025/09/44/image_30012025_09_44_25_9445.jpg', '/home/pi/Desktop/images/30012025/09/44/image_30012025_09_44_35_10406.jpg', '/home/pi/Desktop/images/30012025/09/44/image_30012025_09_44_45_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/43/image_30012025_09_43_55_9329.jpg
/home/pi/Desktop/images/30012025/09/43/image_30012025_09_44_05_10364.jpg
/home/pi/Desktop/images/30012025/09/44/image_30012025_09_44_15_10319.jpg
/home/pi/Desktop/images/30012025/09/44/image_30012025_09_44_25_9445.jpg
/home/pi/Desktop/images/30012025/09/44/image_30012025_09_44_35_10406.jpg
/home/pi/Desktop/images/30012025/09/44/image_30012025_09_44_45_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":["1332938154","1332938139","1332938156","1332938150","1332938141","1332938146"],"photo_ids_order":["1332938139","1332938141","1332938146","1332938150","1332938154","1332938156"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e93e1fabbe4300eaa10476b28d46a64a.jpg","text":"TemporaryFile(/tmp/multipartBody2813562504044565634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226733449,"filename":"image_30012025_09_44_35_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/30/78474852a39fd61be1f2fbfddfa5c222.jpg","text":"TemporaryFile(/tmp/multipartBody876187792592594447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226733449,"filename":"image_30012025_09_43_55_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/15d69411d813fc7509e39539080891b3.jpg","text":"TemporaryFile(/tmp/multipartBody7708204442668647088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226733449,"filename":"image_30012025_09_44_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/30/b32b9167dcde0009b0d64b6d2147faea.jpg","text":"TemporaryFile(/tmp/multipartBody8301198326950527951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226733449,"filename":"image_30012025_09_44_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/30/e910ec6cc79e46133b90b5fb3a6fc1fd.jpg","text":"TemporaryFile(/tmp/multipartBody7744901752268494879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226733449,"filename":"image_30012025_09_44_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/30/65c96eb256cea941df119f52477f5639.jpg","text":"TemporaryFile(/tmp/multipartBody4394506019898225627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226733449,"filename":"image_30012025_09_44_15_10319.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332938146","file1":"1332938141","file0":"1332938139","file4":"1332938154","file5":"1332938156","file3":"1332938150"},"map_files_photo_id_array":[{"photo_id":"1332938156","filename":"file5"},{"photo_id":"1332938146","filename":"file2"},{"photo_id":"1332938154","filename":"file4"},{"photo_id":"1332938141","filename":"file1"},{"photo_id":"1332938139","filename":"file0"},{"photo_id":"1332938150","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332938154":["hashtag1","hashtag2"]},{"1332938139":["hashtag1","hashtag2"]},{"1332938156":["hashtag1","hashtag2"]},{"1332938150":["hashtag1","hashtag2"]},{"1332938141":["hashtag1","hashtag2"]},{"1332938146":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332938154, 1332938139, 1332938156, 1332938150, 1332938141, 1332938146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.282042264938354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:45:32.829837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/44/image_30012025_09_44_55_10417.jpg', '/home/pi/Desktop/images/30012025/09/44/image_30012025_09_45_05_10340.jpg', '/home/pi/Desktop/images/30012025/09/45/image_30012025_09_45_15_9335.jpg', '/home/pi/Desktop/images/30012025/09/45/image_30012025_09_45_25_10396.jpg', '/home/pi/Desktop/images/30012025/09/45/image_30012025_09_45_36_10354.jpg', '/home/pi/Desktop/images/30012025/09/45/image_30012025_09_45_45_9494.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/44/image_30012025_09_44_55_10417.jpg
/home/pi/Desktop/images/30012025/09/44/image_30012025_09_45_05_10340.jpg
/home/pi/Desktop/images/30012025/09/45/image_30012025_09_45_15_9335.jpg
/home/pi/Desktop/images/30012025/09/45/image_30012025_09_45_25_10396.jpg
/home/pi/Desktop/images/30012025/09/45/image_30012025_09_45_36_10354.jpg
/home/pi/Desktop/images/30012025/09/45/image_30012025_09_45_45_9494.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332938247","1332938219","1332938228","1332938213","1332938224","1332938250"],"photo_ids_order":["1332938213","1332938219","1332938224","1332938228","1332938247","1332938250"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8cdc14500107f0cba5c60eb04f904003.jpg","text":"TemporaryFile(/tmp/multipartBody3408611142238030894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226793728,"filename":"image_30012025_09_45_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/30/6e340825ecdf632f2258bfce9fa3cf52.jpg","text":"TemporaryFile(/tmp/multipartBody7550369309929261714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226793728,"filename":"image_30012025_09_45_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/30/7f7f9fc3d7eb6e641aa82ccb7567d74b.jpg","text":"TemporaryFile(/tmp/multipartBody1039598825817053389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226793728,"filename":"image_30012025_09_45_25_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4084e9946a8e66c5897eeefb8d63be43.jpg","text":"TemporaryFile(/tmp/multipartBody5418834906637034661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226793728,"filename":"image_30012025_09_44_55_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0d5158e19c4e1179bbc41365a9e635bd.jpg","text":"TemporaryFile(/tmp/multipartBody5932988637079328375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226793728,"filename":"image_30012025_09_45_15_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/369cd11b0f259d2eb2b870cde3ce2678.jpg","text":"TemporaryFile(/tmp/multipartBody3236903017532986046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226793728,"filename":"image_30012025_09_45_45_9494.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332938224","file1":"1332938219","file0":"1332938213","file4":"1332938247","file5":"1332938250","file3":"1332938228"},"map_files_photo_id_array":[{"photo_id":"1332938250","filename":"file5"},{"photo_id":"1332938224","filename":"file2"},{"photo_id":"1332938247","filename":"file4"},{"photo_id":"1332938219","filename":"file1"},{"photo_id":"1332938213","filename":"file0"},{"photo_id":"1332938228","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332938247":["hashtag1","hashtag2"]},{"1332938219":["hashtag1","hashtag2"]},{"1332938228":["hashtag1","hashtag2"]},{"1332938213":["hashtag1","hashtag2"]},{"1332938224":["hashtag1","hashtag2"]},{"1332938250":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332938247, 1332938219, 1332938228, 1332938213, 1332938224, 1332938250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.37635278701782 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:46:33.153341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/45/image_30012025_09_45_55_10397.jpg', '/home/pi/Desktop/images/30012025/09/45/image_30012025_09_46_05_9335.jpg', '/home/pi/Desktop/images/30012025/09/46/image_30012025_09_46_15_10446.jpg', '/home/pi/Desktop/images/30012025/09/46/image_30012025_09_46_26_10425.jpg', '/home/pi/Desktop/images/30012025/09/46/image_30012025_09_46_35_9339.jpg', '/home/pi/Desktop/images/30012025/09/46/image_30012025_09_46_45_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/45/image_30012025_09_45_55_10397.jpg
/home/pi/Desktop/images/30012025/09/45/image_30012025_09_46_05_9335.jpg
/home/pi/Desktop/images/30012025/09/46/image_30012025_09_46_15_10446.jpg
/home/pi/Desktop/images/30012025/09/46/image_30012025_09_46_26_10425.jpg
/home/pi/Desktop/images/30012025/09/46/image_30012025_09_46_35_9339.jpg
/home/pi/Desktop/images/30012025/09/46/image_30012025_09_46_45_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332938294","1332938315","1332938300","1332938290","1332938284","1332938286"],"photo_ids_order":["1332938284","1332938286","1332938290","1332938294","1332938300","1332938315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fccfaefebaac0e54a2f353f983ae573f.jpg","text":"TemporaryFile(/tmp/multipartBody9122678606768633266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226854051,"filename":"image_30012025_09_46_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/30/fdebe96cebcd810795fd1572548a8410.jpg","text":"TemporaryFile(/tmp/multipartBody6970242564386086916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226854051,"filename":"image_30012025_09_46_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/30/03ed672a2fd53bc1f69c1be9e04866df.jpg","text":"TemporaryFile(/tmp/multipartBody3341399852187965345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226854051,"filename":"image_30012025_09_46_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/30/ded074b0b1e8eec26d876f02564b0846.jpg","text":"TemporaryFile(/tmp/multipartBody6256733685315208242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226854051,"filename":"image_30012025_09_46_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/30/eb0fe9d6b707661e8442b027413f2225.jpg","text":"TemporaryFile(/tmp/multipartBody7168589831267635071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226854051,"filename":"image_30012025_09_45_55_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/52154760711834a5a1002e8688e5e65d.jpg","text":"TemporaryFile(/tmp/multipartBody492734698841235742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226854051,"filename":"image_30012025_09_46_05_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332938290","file1":"1332938286","file0":"1332938284","file4":"1332938300","file5":"1332938315","file3":"1332938294"},"map_files_photo_id_array":[{"photo_id":"1332938315","filename":"file5"},{"photo_id":"1332938290","filename":"file2"},{"photo_id":"1332938300","filename":"file4"},{"photo_id":"1332938286","filename":"file1"},{"photo_id":"1332938284","filename":"file0"},{"photo_id":"1332938294","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332938294":["hashtag1","hashtag2"]},{"1332938315":["hashtag1","hashtag2"]},{"1332938300":["hashtag1","hashtag2"]},{"1332938290":["hashtag1","hashtag2"]},{"1332938284":["hashtag1","hashtag2"]},{"1332938286":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332938294, 1332938315, 1332938300, 1332938290, 1332938284, 1332938286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47282314300537 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:47:32.412082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/46/image_30012025_09_46_55_9325.jpg', '/home/pi/Desktop/images/30012025/09/46/image_30012025_09_47_05_10414.jpg', '/home/pi/Desktop/images/30012025/09/47/image_30012025_09_47_15_10278.jpg', '/home/pi/Desktop/images/30012025/09/47/image_30012025_09_47_25_9327.jpg', '/home/pi/Desktop/images/30012025/09/47/image_30012025_09_47_35_10427.jpg', '/home/pi/Desktop/images/30012025/09/47/image_30012025_09_47_45_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/46/image_30012025_09_46_55_9325.jpg
/home/pi/Desktop/images/30012025/09/46/image_30012025_09_47_05_10414.jpg
/home/pi/Desktop/images/30012025/09/47/image_30012025_09_47_15_10278.jpg
/home/pi/Desktop/images/30012025/09/47/image_30012025_09_47_25_9327.jpg
/home/pi/Desktop/images/30012025/09/47/image_30012025_09_47_35_10427.jpg
/home/pi/Desktop/images/30012025/09/47/image_30012025_09_47_45_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332938390","1332938337","1332938387","1332938395","1332938392","1332938341"],"photo_ids_order":["1332938337","1332938341","1332938387","1332938390","1332938392","1332938395"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/186a059c6ecf452af066271717e3822a.jpg","text":"TemporaryFile(/tmp/multipartBody1049295324147773084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226913312,"filename":"image_30012025_09_47_25_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/30/fc12de913eae1864f828a4df66bab321.jpg","text":"TemporaryFile(/tmp/multipartBody2077134471982658543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226913312,"filename":"image_30012025_09_46_55_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/715f41980b2fd2011d79a030b7b7b162.jpg","text":"TemporaryFile(/tmp/multipartBody7349287687044226317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226913312,"filename":"image_30012025_09_47_15_10278.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cc1aad8afc5d135ae6b88e85583cf0ed.jpg","text":"TemporaryFile(/tmp/multipartBody8799122104000694160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226913312,"filename":"image_30012025_09_47_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/30/433c33197d9476cf7a74f734eac0391e.jpg","text":"TemporaryFile(/tmp/multipartBody3476635296540664255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226913312,"filename":"image_30012025_09_47_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/30/cd4790324527496731c19959926ad6d0.jpg","text":"TemporaryFile(/tmp/multipartBody1899941554910262872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226913312,"filename":"image_30012025_09_47_05_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332938387","file1":"1332938341","file0":"1332938337","file4":"1332938392","file5":"1332938395","file3":"1332938390"},"map_files_photo_id_array":[{"photo_id":"1332938395","filename":"file5"},{"photo_id":"1332938387","filename":"file2"},{"photo_id":"1332938392","filename":"file4"},{"photo_id":"1332938341","filename":"file1"},{"photo_id":"1332938337","filename":"file0"},{"photo_id":"1332938390","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332938390":["hashtag1","hashtag2"]},{"1332938337":["hashtag1","hashtag2"]},{"1332938387":["hashtag1","hashtag2"]},{"1332938395":["hashtag1","hashtag2"]},{"1332938392":["hashtag1","hashtag2"]},{"1332938341":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332938390, 1332938337, 1332938387, 1332938395, 1332938392, 1332938341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61645817756653 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:48:32.688243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/47/image_30012025_09_47_55_9356.jpg', '/home/pi/Desktop/images/30012025/09/47/image_30012025_09_48_05_10403.jpg', '/home/pi/Desktop/images/30012025/09/48/image_30012025_09_48_16_10347.jpg', '/home/pi/Desktop/images/30012025/09/48/image_30012025_09_48_25_9467.jpg', '/home/pi/Desktop/images/30012025/09/48/image_30012025_09_48_35_10388.jpg', '/home/pi/Desktop/images/30012025/09/48/image_30012025_09_48_45_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/47/image_30012025_09_47_55_9356.jpg
/home/pi/Desktop/images/30012025/09/47/image_30012025_09_48_05_10403.jpg
/home/pi/Desktop/images/30012025/09/48/image_30012025_09_48_16_10347.jpg
/home/pi/Desktop/images/30012025/09/48/image_30012025_09_48_25_9467.jpg
/home/pi/Desktop/images/30012025/09/48/image_30012025_09_48_35_10388.jpg
/home/pi/Desktop/images/30012025/09/48/image_30012025_09_48_45_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":["1332938438","1332938470","1332938464","1332938458","1332938467","1332938461"],"photo_ids_order":["1332938438","1332938458","1332938461","1332938464","1332938467","1332938470"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/64f783762569033e60f46751d4dda2ec.jpg","text":"TemporaryFile(/tmp/multipartBody7280896763938470738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226973584,"filename":"image_30012025_09_47_55_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bbc524e4652c00601682eeef31e5247f.jpg","text":"TemporaryFile(/tmp/multipartBody3154181977897889784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226973584,"filename":"image_30012025_09_48_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/30/6b12f0ef7607dbd1f26f670cde191c27.jpg","text":"TemporaryFile(/tmp/multipartBody7290684057432963293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226973584,"filename":"image_30012025_09_48_25_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6cc0b71426e1471d5e5ad11a3b44df78.jpg","text":"TemporaryFile(/tmp/multipartBody583244407359420101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226973584,"filename":"image_30012025_09_48_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/30/965e901fb01bcc7d16ca0d411eac11ad.jpg","text":"TemporaryFile(/tmp/multipartBody5781161777918602303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226973584,"filename":"image_30012025_09_48_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/30/029d8b4c38236cd4598b9c3e81b1c6ce.jpg","text":"TemporaryFile(/tmp/multipartBody9192714700049413836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738226973584,"filename":"image_30012025_09_48_16_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332938461","file1":"1332938458","file0":"1332938438","file4":"1332938467","file5":"1332938470","file3":"1332938464"},"map_files_photo_id_array":[{"photo_id":"1332938470","filename":"file5"},{"photo_id":"1332938461","filename":"file2"},{"photo_id":"1332938467","filename":"file4"},{"photo_id":"1332938458","filename":"file1"},{"photo_id":"1332938438","filename":"file0"},{"photo_id":"1332938464","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332938438":["hashtag1","hashtag2"]},{"1332938470":["hashtag1","hashtag2"]},{"1332938464":["hashtag1","hashtag2"]},{"1332938458":["hashtag1","hashtag2"]},{"1332938467":["hashtag1","hashtag2"]},{"1332938461":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332938438, 1332938470, 1332938464, 1332938458, 1332938467, 1332938461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.070159673690796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:49:32.864439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/48/image_30012025_09_48_55_10346.jpg', '/home/pi/Desktop/images/30012025/09/48/image_30012025_09_49_06_10429.jpg', '/home/pi/Desktop/images/30012025/09/49/image_30012025_09_49_15_9445.jpg', '/home/pi/Desktop/images/30012025/09/49/image_30012025_09_49_25_10374.jpg', '/home/pi/Desktop/images/30012025/09/49/image_30012025_09_49_35_9348.jpg', '/home/pi/Desktop/images/30012025/09/49/image_30012025_09_49_45_10476.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/48/image_30012025_09_48_55_10346.jpg
/home/pi/Desktop/images/30012025/09/48/image_30012025_09_49_06_10429.jpg
/home/pi/Desktop/images/30012025/09/49/image_30012025_09_49_15_9445.jpg
/home/pi/Desktop/images/30012025/09/49/image_30012025_09_49_25_10374.jpg
/home/pi/Desktop/images/30012025/09/49/image_30012025_09_49_35_9348.jpg
/home/pi/Desktop/images/30012025/09/49/image_30012025_09_49_45_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":["1332938508","1332938498","1332938618","1332938513","1332938590","1332938503"],"photo_ids_order":["1332938498","1332938503","1332938508","1332938513","1332938590","1332938618"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0fe2385263da7eb198d54a4ed0f5d8d8.jpg","text":"TemporaryFile(/tmp/multipartBody2749694593671080646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227033775,"filename":"image_30012025_09_49_15_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a060cf6d76e79767db8da213c3ff6734.jpg","text":"TemporaryFile(/tmp/multipartBody2374729834942091811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227033775,"filename":"image_30012025_09_48_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/30/9a08f3d71d78e9bab9b831d49d86c52d.jpg","text":"TemporaryFile(/tmp/multipartBody9149482967427747488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227033775,"filename":"image_30012025_09_49_45_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/30/731fde0fd2503832d38e36d53d4a91c7.jpg","text":"TemporaryFile(/tmp/multipartBody6167458390872883793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227033775,"filename":"image_30012025_09_49_25_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/50ee500c4a3a8e1ce763542a6921de03.jpg","text":"TemporaryFile(/tmp/multipartBody7409652115424479955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227033775,"filename":"image_30012025_09_49_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/30/a0f2495970dbd9eabf7e1318b62c78a0.jpg","text":"TemporaryFile(/tmp/multipartBody926937852929322875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227033775,"filename":"image_30012025_09_49_06_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332938508","file1":"1332938503","file0":"1332938498","file4":"1332938590","file5":"1332938618","file3":"1332938513"},"map_files_photo_id_array":[{"photo_id":"1332938618","filename":"file5"},{"photo_id":"1332938508","filename":"file2"},{"photo_id":"1332938590","filename":"file4"},{"photo_id":"1332938503","filename":"file1"},{"photo_id":"1332938498","filename":"file0"},{"photo_id":"1332938513","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332938508":["hashtag1","hashtag2"]},{"1332938498":["hashtag1","hashtag2"]},{"1332938618":["hashtag1","hashtag2"]},{"1332938513":["hashtag1","hashtag2"]},{"1332938590":["hashtag1","hashtag2"]},{"1332938503":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332938508, 1332938498, 1332938618, 1332938513, 1332938590, 1332938503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.118323802948 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:50:32.970563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/49/image_30012025_09_49_56_10334.jpg', '/home/pi/Desktop/images/30012025/09/49/image_30012025_09_50_05_9451.jpg', '/home/pi/Desktop/images/30012025/09/50/image_30012025_09_50_15_10334.jpg', '/home/pi/Desktop/images/30012025/09/50/image_30012025_09_50_26_10340.jpg', '/home/pi/Desktop/images/30012025/09/50/image_30012025_09_50_35_9361.jpg', '/home/pi/Desktop/images/30012025/09/50/image_30012025_09_50_45_10375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/49/image_30012025_09_49_56_10334.jpg
/home/pi/Desktop/images/30012025/09/49/image_30012025_09_50_05_9451.jpg
/home/pi/Desktop/images/30012025/09/50/image_30012025_09_50_15_10334.jpg
/home/pi/Desktop/images/30012025/09/50/image_30012025_09_50_26_10340.jpg
/home/pi/Desktop/images/30012025/09/50/image_30012025_09_50_35_9361.jpg
/home/pi/Desktop/images/30012025/09/50/image_30012025_09_50_45_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":["1332938696","1332938690","1332938693","1332938698","1332938701","1332938649"],"photo_ids_order":["1332938649","1332938690","1332938693","1332938696","1332938698","1332938701"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/eb29e35b6d46e9b3f1e6d504b784b4a1.jpg","text":"TemporaryFile(/tmp/multipartBody7771974748940460260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227093893,"filename":"image_30012025_09_50_26_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a0cc60b79d073a9ce1120f7cb828769b.jpg","text":"TemporaryFile(/tmp/multipartBody4261034088642412674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227093893,"filename":"image_30012025_09_50_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/30/751308cf162e59a3ac69cf89e6f21d39.jpg","text":"TemporaryFile(/tmp/multipartBody8055792801464252000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227093893,"filename":"image_30012025_09_50_15_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/59a5936b4ecc7ba5df41d2682e25860c.jpg","text":"TemporaryFile(/tmp/multipartBody6360209094122736952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227093893,"filename":"image_30012025_09_50_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/30/b2343032851d5a54792bdfa3ed128904.jpg","text":"TemporaryFile(/tmp/multipartBody2925700219277236498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227093893,"filename":"image_30012025_09_50_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/30/5c1ef0462f278bba28dac991b8bfcc93.jpg","text":"TemporaryFile(/tmp/multipartBody2657984432154952312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227093893,"filename":"image_30012025_09_49_56_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332938693","file1":"1332938690","file0":"1332938649","file4":"1332938698","file5":"1332938701","file3":"1332938696"},"map_files_photo_id_array":[{"photo_id":"1332938701","filename":"file5"},{"photo_id":"1332938693","filename":"file2"},{"photo_id":"1332938698","filename":"file4"},{"photo_id":"1332938690","filename":"file1"},{"photo_id":"1332938649","filename":"file0"},{"photo_id":"1332938696","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332938696":["hashtag1","hashtag2"]},{"1332938690":["hashtag1","hashtag2"]},{"1332938693":["hashtag1","hashtag2"]},{"1332938698":["hashtag1","hashtag2"]},{"1332938701":["hashtag1","hashtag2"]},{"1332938649":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332938696, 1332938690, 1332938693, 1332938698, 1332938701, 1332938649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.940855264663696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:51:32.303061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/50/image_30012025_09_50_55_9435.jpg', '/home/pi/Desktop/images/30012025/09/50/image_30012025_09_51_05_10344.jpg', '/home/pi/Desktop/images/30012025/09/51/image_30012025_09_51_15_10338.jpg', '/home/pi/Desktop/images/30012025/09/51/image_30012025_09_51_25_9473.jpg', '/home/pi/Desktop/images/30012025/09/51/image_30012025_09_51_35_10350.jpg', '/home/pi/Desktop/images/30012025/09/51/image_30012025_09_51_45_9452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/50/image_30012025_09_50_55_9435.jpg
/home/pi/Desktop/images/30012025/09/50/image_30012025_09_51_05_10344.jpg
/home/pi/Desktop/images/30012025/09/51/image_30012025_09_51_15_10338.jpg
/home/pi/Desktop/images/30012025/09/51/image_30012025_09_51_25_9473.jpg
/home/pi/Desktop/images/30012025/09/51/image_30012025_09_51_35_10350.jpg
/home/pi/Desktop/images/30012025/09/51/image_30012025_09_51_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":["1332938777","1332938765","1332938756","1332938761","1332938787","1332938769"],"photo_ids_order":["1332938756","1332938761","1332938765","1332938769","1332938777","1332938787"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/270d378d41d7acf325f89719387f2e6c.jpg","text":"TemporaryFile(/tmp/multipartBody2176116668944821221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227153230,"filename":"image_30012025_09_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/30/5d08faf2e8469b9379ccf29658ff46f7.jpg","text":"TemporaryFile(/tmp/multipartBody846245289751973745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227153230,"filename":"image_30012025_09_51_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/30/4ccadb4c840e99c3f1ed1cfc48b7189b.jpg","text":"TemporaryFile(/tmp/multipartBody6361700468473264668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227153230,"filename":"image_30012025_09_50_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/30/4e3e425c9e80c355dd20670325484e67.jpg","text":"TemporaryFile(/tmp/multipartBody3677415667673391773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227153230,"filename":"image_30012025_09_51_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/30/d7833d6e44dfed1395d635edd0baa745.jpg","text":"TemporaryFile(/tmp/multipartBody6736380907135750655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227153230,"filename":"image_30012025_09_51_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/30/da788b67d9cafa97ee4d7a8189dd268c.jpg","text":"TemporaryFile(/tmp/multipartBody3401495600705464789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227153230,"filename":"image_30012025_09_51_25_9473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332938765","file1":"1332938761","file0":"1332938756","file4":"1332938777","file5":"1332938787","file3":"1332938769"},"map_files_photo_id_array":[{"photo_id":"1332938787","filename":"file5"},{"photo_id":"1332938765","filename":"file2"},{"photo_id":"1332938777","filename":"file4"},{"photo_id":"1332938761","filename":"file1"},{"photo_id":"1332938756","filename":"file0"},{"photo_id":"1332938769","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332938777":["hashtag1","hashtag2"]},{"1332938765":["hashtag1","hashtag2"]},{"1332938756":["hashtag1","hashtag2"]},{"1332938761":["hashtag1","hashtag2"]},{"1332938787":["hashtag1","hashtag2"]},{"1332938769":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332938777, 1332938765, 1332938756, 1332938761, 1332938787, 1332938769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08234214782715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:52:32.524478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/51/image_30012025_09_51_55_10374.jpg', '/home/pi/Desktop/images/30012025/09/51/image_30012025_09_52_06_10402.jpg', '/home/pi/Desktop/images/30012025/09/52/image_30012025_09_52_15_9455.jpg', '/home/pi/Desktop/images/30012025/09/52/image_30012025_09_52_25_10356.jpg', '/home/pi/Desktop/images/30012025/09/52/image_30012025_09_52_35_9427.jpg', '/home/pi/Desktop/images/30012025/09/52/image_30012025_09_52_45_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/51/image_30012025_09_51_55_10374.jpg
/home/pi/Desktop/images/30012025/09/51/image_30012025_09_52_06_10402.jpg
/home/pi/Desktop/images/30012025/09/52/image_30012025_09_52_15_9455.jpg
/home/pi/Desktop/images/30012025/09/52/image_30012025_09_52_25_10356.jpg
/home/pi/Desktop/images/30012025/09/52/image_30012025_09_52_35_9427.jpg
/home/pi/Desktop/images/30012025/09/52/image_30012025_09_52_45_10432.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.507089376449585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 09:52:42.534483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/51/image_30012025_09_51_55_10374.jpg', '/home/pi/Desktop/images/30012025/09/51/image_30012025_09_52_06_10402.jpg', '/home/pi/Desktop/images/30012025/09/52/image_30012025_09_52_15_9455.jpg', '/home/pi/Desktop/images/30012025/09/52/image_30012025_09_52_25_10356.jpg', '/home/pi/Desktop/images/30012025/09/52/image_30012025_09_52_35_9427.jpg', '/home/pi/Desktop/images/30012025/09/52/image_30012025_09_52_45_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/51/image_30012025_09_51_55_10374.jpg
/home/pi/Desktop/images/30012025/09/51/image_30012025_09_52_06_10402.jpg
/home/pi/Desktop/images/30012025/09/52/image_30012025_09_52_15_9455.jpg
/home/pi/Desktop/images/30012025/09/52/image_30012025_09_52_25_10356.jpg
/home/pi/Desktop/images/30012025/09/52/image_30012025_09_52_35_9427.jpg
/home/pi/Desktop/images/30012025/09/52/image_30012025_09_52_45_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":["1332938862","1332938850","1332938858","1332938872","1332938866","1332938868"],"photo_ids_order":["1332938850","1332938858","1332938862","1332938866","1332938868","1332938872"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/38ede7fad6a9a8916b9a2b7fd6817d04.jpg","text":"TemporaryFile(/tmp/multipartBody4689940939197280400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227223427,"filename":"image_30012025_09_52_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/30/46d87b203ee83065a6c18e4816f68856.jpg","text":"TemporaryFile(/tmp/multipartBody7542105224416080108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227223427,"filename":"image_30012025_09_51_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/30/18a561b867ad293afc5356004677e271.jpg","text":"TemporaryFile(/tmp/multipartBody2343134269072348099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227223427,"filename":"image_30012025_09_52_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/30/d2622bf56a76919896e00f48235dd05c.jpg","text":"TemporaryFile(/tmp/multipartBody310805364698532564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227223427,"filename":"image_30012025_09_52_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/30/e895b6f31d9320f6a56acd123787b3d4.jpg","text":"TemporaryFile(/tmp/multipartBody1777591034459888523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227223427,"filename":"image_30012025_09_52_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/30/79f3cc49f1d8f8cd67aa28b731f1ef1c.jpg","text":"TemporaryFile(/tmp/multipartBody3368393622053386261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227223427,"filename":"image_30012025_09_52_35_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332938862","file1":"1332938858","file0":"1332938850","file4":"1332938868","file5":"1332938872","file3":"1332938866"},"map_files_photo_id_array":[{"photo_id":"1332938872","filename":"file5"},{"photo_id":"1332938862","filename":"file2"},{"photo_id":"1332938868","filename":"file4"},{"photo_id":"1332938858","filename":"file1"},{"photo_id":"1332938850","filename":"file0"},{"photo_id":"1332938866","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332938862":["hashtag1","hashtag2"]},{"1332938850":["hashtag1","hashtag2"]},{"1332938858":["hashtag1","hashtag2"]},{"1332938872":["hashtag1","hashtag2"]},{"1332938866":["hashtag1","hashtag2"]},{"1332938868":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332938862, 1332938850, 1332938858, 1332938872, 1332938866, 1332938868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.755549907684326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:53:32.774605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/52/image_30012025_09_52_56_10350.jpg', '/home/pi/Desktop/images/30012025/09/52/image_30012025_09_53_05_9396.jpg', '/home/pi/Desktop/images/30012025/09/53/image_30012025_09_53_15_10426.jpg', '/home/pi/Desktop/images/30012025/09/53/image_30012025_09_53_25_9336.jpg', '/home/pi/Desktop/images/30012025/09/53/image_30012025_09_53_35_10447.jpg', '/home/pi/Desktop/images/30012025/09/53/image_30012025_09_53_46_10401.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/52/image_30012025_09_52_56_10350.jpg
/home/pi/Desktop/images/30012025/09/52/image_30012025_09_53_05_9396.jpg
/home/pi/Desktop/images/30012025/09/53/image_30012025_09_53_15_10426.jpg
/home/pi/Desktop/images/30012025/09/53/image_30012025_09_53_25_9336.jpg
/home/pi/Desktop/images/30012025/09/53/image_30012025_09_53_35_10447.jpg
/home/pi/Desktop/images/30012025/09/53/image_30012025_09_53_46_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":["1332939105","1332939101","1332939085","1332939052","1332939103","1332939057"],"photo_ids_order":["1332939052","1332939057","1332939085","1332939101","1332939103","1332939105"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/da24b5282a82b1b86adef40b2186fe76.jpg","text":"TemporaryFile(/tmp/multipartBody3257623000493309404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227273673,"filename":"image_30012025_09_53_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/30/febf602a7284a95ef0177037140ec0b1.jpg","text":"TemporaryFile(/tmp/multipartBody1492246261497822288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227273673,"filename":"image_30012025_09_53_25_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ff5b5302e92a137a996fd7a9a7466adb.jpg","text":"TemporaryFile(/tmp/multipartBody6971673120211043905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227273673,"filename":"image_30012025_09_53_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/30/6e4ddeacd3bf160dbfc1290226b3e7a8.jpg","text":"TemporaryFile(/tmp/multipartBody8310483250067510586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227273673,"filename":"image_30012025_09_52_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/30/525f8a80fa0f4c2cce9cec1ecc427e9a.jpg","text":"TemporaryFile(/tmp/multipartBody4891930683376488240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227273673,"filename":"image_30012025_09_53_35_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/30/2781bde1d9ebc3fba501b1f2292b2943.jpg","text":"TemporaryFile(/tmp/multipartBody7090682191658843617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227273673,"filename":"image_30012025_09_53_05_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332939085","file1":"1332939057","file0":"1332939052","file4":"1332939103","file5":"1332939105","file3":"1332939101"},"map_files_photo_id_array":[{"photo_id":"1332939105","filename":"file5"},{"photo_id":"1332939085","filename":"file2"},{"photo_id":"1332939103","filename":"file4"},{"photo_id":"1332939057","filename":"file1"},{"photo_id":"1332939052","filename":"file0"},{"photo_id":"1332939101","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332939105":["hashtag1","hashtag2"]},{"1332939101":["hashtag1","hashtag2"]},{"1332939085":["hashtag1","hashtag2"]},{"1332939052":["hashtag1","hashtag2"]},{"1332939103":["hashtag1","hashtag2"]},{"1332939057":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332939105, 1332939101, 1332939085, 1332939052, 1332939103, 1332939057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95950627326965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:54:32.832872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/53/image_30012025_09_53_55_9486.jpg', '/home/pi/Desktop/images/30012025/09/53/image_30012025_09_54_05_10346.jpg', '/home/pi/Desktop/images/30012025/09/54/image_30012025_09_54_15_9355.jpg', '/home/pi/Desktop/images/30012025/09/54/image_30012025_09_54_25_10264.jpg', '/home/pi/Desktop/images/30012025/09/54/image_30012025_09_54_35_10337.jpg', '/home/pi/Desktop/images/30012025/09/54/image_30012025_09_54_45_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/53/image_30012025_09_53_55_9486.jpg
/home/pi/Desktop/images/30012025/09/53/image_30012025_09_54_05_10346.jpg
/home/pi/Desktop/images/30012025/09/54/image_30012025_09_54_15_9355.jpg
/home/pi/Desktop/images/30012025/09/54/image_30012025_09_54_25_10264.jpg
/home/pi/Desktop/images/30012025/09/54/image_30012025_09_54_35_10337.jpg
/home/pi/Desktop/images/30012025/09/54/image_30012025_09_54_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":["1332940533","1332940608","1332940568","1332940553","1332940523","1332940615"],"photo_ids_order":["1332940523","1332940533","1332940553","1332940568","1332940608","1332940615"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a901da5f9974ce4db11fa1587f3520d5.jpg","text":"TemporaryFile(/tmp/multipartBody3182046496940567845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227333788,"filename":"image_30012025_09_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/30/ef10544092ae19e8ce5f7f4ea4707c48.jpg","text":"TemporaryFile(/tmp/multipartBody8150580956963562439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227333788,"filename":"image_30012025_09_54_35_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/78f3f5b42a7b2f3955b9e8f3142ee120.jpg","text":"TemporaryFile(/tmp/multipartBody5875632205043384935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227333788,"filename":"image_30012025_09_54_25_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/30/0129c175ca046a5350a75dd07e9b3a97.jpg","text":"TemporaryFile(/tmp/multipartBody2971770550765038114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227333788,"filename":"image_30012025_09_54_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/30/d705736ffa00e1b8cae8e14e9d278095.jpg","text":"TemporaryFile(/tmp/multipartBody1923807123023713574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227333788,"filename":"image_30012025_09_53_55_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/30/d360181490a2c9f32462f3ce1f78e9ca.jpg","text":"TemporaryFile(/tmp/multipartBody2361409705232398569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227333788,"filename":"image_30012025_09_54_45_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332940553","file1":"1332940533","file0":"1332940523","file4":"1332940608","file5":"1332940615","file3":"1332940568"},"map_files_photo_id_array":[{"photo_id":"1332940615","filename":"file5"},{"photo_id":"1332940553","filename":"file2"},{"photo_id":"1332940608","filename":"file4"},{"photo_id":"1332940533","filename":"file1"},{"photo_id":"1332940523","filename":"file0"},{"photo_id":"1332940568","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332940533":["hashtag1","hashtag2"]},{"1332940608":["hashtag1","hashtag2"]},{"1332940568":["hashtag1","hashtag2"]},{"1332940553":["hashtag1","hashtag2"]},{"1332940523":["hashtag1","hashtag2"]},{"1332940615":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332940533, 1332940608, 1332940568, 1332940553, 1332940523, 1332940615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.89068055152893 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:55:33.137158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/54/image_30012025_09_54_55_10381.jpg', '/home/pi/Desktop/images/30012025/09/54/image_30012025_09_55_05_10357.jpg', '/home/pi/Desktop/images/30012025/09/55/image_30012025_09_55_15_9328.jpg', '/home/pi/Desktop/images/30012025/09/55/image_30012025_09_55_25_10363.jpg', '/home/pi/Desktop/images/30012025/09/55/image_30012025_09_55_35_10362.jpg', '/home/pi/Desktop/images/30012025/09/55/image_30012025_09_55_45_9400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/54/image_30012025_09_54_55_10381.jpg
/home/pi/Desktop/images/30012025/09/54/image_30012025_09_55_05_10357.jpg
/home/pi/Desktop/images/30012025/09/55/image_30012025_09_55_15_9328.jpg
/home/pi/Desktop/images/30012025/09/55/image_30012025_09_55_25_10363.jpg
/home/pi/Desktop/images/30012025/09/55/image_30012025_09_55_35_10362.jpg
/home/pi/Desktop/images/30012025/09/55/image_30012025_09_55_45_9400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332940960","1332940999","1332940669","1332941002","1332940968","1332941004"],"photo_ids_order":["1332940669","1332940960","1332940968","1332940999","1332941002","1332941004"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/76efbaa57fc59b15d6c72a12da1e5f19.jpg","text":"TemporaryFile(/tmp/multipartBody438590262993012182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227394052,"filename":"image_30012025_09_55_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/30/80c912fa86c608f4e31d210a6f9a47b3.jpg","text":"TemporaryFile(/tmp/multipartBody4139373049698085083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227394052,"filename":"image_30012025_09_55_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/30/c0e8bd4b7751ec6fdc9346f3f48d5af7.jpg","text":"TemporaryFile(/tmp/multipartBody2557745777020082144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227394052,"filename":"image_30012025_09_54_55_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fe5e8fa8699a72ebcf6c2416d17a9a37.jpg","text":"TemporaryFile(/tmp/multipartBody1494690548194889006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227394052,"filename":"image_30012025_09_55_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/30/60cf0695b02b96b62779b8e45b5eda89.jpg","text":"TemporaryFile(/tmp/multipartBody8838161150992897080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227394052,"filename":"image_30012025_09_55_15_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/682fbad6ba86de38d1914c7b92063df2.jpg","text":"TemporaryFile(/tmp/multipartBody8084736517940799264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227394052,"filename":"image_30012025_09_55_45_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332940968","file1":"1332940960","file0":"1332940669","file4":"1332941002","file5":"1332941004","file3":"1332940999"},"map_files_photo_id_array":[{"photo_id":"1332941004","filename":"file5"},{"photo_id":"1332940968","filename":"file2"},{"photo_id":"1332941002","filename":"file4"},{"photo_id":"1332940960","filename":"file1"},{"photo_id":"1332940669","filename":"file0"},{"photo_id":"1332940999","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332940960":["hashtag1","hashtag2"]},{"1332940999":["hashtag1","hashtag2"]},{"1332940669":["hashtag1","hashtag2"]},{"1332941002":["hashtag1","hashtag2"]},{"1332940968":["hashtag1","hashtag2"]},{"1332941004":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332940960, 1332940999, 1332940669, 1332941002, 1332940968, 1332941004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17106914520264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:56:32.270482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/55/image_30012025_09_55_55_10344.jpg', '/home/pi/Desktop/images/30012025/09/55/image_30012025_09_56_06_10361.jpg', '/home/pi/Desktop/images/30012025/09/56/image_30012025_09_56_15_9365.jpg', '/home/pi/Desktop/images/30012025/09/56/image_30012025_09_56_25_10366.jpg', '/home/pi/Desktop/images/30012025/09/56/image_30012025_09_56_35_9332.jpg', '/home/pi/Desktop/images/30012025/09/56/image_30012025_09_56_45_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/55/image_30012025_09_55_55_10344.jpg
/home/pi/Desktop/images/30012025/09/55/image_30012025_09_56_06_10361.jpg
/home/pi/Desktop/images/30012025/09/56/image_30012025_09_56_15_9365.jpg
/home/pi/Desktop/images/30012025/09/56/image_30012025_09_56_25_10366.jpg
/home/pi/Desktop/images/30012025/09/56/image_30012025_09_56_35_9332.jpg
/home/pi/Desktop/images/30012025/09/56/image_30012025_09_56_45_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":["1332941028","1332941299","1332941269","1332941302","1332941265","1332941274"],"photo_ids_order":["1332941028","1332941265","1332941269","1332941274","1332941299","1332941302"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a80f9fbf41a8002d073af47315895e41.jpg","text":"TemporaryFile(/tmp/multipartBody7570378941167199383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227453167,"filename":"image_30012025_09_55_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/30/dd2351e093854cf8d31d0ca0fb850922.jpg","text":"TemporaryFile(/tmp/multipartBody7075517341992436330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227453167,"filename":"image_30012025_09_56_35_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/abfb7d1488d396086ab000ed60aa2de7.jpg","text":"TemporaryFile(/tmp/multipartBody467381678165074554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227453167,"filename":"image_30012025_09_56_15_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4b305aa51bd884a95c3fd58c7f36ab4d.jpg","text":"TemporaryFile(/tmp/multipartBody1261101469184378136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227453167,"filename":"image_30012025_09_56_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/30/46b580f05dc010dea6acc1139699bff4.jpg","text":"TemporaryFile(/tmp/multipartBody5303820158069102894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227453167,"filename":"image_30012025_09_56_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/30/d1853bd0e5e68f05841d45b8599be3d7.jpg","text":"TemporaryFile(/tmp/multipartBody639412561789422580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227453167,"filename":"image_30012025_09_56_25_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332941269","file1":"1332941265","file0":"1332941028","file4":"1332941299","file5":"1332941302","file3":"1332941274"},"map_files_photo_id_array":[{"photo_id":"1332941302","filename":"file5"},{"photo_id":"1332941269","filename":"file2"},{"photo_id":"1332941299","filename":"file4"},{"photo_id":"1332941265","filename":"file1"},{"photo_id":"1332941028","filename":"file0"},{"photo_id":"1332941274","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332941028":["hashtag1","hashtag2"]},{"1332941299":["hashtag1","hashtag2"]},{"1332941269":["hashtag1","hashtag2"]},{"1332941302":["hashtag1","hashtag2"]},{"1332941265":["hashtag1","hashtag2"]},{"1332941274":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332941028, 1332941299, 1332941269, 1332941302, 1332941265, 1332941274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24264192581177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:57:32.718647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/56/image_30012025_09_56_55_10359.jpg', '/home/pi/Desktop/images/30012025/09/57/image_30012025_09_57_15_10376.jpg', '/home/pi/Desktop/images/30012025/09/57/image_30012025_09_57_26_10349.jpg', '/home/pi/Desktop/images/30012025/09/57/image_30012025_09_57_35_9506.jpg', '/home/pi/Desktop/images/30012025/09/57/image_30012025_09_57_45_10382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/56/image_30012025_09_56_55_10359.jpg
/home/pi/Desktop/images/30012025/09/57/image_30012025_09_57_15_10376.jpg
/home/pi/Desktop/images/30012025/09/57/image_30012025_09_57_26_10349.jpg
/home/pi/Desktop/images/30012025/09/57/image_30012025_09_57_35_9506.jpg
/home/pi/Desktop/images/30012025/09/57/image_30012025_09_57_45_10382.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-30 09:59:03.506320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/56/image_30012025_09_56_55_10359.jpg', '/home/pi/Desktop/images/30012025/09/57/image_30012025_09_57_15_10376.jpg', '/home/pi/Desktop/images/30012025/09/57/image_30012025_09_57_26_10349.jpg', '/home/pi/Desktop/images/30012025/09/57/image_30012025_09_57_35_9506.jpg', '/home/pi/Desktop/images/30012025/09/57/image_30012025_09_57_45_10382.jpg', '/home/pi/Desktop/images/30012025/09/57/image_30012025_09_57_55_9379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/56/image_30012025_09_56_55_10359.jpg
/home/pi/Desktop/images/30012025/09/57/image_30012025_09_57_15_10376.jpg
/home/pi/Desktop/images/30012025/09/57/image_30012025_09_57_26_10349.jpg
/home/pi/Desktop/images/30012025/09/57/image_30012025_09_57_35_9506.jpg
/home/pi/Desktop/images/30012025/09/57/image_30012025_09_57_45_10382.jpg
/home/pi/Desktop/images/30012025/09/57/image_30012025_09_57_55_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":["1332942026","1332942020","1332942040","1332942031","1332942036","1332942015"],"photo_ids_order":["1332942015","1332942020","1332942026","1332942031","1332942036","1332942040"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9d3abf44918cf3d6a587760ca912b622.jpg","text":"TemporaryFile(/tmp/multipartBody1369380403267386329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227604464,"filename":"image_30012025_09_57_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/30/5979eea636e481debe02db8ad6c1d7e4.jpg","text":"TemporaryFile(/tmp/multipartBody2687292404854449042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227604464,"filename":"image_30012025_09_57_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/30/e687729f1bd6d4e41e31797cd29e77e1.jpg","text":"TemporaryFile(/tmp/multipartBody6781052654567968366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227604464,"filename":"image_30012025_09_57_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/30/2942107b8c1eff1dc4ccab001507662c.jpg","text":"TemporaryFile(/tmp/multipartBody3040575924154201617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227604464,"filename":"image_30012025_09_57_35_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/30/8b5615030b85c0a29dd3b9d587c2e84b.jpg","text":"TemporaryFile(/tmp/multipartBody1511267766965076773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227604464,"filename":"image_30012025_09_57_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/30/033bac50f8deac680ada893b3cb98367.jpg","text":"TemporaryFile(/tmp/multipartBody1458406457138822861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227604464,"filename":"image_30012025_09_56_55_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332942026","file1":"1332942020","file0":"1332942015","file4":"1332942036","file5":"1332942040","file3":"1332942031"},"map_files_photo_id_array":[{"photo_id":"1332942040","filename":"file5"},{"photo_id":"1332942026","filename":"file2"},{"photo_id":"1332942036","filename":"file4"},{"photo_id":"1332942020","filename":"file1"},{"photo_id":"1332942015","filename":"file0"},{"photo_id":"1332942031","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332942026":["hashtag1","hashtag2"]},{"1332942020":["hashtag1","hashtag2"]},{"1332942040":["hashtag1","hashtag2"]},{"1332942031":["hashtag1","hashtag2"]},{"1332942036":["hashtag1","hashtag2"]},{"1332942015":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332942026, 1332942020, 1332942040, 1332942031, 1332942036, 1332942015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50566601753235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 09:59:52.321571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/57/image_30012025_09_58_05_10409.jpg', '/home/pi/Desktop/images/30012025/09/58/image_30012025_09_58_16_10333.jpg', '/home/pi/Desktop/images/30012025/09/58/image_30012025_09_58_25_9381.jpg', '/home/pi/Desktop/images/30012025/09/58/image_30012025_09_58_35_10393.jpg', '/home/pi/Desktop/images/30012025/09/58/image_30012025_09_58_45_9369.jpg', '/home/pi/Desktop/images/30012025/09/58/image_30012025_09_58_55_10440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/57/image_30012025_09_58_05_10409.jpg
/home/pi/Desktop/images/30012025/09/58/image_30012025_09_58_16_10333.jpg
/home/pi/Desktop/images/30012025/09/58/image_30012025_09_58_25_9381.jpg
/home/pi/Desktop/images/30012025/09/58/image_30012025_09_58_35_10393.jpg
/home/pi/Desktop/images/30012025/09/58/image_30012025_09_58_45_9369.jpg
/home/pi/Desktop/images/30012025/09/58/image_30012025_09_58_55_10440.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332942131","1332942121","1332942124","1332942127","1332942105","1332942098"],"photo_ids_order":["1332942098","1332942105","1332942121","1332942124","1332942127","1332942131"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0a23b2cab611a21c1b52662726fd68d6.jpg","text":"TemporaryFile(/tmp/multipartBody9192525817601401668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227653234,"filename":"image_30012025_09_58_55_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/30/ab8991e61c7a4cde65217ce0c70518ee.jpg","text":"TemporaryFile(/tmp/multipartBody2293067639160964015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227653234,"filename":"image_30012025_09_58_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/30/6803ab53050eb61f07574f3e7b90fd8c.jpg","text":"TemporaryFile(/tmp/multipartBody4789645889836715859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227653234,"filename":"image_30012025_09_58_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/30/21d5ff224f2069937831d1dce7e37d4c.jpg","text":"TemporaryFile(/tmp/multipartBody5459160137576164083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227653234,"filename":"image_30012025_09_58_45_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/30/53cc476c5b8e9f06be95ca51a059c741.jpg","text":"TemporaryFile(/tmp/multipartBody2745604997265096464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227653234,"filename":"image_30012025_09_58_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/30/7fbb5159bf576f7fb172bca035f2e12a.jpg","text":"TemporaryFile(/tmp/multipartBody670876174431022244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227653234,"filename":"image_30012025_09_58_05_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332942121","file1":"1332942105","file0":"1332942098","file4":"1332942127","file5":"1332942131","file3":"1332942124"},"map_files_photo_id_array":[{"photo_id":"1332942131","filename":"file5"},{"photo_id":"1332942121","filename":"file2"},{"photo_id":"1332942127","filename":"file4"},{"photo_id":"1332942105","filename":"file1"},{"photo_id":"1332942098","filename":"file0"},{"photo_id":"1332942124","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332942131":["hashtag1","hashtag2"]},{"1332942121":["hashtag1","hashtag2"]},{"1332942124":["hashtag1","hashtag2"]},{"1332942127":["hashtag1","hashtag2"]},{"1332942105":["hashtag1","hashtag2"]},{"1332942098":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332942131, 1332942121, 1332942124, 1332942127, 1332942105, 1332942098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65802574157715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:00:32.588386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/58/image_30012025_09_59_05_10359.jpg', '/home/pi/Desktop/images/30012025/09/59/image_30012025_09_59_15_9464.jpg', '/home/pi/Desktop/images/30012025/09/59/image_30012025_09_59_25_10432.jpg', '/home/pi/Desktop/images/30012025/09/59/image_30012025_09_59_35_9350.jpg', '/home/pi/Desktop/images/30012025/09/59/image_30012025_09_59_45_10448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/58/image_30012025_09_59_05_10359.jpg
/home/pi/Desktop/images/30012025/09/59/image_30012025_09_59_15_9464.jpg
/home/pi/Desktop/images/30012025/09/59/image_30012025_09_59_25_10432.jpg
/home/pi/Desktop/images/30012025/09/59/image_30012025_09_59_35_9350.jpg
/home/pi/Desktop/images/30012025/09/59/image_30012025_09_59_45_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":["1332942277","1332942286","1332942271","1332942282","1332942290"],"photo_ids_order":["1332942271","1332942277","1332942282","1332942286","1332942290"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/87e4badbc2479a68dc773a964dcc6c2c.jpg","text":"TemporaryFile(/tmp/multipartBody2286346815128673766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227693497,"filename":"image_30012025_09_59_15_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d5b6080272f0ed81290076cd3e0955e4.jpg","text":"TemporaryFile(/tmp/multipartBody2178040691500795818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227693497,"filename":"image_30012025_09_59_35_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3c5e9f1b61cfd963d09d77f822d0a620.jpg","text":"TemporaryFile(/tmp/multipartBody276661563987580541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227693497,"filename":"image_30012025_09_59_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/30/639fae60ab33cc11a0714a0fcbb09e71.jpg","text":"TemporaryFile(/tmp/multipartBody4055590582160849010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227693497,"filename":"image_30012025_09_59_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/30/1dc4910c57c3f8febdbffdf4e4e2610c.jpg","text":"TemporaryFile(/tmp/multipartBody665510057506434396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227693497,"filename":"image_30012025_09_59_45_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332942282","file1":"1332942277","file0":"1332942271","file4":"1332942290","file3":"1332942286"},"map_files_photo_id_array":[{"photo_id":"1332942282","filename":"file2"},{"photo_id":"1332942290","filename":"file4"},{"photo_id":"1332942277","filename":"file1"},{"photo_id":"1332942271","filename":"file0"},{"photo_id":"1332942286","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332942277":["hashtag1","hashtag2"]},{"1332942286":["hashtag1","hashtag2"]},{"1332942271":["hashtag1","hashtag2"]},{"1332942282":["hashtag1","hashtag2"]},{"1332942290":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332942277, 1332942286, 1332942271, 1332942282, 1332942290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.9861626625061 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:01:32.627685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/59/image_30012025_09_59_56_10391.jpg', '/home/pi/Desktop/images/30012025/10/01/image_30012025_10_01_14_10079.jpg', '/home/pi/Desktop/images/30012025/10/01/image_30012025_10_01_25_10356.jpg', '/home/pi/Desktop/images/30012025/10/01/image_30012025_10_01_35_10351.jpg', '/home/pi/Desktop/images/30012025/10/01/image_30012025_10_01_44_9434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/59/image_30012025_09_59_56_10391.jpg
/home/pi/Desktop/images/30012025/10/01/image_30012025_10_01_14_10079.jpg
/home/pi/Desktop/images/30012025/10/01/image_30012025_10_01_25_10356.jpg
/home/pi/Desktop/images/30012025/10/01/image_30012025_10_01_35_10351.jpg
/home/pi/Desktop/images/30012025/10/01/image_30012025_10_01_44_9434.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5062344074249268 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 10:01:42.684537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/09/59/image_30012025_09_59_56_10391.jpg', '/home/pi/Desktop/images/30012025/10/01/image_30012025_10_01_14_10079.jpg', '/home/pi/Desktop/images/30012025/10/01/image_30012025_10_01_25_10356.jpg', '/home/pi/Desktop/images/30012025/10/01/image_30012025_10_01_35_10351.jpg', '/home/pi/Desktop/images/30012025/10/01/image_30012025_10_01_44_9434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/09/59/image_30012025_09_59_56_10391.jpg
/home/pi/Desktop/images/30012025/10/01/image_30012025_10_01_14_10079.jpg
/home/pi/Desktop/images/30012025/10/01/image_30012025_10_01_25_10356.jpg
/home/pi/Desktop/images/30012025/10/01/image_30012025_10_01_35_10351.jpg
/home/pi/Desktop/images/30012025/10/01/image_30012025_10_01_44_9434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332942401","1332942404","1332942352","1332942406","1332942396"],"photo_ids_order":["1332942352","1332942396","1332942401","1332942404","1332942406"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9e157a1bbb43c6e0bdd7f311e9fd9209.jpg","text":"TemporaryFile(/tmp/multipartBody2786458930370385942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227763583,"filename":"image_30012025_10_01_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/30/b8239d0e0a49d39a5f8e7b6d72c2428f.jpg","text":"TemporaryFile(/tmp/multipartBody1419058912271693439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227763583,"filename":"image_30012025_10_01_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/30/cf7d0a12f71bed8dd6510f1f995bf255.jpg","text":"TemporaryFile(/tmp/multipartBody5746940200471789862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227763583,"filename":"image_30012025_09_59_56_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/12d21dccb967918b3b74677519cb59e4.jpg","text":"TemporaryFile(/tmp/multipartBody7025568887590232106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227763583,"filename":"image_30012025_10_01_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/30/81f6aae135e752993fa0602b42d9ba4b.jpg","text":"TemporaryFile(/tmp/multipartBody6943307396118687704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227763583,"filename":"image_30012025_10_01_14_10079.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332942401","file1":"1332942396","file0":"1332942352","file4":"1332942406","file3":"1332942404"},"map_files_photo_id_array":[{"photo_id":"1332942401","filename":"file2"},{"photo_id":"1332942406","filename":"file4"},{"photo_id":"1332942396","filename":"file1"},{"photo_id":"1332942352","filename":"file0"},{"photo_id":"1332942404","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332942401":["hashtag1","hashtag2"]},{"1332942404":["hashtag1","hashtag2"]},{"1332942352":["hashtag1","hashtag2"]},{"1332942406":["hashtag1","hashtag2"]},{"1332942396":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332942401, 1332942404, 1332942352, 1332942406, 1332942396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.487844467163086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:02:32.992516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/01/image_30012025_10_01_55_10470.jpg', '/home/pi/Desktop/images/30012025/10/01/image_30012025_10_02_04_9367.jpg', '/home/pi/Desktop/images/30012025/10/02/image_30012025_10_02_15_10378.jpg', '/home/pi/Desktop/images/30012025/10/02/image_30012025_10_02_25_10371.jpg', '/home/pi/Desktop/images/30012025/10/02/image_30012025_10_02_34_9385.jpg', '/home/pi/Desktop/images/30012025/10/02/image_30012025_10_02_45_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/01/image_30012025_10_01_55_10470.jpg
/home/pi/Desktop/images/30012025/10/01/image_30012025_10_02_04_9367.jpg
/home/pi/Desktop/images/30012025/10/02/image_30012025_10_02_15_10378.jpg
/home/pi/Desktop/images/30012025/10/02/image_30012025_10_02_25_10371.jpg
/home/pi/Desktop/images/30012025/10/02/image_30012025_10_02_34_9385.jpg
/home/pi/Desktop/images/30012025/10/02/image_30012025_10_02_45_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332942577","1332942681","1332942498","1332942687","1332942582","1332942689"],"photo_ids_order":["1332942498","1332942577","1332942582","1332942681","1332942687","1332942689"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/301daf1b697d83f41f3d2ed674422f2e.jpg","text":"TemporaryFile(/tmp/multipartBody5850875648840698453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227813888,"filename":"image_30012025_10_02_04_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/30/101d0ac888ca4df0b20468a26f989672.jpg","text":"TemporaryFile(/tmp/multipartBody4067094119300721932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227813888,"filename":"image_30012025_10_02_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/30/8f3e39460b78dda305c2818471208b0d.jpg","text":"TemporaryFile(/tmp/multipartBody256512975971490035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227813888,"filename":"image_30012025_10_01_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/30/e7dbec43aedf0298828f5fabd110d98c.jpg","text":"TemporaryFile(/tmp/multipartBody1189323850223597298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227813888,"filename":"image_30012025_10_02_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/30/d713d607a36af5d45dbcf01ef11a13d6.jpg","text":"TemporaryFile(/tmp/multipartBody4379193960841327515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227813888,"filename":"image_30012025_10_02_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/30/c45b82b85bbe44696cf01a9c3103ebaf.jpg","text":"TemporaryFile(/tmp/multipartBody1712232433981895647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227813888,"filename":"image_30012025_10_02_45_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332942582","file1":"1332942577","file0":"1332942498","file4":"1332942687","file5":"1332942689","file3":"1332942681"},"map_files_photo_id_array":[{"photo_id":"1332942689","filename":"file5"},{"photo_id":"1332942582","filename":"file2"},{"photo_id":"1332942687","filename":"file4"},{"photo_id":"1332942577","filename":"file1"},{"photo_id":"1332942498","filename":"file0"},{"photo_id":"1332942681","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332942577":["hashtag1","hashtag2"]},{"1332942681":["hashtag1","hashtag2"]},{"1332942498":["hashtag1","hashtag2"]},{"1332942687":["hashtag1","hashtag2"]},{"1332942582":["hashtag1","hashtag2"]},{"1332942689":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332942577, 1332942681, 1332942498, 1332942687, 1332942582, 1332942689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.88595795631409 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:03:32.129331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/02/image_30012025_10_02_55_10344.jpg', '/home/pi/Desktop/images/30012025/10/02/image_30012025_10_03_05_9378.jpg', '/home/pi/Desktop/images/30012025/10/03/image_30012025_10_03_15_10438.jpg', '/home/pi/Desktop/images/30012025/10/03/image_30012025_10_03_24_9351.jpg', '/home/pi/Desktop/images/30012025/10/03/image_30012025_10_03_35_10332.jpg', '/home/pi/Desktop/images/30012025/10/03/image_30012025_10_03_45_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/02/image_30012025_10_02_55_10344.jpg
/home/pi/Desktop/images/30012025/10/02/image_30012025_10_03_05_9378.jpg
/home/pi/Desktop/images/30012025/10/03/image_30012025_10_03_15_10438.jpg
/home/pi/Desktop/images/30012025/10/03/image_30012025_10_03_24_9351.jpg
/home/pi/Desktop/images/30012025/10/03/image_30012025_10_03_35_10332.jpg
/home/pi/Desktop/images/30012025/10/03/image_30012025_10_03_45_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332942719","1332942710","1332942728","1332942733","1332942714","1332942723"],"photo_ids_order":["1332942710","1332942714","1332942719","1332942723","1332942728","1332942733"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f2633539e900e5e2e482d16453df6b6e.jpg","text":"TemporaryFile(/tmp/multipartBody8109515276225869352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227873027,"filename":"image_30012025_10_03_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/30/47d62840e9bfd5703e3d8875a2a4324b.jpg","text":"TemporaryFile(/tmp/multipartBody4463468350509998506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227873027,"filename":"image_30012025_10_02_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/30/efcb4cd9ebc544e13b4e1c57903929b6.jpg","text":"TemporaryFile(/tmp/multipartBody4336860291120781981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227873027,"filename":"image_30012025_10_03_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/30/726360c3c77940b582680c917e96e9f1.jpg","text":"TemporaryFile(/tmp/multipartBody9081978243276193622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227873027,"filename":"image_30012025_10_03_45_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/74dc3a1b4e84dd703db0aa24e0671cde.jpg","text":"TemporaryFile(/tmp/multipartBody8319497857747118826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227873027,"filename":"image_30012025_10_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/30/846fb3bc2ec2050f27886c8686f07adb.jpg","text":"TemporaryFile(/tmp/multipartBody3748636584429783156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227873027,"filename":"image_30012025_10_03_24_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332942719","file1":"1332942714","file0":"1332942710","file4":"1332942728","file5":"1332942733","file3":"1332942723"},"map_files_photo_id_array":[{"photo_id":"1332942733","filename":"file5"},{"photo_id":"1332942719","filename":"file2"},{"photo_id":"1332942728","filename":"file4"},{"photo_id":"1332942714","filename":"file1"},{"photo_id":"1332942710","filename":"file0"},{"photo_id":"1332942723","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332942719":["hashtag1","hashtag2"]},{"1332942710":["hashtag1","hashtag2"]},{"1332942728":["hashtag1","hashtag2"]},{"1332942733":["hashtag1","hashtag2"]},{"1332942714":["hashtag1","hashtag2"]},{"1332942723":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332942719, 1332942710, 1332942728, 1332942733, 1332942714, 1332942723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.76397776603699 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:04:32.400476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/03/image_30012025_10_03_55_9572.jpg', '/home/pi/Desktop/images/30012025/10/03/image_30012025_10_04_05_10430.jpg', '/home/pi/Desktop/images/30012025/10/04/image_30012025_10_04_14_9355.jpg', '/home/pi/Desktop/images/30012025/10/04/image_30012025_10_04_25_10356.jpg', '/home/pi/Desktop/images/30012025/10/04/image_30012025_10_04_35_10462.jpg', '/home/pi/Desktop/images/30012025/10/04/image_30012025_10_04_45_9466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/03/image_30012025_10_03_55_9572.jpg
/home/pi/Desktop/images/30012025/10/03/image_30012025_10_04_05_10430.jpg
/home/pi/Desktop/images/30012025/10/04/image_30012025_10_04_14_9355.jpg
/home/pi/Desktop/images/30012025/10/04/image_30012025_10_04_25_10356.jpg
/home/pi/Desktop/images/30012025/10/04/image_30012025_10_04_35_10462.jpg
/home/pi/Desktop/images/30012025/10/04/image_30012025_10_04_45_9466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332942914","1332942865","1332942856","1332942922","1332942888","1332942860"],"photo_ids_order":["1332942856","1332942860","1332942865","1332942888","1332942914","1332942922"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cd046c2e751bd6abb06d2dc7c32bcc7e.jpg","text":"TemporaryFile(/tmp/multipartBody5366178009504863713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227933315,"filename":"image_30012025_10_04_35_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/30/dcf3e706b37010103241929ce4d38a4b.jpg","text":"TemporaryFile(/tmp/multipartBody3941432148328593009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227933315,"filename":"image_30012025_10_04_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/30/b9db19e498f998b4785bdc5da71dc5c1.jpg","text":"TemporaryFile(/tmp/multipartBody3453431417584114981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227933315,"filename":"image_30012025_10_03_55_9572.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/68f1ad527f6e2cf9cc21f2a46914eaac.jpg","text":"TemporaryFile(/tmp/multipartBody6476161749633449443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227933315,"filename":"image_30012025_10_04_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/30/c0ff2344e5d61cb6b5bdbf69e4fa82f3.jpg","text":"TemporaryFile(/tmp/multipartBody3840248778094403297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227933315,"filename":"image_30012025_10_04_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/30/533321e106be4b2fbf79c6e3509cea06.jpg","text":"TemporaryFile(/tmp/multipartBody4537398462707827207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227933315,"filename":"image_30012025_10_04_05_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332942865","file1":"1332942860","file0":"1332942856","file4":"1332942914","file5":"1332942922","file3":"1332942888"},"map_files_photo_id_array":[{"photo_id":"1332942922","filename":"file5"},{"photo_id":"1332942865","filename":"file2"},{"photo_id":"1332942914","filename":"file4"},{"photo_id":"1332942860","filename":"file1"},{"photo_id":"1332942856","filename":"file0"},{"photo_id":"1332942888","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332942914":["hashtag1","hashtag2"]},{"1332942865":["hashtag1","hashtag2"]},{"1332942856":["hashtag1","hashtag2"]},{"1332942922":["hashtag1","hashtag2"]},{"1332942888":["hashtag1","hashtag2"]},{"1332942860":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332942914, 1332942865, 1332942856, 1332942922, 1332942888, 1332942860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.494495153427124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:05:32.420214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/04/image_30012025_10_04_55_10442.jpg', '/home/pi/Desktop/images/30012025/10/04/image_30012025_10_05_04_9377.jpg', '/home/pi/Desktop/images/30012025/10/05/image_30012025_10_05_24_9324.jpg', '/home/pi/Desktop/images/30012025/10/05/image_30012025_10_05_35_10380.jpg', '/home/pi/Desktop/images/30012025/10/05/image_30012025_10_05_45_10401.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/04/image_30012025_10_04_55_10442.jpg
/home/pi/Desktop/images/30012025/10/04/image_30012025_10_05_04_9377.jpg
/home/pi/Desktop/images/30012025/10/05/image_30012025_10_05_24_9324.jpg
/home/pi/Desktop/images/30012025/10/05/image_30012025_10_05_35_10380.jpg
/home/pi/Desktop/images/30012025/10/05/image_30012025_10_05_45_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":["1332942991","1332942979","1332942988","1332942993","1332942983"],"photo_ids_order":["1332942979","1332942983","1332942988","1332942991","1332942993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cd77efee0aa6a1505722ec784196c3cb.jpg","text":"TemporaryFile(/tmp/multipartBody7246882718930796781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227993308,"filename":"image_30012025_10_05_35_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a9f76290b5bb1ff133fe292c74d1c7bd.jpg","text":"TemporaryFile(/tmp/multipartBody8162699711742963012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227993308,"filename":"image_30012025_10_04_55_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/30/5e846f2e0f30d8395d3bfdb7f12575a4.jpg","text":"TemporaryFile(/tmp/multipartBody3490789863715802439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227993308,"filename":"image_30012025_10_05_24_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0e3a99f00bc68479e197b320c9764dff.jpg","text":"TemporaryFile(/tmp/multipartBody8498671074872294106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227993308,"filename":"image_30012025_10_05_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/30/5a6920e8aa5efa7153851a816bf91a5a.jpg","text":"TemporaryFile(/tmp/multipartBody3793349888164882419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738227993308,"filename":"image_30012025_10_05_04_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332942988","file1":"1332942983","file0":"1332942979","file4":"1332942993","file3":"1332942991"},"map_files_photo_id_array":[{"photo_id":"1332942988","filename":"file2"},{"photo_id":"1332942993","filename":"file4"},{"photo_id":"1332942983","filename":"file1"},{"photo_id":"1332942979","filename":"file0"},{"photo_id":"1332942991","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332942991":["hashtag1","hashtag2"]},{"1332942979":["hashtag1","hashtag2"]},{"1332942988":["hashtag1","hashtag2"]},{"1332942993":["hashtag1","hashtag2"]},{"1332942983":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332942991, 1332942979, 1332942988, 1332942993, 1332942983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.946441411972046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:06:32.790903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/05/image_30012025_10_05_54_9419.jpg', '/home/pi/Desktop/images/30012025/10/05/image_30012025_10_06_05_10348.jpg', '/home/pi/Desktop/images/30012025/10/06/image_30012025_10_06_15_10362.jpg', '/home/pi/Desktop/images/30012025/10/06/image_30012025_10_06_35_10443.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/05/image_30012025_10_05_54_9419.jpg
/home/pi/Desktop/images/30012025/10/05/image_30012025_10_06_05_10348.jpg
/home/pi/Desktop/images/30012025/10/06/image_30012025_10_06_15_10362.jpg
/home/pi/Desktop/images/30012025/10/06/image_30012025_10_06_35_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332943482","1332944013","1332943796","1332943142"],"photo_ids_order":["1332943142","1332943482","1332943796","1332944013"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/94d35ac9e39feb3dab5d227edc9b399d.jpg","text":"TemporaryFile(/tmp/multipartBody3926272075701105724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228053652,"filename":"image_30012025_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/30/dfc45ebe5efd34b53d00197c016ad76d.jpg","text":"TemporaryFile(/tmp/multipartBody8171560438246511394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228053652,"filename":"image_30012025_10_06_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/30/08bf97a7650dcfbeed8109b85a408edb.jpg","text":"TemporaryFile(/tmp/multipartBody2588393554211146894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228053652,"filename":"image_30012025_10_06_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/30/e87f82a76f273420f6081a07703e7ea6.jpg","text":"TemporaryFile(/tmp/multipartBody1673462581069856949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228053652,"filename":"image_30012025_10_05_54_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332943796","file1":"1332943482","file0":"1332943142","file3":"1332944013"},"map_files_photo_id_array":[{"photo_id":"1332943796","filename":"file2"},{"photo_id":"1332943482","filename":"file1"},{"photo_id":"1332943142","filename":"file0"},{"photo_id":"1332944013","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332943482":["hashtag1","hashtag2"]},{"1332944013":["hashtag1","hashtag2"]},{"1332943796":["hashtag1","hashtag2"]},{"1332943142":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332943482, 1332944013, 1332943796, 1332943142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.736234188079834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:07:32.995832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/06/image_30012025_10_06_55_10353.jpg', '/home/pi/Desktop/images/30012025/10/06/image_30012025_10_07_05_10357.jpg', '/home/pi/Desktop/images/30012025/10/07/image_30012025_10_07_14_9406.jpg', '/home/pi/Desktop/images/30012025/10/07/image_30012025_10_07_25_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/06/image_30012025_10_06_55_10353.jpg
/home/pi/Desktop/images/30012025/10/06/image_30012025_10_07_05_10357.jpg
/home/pi/Desktop/images/30012025/10/07/image_30012025_10_07_14_9406.jpg
/home/pi/Desktop/images/30012025/10/07/image_30012025_10_07_25_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":["1332944199","1332944091","1332944088","1332944315"],"photo_ids_order":["1332944088","1332944091","1332944199","1332944315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/013ed9f285c6be38ddac3209edd4bacb.jpg","text":"TemporaryFile(/tmp/multipartBody3186721385084678838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228113862,"filename":"image_30012025_10_07_14_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/66fc37010aef8e6cf4dcab1aade49d46.jpg","text":"TemporaryFile(/tmp/multipartBody1843786933170145712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228113862,"filename":"image_30012025_10_07_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/30/4d451c4cefc5c36513a1984988d10974.jpg","text":"TemporaryFile(/tmp/multipartBody4288819868164549725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228113862,"filename":"image_30012025_10_06_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/30/34ab016a53dc03a7f51d7198ef2a4bdf.jpg","text":"TemporaryFile(/tmp/multipartBody1216922325898560773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228113862,"filename":"image_30012025_10_07_25_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332944199","file1":"1332944091","file0":"1332944088","file3":"1332944315"},"map_files_photo_id_array":[{"photo_id":"1332944199","filename":"file2"},{"photo_id":"1332944091","filename":"file1"},{"photo_id":"1332944088","filename":"file0"},{"photo_id":"1332944315","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332944199":["hashtag1","hashtag2"]},{"1332944091":["hashtag1","hashtag2"]},{"1332944088":["hashtag1","hashtag2"]},{"1332944315":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332944199, 1332944091, 1332944088, 1332944315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.133748054504395 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-30 10:08:32.116753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/07/image_30012025_10_07_35_10423.jpg', '/home/pi/Desktop/images/30012025/10/08/image_30012025_10_08_15_10422.jpg', '/home/pi/Desktop/images/30012025/10/08/image_30012025_10_08_25_10478.jpg', '/home/pi/Desktop/images/30012025/10/08/image_30012025_10_08_35_9337.jpg', '/home/pi/Desktop/images/30012025/10/08/image_30012025_10_08_45_10471.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/07/image_30012025_10_07_35_10423.jpg
/home/pi/Desktop/images/30012025/10/08/image_30012025_10_08_15_10422.jpg
/home/pi/Desktop/images/30012025/10/08/image_30012025_10_08_25_10478.jpg
/home/pi/Desktop/images/30012025/10/08/image_30012025_10_08_35_9337.jpg
/home/pi/Desktop/images/30012025/10/08/image_30012025_10_08_45_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":["1332944598","1332944686","1332944603","1332944593","1332944578"],"photo_ids_order":["1332944578","1332944593","1332944598","1332944603","1332944686"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8621ca0837b4f7f36f083f0f06419db8.jpg","text":"TemporaryFile(/tmp/multipartBody4955484520754985295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228172997,"filename":"image_30012025_10_08_25_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/30/4fa21ab0e7abce5444dbda4cdce79e7d.jpg","text":"TemporaryFile(/tmp/multipartBody1886199673424683316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228172997,"filename":"image_30012025_10_08_45_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/30/d42e5cd18d70ea9402cb35f87e2b5533.jpg","text":"TemporaryFile(/tmp/multipartBody7185327274892759531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228172997,"filename":"image_30012025_10_08_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/30/be9810aebca3a48ed5be7d38f91aa466.jpg","text":"TemporaryFile(/tmp/multipartBody5361867886040753568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228172997,"filename":"image_30012025_10_08_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/30/a2ab53f4316e68be4c72c56ff4b6d456.jpg","text":"TemporaryFile(/tmp/multipartBody5058689239621744541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228172997,"filename":"image_30012025_10_07_35_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332944598","file1":"1332944593","file0":"1332944578","file4":"1332944686","file3":"1332944603"},"map_files_photo_id_array":[{"photo_id":"1332944598","filename":"file2"},{"photo_id":"1332944686","filename":"file4"},{"photo_id":"1332944593","filename":"file1"},{"photo_id":"1332944578","filename":"file0"},{"photo_id":"1332944603","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332944598":["hashtag1","hashtag2"]},{"1332944686":["hashtag1","hashtag2"]},{"1332944603":["hashtag1","hashtag2"]},{"1332944593":["hashtag1","hashtag2"]},{"1332944578":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332944598, 1332944686, 1332944603, 1332944593, 1332944578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.18115234375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:09:32.346546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/08/image_30012025_10_08_54_9341.jpg', '/home/pi/Desktop/images/30012025/10/08/image_30012025_10_09_05_10361.jpg', '/home/pi/Desktop/images/30012025/10/09/image_30012025_10_09_15_10333.jpg', '/home/pi/Desktop/images/30012025/10/09/image_30012025_10_09_45_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/08/image_30012025_10_08_54_9341.jpg
/home/pi/Desktop/images/30012025/10/08/image_30012025_10_09_05_10361.jpg
/home/pi/Desktop/images/30012025/10/09/image_30012025_10_09_15_10333.jpg
/home/pi/Desktop/images/30012025/10/09/image_30012025_10_09_45_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":["1332944746","1332944740","1332944753","1332944758"],"photo_ids_order":["1332944740","1332944746","1332944753","1332944758"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/405b2de5800db0056ab796cd97574d5e.jpg","text":"TemporaryFile(/tmp/multipartBody5661793241932403125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228233216,"filename":"image_30012025_10_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/30/72bbf4b365376fe67d92dd8ff7188be6.jpg","text":"TemporaryFile(/tmp/multipartBody8750909978451660966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228233216,"filename":"image_30012025_10_08_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/30/a63c6b306598ce47a87c6e834bf6c4da.jpg","text":"TemporaryFile(/tmp/multipartBody6719360261175177304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228233216,"filename":"image_30012025_10_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/30/cf0b6d82128aff0c3d128f9efa2691c9.jpg","text":"TemporaryFile(/tmp/multipartBody9009913049608001212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228233216,"filename":"image_30012025_10_09_45_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332944753","file1":"1332944746","file0":"1332944740","file3":"1332944758"},"map_files_photo_id_array":[{"photo_id":"1332944753","filename":"file2"},{"photo_id":"1332944746","filename":"file1"},{"photo_id":"1332944740","filename":"file0"},{"photo_id":"1332944758","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332944746":["hashtag1","hashtag2"]},{"1332944740":["hashtag1","hashtag2"]},{"1332944753":["hashtag1","hashtag2"]},{"1332944758":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332944746, 1332944740, 1332944753, 1332944758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.758541107177734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 10:10:03.210835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/44/image_28012025_20_44_24_9417.jpg', '/home/pi/Desktop/images/28012025/20/44/image_28012025_20_44_35_10351.jpg', '/home/pi/Desktop/images/28012025/20/44/image_28012025_20_44_45_10435.jpg', '/home/pi/Desktop/images/28012025/20/44/image_28012025_20_44_55_9365.jpg', '/home/pi/Desktop/images/28012025/20/44/image_28012025_20_45_05_10347.jpg', '/home/pi/Desktop/images/28012025/20/45/image_28012025_20_45_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/20/44/image_28012025_20_44_24_9417.jpg
/home/pi/Desktop/images/28012025/20/44/image_28012025_20_44_35_10351.jpg
/home/pi/Desktop/images/28012025/20/44/image_28012025_20_44_45_10435.jpg
/home/pi/Desktop/images/28012025/20/44/image_28012025_20_44_55_9365.jpg
/home/pi/Desktop/images/28012025/20/44/image_28012025_20_45_05_10347.jpg
/home/pi/Desktop/images/28012025/20/45/image_28012025_20_45_15_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":["1332944847","1332944832","1332944829","1332944820","1332944843","1332944836"],"photo_ids_order":["1332944820","1332944829","1332944832","1332944836","1332944843","1332944847"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/48e4928c7a760c006a9f59446da2025c.jpg","text":"TemporaryFile(/tmp/multipartBody2629616719840868155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228264791,"filename":"image_28012025_20_45_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/30/dd3c9c6f5313db8eb032cdcf62ab2e6b.jpg","text":"TemporaryFile(/tmp/multipartBody1258790638023256916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228264791,"filename":"image_28012025_20_44_45_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/622b02e9c3464694db2bfba995e8cde8.jpg","text":"TemporaryFile(/tmp/multipartBody281208388150738595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228264791,"filename":"image_28012025_20_44_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/30/54185ec9af6d8a1dcd4b56ebad499e00.jpg","text":"TemporaryFile(/tmp/multipartBody3698938876199839375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228264791,"filename":"image_28012025_20_44_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/30/3a8f60f8d52d053dffa496fd5411414f.jpg","text":"TemporaryFile(/tmp/multipartBody26322485259924673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228264791,"filename":"image_28012025_20_45_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/30/73aa479d0d9107e9dc1cc410a7922a4e.jpg","text":"TemporaryFile(/tmp/multipartBody6610317001909775294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228264791,"filename":"image_28012025_20_44_55_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332944832","file1":"1332944829","file0":"1332944820","file4":"1332944843","file5":"1332944847","file3":"1332944836"},"map_files_photo_id_array":[{"photo_id":"1332944847","filename":"file5"},{"photo_id":"1332944832","filename":"file2"},{"photo_id":"1332944843","filename":"file4"},{"photo_id":"1332944829","filename":"file1"},{"photo_id":"1332944820","filename":"file0"},{"photo_id":"1332944836","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332944847":["hashtag1","hashtag2"]},{"1332944832":["hashtag1","hashtag2"]},{"1332944829":["hashtag1","hashtag2"]},{"1332944820":["hashtag1","hashtag2"]},{"1332944843":["hashtag1","hashtag2"]},{"1332944836":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332944847, 1332944832, 1332944829, 1332944820, 1332944843, 1332944836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.782782793045044 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:10:52.512835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/09/image_30012025_10_09_55_9423.jpg', '/home/pi/Desktop/images/30012025/10/09/image_30012025_10_10_05_10475.jpg', '/home/pi/Desktop/images/30012025/10/10/image_30012025_10_10_14_9321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/09/image_30012025_10_09_55_9423.jpg
/home/pi/Desktop/images/30012025/10/09/image_30012025_10_10_05_10475.jpg
/home/pi/Desktop/images/30012025/10/10/image_30012025_10_10_14_9321.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332944908","1332944898","1332944880"],"photo_ids_order":["1332944880","1332944898","1332944908"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4fa08995f9c54dbc9c55b579f09c47d7.jpg","text":"TemporaryFile(/tmp/multipartBody1119286836879194299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228313363,"filename":"image_30012025_10_10_14_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/30/8a2406301230258360eec8b86eb1a273.jpg","text":"TemporaryFile(/tmp/multipartBody9038677061325814620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228313363,"filename":"image_30012025_10_10_05_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/30/471cd9463f5477465dcad24fa14fbbaa.jpg","text":"TemporaryFile(/tmp/multipartBody1698793908849930514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228313363,"filename":"image_30012025_10_09_55_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332944908","file1":"1332944898","file0":"1332944880"},"map_files_photo_id_array":[{"photo_id":"1332944908","filename":"file2"},{"photo_id":"1332944898","filename":"file1"},{"photo_id":"1332944880","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332944908":["hashtag1","hashtag2"]},{"1332944898":["hashtag1","hashtag2"]},{"1332944880":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332944908, 1332944898, 1332944880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.456361770629883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:11:32.780356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/10/image_30012025_10_10_35_10364.jpg', '/home/pi/Desktop/images/30012025/10/10/image_30012025_10_11_05_10452.jpg', '/home/pi/Desktop/images/30012025/10/11/image_30012025_10_11_15_9353.jpg', '/home/pi/Desktop/images/30012025/10/11/image_30012025_10_11_25_10453.jpg', '/home/pi/Desktop/images/30012025/10/11/image_30012025_10_11_34_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/10/image_30012025_10_10_35_10364.jpg
/home/pi/Desktop/images/30012025/10/10/image_30012025_10_11_05_10452.jpg
/home/pi/Desktop/images/30012025/10/11/image_30012025_10_11_15_9353.jpg
/home/pi/Desktop/images/30012025/10/11/image_30012025_10_11_25_10453.jpg
/home/pi/Desktop/images/30012025/10/11/image_30012025_10_11_34_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":["1332944949","1332944943","1332945032","1332945026","1332944953"],"photo_ids_order":["1332944943","1332944949","1332944953","1332945026","1332945032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9a93e11af7dc5f3e2c1140b6255f94bc.jpg","text":"TemporaryFile(/tmp/multipartBody5222241379065640933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228353664,"filename":"image_30012025_10_11_05_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/30/072f2daabc93f191d8cb862ab6a46464.jpg","text":"TemporaryFile(/tmp/multipartBody5313840499725568089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228353664,"filename":"image_30012025_10_10_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/edb7725e00bd7a9c2b8a8a6d1264f6f0.jpg","text":"TemporaryFile(/tmp/multipartBody5000363748206486158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228353664,"filename":"image_30012025_10_11_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/30/b18c2672c2d6e67c3da1f885f0199787.jpg","text":"TemporaryFile(/tmp/multipartBody7518025690918659380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228353664,"filename":"image_30012025_10_11_25_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d5f31d32beb3f0ccb0d82369b0762b46.jpg","text":"TemporaryFile(/tmp/multipartBody7450682760639519182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228353664,"filename":"image_30012025_10_11_15_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332944953","file1":"1332944949","file0":"1332944943","file4":"1332945032","file3":"1332945026"},"map_files_photo_id_array":[{"photo_id":"1332944953","filename":"file2"},{"photo_id":"1332945032","filename":"file4"},{"photo_id":"1332944949","filename":"file1"},{"photo_id":"1332944943","filename":"file0"},{"photo_id":"1332945026","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332944949":["hashtag1","hashtag2"]},{"1332944943":["hashtag1","hashtag2"]},{"1332945032":["hashtag1","hashtag2"]},{"1332945026":["hashtag1","hashtag2"]},{"1332944953":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332944949, 1332944943, 1332945032, 1332945026, 1332944953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.05388164520264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:12:32.909867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/11/image_30012025_10_11_45_10341.jpg', '/home/pi/Desktop/images/30012025/10/12/image_30012025_10_12_25_10453.jpg', '/home/pi/Desktop/images/30012025/10/12/image_30012025_10_12_35_9342.jpg', '/home/pi/Desktop/images/30012025/10/12/image_30012025_10_12_45_10378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/11/image_30012025_10_11_45_10341.jpg
/home/pi/Desktop/images/30012025/10/12/image_30012025_10_12_25_10453.jpg
/home/pi/Desktop/images/30012025/10/12/image_30012025_10_12_35_9342.jpg
/home/pi/Desktop/images/30012025/10/12/image_30012025_10_12_45_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":["1332945075","1332945072","1332945069","1332945059"],"photo_ids_order":["1332945059","1332945069","1332945072","1332945075"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/925a434553fd4b3dcfdd54a015fb26c6.jpg","text":"TemporaryFile(/tmp/multipartBody65119542339229900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228413772,"filename":"image_30012025_10_12_45_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/30/804422d13e9672dd412e04bf739042d2.jpg","text":"TemporaryFile(/tmp/multipartBody9091404597934557059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228413772,"filename":"image_30012025_10_12_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/30/b0dd525a2ed305b04e75c0487e2ee24e.jpg","text":"TemporaryFile(/tmp/multipartBody4519050676927964344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228413772,"filename":"image_30012025_10_12_25_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c10761a18ffdddfa0598bcec7a6ad9de.jpg","text":"TemporaryFile(/tmp/multipartBody600669232125246685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228413772,"filename":"image_30012025_10_11_45_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332945072","file1":"1332945069","file0":"1332945059","file3":"1332945075"},"map_files_photo_id_array":[{"photo_id":"1332945072","filename":"file2"},{"photo_id":"1332945069","filename":"file1"},{"photo_id":"1332945059","filename":"file0"},{"photo_id":"1332945075","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332945075":["hashtag1","hashtag2"]},{"1332945072":["hashtag1","hashtag2"]},{"1332945069":["hashtag1","hashtag2"]},{"1332945059":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332945075, 1332945072, 1332945069, 1332945059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.681752681732178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 10:13:04.773711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/45/image_28012025_20_45_25_9383.jpg', '/home/pi/Desktop/images/28012025/20/45/image_28012025_20_45_35_10344.jpg', '/home/pi/Desktop/images/28012025/20/45/image_28012025_20_45_44_9412.jpg', '/home/pi/Desktop/images/28012025/20/45/image_28012025_20_45_55_10416.jpg', '/home/pi/Desktop/images/28012025/20/45/image_28012025_20_46_05_10490.jpg', '/home/pi/Desktop/images/28012025/20/46/image_28012025_20_46_15_9346.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/45/image_28012025_20_45_25_9383.jpg
/home/pi/Desktop/images/28012025/20/45/image_28012025_20_45_35_10344.jpg
/home/pi/Desktop/images/28012025/20/45/image_28012025_20_45_44_9412.jpg
/home/pi/Desktop/images/28012025/20/45/image_28012025_20_45_55_10416.jpg
/home/pi/Desktop/images/28012025/20/45/image_28012025_20_46_05_10490.jpg
/home/pi/Desktop/images/28012025/20/46/image_28012025_20_46_15_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":["1332945144","1332945126","1332945140","1332945133","1332945109","1332945118"],"photo_ids_order":["1332945109","1332945118","1332945126","1332945133","1332945140","1332945144"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/668652673c41f0d199c0e65146b8897e.jpg","text":"TemporaryFile(/tmp/multipartBody4311998461831814824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228446756,"filename":"image_28012025_20_46_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/30/37b1ffe3420cf728bcf442088fd947a0.jpg","text":"TemporaryFile(/tmp/multipartBody329201118201807684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228446756,"filename":"image_28012025_20_45_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/30/89426f6d60e74b5510f820e46bdd4c85.jpg","text":"TemporaryFile(/tmp/multipartBody1985384186027228659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228446756,"filename":"image_28012025_20_46_05_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/30/67d80dffb88b97518871f0f51b030114.jpg","text":"TemporaryFile(/tmp/multipartBody1291944342545109448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228446756,"filename":"image_28012025_20_45_55_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4a003eb9dfc70c4f7931bd253119e3ab.jpg","text":"TemporaryFile(/tmp/multipartBody9111626505368411737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228446756,"filename":"image_28012025_20_45_25_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/30/8f029dc0c18eb807e903ac393355cf96.jpg","text":"TemporaryFile(/tmp/multipartBody7388181314916458275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228446756,"filename":"image_28012025_20_45_35_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332945126","file1":"1332945118","file0":"1332945109","file4":"1332945140","file5":"1332945144","file3":"1332945133"},"map_files_photo_id_array":[{"photo_id":"1332945144","filename":"file5"},{"photo_id":"1332945126","filename":"file2"},{"photo_id":"1332945140","filename":"file4"},{"photo_id":"1332945118","filename":"file1"},{"photo_id":"1332945109","filename":"file0"},{"photo_id":"1332945133","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332945144":["hashtag1","hashtag2"]},{"1332945126":["hashtag1","hashtag2"]},{"1332945140":["hashtag1","hashtag2"]},{"1332945133":["hashtag1","hashtag2"]},{"1332945109":["hashtag1","hashtag2"]},{"1332945118":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332945144, 1332945126, 1332945140, 1332945133, 1332945109, 1332945118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.79354906082153 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:13:53.237287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/12/image_30012025_10_12_54_9342.jpg', '/home/pi/Desktop/images/30012025/10/12/image_30012025_10_13_05_10333.jpg', '/home/pi/Desktop/images/30012025/10/13/image_30012025_10_13_15_10431.jpg', '/home/pi/Desktop/images/30012025/10/13/image_30012025_10_13_24_9322.jpg', '/home/pi/Desktop/images/30012025/10/13/image_30012025_10_13_35_10349.jpg', '/home/pi/Desktop/images/30012025/10/13/image_30012025_10_13_45_10463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/12/image_30012025_10_12_54_9342.jpg
/home/pi/Desktop/images/30012025/10/12/image_30012025_10_13_05_10333.jpg
/home/pi/Desktop/images/30012025/10/13/image_30012025_10_13_15_10431.jpg
/home/pi/Desktop/images/30012025/10/13/image_30012025_10_13_24_9322.jpg
/home/pi/Desktop/images/30012025/10/13/image_30012025_10_13_35_10349.jpg
/home/pi/Desktop/images/30012025/10/13/image_30012025_10_13_45_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":["1332945161","1332945158","1332945178","1332945175","1332945169","1332945154"],"photo_ids_order":["1332945154","1332945158","1332945161","1332945169","1332945175","1332945178"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7f0c355d1c6c4d8bfe13610c972be97b.jpg","text":"TemporaryFile(/tmp/multipartBody8631568454660804287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228494156,"filename":"image_30012025_10_13_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/30/bbfd01b4f2b7f5038ab020b3ee213624.jpg","text":"TemporaryFile(/tmp/multipartBody4236058027056156534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228494156,"filename":"image_30012025_10_13_05_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/67f4a37ec76a067128e499215564a68f.jpg","text":"TemporaryFile(/tmp/multipartBody4979737708283543272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228494156,"filename":"image_30012025_10_13_45_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/30/ea9cfbd9422de3498bb67a886d62bb91.jpg","text":"TemporaryFile(/tmp/multipartBody5584992037634622515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228494156,"filename":"image_30012025_10_13_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/30/1827fa8a29fd7670af44c685232badbf.jpg","text":"TemporaryFile(/tmp/multipartBody2213691839903495519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228494156,"filename":"image_30012025_10_13_24_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/30/707e65c750e76768f61bb14d7cd6e5f5.jpg","text":"TemporaryFile(/tmp/multipartBody1050677960854439265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228494156,"filename":"image_30012025_10_12_54_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332945161","file1":"1332945158","file0":"1332945154","file4":"1332945175","file5":"1332945178","file3":"1332945169"},"map_files_photo_id_array":[{"photo_id":"1332945178","filename":"file5"},{"photo_id":"1332945161","filename":"file2"},{"photo_id":"1332945175","filename":"file4"},{"photo_id":"1332945158","filename":"file1"},{"photo_id":"1332945154","filename":"file0"},{"photo_id":"1332945169","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332945161":["hashtag1","hashtag2"]},{"1332945158":["hashtag1","hashtag2"]},{"1332945178":["hashtag1","hashtag2"]},{"1332945175":["hashtag1","hashtag2"]},{"1332945169":["hashtag1","hashtag2"]},{"1332945154":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332945161, 1332945158, 1332945178, 1332945175, 1332945169, 1332945154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2940616607666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 10:14:42.404289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/13/image_30012025_10_13_55_9435.jpg', '/home/pi/Desktop/images/30012025/10/13/image_30012025_10_14_05_10443.jpg', '/home/pi/Desktop/images/30012025/10/14/image_30012025_10_14_14_9339.jpg', '/home/pi/Desktop/images/30012025/10/14/image_30012025_10_14_25_10351.jpg', '/home/pi/Desktop/images/30012025/10/14/image_30012025_10_14_35_10449.jpg', '/home/pi/Desktop/images/30012025/10/14/image_30012025_10_14_45_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/13/image_30012025_10_13_55_9435.jpg
/home/pi/Desktop/images/30012025/10/13/image_30012025_10_14_05_10443.jpg
/home/pi/Desktop/images/30012025/10/14/image_30012025_10_14_14_9339.jpg
/home/pi/Desktop/images/30012025/10/14/image_30012025_10_14_25_10351.jpg
/home/pi/Desktop/images/30012025/10/14/image_30012025_10_14_35_10449.jpg
/home/pi/Desktop/images/30012025/10/14/image_30012025_10_14_45_9337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332945231","1332945209","1332945200","1332945244","1332945235","1332945217"],"photo_ids_order":["1332945200","1332945209","1332945217","1332945231","1332945235","1332945244"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/56875b95db660654e37d006b0b5ad469.jpg","text":"TemporaryFile(/tmp/multipartBody2455319536358409915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228543350,"filename":"image_30012025_10_14_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/30/09ffc6851c1207ed0343cdde96f8bfdb.jpg","text":"TemporaryFile(/tmp/multipartBody9091606574284047610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228543350,"filename":"image_30012025_10_14_05_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/30/7c9e9b979339a254d207c91e09cc3523.jpg","text":"TemporaryFile(/tmp/multipartBody3264470310913413428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228543350,"filename":"image_30012025_10_13_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/30/8191de50ff56f58fb42c2e2b1a57ffb5.jpg","text":"TemporaryFile(/tmp/multipartBody4727237961203508716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228543350,"filename":"image_30012025_10_14_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/30/f65d88b75a0d5acca1de6f98e8305db6.jpg","text":"TemporaryFile(/tmp/multipartBody7738003493593790364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228543350,"filename":"image_30012025_10_14_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/30/524ad376d27758c9536416b487060a8a.jpg","text":"TemporaryFile(/tmp/multipartBody732661649471319210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228543350,"filename":"image_30012025_10_14_14_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332945217","file1":"1332945209","file0":"1332945200","file4":"1332945235","file5":"1332945244","file3":"1332945231"},"map_files_photo_id_array":[{"photo_id":"1332945244","filename":"file5"},{"photo_id":"1332945217","filename":"file2"},{"photo_id":"1332945235","filename":"file4"},{"photo_id":"1332945209","filename":"file1"},{"photo_id":"1332945200","filename":"file0"},{"photo_id":"1332945231","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332945231":["hashtag1","hashtag2"]},{"1332945209":["hashtag1","hashtag2"]},{"1332945200":["hashtag1","hashtag2"]},{"1332945244":["hashtag1","hashtag2"]},{"1332945235":["hashtag1","hashtag2"]},{"1332945217":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332945231, 1332945209, 1332945200, 1332945244, 1332945235, 1332945217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.89326763153076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:15:32.574288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/14/image_30012025_10_14_55_10379.jpg', '/home/pi/Desktop/images/30012025/10/14/image_30012025_10_15_04_9342.jpg', '/home/pi/Desktop/images/30012025/10/15/image_30012025_10_15_15_10359.jpg', '/home/pi/Desktop/images/30012025/10/15/image_30012025_10_15_25_10363.jpg', '/home/pi/Desktop/images/30012025/10/15/image_30012025_10_15_34_9423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/14/image_30012025_10_14_55_10379.jpg
/home/pi/Desktop/images/30012025/10/14/image_30012025_10_15_04_9342.jpg
/home/pi/Desktop/images/30012025/10/15/image_30012025_10_15_15_10359.jpg
/home/pi/Desktop/images/30012025/10/15/image_30012025_10_15_25_10363.jpg
/home/pi/Desktop/images/30012025/10/15/image_30012025_10_15_34_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":["1332945288","1332945282","1332945296","1332945291","1332945285"],"photo_ids_order":["1332945282","1332945285","1332945288","1332945291","1332945296"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3ec4a97d0ecb25c2ca26365163676b94.jpg","text":"TemporaryFile(/tmp/multipartBody2491127390272496106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228593464,"filename":"image_30012025_10_15_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/30/a3553d1fab7326e819e742226e13717e.jpg","text":"TemporaryFile(/tmp/multipartBody5502657868034328579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228593464,"filename":"image_30012025_10_14_55_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b4a5973eab083b0f095196aae900ca6e.jpg","text":"TemporaryFile(/tmp/multipartBody4439067250727518772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228593464,"filename":"image_30012025_10_15_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/30/015d981e816a96c507ea1fe82bc6fdf5.jpg","text":"TemporaryFile(/tmp/multipartBody255687145534395112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228593464,"filename":"image_30012025_10_15_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/30/1368e07233ffb050db541c559e6b17df.jpg","text":"TemporaryFile(/tmp/multipartBody925943262530763867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228593464,"filename":"image_30012025_10_15_04_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332945288","file1":"1332945285","file0":"1332945282","file4":"1332945296","file3":"1332945291"},"map_files_photo_id_array":[{"photo_id":"1332945288","filename":"file2"},{"photo_id":"1332945296","filename":"file4"},{"photo_id":"1332945285","filename":"file1"},{"photo_id":"1332945282","filename":"file0"},{"photo_id":"1332945291","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332945288":["hashtag1","hashtag2"]},{"1332945282":["hashtag1","hashtag2"]},{"1332945296":["hashtag1","hashtag2"]},{"1332945291":["hashtag1","hashtag2"]},{"1332945285":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332945288, 1332945282, 1332945296, 1332945291, 1332945285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.915725231170654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:16:32.718835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/15/image_30012025_10_15_55_10396.jpg', '/home/pi/Desktop/images/30012025/10/15/image_30012025_10_16_05_9345.jpg', '/home/pi/Desktop/images/30012025/10/16/image_30012025_10_16_15_10399.jpg', '/home/pi/Desktop/images/30012025/10/16/image_30012025_10_16_24_9347.jpg', '/home/pi/Desktop/images/30012025/10/16/image_30012025_10_16_35_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/15/image_30012025_10_15_55_10396.jpg
/home/pi/Desktop/images/30012025/10/15/image_30012025_10_16_05_9345.jpg
/home/pi/Desktop/images/30012025/10/16/image_30012025_10_16_15_10399.jpg
/home/pi/Desktop/images/30012025/10/16/image_30012025_10_16_24_9347.jpg
/home/pi/Desktop/images/30012025/10/16/image_30012025_10_16_35_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":["1332945366","1332945354","1332945363","1332945359","1332945350"],"photo_ids_order":["1332945350","1332945354","1332945359","1332945363","1332945366"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/09658cdc6d1b6e6702e37af15038b77f.jpg","text":"TemporaryFile(/tmp/multipartBody6888692552607369284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228653603,"filename":"image_30012025_10_16_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/30/2e0a0ad560cde4dc63fbf0181be41cee.jpg","text":"TemporaryFile(/tmp/multipartBody2249468762874911602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228653603,"filename":"image_30012025_10_16_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/30/ef894d4e5e6ef0bf4d8f2de836ac9deb.jpg","text":"TemporaryFile(/tmp/multipartBody1549311834555628478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228653603,"filename":"image_30012025_10_16_24_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/30/dd1f910b0029af7918374a7ef47dbf4c.jpg","text":"TemporaryFile(/tmp/multipartBody8388426962443410401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228653603,"filename":"image_30012025_10_16_15_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8e0bffd7cbfdf71214af10f565d33256.jpg","text":"TemporaryFile(/tmp/multipartBody6573576934074031728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228653603,"filename":"image_30012025_10_15_55_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332945359","file1":"1332945354","file0":"1332945350","file4":"1332945366","file3":"1332945363"},"map_files_photo_id_array":[{"photo_id":"1332945359","filename":"file2"},{"photo_id":"1332945366","filename":"file4"},{"photo_id":"1332945354","filename":"file1"},{"photo_id":"1332945350","filename":"file0"},{"photo_id":"1332945363","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332945366":["hashtag1","hashtag2"]},{"1332945354":["hashtag1","hashtag2"]},{"1332945363":["hashtag1","hashtag2"]},{"1332945359":["hashtag1","hashtag2"]},{"1332945350":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332945366, 1332945354, 1332945363, 1332945359, 1332945350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.21744203567505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:17:32.901939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/16/image_30012025_10_16_54_9345.jpg', '/home/pi/Desktop/images/30012025/10/17/image_30012025_10_17_15_10406.jpg', '/home/pi/Desktop/images/30012025/10/17/image_30012025_10_17_25_9356.jpg', '/home/pi/Desktop/images/30012025/10/17/image_30012025_10_17_35_10441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/16/image_30012025_10_16_54_9345.jpg
/home/pi/Desktop/images/30012025/10/17/image_30012025_10_17_15_10406.jpg
/home/pi/Desktop/images/30012025/10/17/image_30012025_10_17_25_9356.jpg
/home/pi/Desktop/images/30012025/10/17/image_30012025_10_17_35_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.4891960620880127 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 10:17:42.992676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/16/image_30012025_10_16_54_9345.jpg', '/home/pi/Desktop/images/30012025/10/17/image_30012025_10_17_15_10406.jpg', '/home/pi/Desktop/images/30012025/10/17/image_30012025_10_17_25_9356.jpg', '/home/pi/Desktop/images/30012025/10/17/image_30012025_10_17_35_10441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/16/image_30012025_10_16_54_9345.jpg
/home/pi/Desktop/images/30012025/10/17/image_30012025_10_17_15_10406.jpg
/home/pi/Desktop/images/30012025/10/17/image_30012025_10_17_25_9356.jpg
/home/pi/Desktop/images/30012025/10/17/image_30012025_10_17_35_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":["1332945435","1332945438","1332945446","1332945422"],"photo_ids_order":["1332945422","1332945435","1332945438","1332945446"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/339326218eb7a0ceb7827ba779de4b75.jpg","text":"TemporaryFile(/tmp/multipartBody560638343022973896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228723862,"filename":"image_30012025_10_17_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/30/fe8c6e48948d55b68c61780fe662df7c.jpg","text":"TemporaryFile(/tmp/multipartBody1780595690773085475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228723862,"filename":"image_30012025_10_17_25_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/34a72f1269cb1b23d8da3ab3ad5d497f.jpg","text":"TemporaryFile(/tmp/multipartBody3066441237004720290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228723862,"filename":"image_30012025_10_17_35_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/30/0bea13907ac7e2d3ab67375c29acabbe.jpg","text":"TemporaryFile(/tmp/multipartBody1690380941308720435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228723862,"filename":"image_30012025_10_16_54_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332945438","file1":"1332945435","file0":"1332945422","file3":"1332945446"},"map_files_photo_id_array":[{"photo_id":"1332945438","filename":"file2"},{"photo_id":"1332945435","filename":"file1"},{"photo_id":"1332945422","filename":"file0"},{"photo_id":"1332945446","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332945435":["hashtag1","hashtag2"]},{"1332945438":["hashtag1","hashtag2"]},{"1332945446":["hashtag1","hashtag2"]},{"1332945422":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332945435, 1332945438, 1332945446, 1332945422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.64762306213379 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:18:33.145284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/17/image_30012025_10_17_55_10446.jpg', '/home/pi/Desktop/images/30012025/10/17/image_30012025_10_18_04_9467.jpg', '/home/pi/Desktop/images/30012025/10/18/image_30012025_10_18_15_10336.jpg', '/home/pi/Desktop/images/30012025/10/18/image_30012025_10_18_25_10370.jpg', '/home/pi/Desktop/images/30012025/10/18/image_30012025_10_18_34_9375.jpg', '/home/pi/Desktop/images/30012025/10/18/image_30012025_10_18_45_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/17/image_30012025_10_17_55_10446.jpg
/home/pi/Desktop/images/30012025/10/17/image_30012025_10_18_04_9467.jpg
/home/pi/Desktop/images/30012025/10/18/image_30012025_10_18_15_10336.jpg
/home/pi/Desktop/images/30012025/10/18/image_30012025_10_18_25_10370.jpg
/home/pi/Desktop/images/30012025/10/18/image_30012025_10_18_34_9375.jpg
/home/pi/Desktop/images/30012025/10/18/image_30012025_10_18_45_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332945636","1332945623","1332945652","1332945649","1332945616","1332945619"],"photo_ids_order":["1332945616","1332945619","1332945623","1332945636","1332945649","1332945652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/458ae41b7f73046cc23c4c5baab9db62.jpg","text":"TemporaryFile(/tmp/multipartBody77650484385373051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228774055,"filename":"image_30012025_10_18_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/30/624aa79bfa2555e2d0d05f37284142cb.jpg","text":"TemporaryFile(/tmp/multipartBody2949663338835142060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228774055,"filename":"image_30012025_10_18_15_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/98812f262172226768f997a85b07ead8.jpg","text":"TemporaryFile(/tmp/multipartBody2467696588582753835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228774055,"filename":"image_30012025_10_18_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/30/8d430e85f81d5f470e473eae789b47e2.jpg","text":"TemporaryFile(/tmp/multipartBody6445180580358926724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228774055,"filename":"image_30012025_10_18_34_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/30/e4e609737b4c9b6d3249967ac3486b04.jpg","text":"TemporaryFile(/tmp/multipartBody7300750624704869302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228774055,"filename":"image_30012025_10_17_55_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d70a210f009c2d6d570be4a3d3778d6f.jpg","text":"TemporaryFile(/tmp/multipartBody7594304478651903622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228774055,"filename":"image_30012025_10_18_04_9467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332945623","file1":"1332945619","file0":"1332945616","file4":"1332945649","file5":"1332945652","file3":"1332945636"},"map_files_photo_id_array":[{"photo_id":"1332945652","filename":"file5"},{"photo_id":"1332945623","filename":"file2"},{"photo_id":"1332945649","filename":"file4"},{"photo_id":"1332945619","filename":"file1"},{"photo_id":"1332945616","filename":"file0"},{"photo_id":"1332945636","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332945636":["hashtag1","hashtag2"]},{"1332945623":["hashtag1","hashtag2"]},{"1332945652":["hashtag1","hashtag2"]},{"1332945649":["hashtag1","hashtag2"]},{"1332945616":["hashtag1","hashtag2"]},{"1332945619":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332945636, 1332945623, 1332945652, 1332945649, 1332945616, 1332945619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.11887812614441 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:19:32.387238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/18/image_30012025_10_18_55_10418.jpg', '/home/pi/Desktop/images/30012025/10/18/image_30012025_10_19_04_9355.jpg', '/home/pi/Desktop/images/30012025/10/19/image_30012025_10_19_15_10439.jpg', '/home/pi/Desktop/images/30012025/10/19/image_30012025_10_19_24_9344.jpg', '/home/pi/Desktop/images/30012025/10/19/image_30012025_10_19_35_10349.jpg', '/home/pi/Desktop/images/30012025/10/19/image_30012025_10_19_45_10471.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/18/image_30012025_10_18_55_10418.jpg
/home/pi/Desktop/images/30012025/10/18/image_30012025_10_19_04_9355.jpg
/home/pi/Desktop/images/30012025/10/19/image_30012025_10_19_15_10439.jpg
/home/pi/Desktop/images/30012025/10/19/image_30012025_10_19_24_9344.jpg
/home/pi/Desktop/images/30012025/10/19/image_30012025_10_19_35_10349.jpg
/home/pi/Desktop/images/30012025/10/19/image_30012025_10_19_45_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":["1332945831","1332945819","1332945834","1332945839","1332945805","1332945795"],"photo_ids_order":["1332945795","1332945805","1332945819","1332945831","1332945834","1332945839"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b68b238e6ecf8838564ff4f7e216649b.jpg","text":"TemporaryFile(/tmp/multipartBody2453471505957439496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228833297,"filename":"image_30012025_10_19_24_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/30/80c44a0577f31e3b81079a666d0840a1.jpg","text":"TemporaryFile(/tmp/multipartBody8521196618513978235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228833297,"filename":"image_30012025_10_19_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/30/df421204512f04704869af6f18ac97bd.jpg","text":"TemporaryFile(/tmp/multipartBody6876428332218571242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228833297,"filename":"image_30012025_10_19_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/30/7fd39848b90b5a3236602e6cf9f5dd9a.jpg","text":"TemporaryFile(/tmp/multipartBody4285741390725154359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228833297,"filename":"image_30012025_10_19_45_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/30/31ae02086db71bf6b60c85878c5bbc75.jpg","text":"TemporaryFile(/tmp/multipartBody7354614338479093012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228833297,"filename":"image_30012025_10_19_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/30/ff9ded01cd315322e530c7e8784e9507.jpg","text":"TemporaryFile(/tmp/multipartBody282553795359964782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228833297,"filename":"image_30012025_10_18_55_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332945819","file1":"1332945805","file0":"1332945795","file4":"1332945834","file5":"1332945839","file3":"1332945831"},"map_files_photo_id_array":[{"photo_id":"1332945839","filename":"file5"},{"photo_id":"1332945819","filename":"file2"},{"photo_id":"1332945834","filename":"file4"},{"photo_id":"1332945805","filename":"file1"},{"photo_id":"1332945795","filename":"file0"},{"photo_id":"1332945831","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332945831":["hashtag1","hashtag2"]},{"1332945819":["hashtag1","hashtag2"]},{"1332945834":["hashtag1","hashtag2"]},{"1332945839":["hashtag1","hashtag2"]},{"1332945805":["hashtag1","hashtag2"]},{"1332945795":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332945831, 1332945819, 1332945834, 1332945839, 1332945805, 1332945795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.08221483230591 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:20:32.547508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/19/image_30012025_10_19_54_9349.jpg', '/home/pi/Desktop/images/30012025/10/19/image_30012025_10_20_05_10335.jpg', '/home/pi/Desktop/images/30012025/10/20/image_30012025_10_20_15_10351.jpg', '/home/pi/Desktop/images/30012025/10/20/image_30012025_10_20_24_9334.jpg', '/home/pi/Desktop/images/30012025/10/20/image_30012025_10_20_35_10480.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/19/image_30012025_10_19_54_9349.jpg
/home/pi/Desktop/images/30012025/10/19/image_30012025_10_20_05_10335.jpg
/home/pi/Desktop/images/30012025/10/20/image_30012025_10_20_15_10351.jpg
/home/pi/Desktop/images/30012025/10/20/image_30012025_10_20_24_9334.jpg
/home/pi/Desktop/images/30012025/10/20/image_30012025_10_20_35_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":["1332945882","1332945885","1332945905","1332945908","1332945894"],"photo_ids_order":["1332945882","1332945885","1332945894","1332945905","1332945908"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d10583dcf78a5cac82e00d732fa67ec4.jpg","text":"TemporaryFile(/tmp/multipartBody2942365843475345989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228893436,"filename":"image_30012025_10_19_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/30/00c88ad6ae81c8930d09586950dd287f.jpg","text":"TemporaryFile(/tmp/multipartBody5191039240980133007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228893436,"filename":"image_30012025_10_20_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/30/69251276327bf0705cbd3a0227822c71.jpg","text":"TemporaryFile(/tmp/multipartBody8094704132076103324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228893436,"filename":"image_30012025_10_20_24_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/63e10ee7b65903c5fdeb023da7b4b555.jpg","text":"TemporaryFile(/tmp/multipartBody5862076497035716012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228893436,"filename":"image_30012025_10_20_35_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/30/57b7a92cbd962cdebdba2cbcfba3483d.jpg","text":"TemporaryFile(/tmp/multipartBody6253868456241409150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228893436,"filename":"image_30012025_10_20_15_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332945894","file1":"1332945885","file0":"1332945882","file4":"1332945908","file3":"1332945905"},"map_files_photo_id_array":[{"photo_id":"1332945894","filename":"file2"},{"photo_id":"1332945908","filename":"file4"},{"photo_id":"1332945885","filename":"file1"},{"photo_id":"1332945882","filename":"file0"},{"photo_id":"1332945905","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332945882":["hashtag1","hashtag2"]},{"1332945885":["hashtag1","hashtag2"]},{"1332945905":["hashtag1","hashtag2"]},{"1332945908":["hashtag1","hashtag2"]},{"1332945894":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332945882, 1332945885, 1332945905, 1332945908, 1332945894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.96386742591858 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:21:32.771205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/20/image_30012025_10_20_55_10357.jpg', '/home/pi/Desktop/images/30012025/10/20/image_30012025_10_21_05_10355.jpg', '/home/pi/Desktop/images/30012025/10/21/image_30012025_10_21_14_9344.jpg', '/home/pi/Desktop/images/30012025/10/21/image_30012025_10_21_25_10353.jpg', '/home/pi/Desktop/images/30012025/10/21/image_30012025_10_21_35_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/20/image_30012025_10_20_55_10357.jpg
/home/pi/Desktop/images/30012025/10/20/image_30012025_10_21_05_10355.jpg
/home/pi/Desktop/images/30012025/10/21/image_30012025_10_21_14_9344.jpg
/home/pi/Desktop/images/30012025/10/21/image_30012025_10_21_25_10353.jpg
/home/pi/Desktop/images/30012025/10/21/image_30012025_10_21_35_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332946122","1332946136","1332946141","1332946126","1332946149"],"photo_ids_order":["1332946122","1332946126","1332946136","1332946141","1332946149"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d09308a51d7ee98e8fd977294c72873d.jpg","text":"TemporaryFile(/tmp/multipartBody7488302254868673412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228953663,"filename":"image_30012025_10_20_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/30/19f4b32c3cbb60403df81d852a172412.jpg","text":"TemporaryFile(/tmp/multipartBody7805531906884923721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228953663,"filename":"image_30012025_10_21_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/30/a12fdc051efd76832f62976e020f1b68.jpg","text":"TemporaryFile(/tmp/multipartBody3358482765525748823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228953663,"filename":"image_30012025_10_21_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/30/22a1d04ee169628e9cb4ec51d18bfd0c.jpg","text":"TemporaryFile(/tmp/multipartBody5935663111428122010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228953663,"filename":"image_30012025_10_21_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/30/7a1b13c688bda2da62fd6ba2454ceeca.jpg","text":"TemporaryFile(/tmp/multipartBody4007278947268865153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738228953663,"filename":"image_30012025_10_21_35_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332946136","file1":"1332946126","file0":"1332946122","file4":"1332946149","file3":"1332946141"},"map_files_photo_id_array":[{"photo_id":"1332946136","filename":"file2"},{"photo_id":"1332946149","filename":"file4"},{"photo_id":"1332946126","filename":"file1"},{"photo_id":"1332946122","filename":"file0"},{"photo_id":"1332946141","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332946122":["hashtag1","hashtag2"]},{"1332946136":["hashtag1","hashtag2"]},{"1332946141":["hashtag1","hashtag2"]},{"1332946126":["hashtag1","hashtag2"]},{"1332946149":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332946122, 1332946136, 1332946141, 1332946126, 1332946149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.88624095916748 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:22:32.967559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/21/image_30012025_10_21_55_10462.jpg', '/home/pi/Desktop/images/30012025/10/22/image_30012025_10_22_15_10339.jpg', '/home/pi/Desktop/images/30012025/10/22/image_30012025_10_22_25_10421.jpg', '/home/pi/Desktop/images/30012025/10/22/image_30012025_10_22_35_9350.jpg', '/home/pi/Desktop/images/30012025/10/22/image_30012025_10_22_45_10473.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/21/image_30012025_10_21_55_10462.jpg
/home/pi/Desktop/images/30012025/10/22/image_30012025_10_22_15_10339.jpg
/home/pi/Desktop/images/30012025/10/22/image_30012025_10_22_25_10421.jpg
/home/pi/Desktop/images/30012025/10/22/image_30012025_10_22_35_9350.jpg
/home/pi/Desktop/images/30012025/10/22/image_30012025_10_22_45_10473.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.49350857734680176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 10:22:43.014801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/21/image_30012025_10_21_55_10462.jpg', '/home/pi/Desktop/images/30012025/10/22/image_30012025_10_22_15_10339.jpg', '/home/pi/Desktop/images/30012025/10/22/image_30012025_10_22_25_10421.jpg', '/home/pi/Desktop/images/30012025/10/22/image_30012025_10_22_35_9350.jpg', '/home/pi/Desktop/images/30012025/10/22/image_30012025_10_22_45_10473.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/21/image_30012025_10_21_55_10462.jpg
/home/pi/Desktop/images/30012025/10/22/image_30012025_10_22_15_10339.jpg
/home/pi/Desktop/images/30012025/10/22/image_30012025_10_22_25_10421.jpg
/home/pi/Desktop/images/30012025/10/22/image_30012025_10_22_35_9350.jpg
/home/pi/Desktop/images/30012025/10/22/image_30012025_10_22_45_10473.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332946283","1332946315","1332946290","1332946293","1332946287"],"photo_ids_order":["1332946283","1332946287","1332946290","1332946293","1332946315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8078365386608da227e7a15d93463ebb.jpg","text":"TemporaryFile(/tmp/multipartBody2254789503425292174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229023900,"filename":"image_30012025_10_21_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/30/bc0813c7b9e7faf43cc64ef9848e7def.jpg","text":"TemporaryFile(/tmp/multipartBody9146471550132717860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229023900,"filename":"image_30012025_10_22_45_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/55a9680e1cbd023bf0db9bd07741b705.jpg","text":"TemporaryFile(/tmp/multipartBody6112549097437097209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229023900,"filename":"image_30012025_10_22_25_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/30/ab720b8e91dc51ad5aa53afa2a2328bd.jpg","text":"TemporaryFile(/tmp/multipartBody717644287977936453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229023900,"filename":"image_30012025_10_22_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/30/ca096c9ef4b3b6e6070492f80ba91fb1.jpg","text":"TemporaryFile(/tmp/multipartBody1742914271134374261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229023900,"filename":"image_30012025_10_22_15_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332946290","file1":"1332946287","file0":"1332946283","file4":"1332946315","file3":"1332946293"},"map_files_photo_id_array":[{"photo_id":"1332946290","filename":"file2"},{"photo_id":"1332946315","filename":"file4"},{"photo_id":"1332946287","filename":"file1"},{"photo_id":"1332946283","filename":"file0"},{"photo_id":"1332946293","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332946283":["hashtag1","hashtag2"]},{"1332946315":["hashtag1","hashtag2"]},{"1332946290":["hashtag1","hashtag2"]},{"1332946293":["hashtag1","hashtag2"]},{"1332946287":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332946283, 1332946315, 1332946290, 1332946293, 1332946287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.31371212005615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:23:32.377761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/22/image_30012025_10_22_54_9430.jpg', '/home/pi/Desktop/images/30012025/10/22/image_30012025_10_23_05_10334.jpg', '/home/pi/Desktop/images/30012025/10/23/image_30012025_10_23_15_10446.jpg', '/home/pi/Desktop/images/30012025/10/23/image_30012025_10_23_35_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/22/image_30012025_10_22_54_9430.jpg
/home/pi/Desktop/images/30012025/10/22/image_30012025_10_23_05_10334.jpg
/home/pi/Desktop/images/30012025/10/23/image_30012025_10_23_15_10446.jpg
/home/pi/Desktop/images/30012025/10/23/image_30012025_10_23_35_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":["1332946716","1332946403","1332946423","1332947049"],"photo_ids_order":["1332946403","1332946423","1332946716","1332947049"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/345b04b0a20d2fd0bc2a33e5e69c7ddb.jpg","text":"TemporaryFile(/tmp/multipartBody709027974549541244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229073263,"filename":"image_30012025_10_23_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/30/f9810a7a26a8f5ebbcef6a221bcdbaaf.jpg","text":"TemporaryFile(/tmp/multipartBody2998329604323749774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229073263,"filename":"image_30012025_10_22_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/30/1b244c4b4d49ba41ecec74cd89dbada2.jpg","text":"TemporaryFile(/tmp/multipartBody1534484501541871356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229073263,"filename":"image_30012025_10_23_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/30/33d77a89bcb4a742196adbd70d435b8f.jpg","text":"TemporaryFile(/tmp/multipartBody8220464900103569608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229073263,"filename":"image_30012025_10_23_35_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332946716","file1":"1332946423","file0":"1332946403","file3":"1332947049"},"map_files_photo_id_array":[{"photo_id":"1332946716","filename":"file2"},{"photo_id":"1332946423","filename":"file1"},{"photo_id":"1332946403","filename":"file0"},{"photo_id":"1332947049","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332946716":["hashtag1","hashtag2"]},{"1332946403":["hashtag1","hashtag2"]},{"1332946423":["hashtag1","hashtag2"]},{"1332947049":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332946716, 1332946403, 1332946423, 1332947049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.887852668762207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 10:24:03.173965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/46/image_28012025_20_46_35_9349.jpg', '/home/pi/Desktop/images/28012025/20/46/image_28012025_20_46_45_10389.jpg', '/home/pi/Desktop/images/28012025/20/46/image_28012025_20_46_55_10388.jpg', '/home/pi/Desktop/images/28012025/20/46/image_28012025_20_47_05_9438.jpg', '/home/pi/Desktop/images/28012025/20/47/image_28012025_20_47_15_10479.jpg', '/home/pi/Desktop/images/28012025/20/47/image_28012025_20_47_25_9430.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/46/image_28012025_20_46_35_9349.jpg
/home/pi/Desktop/images/28012025/20/46/image_28012025_20_46_45_10389.jpg
/home/pi/Desktop/images/28012025/20/46/image_28012025_20_46_55_10388.jpg
/home/pi/Desktop/images/28012025/20/46/image_28012025_20_47_05_9438.jpg
/home/pi/Desktop/images/28012025/20/47/image_28012025_20_47_15_10479.jpg
/home/pi/Desktop/images/28012025/20/47/image_28012025_20_47_25_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":["1332947648","1332947764","1332947758","1332947746","1332947694","1332947562"],"photo_ids_order":["1332947562","1332947648","1332947694","1332947746","1332947758","1332947764"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4a9a167b6d2f50190f06810f0ac13a4c.jpg","text":"TemporaryFile(/tmp/multipartBody1741685315881782224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229104817,"filename":"image_28012025_20_46_45_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/30/37bff833392e9da661afae57f831b8a6.jpg","text":"TemporaryFile(/tmp/multipartBody6417841372197617359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229104817,"filename":"image_28012025_20_47_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/30/b282e6a27e52255f2bd15209c70d7c4d.jpg","text":"TemporaryFile(/tmp/multipartBody3635348884412879895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229104817,"filename":"image_28012025_20_47_15_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/30/452d12aad1dbfc5ed4e3f8bb57c889ab.jpg","text":"TemporaryFile(/tmp/multipartBody3069282246702069357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229104817,"filename":"image_28012025_20_47_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/30/c1524cf9df4c641838b0f1b74453ffd8.jpg","text":"TemporaryFile(/tmp/multipartBody791619333832145418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229104817,"filename":"image_28012025_20_46_55_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/30/35a76c6bc08582a14de568b964423664.jpg","text":"TemporaryFile(/tmp/multipartBody1827527217447879717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229104817,"filename":"image_28012025_20_46_35_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332947694","file1":"1332947648","file0":"1332947562","file4":"1332947758","file5":"1332947764","file3":"1332947746"},"map_files_photo_id_array":[{"photo_id":"1332947764","filename":"file5"},{"photo_id":"1332947694","filename":"file2"},{"photo_id":"1332947758","filename":"file4"},{"photo_id":"1332947648","filename":"file1"},{"photo_id":"1332947562","filename":"file0"},{"photo_id":"1332947746","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332947648":["hashtag1","hashtag2"]},{"1332947764":["hashtag1","hashtag2"]},{"1332947758":["hashtag1","hashtag2"]},{"1332947746":["hashtag1","hashtag2"]},{"1332947694":["hashtag1","hashtag2"]},{"1332947562":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332947648, 1332947764, 1332947758, 1332947746, 1332947694, 1332947562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.67603588104248 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:24:52.517056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/23/image_30012025_10_23_55_10400.jpg', '/home/pi/Desktop/images/30012025/10/24/image_30012025_10_24_15_9333.jpg', '/home/pi/Desktop/images/30012025/10/24/image_30012025_10_24_25_10491.jpg', '/home/pi/Desktop/images/30012025/10/24/image_30012025_10_24_34_9336.jpg', '/home/pi/Desktop/images/30012025/10/24/image_30012025_10_24_45_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/23/image_30012025_10_23_55_10400.jpg
/home/pi/Desktop/images/30012025/10/24/image_30012025_10_24_15_9333.jpg
/home/pi/Desktop/images/30012025/10/24/image_30012025_10_24_25_10491.jpg
/home/pi/Desktop/images/30012025/10/24/image_30012025_10_24_34_9336.jpg
/home/pi/Desktop/images/30012025/10/24/image_30012025_10_24_45_10363.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.49782657623291016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 10:25:04.182443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/23/image_30012025_10_23_55_10400.jpg', '/home/pi/Desktop/images/30012025/10/24/image_30012025_10_24_15_9333.jpg', '/home/pi/Desktop/images/30012025/10/24/image_30012025_10_24_25_10491.jpg', '/home/pi/Desktop/images/30012025/10/24/image_30012025_10_24_34_9336.jpg', '/home/pi/Desktop/images/30012025/10/24/image_30012025_10_24_45_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/23/image_30012025_10_23_55_10400.jpg
/home/pi/Desktop/images/30012025/10/24/image_30012025_10_24_15_9333.jpg
/home/pi/Desktop/images/30012025/10/24/image_30012025_10_24_25_10491.jpg
/home/pi/Desktop/images/30012025/10/24/image_30012025_10_24_34_9336.jpg
/home/pi/Desktop/images/30012025/10/24/image_30012025_10_24_45_10363.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332947825","1332947869","1332947806","1332947799","1332947793"],"photo_ids_order":["1332947793","1332947799","1332947806","1332947825","1332947869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e960bddbeddafede6d01f25a9c86f2a0.jpg","text":"TemporaryFile(/tmp/multipartBody4114257112231648002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229165190,"filename":"image_30012025_10_24_34_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3b68cde8396e5db4ed347ce1f5c1273e.jpg","text":"TemporaryFile(/tmp/multipartBody9014941990937148905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229165190,"filename":"image_30012025_10_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/30/3c2d7cd42fdc5ccc356f426bab04c2c2.jpg","text":"TemporaryFile(/tmp/multipartBody420404250267738533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229165190,"filename":"image_30012025_10_24_25_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fe9dcc286c6d9a80f416a74cf0a55b7d.jpg","text":"TemporaryFile(/tmp/multipartBody1047432360638554260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229165190,"filename":"image_30012025_10_24_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/30/e3f3136958ac9b32e61a26fbddc11b25.jpg","text":"TemporaryFile(/tmp/multipartBody5908668180232609508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229165190,"filename":"image_30012025_10_23_55_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332947806","file1":"1332947799","file0":"1332947793","file4":"1332947869","file3":"1332947825"},"map_files_photo_id_array":[{"photo_id":"1332947806","filename":"file2"},{"photo_id":"1332947869","filename":"file4"},{"photo_id":"1332947799","filename":"file1"},{"photo_id":"1332947793","filename":"file0"},{"photo_id":"1332947825","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332947825":["hashtag1","hashtag2"]},{"1332947869":["hashtag1","hashtag2"]},{"1332947806":["hashtag1","hashtag2"]},{"1332947799":["hashtag1","hashtag2"]},{"1332947793":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332947825, 1332947869, 1332947806, 1332947799, 1332947793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.86603760719299 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 10:25:42.660687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/24/image_30012025_10_24_55_10404.jpg', '/home/pi/Desktop/images/30012025/10/24/image_30012025_10_25_05_9415.jpg', '/home/pi/Desktop/images/30012025/10/25/image_30012025_10_25_15_10377.jpg', '/home/pi/Desktop/images/30012025/10/25/image_30012025_10_25_24_9448.jpg', '/home/pi/Desktop/images/30012025/10/25/image_30012025_10_25_35_10356.jpg', '/home/pi/Desktop/images/30012025/10/25/image_30012025_10_25_45_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/24/image_30012025_10_24_55_10404.jpg
/home/pi/Desktop/images/30012025/10/24/image_30012025_10_25_05_9415.jpg
/home/pi/Desktop/images/30012025/10/25/image_30012025_10_25_15_10377.jpg
/home/pi/Desktop/images/30012025/10/25/image_30012025_10_25_24_9448.jpg
/home/pi/Desktop/images/30012025/10/25/image_30012025_10_25_35_10356.jpg
/home/pi/Desktop/images/30012025/10/25/image_30012025_10_25_45_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":["1332948274","1332948271","1332948268","1332948249","1332948252","1332948245"],"photo_ids_order":["1332948245","1332948249","1332948252","1332948268","1332948271","1332948274"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cad0f47b4d24f1d028b38446ebda5c7f.jpg","text":"TemporaryFile(/tmp/multipartBody6173707740833559339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229203564,"filename":"image_30012025_10_25_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/30/7725b4b93c3d9891eed7cdc7fc2fe022.jpg","text":"TemporaryFile(/tmp/multipartBody5577720495573844791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229203564,"filename":"image_30012025_10_25_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/30/833f5d85dcbc765b632e0d2806848237.jpg","text":"TemporaryFile(/tmp/multipartBody4516374108200679622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229203564,"filename":"image_30012025_10_25_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/30/622fb8181d8484ce19e0bcbca3ffa1a1.jpg","text":"TemporaryFile(/tmp/multipartBody5698440930581535758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229203564,"filename":"image_30012025_10_25_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/30/446a65cdc75c3955d89301cd8af1a539.jpg","text":"TemporaryFile(/tmp/multipartBody4319273388798383326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229203564,"filename":"image_30012025_10_25_15_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fa8505d59121c7f67ad2a8b44ad48d6f.jpg","text":"TemporaryFile(/tmp/multipartBody5952292679559537919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229203564,"filename":"image_30012025_10_24_55_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332948252","file1":"1332948249","file0":"1332948245","file4":"1332948271","file5":"1332948274","file3":"1332948268"},"map_files_photo_id_array":[{"photo_id":"1332948274","filename":"file5"},{"photo_id":"1332948252","filename":"file2"},{"photo_id":"1332948271","filename":"file4"},{"photo_id":"1332948249","filename":"file1"},{"photo_id":"1332948245","filename":"file0"},{"photo_id":"1332948268","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332948274":["hashtag1","hashtag2"]},{"1332948271":["hashtag1","hashtag2"]},{"1332948268":["hashtag1","hashtag2"]},{"1332948249":["hashtag1","hashtag2"]},{"1332948252":["hashtag1","hashtag2"]},{"1332948245":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332948274, 1332948271, 1332948268, 1332948249, 1332948252, 1332948245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.73151516914368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:26:32.898295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/25/image_30012025_10_25_55_9464.jpg', '/home/pi/Desktop/images/30012025/10/26/image_30012025_10_26_25_10365.jpg', '/home/pi/Desktop/images/30012025/10/26/image_30012025_10_26_45_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/25/image_30012025_10_25_55_9464.jpg
/home/pi/Desktop/images/30012025/10/26/image_30012025_10_26_25_10365.jpg
/home/pi/Desktop/images/30012025/10/26/image_30012025_10_26_45_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":["1332948421","1332948432","1332948435"],"photo_ids_order":["1332948421","1332948432","1332948435"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dd2a4d5999225f651ec19b1a00554be6.jpg","text":"TemporaryFile(/tmp/multipartBody258251778823478345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229253757,"filename":"image_30012025_10_25_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/30/8101a2b6578d435da2ddfc6e21ff0b41.jpg","text":"TemporaryFile(/tmp/multipartBody6674216207566456976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229253757,"filename":"image_30012025_10_26_25_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/30/ce5c99625d3159ae6eb94e3da808d7e3.jpg","text":"TemporaryFile(/tmp/multipartBody426452537675940067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229253757,"filename":"image_30012025_10_26_45_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332948435","file1":"1332948432","file0":"1332948421"},"map_files_photo_id_array":[{"photo_id":"1332948435","filename":"file2"},{"photo_id":"1332948432","filename":"file1"},{"photo_id":"1332948421","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332948421":["hashtag1","hashtag2"]},{"1332948432":["hashtag1","hashtag2"]},{"1332948435":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332948421, 1332948432, 1332948435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.68562078475952 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 10:27:04.461715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/47/image_28012025_20_47_35_10518.jpg', '/home/pi/Desktop/images/28012025/20/47/image_28012025_20_47_45_9350.jpg', '/home/pi/Desktop/images/28012025/20/47/image_28012025_20_47_55_10363.jpg', '/home/pi/Desktop/images/28012025/20/47/image_28012025_20_48_05_10459.jpg', '/home/pi/Desktop/images/28012025/20/48/image_28012025_20_48_15_9338.jpg', '/home/pi/Desktop/images/28012025/20/48/image_28012025_20_48_25_10500.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/47/image_28012025_20_47_35_10518.jpg
/home/pi/Desktop/images/28012025/20/47/image_28012025_20_47_45_9350.jpg
/home/pi/Desktop/images/28012025/20/47/image_28012025_20_47_55_10363.jpg
/home/pi/Desktop/images/28012025/20/47/image_28012025_20_48_05_10459.jpg
/home/pi/Desktop/images/28012025/20/48/image_28012025_20_48_15_9338.jpg
/home/pi/Desktop/images/28012025/20/48/image_28012025_20_48_25_10500.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5337574481964111 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:27:33.070839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/26/image_30012025_10_26_55_10514.jpg', '/home/pi/Desktop/images/30012025/10/26/image_30012025_10_27_04_9377.jpg', '/home/pi/Desktop/images/30012025/10/27/image_30012025_10_27_35_9341.jpg', '/home/pi/Desktop/images/30012025/10/27/image_30012025_10_27_45_10402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/26/image_30012025_10_26_55_10514.jpg
/home/pi/Desktop/images/30012025/10/26/image_30012025_10_27_04_9377.jpg
/home/pi/Desktop/images/30012025/10/27/image_30012025_10_27_35_9341.jpg
/home/pi/Desktop/images/30012025/10/27/image_30012025_10_27_45_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332948970","1332948983","1332948986","1332948860"],"photo_ids_order":["1332948860","1332948970","1332948983","1332948986"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fe77c3a09eb6799e07e7a9f1eae1dcd7.jpg","text":"TemporaryFile(/tmp/multipartBody9220635887502412936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229313941,"filename":"image_30012025_10_27_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/30/d1cde774e74b155c83480e182e828497.jpg","text":"TemporaryFile(/tmp/multipartBody5303093937734310664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229313941,"filename":"image_30012025_10_27_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/30/8158b21635544901e8b2217425e72677.jpg","text":"TemporaryFile(/tmp/multipartBody7654286928537867560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229313941,"filename":"image_30012025_10_27_45_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4b2fb62a21b6c3a3a47a33fc09af2db2.jpg","text":"TemporaryFile(/tmp/multipartBody2451777598260462232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229313941,"filename":"image_30012025_10_26_55_10514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332948983","file1":"1332948970","file0":"1332948860","file3":"1332948986"},"map_files_photo_id_array":[{"photo_id":"1332948983","filename":"file2"},{"photo_id":"1332948970","filename":"file1"},{"photo_id":"1332948860","filename":"file0"},{"photo_id":"1332948986","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332948970":["hashtag1","hashtag2"]},{"1332948983":["hashtag1","hashtag2"]},{"1332948986":["hashtag1","hashtag2"]},{"1332948860":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332948970, 1332948983, 1332948986, 1332948860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 33.57557487487793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:28:32.316659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/27/image_30012025_10_27_54_9356.jpg', '/home/pi/Desktop/images/30012025/10/27/image_30012025_10_28_05_10343.jpg', '/home/pi/Desktop/images/30012025/10/28/image_30012025_10_28_15_10396.jpg', '/home/pi/Desktop/images/30012025/10/28/image_30012025_10_28_24_9351.jpg', '/home/pi/Desktop/images/30012025/10/28/image_30012025_10_28_35_10356.jpg', '/home/pi/Desktop/images/30012025/10/28/image_30012025_10_28_45_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/27/image_30012025_10_27_54_9356.jpg
/home/pi/Desktop/images/30012025/10/27/image_30012025_10_28_05_10343.jpg
/home/pi/Desktop/images/30012025/10/28/image_30012025_10_28_15_10396.jpg
/home/pi/Desktop/images/30012025/10/28/image_30012025_10_28_24_9351.jpg
/home/pi/Desktop/images/30012025/10/28/image_30012025_10_28_35_10356.jpg
/home/pi/Desktop/images/30012025/10/28/image_30012025_10_28_45_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332949057","1332949051","1332949030","1332949053","1332949047","1332949043"],"photo_ids_order":["1332949030","1332949043","1332949047","1332949051","1332949053","1332949057"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e7291f3835deb18a17bf55ff3373dba9.jpg","text":"TemporaryFile(/tmp/multipartBody8312785948771304710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229373289,"filename":"image_30012025_10_28_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/30/81ccf61576087d8aa68927b895c900b2.jpg","text":"TemporaryFile(/tmp/multipartBody2143662838805099272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229373289,"filename":"image_30012025_10_28_24_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b39a09be56af5c40e602c401b16cbed3.jpg","text":"TemporaryFile(/tmp/multipartBody4024442301531486373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229373289,"filename":"image_30012025_10_27_54_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/30/409f1bfd030d63b725a336cde65dacd5.jpg","text":"TemporaryFile(/tmp/multipartBody7479645591626152220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229373289,"filename":"image_30012025_10_28_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/30/8fa172282c8e7dacb57edb2e735bf77e.jpg","text":"TemporaryFile(/tmp/multipartBody7130924369662058162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229373289,"filename":"image_30012025_10_28_15_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/30/479a9d1a3922393e1e9ca44a7768fe1f.jpg","text":"TemporaryFile(/tmp/multipartBody5880000405937761146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229373289,"filename":"image_30012025_10_28_05_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332949047","file1":"1332949043","file0":"1332949030","file4":"1332949053","file5":"1332949057","file3":"1332949051"},"map_files_photo_id_array":[{"photo_id":"1332949057","filename":"file5"},{"photo_id":"1332949047","filename":"file2"},{"photo_id":"1332949053","filename":"file4"},{"photo_id":"1332949043","filename":"file1"},{"photo_id":"1332949030","filename":"file0"},{"photo_id":"1332949051","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332949057":["hashtag1","hashtag2"]},{"1332949051":["hashtag1","hashtag2"]},{"1332949030":["hashtag1","hashtag2"]},{"1332949053":["hashtag1","hashtag2"]},{"1332949047":["hashtag1","hashtag2"]},{"1332949043":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332949057, 1332949051, 1332949030, 1332949053, 1332949047, 1332949043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.70995879173279 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:29:32.500566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/28/image_30012025_10_28_54_9379.jpg', '/home/pi/Desktop/images/30012025/10/28/image_30012025_10_29_05_10484.jpg', '/home/pi/Desktop/images/30012025/10/29/image_30012025_10_29_14_9348.jpg', '/home/pi/Desktop/images/30012025/10/29/image_30012025_10_29_35_10402.jpg', '/home/pi/Desktop/images/30012025/10/29/image_30012025_10_29_45_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/28/image_30012025_10_28_54_9379.jpg
/home/pi/Desktop/images/30012025/10/28/image_30012025_10_29_05_10484.jpg
/home/pi/Desktop/images/30012025/10/29/image_30012025_10_29_14_9348.jpg
/home/pi/Desktop/images/30012025/10/29/image_30012025_10_29_35_10402.jpg
/home/pi/Desktop/images/30012025/10/29/image_30012025_10_29_45_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332949188","1332949116","1332949110","1332949104","1332949112"],"photo_ids_order":["1332949104","1332949110","1332949112","1332949116","1332949188"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6adfe5128b7fd1d96528b66d0c5524fa.jpg","text":"TemporaryFile(/tmp/multipartBody1269939709595528735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229433398,"filename":"image_30012025_10_29_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/30/f6c92a3fc2f60e78cbf56e51a4f38b4e.jpg","text":"TemporaryFile(/tmp/multipartBody2308884842567064429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229433398,"filename":"image_30012025_10_29_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/30/4cc38555f19902a74197242f814211a9.jpg","text":"TemporaryFile(/tmp/multipartBody8121775826621108760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229433398,"filename":"image_30012025_10_29_05_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/30/4de56fa25f2ce03dd57e82f07783dda8.jpg","text":"TemporaryFile(/tmp/multipartBody3439465272983576008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229433398,"filename":"image_30012025_10_28_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/30/52c6f67b6ba23d757982aba2cbab542b.jpg","text":"TemporaryFile(/tmp/multipartBody511925393917053404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229433398,"filename":"image_30012025_10_29_14_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332949112","file1":"1332949110","file0":"1332949104","file4":"1332949188","file3":"1332949116"},"map_files_photo_id_array":[{"photo_id":"1332949112","filename":"file2"},{"photo_id":"1332949188","filename":"file4"},{"photo_id":"1332949110","filename":"file1"},{"photo_id":"1332949104","filename":"file0"},{"photo_id":"1332949116","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332949188":["hashtag1","hashtag2"]},{"1332949116":["hashtag1","hashtag2"]},{"1332949110":["hashtag1","hashtag2"]},{"1332949104":["hashtag1","hashtag2"]},{"1332949112":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332949188, 1332949116, 1332949110, 1332949104, 1332949112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.17269682884216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:30:32.676516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/29/image_30012025_10_29_55_10450.jpg', '/home/pi/Desktop/images/30012025/10/29/image_30012025_10_30_04_9362.jpg', '/home/pi/Desktop/images/30012025/10/30/image_30012025_10_30_15_10346.jpg', '/home/pi/Desktop/images/30012025/10/30/image_30012025_10_30_25_10446.jpg', '/home/pi/Desktop/images/30012025/10/30/image_30012025_10_30_35_9419.jpg', '/home/pi/Desktop/images/30012025/10/30/image_30012025_10_30_45_10454.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/29/image_30012025_10_29_55_10450.jpg
/home/pi/Desktop/images/30012025/10/29/image_30012025_10_30_04_9362.jpg
/home/pi/Desktop/images/30012025/10/30/image_30012025_10_30_15_10346.jpg
/home/pi/Desktop/images/30012025/10/30/image_30012025_10_30_25_10446.jpg
/home/pi/Desktop/images/30012025/10/30/image_30012025_10_30_35_9419.jpg
/home/pi/Desktop/images/30012025/10/30/image_30012025_10_30_45_10454.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332949333","1332949261","1332949309","1332949331","1332949328","1332949285"],"photo_ids_order":["1332949261","1332949285","1332949309","1332949328","1332949331","1332949333"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/087e17ac54d6fc54e5303427f9748f56.jpg","text":"TemporaryFile(/tmp/multipartBody8327467039493486137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229493578,"filename":"image_30012025_10_30_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/30/cb01e3775c1d798be56c6042b096b1f6.jpg","text":"TemporaryFile(/tmp/multipartBody14280170054738974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229493578,"filename":"image_30012025_10_29_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/30/2f2e8fe51bf0e34fe0b89d848dddaaaf.jpg","text":"TemporaryFile(/tmp/multipartBody1502603821888186442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229493578,"filename":"image_30012025_10_30_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/30/eeedc0ab65c6c89ad20c32c341ac1cba.jpg","text":"TemporaryFile(/tmp/multipartBody5423906069994498250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229493578,"filename":"image_30012025_10_30_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/30/a044055a6e805db49bfb950e6d3620a5.jpg","text":"TemporaryFile(/tmp/multipartBody6649649571422903088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229493578,"filename":"image_30012025_10_30_25_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/eee2765507be9a81edafcbfec7747459.jpg","text":"TemporaryFile(/tmp/multipartBody4030725008332184899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229493578,"filename":"image_30012025_10_30_04_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332949309","file1":"1332949285","file0":"1332949261","file4":"1332949331","file5":"1332949333","file3":"1332949328"},"map_files_photo_id_array":[{"photo_id":"1332949333","filename":"file5"},{"photo_id":"1332949309","filename":"file2"},{"photo_id":"1332949331","filename":"file4"},{"photo_id":"1332949285","filename":"file1"},{"photo_id":"1332949261","filename":"file0"},{"photo_id":"1332949328","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332949333":["hashtag1","hashtag2"]},{"1332949261":["hashtag1","hashtag2"]},{"1332949309":["hashtag1","hashtag2"]},{"1332949331":["hashtag1","hashtag2"]},{"1332949328":["hashtag1","hashtag2"]},{"1332949285":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332949333, 1332949261, 1332949309, 1332949331, 1332949328, 1332949285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.567965269088745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:31:32.899350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/30/image_30012025_10_30_54_9411.jpg', '/home/pi/Desktop/images/30012025/10/30/image_30012025_10_31_05_10353.jpg', '/home/pi/Desktop/images/30012025/10/31/image_30012025_10_31_15_10357.jpg', '/home/pi/Desktop/images/30012025/10/31/image_30012025_10_31_24_9352.jpg', '/home/pi/Desktop/images/30012025/10/31/image_30012025_10_31_35_10461.jpg', '/home/pi/Desktop/images/30012025/10/31/image_30012025_10_31_44_9373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/30/image_30012025_10_30_54_9411.jpg
/home/pi/Desktop/images/30012025/10/30/image_30012025_10_31_05_10353.jpg
/home/pi/Desktop/images/30012025/10/31/image_30012025_10_31_15_10357.jpg
/home/pi/Desktop/images/30012025/10/31/image_30012025_10_31_24_9352.jpg
/home/pi/Desktop/images/30012025/10/31/image_30012025_10_31_35_10461.jpg
/home/pi/Desktop/images/30012025/10/31/image_30012025_10_31_44_9373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332949402","1332949405","1332949408","1332949425","1332949410","1332949412"],"photo_ids_order":["1332949402","1332949405","1332949408","1332949410","1332949412","1332949425"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bcea1ad6ed4601f5fcdc143bbd12d121.jpg","text":"TemporaryFile(/tmp/multipartBody1689856796026491548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229553806,"filename":"image_30012025_10_30_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/30/8fd893223e72acd5e2afddfffd7c050b.jpg","text":"TemporaryFile(/tmp/multipartBody3326581095895288433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229553806,"filename":"image_30012025_10_31_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/30/ff4723d46d47d1e6b47f015414045068.jpg","text":"TemporaryFile(/tmp/multipartBody5741456247300872857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229553806,"filename":"image_30012025_10_31_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/30/22c65605935add4a933d3770a27b3342.jpg","text":"TemporaryFile(/tmp/multipartBody4776863427934390482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229553806,"filename":"image_30012025_10_31_44_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/30/4c04b4fc69a586cbcb792b2f0483d3b6.jpg","text":"TemporaryFile(/tmp/multipartBody6968300485754004410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229553806,"filename":"image_30012025_10_31_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/30/3bcf5b5287472a9578de087cebfa3847.jpg","text":"TemporaryFile(/tmp/multipartBody6900079502572948646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229553806,"filename":"image_30012025_10_31_35_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332949408","file1":"1332949405","file0":"1332949402","file4":"1332949412","file5":"1332949425","file3":"1332949410"},"map_files_photo_id_array":[{"photo_id":"1332949425","filename":"file5"},{"photo_id":"1332949408","filename":"file2"},{"photo_id":"1332949412","filename":"file4"},{"photo_id":"1332949405","filename":"file1"},{"photo_id":"1332949402","filename":"file0"},{"photo_id":"1332949410","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332949402":["hashtag1","hashtag2"]},{"1332949405":["hashtag1","hashtag2"]},{"1332949408":["hashtag1","hashtag2"]},{"1332949425":["hashtag1","hashtag2"]},{"1332949410":["hashtag1","hashtag2"]},{"1332949412":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332949402, 1332949405, 1332949408, 1332949425, 1332949410, 1332949412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.10482048988342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:32:32.223788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/31/image_30012025_10_31_55_10354.jpg', '/home/pi/Desktop/images/30012025/10/31/image_30012025_10_32_05_10462.jpg', '/home/pi/Desktop/images/30012025/10/32/image_30012025_10_32_14_9320.jpg', '/home/pi/Desktop/images/30012025/10/32/image_30012025_10_32_25_10525.jpg', '/home/pi/Desktop/images/30012025/10/32/image_30012025_10_32_34_9441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/31/image_30012025_10_31_55_10354.jpg
/home/pi/Desktop/images/30012025/10/31/image_30012025_10_32_05_10462.jpg
/home/pi/Desktop/images/30012025/10/32/image_30012025_10_32_14_9320.jpg
/home/pi/Desktop/images/30012025/10/32/image_30012025_10_32_25_10525.jpg
/home/pi/Desktop/images/30012025/10/32/image_30012025_10_32_34_9441.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4972395896911621 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 10:32:42.148308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/31/image_30012025_10_31_55_10354.jpg', '/home/pi/Desktop/images/30012025/10/31/image_30012025_10_32_05_10462.jpg', '/home/pi/Desktop/images/30012025/10/32/image_30012025_10_32_14_9320.jpg', '/home/pi/Desktop/images/30012025/10/32/image_30012025_10_32_25_10525.jpg', '/home/pi/Desktop/images/30012025/10/32/image_30012025_10_32_34_9441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/31/image_30012025_10_31_55_10354.jpg
/home/pi/Desktop/images/30012025/10/31/image_30012025_10_32_05_10462.jpg
/home/pi/Desktop/images/30012025/10/32/image_30012025_10_32_14_9320.jpg
/home/pi/Desktop/images/30012025/10/32/image_30012025_10_32_25_10525.jpg
/home/pi/Desktop/images/30012025/10/32/image_30012025_10_32_34_9441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332949978","1332950079","1332949970","1332949901","1332949987"],"photo_ids_order":["1332949901","1332949970","1332949978","1332949987","1332950079"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cd277b3a18b5bdd9822e9b8f1c325461.jpg","text":"TemporaryFile(/tmp/multipartBody4271283791940504510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229623032,"filename":"image_30012025_10_32_14_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e3239865a488ab47d345ec57dfd4d4d8.jpg","text":"TemporaryFile(/tmp/multipartBody8259951634686094860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229623032,"filename":"image_30012025_10_32_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/30/09a6e8eac4b9202d9d75babeef5e0505.jpg","text":"TemporaryFile(/tmp/multipartBody5108798578224109605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229623032,"filename":"image_30012025_10_32_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/30/85015c1168e6d93a18996690945eebdb.jpg","text":"TemporaryFile(/tmp/multipartBody6158854688151927999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229623032,"filename":"image_30012025_10_31_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/30/1cc063c3ee3d1b1e58bc9b0dbf265759.jpg","text":"TemporaryFile(/tmp/multipartBody3775144025342752637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229623032,"filename":"image_30012025_10_32_25_10525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332949978","file1":"1332949970","file0":"1332949901","file4":"1332950079","file3":"1332949987"},"map_files_photo_id_array":[{"photo_id":"1332949978","filename":"file2"},{"photo_id":"1332950079","filename":"file4"},{"photo_id":"1332949970","filename":"file1"},{"photo_id":"1332949901","filename":"file0"},{"photo_id":"1332949987","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332949978":["hashtag1","hashtag2"]},{"1332950079":["hashtag1","hashtag2"]},{"1332949970":["hashtag1","hashtag2"]},{"1332949901":["hashtag1","hashtag2"]},{"1332949987":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332949978, 1332950079, 1332949970, 1332949901, 1332949987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.270148038864136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:33:32.537017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/32/image_30012025_10_32_45_10356.jpg', '/home/pi/Desktop/images/30012025/10/33/image_30012025_10_33_15_10412.jpg', '/home/pi/Desktop/images/30012025/10/33/image_30012025_10_33_24_9351.jpg', '/home/pi/Desktop/images/30012025/10/33/image_30012025_10_33_35_10369.jpg', '/home/pi/Desktop/images/30012025/10/33/image_30012025_10_33_45_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/32/image_30012025_10_32_45_10356.jpg
/home/pi/Desktop/images/30012025/10/33/image_30012025_10_33_15_10412.jpg
/home/pi/Desktop/images/30012025/10/33/image_30012025_10_33_24_9351.jpg
/home/pi/Desktop/images/30012025/10/33/image_30012025_10_33_35_10369.jpg
/home/pi/Desktop/images/30012025/10/33/image_30012025_10_33_45_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332950135","1332950131","1332950127","1332950118","1332950123"],"photo_ids_order":["1332950118","1332950123","1332950127","1332950131","1332950135"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/25d47981e1d550f9a213646edc576c34.jpg","text":"TemporaryFile(/tmp/multipartBody3612943843532218621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229673424,"filename":"image_30012025_10_33_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/30/d54a3a49c9ff623656cfb44b06dea777.jpg","text":"TemporaryFile(/tmp/multipartBody5329941248856786837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229673424,"filename":"image_30012025_10_33_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/30/443e06b93307afac0f8d77b826f81866.jpg","text":"TemporaryFile(/tmp/multipartBody4040969473042055021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229673424,"filename":"image_30012025_10_33_24_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/94011d03f5e3f1e6dbe9403b2099b170.jpg","text":"TemporaryFile(/tmp/multipartBody1141304469960740076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229673424,"filename":"image_30012025_10_32_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/30/1e37111ced378d557fc1837a6a55f4da.jpg","text":"TemporaryFile(/tmp/multipartBody6201330031071455053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229673424,"filename":"image_30012025_10_33_15_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332950127","file1":"1332950123","file0":"1332950118","file4":"1332950135","file3":"1332950131"},"map_files_photo_id_array":[{"photo_id":"1332950127","filename":"file2"},{"photo_id":"1332950135","filename":"file4"},{"photo_id":"1332950123","filename":"file1"},{"photo_id":"1332950118","filename":"file0"},{"photo_id":"1332950131","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332950135":["hashtag1","hashtag2"]},{"1332950131":["hashtag1","hashtag2"]},{"1332950127":["hashtag1","hashtag2"]},{"1332950118":["hashtag1","hashtag2"]},{"1332950123":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332950135, 1332950131, 1332950127, 1332950118, 1332950123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.1937415599823 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:34:32.500134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/33/image_30012025_10_33_54_9357.jpg', '/home/pi/Desktop/images/30012025/10/33/image_30012025_10_34_05_10483.jpg', '/home/pi/Desktop/images/30012025/10/34/image_30012025_10_34_14_9349.jpg', '/home/pi/Desktop/images/30012025/10/34/image_30012025_10_34_25_10366.jpg', '/home/pi/Desktop/images/30012025/10/34/image_30012025_10_34_35_10369.jpg', '/home/pi/Desktop/images/30012025/10/34/image_30012025_10_34_44_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/33/image_30012025_10_33_54_9357.jpg
/home/pi/Desktop/images/30012025/10/33/image_30012025_10_34_05_10483.jpg
/home/pi/Desktop/images/30012025/10/34/image_30012025_10_34_14_9349.jpg
/home/pi/Desktop/images/30012025/10/34/image_30012025_10_34_25_10366.jpg
/home/pi/Desktop/images/30012025/10/34/image_30012025_10_34_35_10369.jpg
/home/pi/Desktop/images/30012025/10/34/image_30012025_10_34_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":["1332950219","1332950234","1332950248","1332950206","1332950186","1332950255"],"photo_ids_order":["1332950186","1332950206","1332950219","1332950234","1332950248","1332950255"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/40071d3921432aaa14d75a594ca84d9c.jpg","text":"TemporaryFile(/tmp/multipartBody8557937491678846782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229733471,"filename":"image_30012025_10_34_14_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d17548f13dc734bb0c8cea3feb755e37.jpg","text":"TemporaryFile(/tmp/multipartBody1468261114204645887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229733471,"filename":"image_30012025_10_34_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/30/f1b79744f50e89a43276f6d6849e4d0e.jpg","text":"TemporaryFile(/tmp/multipartBody7920930425322788239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229733471,"filename":"image_30012025_10_34_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/30/971af4aaf64a2f7a6eea3dd4d4c8312f.jpg","text":"TemporaryFile(/tmp/multipartBody4353679159142868000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229733471,"filename":"image_30012025_10_34_05_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/30/3538fa7fd14c96baf146b472e90c305a.jpg","text":"TemporaryFile(/tmp/multipartBody7905793355760432923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229733471,"filename":"image_30012025_10_33_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/30/f619cc40080839be59ba9d4d64ec1c8e.jpg","text":"TemporaryFile(/tmp/multipartBody8832759015954410196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229733471,"filename":"image_30012025_10_34_44_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332950219","file1":"1332950206","file0":"1332950186","file4":"1332950248","file5":"1332950255","file3":"1332950234"},"map_files_photo_id_array":[{"photo_id":"1332950255","filename":"file5"},{"photo_id":"1332950219","filename":"file2"},{"photo_id":"1332950248","filename":"file4"},{"photo_id":"1332950206","filename":"file1"},{"photo_id":"1332950186","filename":"file0"},{"photo_id":"1332950234","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332950219":["hashtag1","hashtag2"]},{"1332950234":["hashtag1","hashtag2"]},{"1332950248":["hashtag1","hashtag2"]},{"1332950206":["hashtag1","hashtag2"]},{"1332950186":["hashtag1","hashtag2"]},{"1332950255":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332950219, 1332950234, 1332950248, 1332950206, 1332950186, 1332950255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.75271010398865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:35:32.761356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/34/image_30012025_10_34_55_10370.jpg', '/home/pi/Desktop/images/30012025/10/34/image_30012025_10_35_05_10446.jpg', '/home/pi/Desktop/images/30012025/10/35/image_30012025_10_35_15_9341.jpg', '/home/pi/Desktop/images/30012025/10/35/image_30012025_10_35_25_10470.jpg', '/home/pi/Desktop/images/30012025/10/35/image_30012025_10_35_45_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/34/image_30012025_10_34_55_10370.jpg
/home/pi/Desktop/images/30012025/10/34/image_30012025_10_35_05_10446.jpg
/home/pi/Desktop/images/30012025/10/35/image_30012025_10_35_15_9341.jpg
/home/pi/Desktop/images/30012025/10/35/image_30012025_10_35_25_10470.jpg
/home/pi/Desktop/images/30012025/10/35/image_30012025_10_35_45_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":["1332950362","1332950295","1332950358","1332950291","1332950366"],"photo_ids_order":["1332950291","1332950295","1332950358","1332950362","1332950366"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/56578a296dd0a0eec5de6c74bf9f4244.jpg","text":"TemporaryFile(/tmp/multipartBody167712288649804107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229793650,"filename":"image_30012025_10_35_25_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5f73a43160766a6e508ae47f2bbaddee.jpg","text":"TemporaryFile(/tmp/multipartBody3286540684677254792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229793650,"filename":"image_30012025_10_35_05_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4145ac9d9dedf953d4db86f8fe4cf97b.jpg","text":"TemporaryFile(/tmp/multipartBody3723932520791860500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229793650,"filename":"image_30012025_10_35_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/30/3b0ae5441958c5dc810cc51d5224c2f7.jpg","text":"TemporaryFile(/tmp/multipartBody1607329070648063221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229793650,"filename":"image_30012025_10_34_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/30/9ecdf4d5bfef193a15abc69f5a7be4ff.jpg","text":"TemporaryFile(/tmp/multipartBody8876373696259722452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229793650,"filename":"image_30012025_10_35_45_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332950358","file1":"1332950295","file0":"1332950291","file4":"1332950366","file3":"1332950362"},"map_files_photo_id_array":[{"photo_id":"1332950358","filename":"file2"},{"photo_id":"1332950366","filename":"file4"},{"photo_id":"1332950295","filename":"file1"},{"photo_id":"1332950291","filename":"file0"},{"photo_id":"1332950362","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332950362":["hashtag1","hashtag2"]},{"1332950295":["hashtag1","hashtag2"]},{"1332950358":["hashtag1","hashtag2"]},{"1332950291":["hashtag1","hashtag2"]},{"1332950366":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332950362, 1332950295, 1332950358, 1332950291, 1332950366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.0216863155365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:36:32.958579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/35/image_30012025_10_35_55_10463.jpg', '/home/pi/Desktop/images/30012025/10/35/image_30012025_10_36_05_9356.jpg', '/home/pi/Desktop/images/30012025/10/36/image_30012025_10_36_15_10415.jpg', '/home/pi/Desktop/images/30012025/10/36/image_30012025_10_36_24_9350.jpg', '/home/pi/Desktop/images/30012025/10/36/image_30012025_10_36_35_10365.jpg', '/home/pi/Desktop/images/30012025/10/36/image_30012025_10_36_45_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/35/image_30012025_10_35_55_10463.jpg
/home/pi/Desktop/images/30012025/10/35/image_30012025_10_36_05_9356.jpg
/home/pi/Desktop/images/30012025/10/36/image_30012025_10_36_15_10415.jpg
/home/pi/Desktop/images/30012025/10/36/image_30012025_10_36_24_9350.jpg
/home/pi/Desktop/images/30012025/10/36/image_30012025_10_36_35_10365.jpg
/home/pi/Desktop/images/30012025/10/36/image_30012025_10_36_45_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":["1332950444","1332950431","1332950436","1332950448","1332950421","1332950441"],"photo_ids_order":["1332950421","1332950431","1332950436","1332950441","1332950444","1332950448"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/078d0f48790e6c70a97d5bb79a3a6c7d.jpg","text":"TemporaryFile(/tmp/multipartBody5987686745806071214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229853858,"filename":"image_30012025_10_36_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/30/aa822573a4fd8375260ab7f83f937be6.jpg","text":"TemporaryFile(/tmp/multipartBody3893014821486685114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229853858,"filename":"image_30012025_10_36_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/30/75ddbc96b9bc6c7488e680ecaf584a17.jpg","text":"TemporaryFile(/tmp/multipartBody5590003710969535521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229853858,"filename":"image_30012025_10_36_15_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7fef8602c561f9cadbea1e1233f7120c.jpg","text":"TemporaryFile(/tmp/multipartBody7366269802932735264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229853858,"filename":"image_30012025_10_36_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/30/3759807022cb714cd2e22a795fae32f0.jpg","text":"TemporaryFile(/tmp/multipartBody4600596081225872218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229853858,"filename":"image_30012025_10_35_55_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/30/62cc6d2831514a7b3405fcf0a7fd8c54.jpg","text":"TemporaryFile(/tmp/multipartBody2321241631651766250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229853858,"filename":"image_30012025_10_36_24_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332950436","file1":"1332950431","file0":"1332950421","file4":"1332950444","file5":"1332950448","file3":"1332950441"},"map_files_photo_id_array":[{"photo_id":"1332950448","filename":"file5"},{"photo_id":"1332950436","filename":"file2"},{"photo_id":"1332950444","filename":"file4"},{"photo_id":"1332950431","filename":"file1"},{"photo_id":"1332950421","filename":"file0"},{"photo_id":"1332950441","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332950444":["hashtag1","hashtag2"]},{"1332950431":["hashtag1","hashtag2"]},{"1332950436":["hashtag1","hashtag2"]},{"1332950448":["hashtag1","hashtag2"]},{"1332950421":["hashtag1","hashtag2"]},{"1332950441":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332950444, 1332950431, 1332950436, 1332950448, 1332950421, 1332950441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.36846971511841 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:37:32.134081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/36/image_30012025_10_36_55_9470.jpg', '/home/pi/Desktop/images/30012025/10/36/image_30012025_10_37_05_10470.jpg', '/home/pi/Desktop/images/30012025/10/37/image_30012025_10_37_35_10475.jpg', '/home/pi/Desktop/images/30012025/10/37/image_30012025_10_37_45_9388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/36/image_30012025_10_36_55_9470.jpg
/home/pi/Desktop/images/30012025/10/36/image_30012025_10_37_05_10470.jpg
/home/pi/Desktop/images/30012025/10/37/image_30012025_10_37_35_10475.jpg
/home/pi/Desktop/images/30012025/10/37/image_30012025_10_37_45_9388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332950476","1332950473","1332950466","1332950480"],"photo_ids_order":["1332950466","1332950473","1332950476","1332950480"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ff485b638d08091d084dc2d1135505e1.jpg","text":"TemporaryFile(/tmp/multipartBody6189422992140043334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229913014,"filename":"image_30012025_10_37_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/30/6b8d32ffc97047ea0ce847c32b91d2a7.jpg","text":"TemporaryFile(/tmp/multipartBody4469103042178010876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229913014,"filename":"image_30012025_10_37_05_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c6a9c26c9c707089b2aa11bd666ed614.jpg","text":"TemporaryFile(/tmp/multipartBody5943011772861726602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229913014,"filename":"image_30012025_10_36_55_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/30/6449eb58ef13c0e019a4aab9f75038ad.jpg","text":"TemporaryFile(/tmp/multipartBody5668762053042011532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229913014,"filename":"image_30012025_10_37_45_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332950476","file1":"1332950473","file0":"1332950466","file3":"1332950480"},"map_files_photo_id_array":[{"photo_id":"1332950476","filename":"file2"},{"photo_id":"1332950473","filename":"file1"},{"photo_id":"1332950466","filename":"file0"},{"photo_id":"1332950480","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332950476":["hashtag1","hashtag2"]},{"1332950473":["hashtag1","hashtag2"]},{"1332950466":["hashtag1","hashtag2"]},{"1332950480":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332950476, 1332950473, 1332950466, 1332950480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.59989309310913 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:38:32.343026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/37/image_30012025_10_37_55_10490.jpg', '/home/pi/Desktop/images/30012025/10/37/image_30012025_10_38_04_9344.jpg', '/home/pi/Desktop/images/30012025/10/38/image_30012025_10_38_15_10353.jpg', '/home/pi/Desktop/images/30012025/10/38/image_30012025_10_38_25_10367.jpg', '/home/pi/Desktop/images/30012025/10/38/image_30012025_10_38_34_9365.jpg', '/home/pi/Desktop/images/30012025/10/38/image_30012025_10_38_45_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/37/image_30012025_10_37_55_10490.jpg
/home/pi/Desktop/images/30012025/10/37/image_30012025_10_38_04_9344.jpg
/home/pi/Desktop/images/30012025/10/38/image_30012025_10_38_15_10353.jpg
/home/pi/Desktop/images/30012025/10/38/image_30012025_10_38_25_10367.jpg
/home/pi/Desktop/images/30012025/10/38/image_30012025_10_38_34_9365.jpg
/home/pi/Desktop/images/30012025/10/38/image_30012025_10_38_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":["1332950537","1332950557","1332950568","1332950565","1332950544","1332950552"],"photo_ids_order":["1332950537","1332950544","1332950552","1332950557","1332950565","1332950568"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/da0be20cdef7e35916b6b44f853a4627.jpg","text":"TemporaryFile(/tmp/multipartBody7585300190707730971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229973244,"filename":"image_30012025_10_37_55_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/30/ef5d4cfb38e2ceaa9939c3be6f430830.jpg","text":"TemporaryFile(/tmp/multipartBody2088491052951231816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229973244,"filename":"image_30012025_10_38_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/30/ed5eab19d2900490106c5dc6eee7314e.jpg","text":"TemporaryFile(/tmp/multipartBody566076975186564164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229973244,"filename":"image_30012025_10_38_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/30/dd3e888c3be511ce3210440e22460c03.jpg","text":"TemporaryFile(/tmp/multipartBody8566194432523545979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229973244,"filename":"image_30012025_10_38_34_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/be9a9d6cb59023d5db061e8668eb3389.jpg","text":"TemporaryFile(/tmp/multipartBody2290054853084353628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229973244,"filename":"image_30012025_10_38_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/30/fcebf08cf051d61a111258cd89db9bad.jpg","text":"TemporaryFile(/tmp/multipartBody5222129186745469453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738229973244,"filename":"image_30012025_10_38_15_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332950552","file1":"1332950544","file0":"1332950537","file4":"1332950565","file5":"1332950568","file3":"1332950557"},"map_files_photo_id_array":[{"photo_id":"1332950568","filename":"file5"},{"photo_id":"1332950552","filename":"file2"},{"photo_id":"1332950565","filename":"file4"},{"photo_id":"1332950544","filename":"file1"},{"photo_id":"1332950537","filename":"file0"},{"photo_id":"1332950557","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332950537":["hashtag1","hashtag2"]},{"1332950557":["hashtag1","hashtag2"]},{"1332950568":["hashtag1","hashtag2"]},{"1332950565":["hashtag1","hashtag2"]},{"1332950544":["hashtag1","hashtag2"]},{"1332950552":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332950537, 1332950557, 1332950568, 1332950565, 1332950544, 1332950552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.91852569580078 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:39:32.638268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/38/image_30012025_10_38_55_10352.jpg', '/home/pi/Desktop/images/30012025/10/39/image_30012025_10_39_15_10458.jpg', '/home/pi/Desktop/images/30012025/10/39/image_30012025_10_39_24_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/38/image_30012025_10_38_55_10352.jpg
/home/pi/Desktop/images/30012025/10/39/image_30012025_10_39_15_10458.jpg
/home/pi/Desktop/images/30012025/10/39/image_30012025_10_39_24_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":["1332950590","1332950595","1332950582"],"photo_ids_order":["1332950582","1332950590","1332950595"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bb01f70e9ab28bf12b7bfa4037774f7e.jpg","text":"TemporaryFile(/tmp/multipartBody4807265423354326904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230033495,"filename":"image_30012025_10_39_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/30/e76a81b178124d31fa47db267f9da09e.jpg","text":"TemporaryFile(/tmp/multipartBody3692055997171833310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230033495,"filename":"image_30012025_10_39_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/30/72750f7d682a751079da20fa490b6e98.jpg","text":"TemporaryFile(/tmp/multipartBody8469452483335779247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230033495,"filename":"image_30012025_10_38_55_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332950595","file1":"1332950590","file0":"1332950582"},"map_files_photo_id_array":[{"photo_id":"1332950595","filename":"file2"},{"photo_id":"1332950590","filename":"file1"},{"photo_id":"1332950582","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332950590":["hashtag1","hashtag2"]},{"1332950595":["hashtag1","hashtag2"]},{"1332950582":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332950590, 1332950595, 1332950582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.045860767364502 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 10:40:03.515652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/47/image_28012025_20_47_35_10518.jpg', '/home/pi/Desktop/images/28012025/20/47/image_28012025_20_47_45_9350.jpg', '/home/pi/Desktop/images/28012025/20/47/image_28012025_20_47_55_10363.jpg', '/home/pi/Desktop/images/28012025/20/47/image_28012025_20_48_05_10459.jpg', '/home/pi/Desktop/images/28012025/20/48/image_28012025_20_48_15_9338.jpg', '/home/pi/Desktop/images/28012025/20/48/image_28012025_20_48_25_10500.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/47/image_28012025_20_47_35_10518.jpg
/home/pi/Desktop/images/28012025/20/47/image_28012025_20_47_45_9350.jpg
/home/pi/Desktop/images/28012025/20/47/image_28012025_20_47_55_10363.jpg
/home/pi/Desktop/images/28012025/20/47/image_28012025_20_48_05_10459.jpg
/home/pi/Desktop/images/28012025/20/48/image_28012025_20_48_15_9338.jpg
/home/pi/Desktop/images/28012025/20/48/image_28012025_20_48_25_10500.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332951058","1332950912","1332950662","1332951118","1332950790","1332951239"],"photo_ids_order":["1332950662","1332950790","1332950912","1332951058","1332951118","1332951239"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/515d473f954397ea7844200aeeed339d.jpg","text":"TemporaryFile(/tmp/multipartBody7469093642259832727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230065220,"filename":"image_28012025_20_48_05_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3cac3b698063eb491b5433b9b53dff0e.jpg","text":"TemporaryFile(/tmp/multipartBody4466007615185838792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230065220,"filename":"image_28012025_20_47_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/30/b6edf0819a1fe337113c1d988f867dc7.jpg","text":"TemporaryFile(/tmp/multipartBody929755965361866794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230065220,"filename":"image_28012025_20_47_35_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/30/9b551adba0b33a7caf558021d705880c.jpg","text":"TemporaryFile(/tmp/multipartBody7294485347156025284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230065220,"filename":"image_28012025_20_48_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/30/783750050cc6a046f6a424624888b026.jpg","text":"TemporaryFile(/tmp/multipartBody4166021725977855775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230065220,"filename":"image_28012025_20_47_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/30/d731ceb58ccb27fc226015a4c14ba022.jpg","text":"TemporaryFile(/tmp/multipartBody7714116303225189913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230065220,"filename":"image_28012025_20_48_25_10500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332950912","file1":"1332950790","file0":"1332950662","file4":"1332951118","file5":"1332951239","file3":"1332951058"},"map_files_photo_id_array":[{"photo_id":"1332951239","filename":"file5"},{"photo_id":"1332950912","filename":"file2"},{"photo_id":"1332951118","filename":"file4"},{"photo_id":"1332950790","filename":"file1"},{"photo_id":"1332950662","filename":"file0"},{"photo_id":"1332951058","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332951058":["hashtag1","hashtag2"]},{"1332950912":["hashtag1","hashtag2"]},{"1332950662":["hashtag1","hashtag2"]},{"1332951118":["hashtag1","hashtag2"]},{"1332950790":["hashtag1","hashtag2"]},{"1332951239":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332951058, 1332950912, 1332950662, 1332951118, 1332950790, 1332951239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.52374863624573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:40:52.679198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/39/image_30012025_10_39_55_9351.jpg', '/home/pi/Desktop/images/30012025/10/39/image_30012025_10_40_05_10402.jpg', '/home/pi/Desktop/images/30012025/10/40/image_30012025_10_40_14_9428.jpg', '/home/pi/Desktop/images/30012025/10/40/image_30012025_10_40_25_10342.jpg', '/home/pi/Desktop/images/30012025/10/40/image_30012025_10_40_35_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/39/image_30012025_10_39_55_9351.jpg
/home/pi/Desktop/images/30012025/10/39/image_30012025_10_40_05_10402.jpg
/home/pi/Desktop/images/30012025/10/40/image_30012025_10_40_14_9428.jpg
/home/pi/Desktop/images/30012025/10/40/image_30012025_10_40_25_10342.jpg
/home/pi/Desktop/images/30012025/10/40/image_30012025_10_40_35_10358.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332951700","1332951657","1332951717","1332951596","1332951487"],"photo_ids_order":["1332951487","1332951596","1332951657","1332951700","1332951717"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/36d016e38a3412b8004306f40d479fe4.jpg","text":"TemporaryFile(/tmp/multipartBody7985727620029074647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230113578,"filename":"image_30012025_10_40_25_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5b17a58401ff7cb4ac911ab6abeb3a9a.jpg","text":"TemporaryFile(/tmp/multipartBody227144969808583198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230113578,"filename":"image_30012025_10_40_14_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/30/4377692f3683fe4c1da0d47546c0e801.jpg","text":"TemporaryFile(/tmp/multipartBody7501262406989127668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230113578,"filename":"image_30012025_10_40_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/30/bd2ea2142e69cc7867a560032d39a18b.jpg","text":"TemporaryFile(/tmp/multipartBody2430687528894091051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230113578,"filename":"image_30012025_10_40_05_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/591b799335e995c999e46779cf5ea24f.jpg","text":"TemporaryFile(/tmp/multipartBody7608567645150210677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230113578,"filename":"image_30012025_10_39_55_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332951657","file1":"1332951596","file0":"1332951487","file4":"1332951717","file3":"1332951700"},"map_files_photo_id_array":[{"photo_id":"1332951657","filename":"file2"},{"photo_id":"1332951717","filename":"file4"},{"photo_id":"1332951596","filename":"file1"},{"photo_id":"1332951487","filename":"file0"},{"photo_id":"1332951700","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332951700":["hashtag1","hashtag2"]},{"1332951657":["hashtag1","hashtag2"]},{"1332951717":["hashtag1","hashtag2"]},{"1332951596":["hashtag1","hashtag2"]},{"1332951487":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332951700, 1332951657, 1332951717, 1332951596, 1332951487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.119683027267456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:41:32.931302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/40/image_30012025_10_40_55_10350.jpg', '/home/pi/Desktop/images/30012025/10/40/image_30012025_10_41_05_10444.jpg', '/home/pi/Desktop/images/30012025/10/41/image_30012025_10_41_15_9348.jpg', '/home/pi/Desktop/images/30012025/10/41/image_30012025_10_41_25_10427.jpg', '/home/pi/Desktop/images/30012025/10/41/image_30012025_10_41_34_9437.jpg', '/home/pi/Desktop/images/30012025/10/41/image_30012025_10_41_45_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/40/image_30012025_10_40_55_10350.jpg
/home/pi/Desktop/images/30012025/10/40/image_30012025_10_41_05_10444.jpg
/home/pi/Desktop/images/30012025/10/41/image_30012025_10_41_15_9348.jpg
/home/pi/Desktop/images/30012025/10/41/image_30012025_10_41_25_10427.jpg
/home/pi/Desktop/images/30012025/10/41/image_30012025_10_41_34_9437.jpg
/home/pi/Desktop/images/30012025/10/41/image_30012025_10_41_45_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":["1332951901","1332951774","1332951756","1332951896","1332951813","1332951898"],"photo_ids_order":["1332951756","1332951774","1332951813","1332951896","1332951898","1332951901"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a5d013d258028e90d9824a692f95972d.jpg","text":"TemporaryFile(/tmp/multipartBody4201765502547329451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230153833,"filename":"image_30012025_10_41_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/30/7c9e9357f4673ef587eb74cb06d8fc61.jpg","text":"TemporaryFile(/tmp/multipartBody6240419201793322810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230153833,"filename":"image_30012025_10_41_05_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/30/ffe32934db5c489f4c4fac12ff211206.jpg","text":"TemporaryFile(/tmp/multipartBody1662337007201004892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230153833,"filename":"image_30012025_10_40_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/30/497a65d04d48de85cc1496a0c48ef5b4.jpg","text":"TemporaryFile(/tmp/multipartBody8050450592977097776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230153833,"filename":"image_30012025_10_41_25_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f551faf0fcf5194983e8395851ed2fcb.jpg","text":"TemporaryFile(/tmp/multipartBody5472248480212188369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230153833,"filename":"image_30012025_10_41_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/30/1602e43a571c6e3d3f3ed78fcc8d7397.jpg","text":"TemporaryFile(/tmp/multipartBody6362740087226135242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230153833,"filename":"image_30012025_10_41_34_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332951813","file1":"1332951774","file0":"1332951756","file4":"1332951898","file5":"1332951901","file3":"1332951896"},"map_files_photo_id_array":[{"photo_id":"1332951901","filename":"file5"},{"photo_id":"1332951813","filename":"file2"},{"photo_id":"1332951898","filename":"file4"},{"photo_id":"1332951774","filename":"file1"},{"photo_id":"1332951756","filename":"file0"},{"photo_id":"1332951896","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332951901":["hashtag1","hashtag2"]},{"1332951774":["hashtag1","hashtag2"]},{"1332951756":["hashtag1","hashtag2"]},{"1332951896":["hashtag1","hashtag2"]},{"1332951813":["hashtag1","hashtag2"]},{"1332951898":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332951901, 1332951774, 1332951756, 1332951896, 1332951813, 1332951898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.17179465293884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:42:33.140140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/41/image_30012025_10_41_55_10351.jpg', '/home/pi/Desktop/images/30012025/10/41/image_30012025_10_42_04_9344.jpg', '/home/pi/Desktop/images/30012025/10/42/image_30012025_10_42_15_10464.jpg', '/home/pi/Desktop/images/30012025/10/42/image_30012025_10_42_24_9354.jpg', '/home/pi/Desktop/images/30012025/10/42/image_30012025_10_42_35_10334.jpg', '/home/pi/Desktop/images/30012025/10/42/image_30012025_10_42_45_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/41/image_30012025_10_41_55_10351.jpg
/home/pi/Desktop/images/30012025/10/41/image_30012025_10_42_04_9344.jpg
/home/pi/Desktop/images/30012025/10/42/image_30012025_10_42_15_10464.jpg
/home/pi/Desktop/images/30012025/10/42/image_30012025_10_42_24_9354.jpg
/home/pi/Desktop/images/30012025/10/42/image_30012025_10_42_35_10334.jpg
/home/pi/Desktop/images/30012025/10/42/image_30012025_10_42_45_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":["1332952377","1332952361","1332952439","1332952288","1332952453","1332952369"],"photo_ids_order":["1332952288","1332952361","1332952369","1332952377","1332952439","1332952453"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1d7e9d57aea9abc1e28a81dfbf87f548.jpg","text":"TemporaryFile(/tmp/multipartBody7236540414791905642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230214057,"filename":"image_30012025_10_42_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/30/dc560e36f56e330225af5d8a173b29c6.jpg","text":"TemporaryFile(/tmp/multipartBody4000939711086310517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230214057,"filename":"image_30012025_10_42_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/30/967fc525ef118f1b730cb2ae7fd51f8c.jpg","text":"TemporaryFile(/tmp/multipartBody5603951166639050697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230214057,"filename":"image_30012025_10_42_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/30/297b3bb085a2e04a3fae443c8447ef51.jpg","text":"TemporaryFile(/tmp/multipartBody2369013182051074732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230214057,"filename":"image_30012025_10_41_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/30/6519244cba4b201f560bd0ad9ac3d466.jpg","text":"TemporaryFile(/tmp/multipartBody5396852204091165802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230214057,"filename":"image_30012025_10_42_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/30/3162cc8fcee42cfe39c9a5e2d3d143d9.jpg","text":"TemporaryFile(/tmp/multipartBody5186534033649895508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230214057,"filename":"image_30012025_10_42_15_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332952369","file1":"1332952361","file0":"1332952288","file4":"1332952439","file5":"1332952453","file3":"1332952377"},"map_files_photo_id_array":[{"photo_id":"1332952453","filename":"file5"},{"photo_id":"1332952369","filename":"file2"},{"photo_id":"1332952439","filename":"file4"},{"photo_id":"1332952361","filename":"file1"},{"photo_id":"1332952288","filename":"file0"},{"photo_id":"1332952377","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332952377":["hashtag1","hashtag2"]},{"1332952361":["hashtag1","hashtag2"]},{"1332952439":["hashtag1","hashtag2"]},{"1332952288":["hashtag1","hashtag2"]},{"1332952453":["hashtag1","hashtag2"]},{"1332952369":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332952377, 1332952361, 1332952439, 1332952288, 1332952453, 1332952369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65890431404114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:43:32.275522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/42/image_30012025_10_42_54_9408.jpg', '/home/pi/Desktop/images/30012025/10/42/image_30012025_10_43_05_10365.jpg', '/home/pi/Desktop/images/30012025/10/43/image_30012025_10_43_15_10444.jpg', '/home/pi/Desktop/images/30012025/10/43/image_30012025_10_43_25_9356.jpg', '/home/pi/Desktop/images/30012025/10/43/image_30012025_10_43_35_10425.jpg', '/home/pi/Desktop/images/30012025/10/43/image_30012025_10_43_44_9373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/42/image_30012025_10_42_54_9408.jpg
/home/pi/Desktop/images/30012025/10/42/image_30012025_10_43_05_10365.jpg
/home/pi/Desktop/images/30012025/10/43/image_30012025_10_43_15_10444.jpg
/home/pi/Desktop/images/30012025/10/43/image_30012025_10_43_25_9356.jpg
/home/pi/Desktop/images/30012025/10/43/image_30012025_10_43_35_10425.jpg
/home/pi/Desktop/images/30012025/10/43/image_30012025_10_43_44_9373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332952682","1332952553","1332952658","1332952693","1332952666","1332952645"],"photo_ids_order":["1332952553","1332952645","1332952658","1332952666","1332952682","1332952693"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2b2041880dc7a8a092733cf6b91f5f44.jpg","text":"TemporaryFile(/tmp/multipartBody7654015859158766533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230273193,"filename":"image_30012025_10_43_35_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6d199dfa9347422dfd8275015bab6404.jpg","text":"TemporaryFile(/tmp/multipartBody3513548268728058284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230273193,"filename":"image_30012025_10_42_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/30/0fcb6eafd4dd83f85bd83f7fbcc7400c.jpg","text":"TemporaryFile(/tmp/multipartBody6999459565751330792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230273193,"filename":"image_30012025_10_43_15_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4aefb71f01f2e9dff3354239283fa7d7.jpg","text":"TemporaryFile(/tmp/multipartBody1370607589089521721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230273193,"filename":"image_30012025_10_43_44_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/30/99f9451e43c29559f587ed7e0aa041d0.jpg","text":"TemporaryFile(/tmp/multipartBody5746582595821474165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230273193,"filename":"image_30012025_10_43_25_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1841d1f950a0f8e40ca4dc61e0d76675.jpg","text":"TemporaryFile(/tmp/multipartBody8182562211231004834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230273193,"filename":"image_30012025_10_43_05_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332952658","file1":"1332952645","file0":"1332952553","file4":"1332952682","file5":"1332952693","file3":"1332952666"},"map_files_photo_id_array":[{"photo_id":"1332952693","filename":"file5"},{"photo_id":"1332952658","filename":"file2"},{"photo_id":"1332952682","filename":"file4"},{"photo_id":"1332952645","filename":"file1"},{"photo_id":"1332952553","filename":"file0"},{"photo_id":"1332952666","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332952682":["hashtag1","hashtag2"]},{"1332952553":["hashtag1","hashtag2"]},{"1332952658":["hashtag1","hashtag2"]},{"1332952693":["hashtag1","hashtag2"]},{"1332952666":["hashtag1","hashtag2"]},{"1332952645":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332952682, 1332952553, 1332952658, 1332952693, 1332952666, 1332952645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.47579598426819 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:44:32.431126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/43/image_30012025_10_43_55_10469.jpg', '/home/pi/Desktop/images/30012025/10/43/image_30012025_10_44_05_10440.jpg', '/home/pi/Desktop/images/30012025/10/44/image_30012025_10_44_15_9330.jpg', '/home/pi/Desktop/images/30012025/10/44/image_30012025_10_44_25_10411.jpg', '/home/pi/Desktop/images/30012025/10/44/image_30012025_10_44_34_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/43/image_30012025_10_43_55_10469.jpg
/home/pi/Desktop/images/30012025/10/43/image_30012025_10_44_05_10440.jpg
/home/pi/Desktop/images/30012025/10/44/image_30012025_10_44_15_9330.jpg
/home/pi/Desktop/images/30012025/10/44/image_30012025_10_44_25_10411.jpg
/home/pi/Desktop/images/30012025/10/44/image_30012025_10_44_34_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":["1332952740","1332952710","1332952812","1332952806","1332952726"],"photo_ids_order":["1332952710","1332952726","1332952740","1332952806","1332952812"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/57ccd1eb54c98444087f9e1ef0baf8a9.jpg","text":"TemporaryFile(/tmp/multipartBody5590092648085255508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230333350,"filename":"image_30012025_10_44_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/30/f19f18cfe48c70ef83378452f3b637c7.jpg","text":"TemporaryFile(/tmp/multipartBody5735944202337966832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230333350,"filename":"image_30012025_10_43_55_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3946c8dbde084afc4434ee0dcb6fe7b3.jpg","text":"TemporaryFile(/tmp/multipartBody4235153792031646217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230333350,"filename":"image_30012025_10_44_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/30/5daa9e46318cfa5cfada7cb9d1ea675b.jpg","text":"TemporaryFile(/tmp/multipartBody1257197639661483603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230333350,"filename":"image_30012025_10_44_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/30/202afc8fe1fe07bcbc035e7a51ecc9aa.jpg","text":"TemporaryFile(/tmp/multipartBody6770981746694729141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230333350,"filename":"image_30012025_10_44_05_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332952740","file1":"1332952726","file0":"1332952710","file4":"1332952812","file3":"1332952806"},"map_files_photo_id_array":[{"photo_id":"1332952740","filename":"file2"},{"photo_id":"1332952812","filename":"file4"},{"photo_id":"1332952726","filename":"file1"},{"photo_id":"1332952710","filename":"file0"},{"photo_id":"1332952806","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332952740":["hashtag1","hashtag2"]},{"1332952710":["hashtag1","hashtag2"]},{"1332952812":["hashtag1","hashtag2"]},{"1332952806":["hashtag1","hashtag2"]},{"1332952726":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332952740, 1332952710, 1332952812, 1332952806, 1332952726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.51290464401245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:45:32.546081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/44/image_30012025_10_44_45_10358.jpg', '/home/pi/Desktop/images/30012025/10/44/image_30012025_10_45_04_9351.jpg', '/home/pi/Desktop/images/30012025/10/45/image_30012025_10_45_15_10365.jpg', '/home/pi/Desktop/images/30012025/10/45/image_30012025_10_45_34_9343.jpg', '/home/pi/Desktop/images/30012025/10/45/image_30012025_10_45_45_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/44/image_30012025_10_44_45_10358.jpg
/home/pi/Desktop/images/30012025/10/44/image_30012025_10_45_04_9351.jpg
/home/pi/Desktop/images/30012025/10/45/image_30012025_10_45_15_10365.jpg
/home/pi/Desktop/images/30012025/10/45/image_30012025_10_45_34_9343.jpg
/home/pi/Desktop/images/30012025/10/45/image_30012025_10_45_45_10432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332952887","1332952880","1332952874","1332952868","1332952846"],"photo_ids_order":["1332952846","1332952868","1332952874","1332952880","1332952887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b3f1869df72505ad13460f7adf047818.jpg","text":"TemporaryFile(/tmp/multipartBody408968479759399071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230393432,"filename":"image_30012025_10_45_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/30/cde4afde6cb292d3dfe0832f9b8e43df.jpg","text":"TemporaryFile(/tmp/multipartBody1493387953259125214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230393432,"filename":"image_30012025_10_45_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/30/4c9231072d9be50ab392c8f157d068b3.jpg","text":"TemporaryFile(/tmp/multipartBody105353617456836604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230393432,"filename":"image_30012025_10_45_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/30/c0e6aca5aab24d154fe9136b2f96af7d.jpg","text":"TemporaryFile(/tmp/multipartBody1231349837268261762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230393432,"filename":"image_30012025_10_45_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/30/a0dee51322bac6b0e4951fc8f6552421.jpg","text":"TemporaryFile(/tmp/multipartBody8484293593393554986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230393432,"filename":"image_30012025_10_44_45_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332952874","file1":"1332952868","file0":"1332952846","file4":"1332952887","file3":"1332952880"},"map_files_photo_id_array":[{"photo_id":"1332952874","filename":"file2"},{"photo_id":"1332952887","filename":"file4"},{"photo_id":"1332952868","filename":"file1"},{"photo_id":"1332952846","filename":"file0"},{"photo_id":"1332952880","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332952887":["hashtag1","hashtag2"]},{"1332952880":["hashtag1","hashtag2"]},{"1332952874":["hashtag1","hashtag2"]},{"1332952868":["hashtag1","hashtag2"]},{"1332952846":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332952887, 1332952880, 1332952874, 1332952868, 1332952846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.978766441345215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:46:32.900899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/45/image_30012025_10_45_54_9366.jpg', '/home/pi/Desktop/images/30012025/10/46/image_30012025_10_46_15_10437.jpg', '/home/pi/Desktop/images/30012025/10/46/image_30012025_10_46_24_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/45/image_30012025_10_45_54_9366.jpg
/home/pi/Desktop/images/30012025/10/46/image_30012025_10_46_15_10437.jpg
/home/pi/Desktop/images/30012025/10/46/image_30012025_10_46_24_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.4736752510070801 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 10:46:43.018920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/45/image_30012025_10_45_54_9366.jpg', '/home/pi/Desktop/images/30012025/10/46/image_30012025_10_46_15_10437.jpg', '/home/pi/Desktop/images/30012025/10/46/image_30012025_10_46_24_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/45/image_30012025_10_45_54_9366.jpg
/home/pi/Desktop/images/30012025/10/46/image_30012025_10_46_15_10437.jpg
/home/pi/Desktop/images/30012025/10/46/image_30012025_10_46_24_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":["1332952927","1332952932","1332952935"],"photo_ids_order":["1332952927","1332952932","1332952935"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/099b7e7a82b423f9556b26bd703a35e4.jpg","text":"TemporaryFile(/tmp/multipartBody1834707161596682058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230463863,"filename":"image_30012025_10_45_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/30/d958f7b69146408ad342567db388332d.jpg","text":"TemporaryFile(/tmp/multipartBody4923188420060948769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230463863,"filename":"image_30012025_10_46_15_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c70794ee772bc8dc2aba99203316c437.jpg","text":"TemporaryFile(/tmp/multipartBody2981564596504193024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230463863,"filename":"image_30012025_10_46_24_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332952935","file1":"1332952932","file0":"1332952927"},"map_files_photo_id_array":[{"photo_id":"1332952935","filename":"file2"},{"photo_id":"1332952932","filename":"file1"},{"photo_id":"1332952927","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332952927":["hashtag1","hashtag2"]},{"1332952932":["hashtag1","hashtag2"]},{"1332952935":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332952927, 1332952932, 1332952935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.84131360054016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:47:33.069675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/46/image_30012025_10_46_45_10430.jpg', '/home/pi/Desktop/images/30012025/10/47/image_30012025_10_47_14_9375.jpg', '/home/pi/Desktop/images/30012025/10/47/image_30012025_10_47_25_10355.jpg', '/home/pi/Desktop/images/30012025/10/47/image_30012025_10_47_35_10421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/46/image_30012025_10_46_45_10430.jpg
/home/pi/Desktop/images/30012025/10/47/image_30012025_10_47_14_9375.jpg
/home/pi/Desktop/images/30012025/10/47/image_30012025_10_47_25_10355.jpg
/home/pi/Desktop/images/30012025/10/47/image_30012025_10_47_35_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332953034","1332953056","1332953050","1332953097"],"photo_ids_order":["1332953034","1332953050","1332953056","1332953097"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c552c7f4e4001f4a2a49aa96d7acc779.jpg","text":"TemporaryFile(/tmp/multipartBody7976683807837207464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230513952,"filename":"image_30012025_10_46_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/30/779680ae1a2f4f779f93936476d64611.jpg","text":"TemporaryFile(/tmp/multipartBody5714983754018827173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230513952,"filename":"image_30012025_10_47_25_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0b5e4608149516ec3b2dcf9cb6ab6579.jpg","text":"TemporaryFile(/tmp/multipartBody9077202014361660202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230513952,"filename":"image_30012025_10_47_14_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/79330f554230d9ed7fa708b7d378bed3.jpg","text":"TemporaryFile(/tmp/multipartBody4101284492428771814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230513952,"filename":"image_30012025_10_47_35_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332953056","file1":"1332953050","file0":"1332953034","file3":"1332953097"},"map_files_photo_id_array":[{"photo_id":"1332953056","filename":"file2"},{"photo_id":"1332953050","filename":"file1"},{"photo_id":"1332953034","filename":"file0"},{"photo_id":"1332953097","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332953034":["hashtag1","hashtag2"]},{"1332953056":["hashtag1","hashtag2"]},{"1332953050":["hashtag1","hashtag2"]},{"1332953097":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332953034, 1332953056, 1332953050, 1332953097)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 28.60917639732361 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:48:32.196427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/47/image_30012025_10_47_55_10428.jpg', '/home/pi/Desktop/images/30012025/10/47/image_30012025_10_48_04_9335.jpg', '/home/pi/Desktop/images/30012025/10/48/image_30012025_10_48_25_10426.jpg', '/home/pi/Desktop/images/30012025/10/48/image_30012025_10_48_34_9352.jpg', '/home/pi/Desktop/images/30012025/10/48/image_30012025_10_48_45_10455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/47/image_30012025_10_47_55_10428.jpg
/home/pi/Desktop/images/30012025/10/47/image_30012025_10_48_04_9335.jpg
/home/pi/Desktop/images/30012025/10/48/image_30012025_10_48_25_10426.jpg
/home/pi/Desktop/images/30012025/10/48/image_30012025_10_48_34_9352.jpg
/home/pi/Desktop/images/30012025/10/48/image_30012025_10_48_45_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":["1332953337","1332953325","1332953307","1332953322","1332953329"],"photo_ids_order":["1332953307","1332953322","1332953325","1332953329","1332953337"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9246fede6b6d5ad368d57121c431dcf3.jpg","text":"TemporaryFile(/tmp/multipartBody3516387255998028498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230573108,"filename":"image_30012025_10_48_45_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/30/4aed2fd1893ff14806bfd043ab43343f.jpg","text":"TemporaryFile(/tmp/multipartBody7656243538101369049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230573108,"filename":"image_30012025_10_48_25_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/30/f83028590adfb3cc81929966d9d30345.jpg","text":"TemporaryFile(/tmp/multipartBody8123669959368989274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230573108,"filename":"image_30012025_10_47_55_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d47d9ea96a14846cb01c2c42d7cc9f27.jpg","text":"TemporaryFile(/tmp/multipartBody2402667594241066480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230573108,"filename":"image_30012025_10_48_04_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/30/0d4cf069c1b3ee0d83aa0a497f999363.jpg","text":"TemporaryFile(/tmp/multipartBody778857043151352975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230573108,"filename":"image_30012025_10_48_34_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332953325","file1":"1332953322","file0":"1332953307","file4":"1332953337","file3":"1332953329"},"map_files_photo_id_array":[{"photo_id":"1332953325","filename":"file2"},{"photo_id":"1332953337","filename":"file4"},{"photo_id":"1332953322","filename":"file1"},{"photo_id":"1332953307","filename":"file0"},{"photo_id":"1332953329","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332953337":["hashtag1","hashtag2"]},{"1332953325":["hashtag1","hashtag2"]},{"1332953307":["hashtag1","hashtag2"]},{"1332953322":["hashtag1","hashtag2"]},{"1332953329":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332953337, 1332953325, 1332953307, 1332953322, 1332953329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.906739473342896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:49:32.405872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/48/image_30012025_10_48_54_9362.jpg', '/home/pi/Desktop/images/30012025/10/48/image_30012025_10_49_05_10370.jpg', '/home/pi/Desktop/images/30012025/10/49/image_30012025_10_49_15_10351.jpg', '/home/pi/Desktop/images/30012025/10/49/image_30012025_10_49_24_9370.jpg', '/home/pi/Desktop/images/30012025/10/49/image_30012025_10_49_35_10362.jpg', '/home/pi/Desktop/images/30012025/10/49/image_30012025_10_49_45_10439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/48/image_30012025_10_48_54_9362.jpg
/home/pi/Desktop/images/30012025/10/48/image_30012025_10_49_05_10370.jpg
/home/pi/Desktop/images/30012025/10/49/image_30012025_10_49_15_10351.jpg
/home/pi/Desktop/images/30012025/10/49/image_30012025_10_49_24_9370.jpg
/home/pi/Desktop/images/30012025/10/49/image_30012025_10_49_35_10362.jpg
/home/pi/Desktop/images/30012025/10/49/image_30012025_10_49_45_10439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332953361","1332953358","1332953396","1332953402","1332953365","1332953419"],"photo_ids_order":["1332953358","1332953361","1332953365","1332953396","1332953402","1332953419"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/53f3cfca62c83bfaea6c8c1edd745129.jpg","text":"TemporaryFile(/tmp/multipartBody5833522369326295701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230633324,"filename":"image_30012025_10_49_05_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d885c1fb26ba98960cbe6a4cba5e08af.jpg","text":"TemporaryFile(/tmp/multipartBody831690846129224373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230633324,"filename":"image_30012025_10_48_54_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/af8cf3f4da5a837db27646a179fd8dc1.jpg","text":"TemporaryFile(/tmp/multipartBody2679046756675257747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230633324,"filename":"image_30012025_10_49_24_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/30/f447fbe729990c404a03eb5adecbbcfc.jpg","text":"TemporaryFile(/tmp/multipartBody5640429807704779028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230633324,"filename":"image_30012025_10_49_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/30/98dfeaa6bc89c539948f6b1427eb070a.jpg","text":"TemporaryFile(/tmp/multipartBody5804263117359700049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230633324,"filename":"image_30012025_10_49_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/30/d2b5af1c64c2a0cb679eef8afa8b347f.jpg","text":"TemporaryFile(/tmp/multipartBody8199161023389934790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230633324,"filename":"image_30012025_10_49_45_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332953365","file1":"1332953361","file0":"1332953358","file4":"1332953402","file5":"1332953419","file3":"1332953396"},"map_files_photo_id_array":[{"photo_id":"1332953419","filename":"file5"},{"photo_id":"1332953365","filename":"file2"},{"photo_id":"1332953402","filename":"file4"},{"photo_id":"1332953361","filename":"file1"},{"photo_id":"1332953358","filename":"file0"},{"photo_id":"1332953396","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332953361":["hashtag1","hashtag2"]},{"1332953358":["hashtag1","hashtag2"]},{"1332953396":["hashtag1","hashtag2"]},{"1332953402":["hashtag1","hashtag2"]},{"1332953365":["hashtag1","hashtag2"]},{"1332953419":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332953361, 1332953358, 1332953396, 1332953402, 1332953365, 1332953419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.165010929107666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:50:32.680694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/49/image_30012025_10_49_55_9346.jpg', '/home/pi/Desktop/images/30012025/10/49/image_30012025_10_50_05_10460.jpg', '/home/pi/Desktop/images/30012025/10/50/image_30012025_10_50_14_9386.jpg', '/home/pi/Desktop/images/30012025/10/50/image_30012025_10_50_35_10359.jpg', '/home/pi/Desktop/images/30012025/10/50/image_30012025_10_50_44_9382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/49/image_30012025_10_49_55_9346.jpg
/home/pi/Desktop/images/30012025/10/49/image_30012025_10_50_05_10460.jpg
/home/pi/Desktop/images/30012025/10/50/image_30012025_10_50_14_9386.jpg
/home/pi/Desktop/images/30012025/10/50/image_30012025_10_50_35_10359.jpg
/home/pi/Desktop/images/30012025/10/50/image_30012025_10_50_44_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":["1332953517","1332953514","1332953504","1332953497","1332953509"],"photo_ids_order":["1332953497","1332953504","1332953509","1332953514","1332953517"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e02ff341c0fe83ef70682ea115d95b7f.jpg","text":"TemporaryFile(/tmp/multipartBody5906701552859713998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230693564,"filename":"image_30012025_10_50_44_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3226879597b8267bf3a9d73dd28428a9.jpg","text":"TemporaryFile(/tmp/multipartBody2706144149637131201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230693564,"filename":"image_30012025_10_50_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/30/e2d2ebaebce2fcba3b4133ff38c91d95.jpg","text":"TemporaryFile(/tmp/multipartBody1612473507875305891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230693564,"filename":"image_30012025_10_50_05_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/30/e40cc713dc21a0522e3293b3851e8cc6.jpg","text":"TemporaryFile(/tmp/multipartBody5894044251538499089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230693564,"filename":"image_30012025_10_49_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/30/a70f12ba54e2bbd272d9adb6f3e4b724.jpg","text":"TemporaryFile(/tmp/multipartBody4234570623862869619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230693564,"filename":"image_30012025_10_50_14_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332953509","file1":"1332953504","file0":"1332953497","file4":"1332953517","file3":"1332953514"},"map_files_photo_id_array":[{"photo_id":"1332953509","filename":"file2"},{"photo_id":"1332953517","filename":"file4"},{"photo_id":"1332953504","filename":"file1"},{"photo_id":"1332953497","filename":"file0"},{"photo_id":"1332953514","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332953517":["hashtag1","hashtag2"]},{"1332953514":["hashtag1","hashtag2"]},{"1332953504":["hashtag1","hashtag2"]},{"1332953497":["hashtag1","hashtag2"]},{"1332953509":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332953517, 1332953514, 1332953504, 1332953497, 1332953509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.87840175628662 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:51:32.999627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/50/image_30012025_10_50_55_10405.jpg', '/home/pi/Desktop/images/30012025/10/51/image_30012025_10_51_34_9352.jpg', '/home/pi/Desktop/images/30012025/10/51/image_30012025_10_51_45_10489.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/50/image_30012025_10_50_55_10405.jpg
/home/pi/Desktop/images/30012025/10/51/image_30012025_10_51_34_9352.jpg
/home/pi/Desktop/images/30012025/10/51/image_30012025_10_51_45_10489.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332953537","1332953539","1332953533"],"photo_ids_order":["1332953533","1332953537","1332953539"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/68bca67e8d1122fb26a33b57ba632be3.jpg","text":"TemporaryFile(/tmp/multipartBody1389394025579232078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230753850,"filename":"image_30012025_10_51_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/30/2d86ce6a2661a5cf4d62a28cedb9e830.jpg","text":"TemporaryFile(/tmp/multipartBody5168495218218974322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230753850,"filename":"image_30012025_10_51_45_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/30/1033a01796aa582dd282ccd3623c8705.jpg","text":"TemporaryFile(/tmp/multipartBody8139179803688403660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230753850,"filename":"image_30012025_10_50_55_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332953539","file1":"1332953537","file0":"1332953533"},"map_files_photo_id_array":[{"photo_id":"1332953539","filename":"file2"},{"photo_id":"1332953537","filename":"file1"},{"photo_id":"1332953533","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332953537":["hashtag1","hashtag2"]},{"1332953539":["hashtag1","hashtag2"]},{"1332953533":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332953537, 1332953539, 1332953533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.026127815246582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 10:52:03.059608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/48/image_28012025_20_48_35_9343.jpg', '/home/pi/Desktop/images/28012025/20/48/image_28012025_20_48_45_10375.jpg', '/home/pi/Desktop/images/28012025/20/48/image_28012025_20_48_55_10345.jpg', '/home/pi/Desktop/images/28012025/20/48/image_28012025_20_49_05_9331.jpg', '/home/pi/Desktop/images/28012025/20/49/image_28012025_20_49_15_10357.jpg', '/home/pi/Desktop/images/28012025/20/49/image_28012025_20_49_25_10348.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/48/image_28012025_20_48_35_9343.jpg
/home/pi/Desktop/images/28012025/20/48/image_28012025_20_48_45_10375.jpg
/home/pi/Desktop/images/28012025/20/48/image_28012025_20_48_55_10345.jpg
/home/pi/Desktop/images/28012025/20/48/image_28012025_20_49_05_9331.jpg
/home/pi/Desktop/images/28012025/20/49/image_28012025_20_49_15_10357.jpg
/home/pi/Desktop/images/28012025/20/49/image_28012025_20_49_25_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":["1332953577","1332953579","1332953555","1332953600","1332953584","1332953565"],"photo_ids_order":["1332953555","1332953565","1332953577","1332953579","1332953584","1332953600"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c130ce4a7154dc74ecddb82d4a0f1f6d.jpg","text":"TemporaryFile(/tmp/multipartBody3750648766256182277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230784797,"filename":"image_28012025_20_48_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/30/a2141c0b41babd38098c3c0386786b97.jpg","text":"TemporaryFile(/tmp/multipartBody2876087228449797219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230784797,"filename":"image_28012025_20_49_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/30/f46bcc1cf3755017cdaece89b1ff3b6b.jpg","text":"TemporaryFile(/tmp/multipartBody8078416548177071160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230784797,"filename":"image_28012025_20_48_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d3ded9df9b8b3ef783a449a616a1e688.jpg","text":"TemporaryFile(/tmp/multipartBody1479597910215726989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230784797,"filename":"image_28012025_20_49_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/30/8fe8e0a1f1d63c9093afb8b51d285aff.jpg","text":"TemporaryFile(/tmp/multipartBody4610829521636475581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230784797,"filename":"image_28012025_20_49_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/30/d381664519d450cda60d3ff2ff70431d.jpg","text":"TemporaryFile(/tmp/multipartBody3201631468721872984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230784797,"filename":"image_28012025_20_48_45_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332953577","file1":"1332953565","file0":"1332953555","file4":"1332953584","file5":"1332953600","file3":"1332953579"},"map_files_photo_id_array":[{"photo_id":"1332953600","filename":"file5"},{"photo_id":"1332953577","filename":"file2"},{"photo_id":"1332953584","filename":"file4"},{"photo_id":"1332953565","filename":"file1"},{"photo_id":"1332953555","filename":"file0"},{"photo_id":"1332953579","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332953577":["hashtag1","hashtag2"]},{"1332953579":["hashtag1","hashtag2"]},{"1332953555":["hashtag1","hashtag2"]},{"1332953600":["hashtag1","hashtag2"]},{"1332953584":["hashtag1","hashtag2"]},{"1332953565":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332953577, 1332953579, 1332953555, 1332953600, 1332953584, 1332953565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.86752104759216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:52:52.183169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/51/image_30012025_10_51_54_9373.jpg', '/home/pi/Desktop/images/30012025/10/51/image_30012025_10_52_05_10356.jpg', '/home/pi/Desktop/images/30012025/10/52/image_30012025_10_52_15_10453.jpg', '/home/pi/Desktop/images/30012025/10/52/image_30012025_10_52_24_9347.jpg', '/home/pi/Desktop/images/30012025/10/52/image_30012025_10_52_35_10343.jpg', '/home/pi/Desktop/images/30012025/10/52/image_30012025_10_52_45_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/51/image_30012025_10_51_54_9373.jpg
/home/pi/Desktop/images/30012025/10/51/image_30012025_10_52_05_10356.jpg
/home/pi/Desktop/images/30012025/10/52/image_30012025_10_52_15_10453.jpg
/home/pi/Desktop/images/30012025/10/52/image_30012025_10_52_24_9347.jpg
/home/pi/Desktop/images/30012025/10/52/image_30012025_10_52_35_10343.jpg
/home/pi/Desktop/images/30012025/10/52/image_30012025_10_52_45_10429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332953634","1332953628","1332953619","1332953630","1332953623","1332953626"],"photo_ids_order":["1332953619","1332953623","1332953626","1332953628","1332953630","1332953634"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/04b800cac7f440925999c431674f30d2.jpg","text":"TemporaryFile(/tmp/multipartBody2379712436517282593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230833085,"filename":"image_30012025_10_52_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/30/1830279e6ee20da991ae64817d9123b1.jpg","text":"TemporaryFile(/tmp/multipartBody8290661117430733706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230833085,"filename":"image_30012025_10_52_24_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/30/914033c277695c970749f163ca4964bf.jpg","text":"TemporaryFile(/tmp/multipartBody802025425470034713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230833085,"filename":"image_30012025_10_51_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/30/bf6170f42170bd02d7849e00244d3cab.jpg","text":"TemporaryFile(/tmp/multipartBody975837518163937059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230833085,"filename":"image_30012025_10_52_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/30/c172648d0529c5a6ee1040f8619350de.jpg","text":"TemporaryFile(/tmp/multipartBody830525960245092666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230833085,"filename":"image_30012025_10_52_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/30/b8e73c4161c050a25ab037ca1a5f5060.jpg","text":"TemporaryFile(/tmp/multipartBody1464741221684430895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230833085,"filename":"image_30012025_10_52_15_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332953626","file1":"1332953623","file0":"1332953619","file4":"1332953630","file5":"1332953634","file3":"1332953628"},"map_files_photo_id_array":[{"photo_id":"1332953634","filename":"file5"},{"photo_id":"1332953626","filename":"file2"},{"photo_id":"1332953630","filename":"file4"},{"photo_id":"1332953623","filename":"file1"},{"photo_id":"1332953619","filename":"file0"},{"photo_id":"1332953628","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332953634":["hashtag1","hashtag2"]},{"1332953628":["hashtag1","hashtag2"]},{"1332953619":["hashtag1","hashtag2"]},{"1332953630":["hashtag1","hashtag2"]},{"1332953623":["hashtag1","hashtag2"]},{"1332953626":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332953634, 1332953628, 1332953619, 1332953630, 1332953623, 1332953626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.98031163215637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 10:53:42.483572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/52/image_30012025_10_52_55_9337.jpg', '/home/pi/Desktop/images/30012025/10/52/image_30012025_10_53_05_10401.jpg', '/home/pi/Desktop/images/30012025/10/53/image_30012025_10_53_14_9347.jpg', '/home/pi/Desktop/images/30012025/10/53/image_30012025_10_53_25_10355.jpg', '/home/pi/Desktop/images/30012025/10/53/image_30012025_10_53_35_10443.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/52/image_30012025_10_52_55_9337.jpg
/home/pi/Desktop/images/30012025/10/52/image_30012025_10_53_05_10401.jpg
/home/pi/Desktop/images/30012025/10/53/image_30012025_10_53_14_9347.jpg
/home/pi/Desktop/images/30012025/10/53/image_30012025_10_53_25_10355.jpg
/home/pi/Desktop/images/30012025/10/53/image_30012025_10_53_35_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332953658","1332953651","1332953654","1332953662","1332953665"],"photo_ids_order":["1332953651","1332953654","1332953658","1332953662","1332953665"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/52cb4092fabb9298b848358f73c5cca3.jpg","text":"TemporaryFile(/tmp/multipartBody441837861977105466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230883379,"filename":"image_30012025_10_53_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/30/2699b2e098b9470523ffc8b2ab8e4cd4.jpg","text":"TemporaryFile(/tmp/multipartBody8712862557401255430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230883379,"filename":"image_30012025_10_52_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/30/5f72e9e06bcee5e99bad73e7633d3677.jpg","text":"TemporaryFile(/tmp/multipartBody3347326415983132541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230883379,"filename":"image_30012025_10_53_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/30/ec82c6f311b2f3b8065d473363344f9b.jpg","text":"TemporaryFile(/tmp/multipartBody4520613558195529994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230883379,"filename":"image_30012025_10_53_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/30/a8d3a8a66c5f898199a1fb4364e65c75.jpg","text":"TemporaryFile(/tmp/multipartBody7564272041806791013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230883379,"filename":"image_30012025_10_53_35_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332953658","file1":"1332953654","file0":"1332953651","file4":"1332953665","file3":"1332953662"},"map_files_photo_id_array":[{"photo_id":"1332953658","filename":"file2"},{"photo_id":"1332953665","filename":"file4"},{"photo_id":"1332953654","filename":"file1"},{"photo_id":"1332953651","filename":"file0"},{"photo_id":"1332953662","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332953658":["hashtag1","hashtag2"]},{"1332953651":["hashtag1","hashtag2"]},{"1332953654":["hashtag1","hashtag2"]},{"1332953662":["hashtag1","hashtag2"]},{"1332953665":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332953658, 1332953651, 1332953654, 1332953662, 1332953665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.297789573669434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:54:32.540223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/53/image_30012025_10_53_45_9420.jpg', '/home/pi/Desktop/images/30012025/10/53/image_30012025_10_54_04_9346.jpg', '/home/pi/Desktop/images/30012025/10/54/image_30012025_10_54_25_10369.jpg', '/home/pi/Desktop/images/30012025/10/54/image_30012025_10_54_34_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/53/image_30012025_10_53_45_9420.jpg
/home/pi/Desktop/images/30012025/10/53/image_30012025_10_54_04_9346.jpg
/home/pi/Desktop/images/30012025/10/54/image_30012025_10_54_25_10369.jpg
/home/pi/Desktop/images/30012025/10/54/image_30012025_10_54_34_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":["1332954575","1332954356","1332954446","1332954820"],"photo_ids_order":["1332954356","1332954446","1332954575","1332954820"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ec520549ee6d4aaa371393dfa7a91e03.jpg","text":"TemporaryFile(/tmp/multipartBody8987907773262825010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230933423,"filename":"image_30012025_10_54_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/30/b19b577eca3636c3ba9abfb66dc095bc.jpg","text":"TemporaryFile(/tmp/multipartBody3781616882672501489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230933423,"filename":"image_30012025_10_53_45_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2d8bb9c1cde14592d7d1be64d55efa7b.jpg","text":"TemporaryFile(/tmp/multipartBody3543010281631561170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230933423,"filename":"image_30012025_10_54_04_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/30/5a9e994370c1ff0775b98c48ed6d18b1.jpg","text":"TemporaryFile(/tmp/multipartBody9081606609675997608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230933423,"filename":"image_30012025_10_54_34_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332954575","file1":"1332954446","file0":"1332954356","file3":"1332954820"},"map_files_photo_id_array":[{"photo_id":"1332954575","filename":"file2"},{"photo_id":"1332954446","filename":"file1"},{"photo_id":"1332954356","filename":"file0"},{"photo_id":"1332954820","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332954575":["hashtag1","hashtag2"]},{"1332954356":["hashtag1","hashtag2"]},{"1332954446":["hashtag1","hashtag2"]},{"1332954820":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332954575, 1332954356, 1332954446, 1332954820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 32.471821308135986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:55:32.691208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/54/image_30012025_10_54_55_10409.jpg', '/home/pi/Desktop/images/30012025/10/54/image_30012025_10_55_05_9340.jpg', '/home/pi/Desktop/images/30012025/10/55/image_30012025_10_55_15_10411.jpg', '/home/pi/Desktop/images/30012025/10/55/image_30012025_10_55_24_9359.jpg', '/home/pi/Desktop/images/30012025/10/55/image_30012025_10_55_45_10428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/54/image_30012025_10_54_55_10409.jpg
/home/pi/Desktop/images/30012025/10/54/image_30012025_10_55_05_9340.jpg
/home/pi/Desktop/images/30012025/10/55/image_30012025_10_55_15_10411.jpg
/home/pi/Desktop/images/30012025/10/55/image_30012025_10_55_24_9359.jpg
/home/pi/Desktop/images/30012025/10/55/image_30012025_10_55_45_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":["1332955253","1332955205","1332955195","1332955261","1332955200"],"photo_ids_order":["1332955195","1332955200","1332955205","1332955253","1332955261"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/612402ea16f97204c7bc93c330dca66f.jpg","text":"TemporaryFile(/tmp/multipartBody7227472599883435238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230993577,"filename":"image_30012025_10_55_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/30/4a3af286ecba7395131e61a713eef71c.jpg","text":"TemporaryFile(/tmp/multipartBody1573798553758807880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230993577,"filename":"image_30012025_10_55_15_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/30/bd58c1ab58689c9df3a04511b0f90a2e.jpg","text":"TemporaryFile(/tmp/multipartBody130845004772159214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230993577,"filename":"image_30012025_10_54_55_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/038ee96b251a9f54fa64603e155af731.jpg","text":"TemporaryFile(/tmp/multipartBody470297664897460968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230993577,"filename":"image_30012025_10_55_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/30/a084e09cd755d1201141657d51d002bb.jpg","text":"TemporaryFile(/tmp/multipartBody6451444995017444623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738230993577,"filename":"image_30012025_10_55_05_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332955205","file1":"1332955200","file0":"1332955195","file4":"1332955261","file3":"1332955253"},"map_files_photo_id_array":[{"photo_id":"1332955205","filename":"file2"},{"photo_id":"1332955261","filename":"file4"},{"photo_id":"1332955200","filename":"file1"},{"photo_id":"1332955195","filename":"file0"},{"photo_id":"1332955253","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332955253":["hashtag1","hashtag2"]},{"1332955205":["hashtag1","hashtag2"]},{"1332955195":["hashtag1","hashtag2"]},{"1332955261":["hashtag1","hashtag2"]},{"1332955200":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332955253, 1332955205, 1332955195, 1332955261, 1332955200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.37960696220398 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:56:33.046320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/55/image_30012025_10_55_54_9343.jpg', '/home/pi/Desktop/images/30012025/10/55/image_30012025_10_56_05_10338.jpg', '/home/pi/Desktop/images/30012025/10/56/image_30012025_10_56_15_10340.jpg', '/home/pi/Desktop/images/30012025/10/56/image_30012025_10_56_24_9338.jpg', '/home/pi/Desktop/images/30012025/10/56/image_30012025_10_56_35_10341.jpg', '/home/pi/Desktop/images/30012025/10/56/image_30012025_10_56_45_10477.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/55/image_30012025_10_55_54_9343.jpg
/home/pi/Desktop/images/30012025/10/55/image_30012025_10_56_05_10338.jpg
/home/pi/Desktop/images/30012025/10/56/image_30012025_10_56_15_10340.jpg
/home/pi/Desktop/images/30012025/10/56/image_30012025_10_56_24_9338.jpg
/home/pi/Desktop/images/30012025/10/56/image_30012025_10_56_35_10341.jpg
/home/pi/Desktop/images/30012025/10/56/image_30012025_10_56_45_10477.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332955733","1332955724","1332955718","1332955703","1332955812","1332955728"],"photo_ids_order":["1332955703","1332955718","1332955724","1332955728","1332955733","1332955812"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0726c7ea59cbb7a2d41434a30ec12ccb.jpg","text":"TemporaryFile(/tmp/multipartBody2738633983076680646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231053945,"filename":"image_30012025_10_56_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/30/1e4b951a1ab608494070cf70189320d7.jpg","text":"TemporaryFile(/tmp/multipartBody5526968672440847567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231053945,"filename":"image_30012025_10_56_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/30/1f0137d5e6f4010ec2e05a1316cda0a0.jpg","text":"TemporaryFile(/tmp/multipartBody3145512572303262874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231053945,"filename":"image_30012025_10_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/30/ec32ed08a174af4d5803600037ad9fe0.jpg","text":"TemporaryFile(/tmp/multipartBody58074197825314729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231053945,"filename":"image_30012025_10_55_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/30/6680f4f2fd0262886fea448f11c92de2.jpg","text":"TemporaryFile(/tmp/multipartBody7039828637967469068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231053945,"filename":"image_30012025_10_56_45_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/30/e2c8736694e1033e80a2e9309b7c58c2.jpg","text":"TemporaryFile(/tmp/multipartBody5749512096008804845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231053945,"filename":"image_30012025_10_56_24_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332955724","file1":"1332955718","file0":"1332955703","file4":"1332955733","file5":"1332955812","file3":"1332955728"},"map_files_photo_id_array":[{"photo_id":"1332955812","filename":"file5"},{"photo_id":"1332955724","filename":"file2"},{"photo_id":"1332955733","filename":"file4"},{"photo_id":"1332955718","filename":"file1"},{"photo_id":"1332955703","filename":"file0"},{"photo_id":"1332955728","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332955733":["hashtag1","hashtag2"]},{"1332955724":["hashtag1","hashtag2"]},{"1332955718":["hashtag1","hashtag2"]},{"1332955703":["hashtag1","hashtag2"]},{"1332955812":["hashtag1","hashtag2"]},{"1332955728":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332955733, 1332955724, 1332955718, 1332955703, 1332955812, 1332955728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74396991729736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 10:57:32.378100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/56/image_30012025_10_56_55_9337.jpg', '/home/pi/Desktop/images/30012025/10/57/image_30012025_10_57_14_9340.jpg', '/home/pi/Desktop/images/30012025/10/57/image_30012025_10_57_25_10342.jpg', '/home/pi/Desktop/images/30012025/10/57/image_30012025_10_57_35_10443.jpg', '/home/pi/Desktop/images/30012025/10/57/image_30012025_10_57_44_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/56/image_30012025_10_56_55_9337.jpg
/home/pi/Desktop/images/30012025/10/57/image_30012025_10_57_14_9340.jpg
/home/pi/Desktop/images/30012025/10/57/image_30012025_10_57_25_10342.jpg
/home/pi/Desktop/images/30012025/10/57/image_30012025_10_57_35_10443.jpg
/home/pi/Desktop/images/30012025/10/57/image_30012025_10_57_44_9343.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-30 10:59:04.596220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/56/image_30012025_10_56_55_9337.jpg', '/home/pi/Desktop/images/30012025/10/57/image_30012025_10_57_14_9340.jpg', '/home/pi/Desktop/images/30012025/10/57/image_30012025_10_57_25_10342.jpg', '/home/pi/Desktop/images/30012025/10/57/image_30012025_10_57_35_10443.jpg', '/home/pi/Desktop/images/30012025/10/57/image_30012025_10_57_44_9343.jpg', '/home/pi/Desktop/images/30012025/10/57/image_30012025_10_57_55_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/56/image_30012025_10_56_55_9337.jpg
/home/pi/Desktop/images/30012025/10/57/image_30012025_10_57_14_9340.jpg
/home/pi/Desktop/images/30012025/10/57/image_30012025_10_57_25_10342.jpg
/home/pi/Desktop/images/30012025/10/57/image_30012025_10_57_35_10443.jpg
/home/pi/Desktop/images/30012025/10/57/image_30012025_10_57_44_9343.jpg
/home/pi/Desktop/images/30012025/10/57/image_30012025_10_57_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":["1332956692","1332956745","1332956646","1332956589","1332956811","1332956549"],"photo_ids_order":["1332956549","1332956589","1332956646","1332956692","1332956745","1332956811"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/beeae004ba2ac739d27e3b9d21ac2c65.jpg","text":"TemporaryFile(/tmp/multipartBody137511005445645219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231205718,"filename":"image_30012025_10_57_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/30/9d86f46c12f1f671c15c49f34a48156b.jpg","text":"TemporaryFile(/tmp/multipartBody3818853733961388261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231205718,"filename":"image_30012025_10_57_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/30/6142b4d6ba26988ae419ee7c6688a9db.jpg","text":"TemporaryFile(/tmp/multipartBody2346246313695665522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231205718,"filename":"image_30012025_10_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/30/b18148520a697b84f8b4b3277c99dc6d.jpg","text":"TemporaryFile(/tmp/multipartBody1940062171843707097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231205718,"filename":"image_30012025_10_57_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/30/982ef68ab61edbb5fd0222713395ab6f.jpg","text":"TemporaryFile(/tmp/multipartBody2388386889419199413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231205718,"filename":"image_30012025_10_57_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/30/6c5b58bfd19dd5268c8cf91fa2dc0e19.jpg","text":"TemporaryFile(/tmp/multipartBody6650002423375572737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231205718,"filename":"image_30012025_10_56_55_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332956646","file1":"1332956589","file0":"1332956549","file4":"1332956745","file5":"1332956811","file3":"1332956692"},"map_files_photo_id_array":[{"photo_id":"1332956811","filename":"file5"},{"photo_id":"1332956646","filename":"file2"},{"photo_id":"1332956745","filename":"file4"},{"photo_id":"1332956589","filename":"file1"},{"photo_id":"1332956549","filename":"file0"},{"photo_id":"1332956692","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332956692":["hashtag1","hashtag2"]},{"1332956745":["hashtag1","hashtag2"]},{"1332956646":["hashtag1","hashtag2"]},{"1332956589":["hashtag1","hashtag2"]},{"1332956811":["hashtag1","hashtag2"]},{"1332956549":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332956692, 1332956745, 1332956646, 1332956589, 1332956811, 1332956549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.70449900627136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 11:00:03.148817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/57/image_30012025_10_58_05_10359.jpg', '/home/pi/Desktop/images/30012025/10/58/image_30012025_10_58_14_9313.jpg', '/home/pi/Desktop/images/30012025/10/58/image_30012025_10_58_25_10352.jpg', '/home/pi/Desktop/images/30012025/10/58/image_30012025_10_58_35_10448.jpg', '/home/pi/Desktop/images/30012025/10/58/image_30012025_10_58_45_9396.jpg', '/home/pi/Desktop/images/30012025/10/58/image_30012025_10_58_55_10459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/57/image_30012025_10_58_05_10359.jpg
/home/pi/Desktop/images/30012025/10/58/image_30012025_10_58_14_9313.jpg
/home/pi/Desktop/images/30012025/10/58/image_30012025_10_58_25_10352.jpg
/home/pi/Desktop/images/30012025/10/58/image_30012025_10_58_35_10448.jpg
/home/pi/Desktop/images/30012025/10/58/image_30012025_10_58_45_9396.jpg
/home/pi/Desktop/images/30012025/10/58/image_30012025_10_58_55_10459.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5494241714477539 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:00:32.449536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/57/image_30012025_10_58_05_10359.jpg', '/home/pi/Desktop/images/30012025/10/58/image_30012025_10_58_14_9313.jpg', '/home/pi/Desktop/images/30012025/10/58/image_30012025_10_58_25_10352.jpg', '/home/pi/Desktop/images/30012025/10/58/image_30012025_10_58_35_10448.jpg', '/home/pi/Desktop/images/30012025/10/58/image_30012025_10_58_45_9396.jpg', '/home/pi/Desktop/images/30012025/10/58/image_30012025_10_58_55_10459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/57/image_30012025_10_58_05_10359.jpg
/home/pi/Desktop/images/30012025/10/58/image_30012025_10_58_14_9313.jpg
/home/pi/Desktop/images/30012025/10/58/image_30012025_10_58_25_10352.jpg
/home/pi/Desktop/images/30012025/10/58/image_30012025_10_58_35_10448.jpg
/home/pi/Desktop/images/30012025/10/58/image_30012025_10_58_45_9396.jpg
/home/pi/Desktop/images/30012025/10/58/image_30012025_10_58_55_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":["1332957235","1332957217","1332957276","1332957255","1332957272","1332957280"],"photo_ids_order":["1332957217","1332957235","1332957255","1332957272","1332957276","1332957280"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7b68360c859c2aa9864b5ea1efbc2556.jpg","text":"TemporaryFile(/tmp/multipartBody4381931450494098603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231293358,"filename":"image_30012025_10_58_14_9313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c328fcdac0a54d60bbf8f20a88907626.jpg","text":"TemporaryFile(/tmp/multipartBody8511815847762606244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231293358,"filename":"image_30012025_10_58_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/30/739cebabf5b91ed4d7ceb5547431b548.jpg","text":"TemporaryFile(/tmp/multipartBody8588552786762847272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231293358,"filename":"image_30012025_10_58_45_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/30/6a9d8d6ce7becd138d2cd2db372e38be.jpg","text":"TemporaryFile(/tmp/multipartBody2225182787531716257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231293358,"filename":"image_30012025_10_58_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/30/0f5db315a049da593dc0c0ad17560976.jpg","text":"TemporaryFile(/tmp/multipartBody9112536329168682347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231293358,"filename":"image_30012025_10_58_35_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/aa0a2e85794ba65e3b3ee11893bd9bcf.jpg","text":"TemporaryFile(/tmp/multipartBody3110710327640538511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231293358,"filename":"image_30012025_10_58_55_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332957255","file1":"1332957235","file0":"1332957217","file4":"1332957276","file5":"1332957280","file3":"1332957272"},"map_files_photo_id_array":[{"photo_id":"1332957280","filename":"file5"},{"photo_id":"1332957255","filename":"file2"},{"photo_id":"1332957276","filename":"file4"},{"photo_id":"1332957235","filename":"file1"},{"photo_id":"1332957217","filename":"file0"},{"photo_id":"1332957272","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332957235":["hashtag1","hashtag2"]},{"1332957217":["hashtag1","hashtag2"]},{"1332957276":["hashtag1","hashtag2"]},{"1332957255":["hashtag1","hashtag2"]},{"1332957272":["hashtag1","hashtag2"]},{"1332957280":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332957235, 1332957217, 1332957276, 1332957255, 1332957272, 1332957280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.71861171722412 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:01:32.694814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/10/58/image_30012025_10_59_04_9330.jpg', '/home/pi/Desktop/images/30012025/10/59/image_30012025_10_59_15_10355.jpg', '/home/pi/Desktop/images/30012025/10/59/image_30012025_10_59_35_9353.jpg', '/home/pi/Desktop/images/30012025/10/59/image_30012025_10_59_45_10471.jpg', '/home/pi/Desktop/images/30012025/10/59/image_30012025_10_59_54_9354.jpg', '/home/pi/Desktop/images/30012025/11/00/image_30012025_11_00_16_10079.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/10/58/image_30012025_10_59_04_9330.jpg
/home/pi/Desktop/images/30012025/10/59/image_30012025_10_59_15_10355.jpg
/home/pi/Desktop/images/30012025/10/59/image_30012025_10_59_35_9353.jpg
/home/pi/Desktop/images/30012025/10/59/image_30012025_10_59_45_10471.jpg
/home/pi/Desktop/images/30012025/10/59/image_30012025_10_59_54_9354.jpg
/home/pi/Desktop/images/30012025/11/00/image_30012025_11_00_16_10079.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332957321","1332957309","1332957324","1332957312","1332957317","1332957305"],"photo_ids_order":["1332957305","1332957309","1332957312","1332957317","1332957321","1332957324"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4c25f293aa0690fd29eb553279b5c824.jpg","text":"TemporaryFile(/tmp/multipartBody2991646269760685088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231353602,"filename":"image_30012025_10_59_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/30/d7feef9764c5f5633a4346f22dcb027e.jpg","text":"TemporaryFile(/tmp/multipartBody2846773152028194628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231353602,"filename":"image_30012025_10_59_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/30/a982d8adc1e2cce533adfba8c8d75f7e.jpg","text":"TemporaryFile(/tmp/multipartBody8675724717032445557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231353602,"filename":"image_30012025_11_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/30/ef208a11a3103e852a6d5f1ca79acd78.jpg","text":"TemporaryFile(/tmp/multipartBody3926490255405166971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231353602,"filename":"image_30012025_10_59_35_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/40cc1dabb1a62a5d30877a3bcbfa2334.jpg","text":"TemporaryFile(/tmp/multipartBody1329585979501449427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231353602,"filename":"image_30012025_10_59_45_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/30/cdb61100af7198861c99b1c3f7306d93.jpg","text":"TemporaryFile(/tmp/multipartBody8784092854071899762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231353602,"filename":"image_30012025_10_59_04_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332957312","file1":"1332957309","file0":"1332957305","file4":"1332957321","file5":"1332957324","file3":"1332957317"},"map_files_photo_id_array":[{"photo_id":"1332957324","filename":"file5"},{"photo_id":"1332957312","filename":"file2"},{"photo_id":"1332957321","filename":"file4"},{"photo_id":"1332957309","filename":"file1"},{"photo_id":"1332957305","filename":"file0"},{"photo_id":"1332957317","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332957321":["hashtag1","hashtag2"]},{"1332957309":["hashtag1","hashtag2"]},{"1332957324":["hashtag1","hashtag2"]},{"1332957312":["hashtag1","hashtag2"]},{"1332957317":["hashtag1","hashtag2"]},{"1332957305":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332957321, 1332957309, 1332957324, 1332957312, 1332957317, 1332957305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.567554235458374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:02:33.081174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/00/image_30012025_11_00_27_10365.jpg', '/home/pi/Desktop/images/30012025/11/00/image_30012025_11_00_37_10432.jpg', '/home/pi/Desktop/images/30012025/11/00/image_30012025_11_00_46_9354.jpg', '/home/pi/Desktop/images/30012025/11/00/image_30012025_11_00_57_10441.jpg', '/home/pi/Desktop/images/30012025/11/01/image_30012025_11_01_17_10340.jpg', '/home/pi/Desktop/images/30012025/11/01/image_30012025_11_01_27_10487.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/00/image_30012025_11_00_27_10365.jpg
/home/pi/Desktop/images/30012025/11/00/image_30012025_11_00_37_10432.jpg
/home/pi/Desktop/images/30012025/11/00/image_30012025_11_00_46_9354.jpg
/home/pi/Desktop/images/30012025/11/00/image_30012025_11_00_57_10441.jpg
/home/pi/Desktop/images/30012025/11/01/image_30012025_11_01_17_10340.jpg
/home/pi/Desktop/images/30012025/11/01/image_30012025_11_01_27_10487.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332957439","1332957396","1332957375","1332957470","1332957401","1332957391"],"photo_ids_order":["1332957375","1332957391","1332957396","1332957401","1332957439","1332957470"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4d1fce7c1ca8b6ea247cc3324c111332.jpg","text":"TemporaryFile(/tmp/multipartBody7103678159725881781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231413993,"filename":"image_30012025_11_01_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/30/4bc86e73b6a8d9f140c0492121ea7395.jpg","text":"TemporaryFile(/tmp/multipartBody8799058257362687279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231413993,"filename":"image_30012025_11_00_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/30/f80d46301d760cc73d1a212f506372cf.jpg","text":"TemporaryFile(/tmp/multipartBody3546594074952056302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231413993,"filename":"image_30012025_11_00_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/30/f9fd469adf4872dcf9f48586baf75cc0.jpg","text":"TemporaryFile(/tmp/multipartBody4680580430002706429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231413993,"filename":"image_30012025_11_01_27_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/30/58add3fb4a7c469719cf78e158c36ca4.jpg","text":"TemporaryFile(/tmp/multipartBody7958724824117446095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231413993,"filename":"image_30012025_11_00_57_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/30/3cfcdc6347070113cdc8335503b13a9f.jpg","text":"TemporaryFile(/tmp/multipartBody4881079728575115140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231413993,"filename":"image_30012025_11_00_37_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332957396","file1":"1332957391","file0":"1332957375","file4":"1332957439","file5":"1332957470","file3":"1332957401"},"map_files_photo_id_array":[{"photo_id":"1332957470","filename":"file5"},{"photo_id":"1332957396","filename":"file2"},{"photo_id":"1332957439","filename":"file4"},{"photo_id":"1332957391","filename":"file1"},{"photo_id":"1332957375","filename":"file0"},{"photo_id":"1332957401","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332957439":["hashtag1","hashtag2"]},{"1332957396":["hashtag1","hashtag2"]},{"1332957375":["hashtag1","hashtag2"]},{"1332957470":["hashtag1","hashtag2"]},{"1332957401":["hashtag1","hashtag2"]},{"1332957391":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332957439, 1332957396, 1332957375, 1332957470, 1332957401, 1332957391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.53773832321167 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:03:32.281455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/01/image_30012025_11_01_36_9348.jpg', '/home/pi/Desktop/images/30012025/11/01/image_30012025_11_01_47_10439.jpg', '/home/pi/Desktop/images/30012025/11/01/image_30012025_11_01_56_9371.jpg', '/home/pi/Desktop/images/30012025/11/01/image_30012025_11_02_07_10356.jpg', '/home/pi/Desktop/images/30012025/11/02/image_30012025_11_02_17_10428.jpg', '/home/pi/Desktop/images/30012025/11/02/image_30012025_11_02_26_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/01/image_30012025_11_01_36_9348.jpg
/home/pi/Desktop/images/30012025/11/01/image_30012025_11_01_47_10439.jpg
/home/pi/Desktop/images/30012025/11/01/image_30012025_11_01_56_9371.jpg
/home/pi/Desktop/images/30012025/11/01/image_30012025_11_02_07_10356.jpg
/home/pi/Desktop/images/30012025/11/02/image_30012025_11_02_17_10428.jpg
/home/pi/Desktop/images/30012025/11/02/image_30012025_11_02_26_9335.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5231313705444336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 11:03:42.323879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/01/image_30012025_11_01_36_9348.jpg', '/home/pi/Desktop/images/30012025/11/01/image_30012025_11_01_47_10439.jpg', '/home/pi/Desktop/images/30012025/11/01/image_30012025_11_01_56_9371.jpg', '/home/pi/Desktop/images/30012025/11/01/image_30012025_11_02_07_10356.jpg', '/home/pi/Desktop/images/30012025/11/02/image_30012025_11_02_17_10428.jpg', '/home/pi/Desktop/images/30012025/11/02/image_30012025_11_02_26_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/01/image_30012025_11_01_36_9348.jpg
/home/pi/Desktop/images/30012025/11/01/image_30012025_11_01_47_10439.jpg
/home/pi/Desktop/images/30012025/11/01/image_30012025_11_01_56_9371.jpg
/home/pi/Desktop/images/30012025/11/01/image_30012025_11_02_07_10356.jpg
/home/pi/Desktop/images/30012025/11/02/image_30012025_11_02_17_10428.jpg
/home/pi/Desktop/images/30012025/11/02/image_30012025_11_02_26_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332957523","1332957534","1332957530","1332957518","1332957527","1332957512"],"photo_ids_order":["1332957512","1332957518","1332957523","1332957527","1332957530","1332957534"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0b48f5a6aa9f09eadf9824ce47eb4561.jpg","text":"TemporaryFile(/tmp/multipartBody6051866228460085498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231483243,"filename":"image_30012025_11_01_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/30/d33e61a0cf544bd8ee1ff10a108f12b8.jpg","text":"TemporaryFile(/tmp/multipartBody3790677736186585607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231483243,"filename":"image_30012025_11_02_26_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bfc19a964695311463d0164a9a6ea6ab.jpg","text":"TemporaryFile(/tmp/multipartBody8072382028981313632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231483243,"filename":"image_30012025_11_02_17_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/30/b4ae2b27755248be22a2071ee8b9f1cd.jpg","text":"TemporaryFile(/tmp/multipartBody7555834026094534560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231483243,"filename":"image_30012025_11_01_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/30/44fa372b99054cd393aed0566a6ea7ef.jpg","text":"TemporaryFile(/tmp/multipartBody702110611972527686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231483243,"filename":"image_30012025_11_02_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/30/ac7d3094458d93f757589fcfde80d38d.jpg","text":"TemporaryFile(/tmp/multipartBody5604663472742353494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231483243,"filename":"image_30012025_11_01_36_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332957523","file1":"1332957518","file0":"1332957512","file4":"1332957530","file5":"1332957534","file3":"1332957527"},"map_files_photo_id_array":[{"photo_id":"1332957534","filename":"file5"},{"photo_id":"1332957523","filename":"file2"},{"photo_id":"1332957530","filename":"file4"},{"photo_id":"1332957518","filename":"file1"},{"photo_id":"1332957512","filename":"file0"},{"photo_id":"1332957527","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332957523":["hashtag1","hashtag2"]},{"1332957534":["hashtag1","hashtag2"]},{"1332957530":["hashtag1","hashtag2"]},{"1332957518":["hashtag1","hashtag2"]},{"1332957527":["hashtag1","hashtag2"]},{"1332957512":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332957523, 1332957534, 1332957530, 1332957518, 1332957527, 1332957512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38748359680176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:04:32.410145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/02/image_30012025_11_02_37_10350.jpg', '/home/pi/Desktop/images/30012025/11/02/image_30012025_11_02_47_10446.jpg', '/home/pi/Desktop/images/30012025/11/02/image_30012025_11_02_57_9385.jpg', '/home/pi/Desktop/images/30012025/11/02/image_30012025_11_03_07_10417.jpg', '/home/pi/Desktop/images/30012025/11/03/image_30012025_11_03_16_9355.jpg', '/home/pi/Desktop/images/30012025/11/03/image_30012025_11_03_27_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/02/image_30012025_11_02_37_10350.jpg
/home/pi/Desktop/images/30012025/11/02/image_30012025_11_02_47_10446.jpg
/home/pi/Desktop/images/30012025/11/02/image_30012025_11_02_57_9385.jpg
/home/pi/Desktop/images/30012025/11/02/image_30012025_11_03_07_10417.jpg
/home/pi/Desktop/images/30012025/11/03/image_30012025_11_03_16_9355.jpg
/home/pi/Desktop/images/30012025/11/03/image_30012025_11_03_27_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":["1332957556","1332957566","1332957575","1332957560","1332957577","1332957571"],"photo_ids_order":["1332957556","1332957560","1332957566","1332957571","1332957575","1332957577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/434a57a5772bf438fb7c5f44c7010bfa.jpg","text":"TemporaryFile(/tmp/multipartBody6731765028981508761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231533347,"filename":"image_30012025_11_02_37_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/211964b2d82ef350960c710403bb87c1.jpg","text":"TemporaryFile(/tmp/multipartBody2923020851530638915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231533347,"filename":"image_30012025_11_02_57_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/30/8d5f8c2e5dedb886d967c6c273242fbd.jpg","text":"TemporaryFile(/tmp/multipartBody1565103272349543199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231533347,"filename":"image_30012025_11_03_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/30/88e1ebc8e18420530680f2a18166a6c6.jpg","text":"TemporaryFile(/tmp/multipartBody235717860712646405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231533347,"filename":"image_30012025_11_02_47_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/30/c0cdf674fbfa314d5cf2117ec1ec4ff7.jpg","text":"TemporaryFile(/tmp/multipartBody3065125672797970899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231533347,"filename":"image_30012025_11_03_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/30/25167446c40b11cc0b5ff0d365b6e727.jpg","text":"TemporaryFile(/tmp/multipartBody2157556648956733744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231533347,"filename":"image_30012025_11_03_07_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332957566","file1":"1332957560","file0":"1332957556","file4":"1332957575","file5":"1332957577","file3":"1332957571"},"map_files_photo_id_array":[{"photo_id":"1332957577","filename":"file5"},{"photo_id":"1332957566","filename":"file2"},{"photo_id":"1332957575","filename":"file4"},{"photo_id":"1332957560","filename":"file1"},{"photo_id":"1332957556","filename":"file0"},{"photo_id":"1332957571","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332957556":["hashtag1","hashtag2"]},{"1332957566":["hashtag1","hashtag2"]},{"1332957575":["hashtag1","hashtag2"]},{"1332957560":["hashtag1","hashtag2"]},{"1332957577":["hashtag1","hashtag2"]},{"1332957571":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332957556, 1332957566, 1332957575, 1332957560, 1332957577, 1332957571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13934016227722 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:05:32.687763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/03/image_30012025_11_03_37_10360.jpg', '/home/pi/Desktop/images/30012025/11/03/image_30012025_11_03_46_9367.jpg', '/home/pi/Desktop/images/30012025/11/03/image_30012025_11_03_57_10342.jpg', '/home/pi/Desktop/images/30012025/11/03/image_30012025_11_04_07_10437.jpg', '/home/pi/Desktop/images/30012025/11/04/image_30012025_11_04_16_9336.jpg', '/home/pi/Desktop/images/30012025/11/04/image_30012025_11_04_27_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/03/image_30012025_11_03_37_10360.jpg
/home/pi/Desktop/images/30012025/11/03/image_30012025_11_03_46_9367.jpg
/home/pi/Desktop/images/30012025/11/03/image_30012025_11_03_57_10342.jpg
/home/pi/Desktop/images/30012025/11/03/image_30012025_11_04_07_10437.jpg
/home/pi/Desktop/images/30012025/11/04/image_30012025_11_04_16_9336.jpg
/home/pi/Desktop/images/30012025/11/04/image_30012025_11_04_27_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":["1332957628","1332957613","1332957616","1332957597","1332957608","1332957602"],"photo_ids_order":["1332957597","1332957602","1332957608","1332957613","1332957616","1332957628"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fb7c50ab8faf7be94f106c79515f801a.jpg","text":"TemporaryFile(/tmp/multipartBody6530561296245824767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231593588,"filename":"image_30012025_11_04_27_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/db891dcfbb8c3dcad7fc0623c582326f.jpg","text":"TemporaryFile(/tmp/multipartBody6694301138620805438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231593588,"filename":"image_30012025_11_04_07_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/07f5ad7ccc30614d5f72343513c67b2e.jpg","text":"TemporaryFile(/tmp/multipartBody1106986335019853412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231593588,"filename":"image_30012025_11_04_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/30/0c0b8f64e4139a82d312c47fd40b45d8.jpg","text":"TemporaryFile(/tmp/multipartBody7836488191369523124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231593588,"filename":"image_30012025_11_03_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/30/9f00215a52cb34453f81c1b07d96b10a.jpg","text":"TemporaryFile(/tmp/multipartBody1146333731567816208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231593588,"filename":"image_30012025_11_03_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/30/beb9cd57eb277519b510a4c8a304b912.jpg","text":"TemporaryFile(/tmp/multipartBody5874752874964873907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231593588,"filename":"image_30012025_11_03_46_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332957608","file1":"1332957602","file0":"1332957597","file4":"1332957616","file5":"1332957628","file3":"1332957613"},"map_files_photo_id_array":[{"photo_id":"1332957628","filename":"file5"},{"photo_id":"1332957608","filename":"file2"},{"photo_id":"1332957616","filename":"file4"},{"photo_id":"1332957602","filename":"file1"},{"photo_id":"1332957597","filename":"file0"},{"photo_id":"1332957613","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332957628":["hashtag1","hashtag2"]},{"1332957613":["hashtag1","hashtag2"]},{"1332957616":["hashtag1","hashtag2"]},{"1332957597":["hashtag1","hashtag2"]},{"1332957608":["hashtag1","hashtag2"]},{"1332957602":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332957628, 1332957613, 1332957616, 1332957597, 1332957608, 1332957602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.49129629135132 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:06:32.771173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/04/image_30012025_11_04_36_9346.jpg', '/home/pi/Desktop/images/30012025/11/04/image_30012025_11_04_47_10429.jpg', '/home/pi/Desktop/images/30012025/11/04/image_30012025_11_04_57_10452.jpg', '/home/pi/Desktop/images/30012025/11/04/image_30012025_11_05_07_9373.jpg', '/home/pi/Desktop/images/30012025/11/05/image_30012025_11_05_17_10463.jpg', '/home/pi/Desktop/images/30012025/11/05/image_30012025_11_05_26_9372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/04/image_30012025_11_04_36_9346.jpg
/home/pi/Desktop/images/30012025/11/04/image_30012025_11_04_47_10429.jpg
/home/pi/Desktop/images/30012025/11/04/image_30012025_11_04_57_10452.jpg
/home/pi/Desktop/images/30012025/11/04/image_30012025_11_05_07_9373.jpg
/home/pi/Desktop/images/30012025/11/05/image_30012025_11_05_17_10463.jpg
/home/pi/Desktop/images/30012025/11/05/image_30012025_11_05_26_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332957687","1332957741","1332957744","1332957683","1332957737","1332957676"],"photo_ids_order":["1332957676","1332957683","1332957687","1332957737","1332957741","1332957744"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/35498bab55d595c8c28d26159a4fc503.jpg","text":"TemporaryFile(/tmp/multipartBody1390417833563149994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231653778,"filename":"image_30012025_11_04_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/30/9f849a3960c55401f54d4884e5798463.jpg","text":"TemporaryFile(/tmp/multipartBody5522319105103986348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231653778,"filename":"image_30012025_11_05_17_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/30/83608e56fc86b6d087447d3c7e952ff3.jpg","text":"TemporaryFile(/tmp/multipartBody4006869718193649266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231653778,"filename":"image_30012025_11_05_26_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/30/e21eaa4aa84f5d0c73baabe8799b6829.jpg","text":"TemporaryFile(/tmp/multipartBody311671812452480137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231653778,"filename":"image_30012025_11_04_47_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/30/8a6cc82ee87945c21407a1c4acdea3d5.jpg","text":"TemporaryFile(/tmp/multipartBody3063534289344583675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231653778,"filename":"image_30012025_11_05_07_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/30/f9dc06f1191adfec46de508c4f4f91b9.jpg","text":"TemporaryFile(/tmp/multipartBody2646526070006784167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231653778,"filename":"image_30012025_11_04_36_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332957687","file1":"1332957683","file0":"1332957676","file4":"1332957741","file5":"1332957744","file3":"1332957737"},"map_files_photo_id_array":[{"photo_id":"1332957744","filename":"file5"},{"photo_id":"1332957687","filename":"file2"},{"photo_id":"1332957741","filename":"file4"},{"photo_id":"1332957683","filename":"file1"},{"photo_id":"1332957676","filename":"file0"},{"photo_id":"1332957737","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332957687":["hashtag1","hashtag2"]},{"1332957741":["hashtag1","hashtag2"]},{"1332957744":["hashtag1","hashtag2"]},{"1332957683":["hashtag1","hashtag2"]},{"1332957737":["hashtag1","hashtag2"]},{"1332957676":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332957687, 1332957741, 1332957744, 1332957683, 1332957737, 1332957676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.27622413635254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:07:32.712417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/05/image_30012025_11_05_37_10384.jpg', '/home/pi/Desktop/images/30012025/11/05/image_30012025_11_05_47_10435.jpg', '/home/pi/Desktop/images/30012025/11/05/image_30012025_11_05_57_9346.jpg', '/home/pi/Desktop/images/30012025/11/05/image_30012025_11_06_07_10380.jpg', '/home/pi/Desktop/images/30012025/11/06/image_30012025_11_06_16_9387.jpg', '/home/pi/Desktop/images/30012025/11/06/image_30012025_11_06_27_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/05/image_30012025_11_05_37_10384.jpg
/home/pi/Desktop/images/30012025/11/05/image_30012025_11_05_47_10435.jpg
/home/pi/Desktop/images/30012025/11/05/image_30012025_11_05_57_9346.jpg
/home/pi/Desktop/images/30012025/11/05/image_30012025_11_06_07_10380.jpg
/home/pi/Desktop/images/30012025/11/06/image_30012025_11_06_16_9387.jpg
/home/pi/Desktop/images/30012025/11/06/image_30012025_11_06_27_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.5264644622802734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 11:07:42.631810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/05/image_30012025_11_05_37_10384.jpg', '/home/pi/Desktop/images/30012025/11/05/image_30012025_11_05_47_10435.jpg', '/home/pi/Desktop/images/30012025/11/05/image_30012025_11_05_57_9346.jpg', '/home/pi/Desktop/images/30012025/11/05/image_30012025_11_06_07_10380.jpg', '/home/pi/Desktop/images/30012025/11/06/image_30012025_11_06_16_9387.jpg', '/home/pi/Desktop/images/30012025/11/06/image_30012025_11_06_27_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/05/image_30012025_11_05_37_10384.jpg
/home/pi/Desktop/images/30012025/11/05/image_30012025_11_05_47_10435.jpg
/home/pi/Desktop/images/30012025/11/05/image_30012025_11_05_57_9346.jpg
/home/pi/Desktop/images/30012025/11/05/image_30012025_11_06_07_10380.jpg
/home/pi/Desktop/images/30012025/11/06/image_30012025_11_06_16_9387.jpg
/home/pi/Desktop/images/30012025/11/06/image_30012025_11_06_27_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":["1332957999","1332957990","1332957922","1332957942","1332957935","1332957997"],"photo_ids_order":["1332957922","1332957935","1332957942","1332957990","1332957997","1332957999"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/93b92bb3215ca36b5e97eadd91f6c974.jpg","text":"TemporaryFile(/tmp/multipartBody4379930914813517568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231723543,"filename":"image_30012025_11_06_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/30/48667c5f68eaec6015e878a7cd4fd53b.jpg","text":"TemporaryFile(/tmp/multipartBody7442616864087126218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231723543,"filename":"image_30012025_11_06_07_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/30/6ee1d39387b9db24fb5c07f571fcb3ee.jpg","text":"TemporaryFile(/tmp/multipartBody248806455831380512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231723543,"filename":"image_30012025_11_05_37_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/81a9743e25566e0e2c309483c63f87b7.jpg","text":"TemporaryFile(/tmp/multipartBody4886465720971598560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231723543,"filename":"image_30012025_11_05_57_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/30/6415038b595a47f96fa9751272f439a8.jpg","text":"TemporaryFile(/tmp/multipartBody5025843674387516785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231723543,"filename":"image_30012025_11_05_47_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/30/7efdacf74d6b0fba5445ec522e730dc7.jpg","text":"TemporaryFile(/tmp/multipartBody752044812033485446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231723543,"filename":"image_30012025_11_06_16_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332957942","file1":"1332957935","file0":"1332957922","file4":"1332957997","file5":"1332957999","file3":"1332957990"},"map_files_photo_id_array":[{"photo_id":"1332957999","filename":"file5"},{"photo_id":"1332957942","filename":"file2"},{"photo_id":"1332957997","filename":"file4"},{"photo_id":"1332957935","filename":"file1"},{"photo_id":"1332957922","filename":"file0"},{"photo_id":"1332957990","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332957999":["hashtag1","hashtag2"]},{"1332957990":["hashtag1","hashtag2"]},{"1332957922":["hashtag1","hashtag2"]},{"1332957942":["hashtag1","hashtag2"]},{"1332957935":["hashtag1","hashtag2"]},{"1332957997":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332957999, 1332957990, 1332957922, 1332957942, 1332957935, 1332957997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.22441744804382 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:08:32.977280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/06/image_30012025_11_06_37_10362.jpg', '/home/pi/Desktop/images/30012025/11/06/image_30012025_11_06_46_9360.jpg', '/home/pi/Desktop/images/30012025/11/06/image_30012025_11_06_57_10360.jpg', '/home/pi/Desktop/images/30012025/11/06/image_30012025_11_07_07_10420.jpg', '/home/pi/Desktop/images/30012025/11/07/image_30012025_11_07_17_9408.jpg', '/home/pi/Desktop/images/30012025/11/07/image_30012025_11_07_36_9418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/06/image_30012025_11_06_37_10362.jpg
/home/pi/Desktop/images/30012025/11/06/image_30012025_11_06_46_9360.jpg
/home/pi/Desktop/images/30012025/11/06/image_30012025_11_06_57_10360.jpg
/home/pi/Desktop/images/30012025/11/06/image_30012025_11_07_07_10420.jpg
/home/pi/Desktop/images/30012025/11/07/image_30012025_11_07_17_9408.jpg
/home/pi/Desktop/images/30012025/11/07/image_30012025_11_07_36_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":["1332958012","1332958059","1332958017","1332958043","1332958049","1332958054"],"photo_ids_order":["1332958012","1332958017","1332958043","1332958049","1332958054","1332958059"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/181754db78b1831bc0474aefcb60cd53.jpg","text":"TemporaryFile(/tmp/multipartBody8710259030952687750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231773885,"filename":"image_30012025_11_06_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/30/b90b88248c4b4e04ecfca9162ce5893c.jpg","text":"TemporaryFile(/tmp/multipartBody8674770766325441670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231773885,"filename":"image_30012025_11_07_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/30/0bd0cd65dbf2214a0391d443153ca2b1.jpg","text":"TemporaryFile(/tmp/multipartBody4406436464103922274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231773885,"filename":"image_30012025_11_06_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/30/73414f195cac70558b2a926085033597.jpg","text":"TemporaryFile(/tmp/multipartBody4803042144536599299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231773885,"filename":"image_30012025_11_06_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/30/28ebf2861ff93d78dc91180869f418a3.jpg","text":"TemporaryFile(/tmp/multipartBody455290490582004418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231773885,"filename":"image_30012025_11_07_07_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/30/58c285eb7580f1eec61b2de1129ef8f9.jpg","text":"TemporaryFile(/tmp/multipartBody8476727392492849146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231773885,"filename":"image_30012025_11_07_17_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332958043","file1":"1332958017","file0":"1332958012","file4":"1332958054","file5":"1332958059","file3":"1332958049"},"map_files_photo_id_array":[{"photo_id":"1332958059","filename":"file5"},{"photo_id":"1332958043","filename":"file2"},{"photo_id":"1332958054","filename":"file4"},{"photo_id":"1332958017","filename":"file1"},{"photo_id":"1332958012","filename":"file0"},{"photo_id":"1332958049","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332958012":["hashtag1","hashtag2"]},{"1332958059":["hashtag1","hashtag2"]},{"1332958017":["hashtag1","hashtag2"]},{"1332958043":["hashtag1","hashtag2"]},{"1332958049":["hashtag1","hashtag2"]},{"1332958054":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332958012, 1332958059, 1332958017, 1332958043, 1332958049, 1332958054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.084051847457886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:09:32.135638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/07/image_30012025_11_07_47_10361.jpg', '/home/pi/Desktop/images/30012025/11/07/image_30012025_11_07_57_10368.jpg', '/home/pi/Desktop/images/30012025/11/07/image_30012025_11_08_06_9348.jpg', '/home/pi/Desktop/images/30012025/11/08/image_30012025_11_08_17_10344.jpg', '/home/pi/Desktop/images/30012025/11/08/image_30012025_11_08_26_9348.jpg', '/home/pi/Desktop/images/30012025/11/08/image_30012025_11_08_37_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/07/image_30012025_11_07_47_10361.jpg
/home/pi/Desktop/images/30012025/11/07/image_30012025_11_07_57_10368.jpg
/home/pi/Desktop/images/30012025/11/07/image_30012025_11_08_06_9348.jpg
/home/pi/Desktop/images/30012025/11/08/image_30012025_11_08_17_10344.jpg
/home/pi/Desktop/images/30012025/11/08/image_30012025_11_08_26_9348.jpg
/home/pi/Desktop/images/30012025/11/08/image_30012025_11_08_37_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332958920","1332958905","1332958943","1332958897","1332958891","1332959187"],"photo_ids_order":["1332958891","1332958897","1332958905","1332958920","1332958943","1332959187"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dc5b8da5ade33a355f956d6f09d8058a.jpg","text":"TemporaryFile(/tmp/multipartBody4652658066925201205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231833036,"filename":"image_30012025_11_08_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/30/d676512268d530a7b3d9017c157c1892.jpg","text":"TemporaryFile(/tmp/multipartBody4438372616630589026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231833036,"filename":"image_30012025_11_08_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/30/a978c4ea3a5626bd69fd4bd465f1283c.jpg","text":"TemporaryFile(/tmp/multipartBody377740555751224296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231833036,"filename":"image_30012025_11_08_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/30/a8e94d793d77a078432d4949c3bd9c8f.jpg","text":"TemporaryFile(/tmp/multipartBody2651953051719715787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231833036,"filename":"image_30012025_11_07_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/30/38c0257e295d62a92b3df4ff7fbb9ed0.jpg","text":"TemporaryFile(/tmp/multipartBody5996711291225907051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231833036,"filename":"image_30012025_11_07_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/30/9db7d58faed4ffcb848fceb978b2626b.jpg","text":"TemporaryFile(/tmp/multipartBody142826230770326466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231833036,"filename":"image_30012025_11_08_37_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332958905","file1":"1332958897","file0":"1332958891","file4":"1332958943","file5":"1332959187","file3":"1332958920"},"map_files_photo_id_array":[{"photo_id":"1332959187","filename":"file5"},{"photo_id":"1332958905","filename":"file2"},{"photo_id":"1332958943","filename":"file4"},{"photo_id":"1332958897","filename":"file1"},{"photo_id":"1332958891","filename":"file0"},{"photo_id":"1332958920","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332958920":["hashtag1","hashtag2"]},{"1332958905":["hashtag1","hashtag2"]},{"1332958943":["hashtag1","hashtag2"]},{"1332958897":["hashtag1","hashtag2"]},{"1332958891":["hashtag1","hashtag2"]},{"1332959187":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332958920, 1332958905, 1332958943, 1332958897, 1332958891, 1332959187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35412669181824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:10:32.448779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/08/image_30012025_11_08_47_10479.jpg', '/home/pi/Desktop/images/30012025/11/08/image_30012025_11_08_56_9356.jpg', '/home/pi/Desktop/images/30012025/11/08/image_30012025_11_09_07_10358.jpg', '/home/pi/Desktop/images/30012025/11/09/image_30012025_11_09_17_10336.jpg', '/home/pi/Desktop/images/30012025/11/09/image_30012025_11_09_37_10361.jpg', '/home/pi/Desktop/images/30012025/11/09/image_30012025_11_09_46_9437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/08/image_30012025_11_08_47_10479.jpg
/home/pi/Desktop/images/30012025/11/08/image_30012025_11_08_56_9356.jpg
/home/pi/Desktop/images/30012025/11/08/image_30012025_11_09_07_10358.jpg
/home/pi/Desktop/images/30012025/11/09/image_30012025_11_09_17_10336.jpg
/home/pi/Desktop/images/30012025/11/09/image_30012025_11_09_37_10361.jpg
/home/pi/Desktop/images/30012025/11/09/image_30012025_11_09_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":["1332959475","1332959351","1332959426","1332959490","1332959370","1332959487"],"photo_ids_order":["1332959351","1332959370","1332959426","1332959475","1332959487","1332959490"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2edbd352618380d5d5ae3dfef4abcb06.jpg","text":"TemporaryFile(/tmp/multipartBody3563424497873586299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231893344,"filename":"image_30012025_11_09_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/30/33ce14a483d943445c92e17643b4018c.jpg","text":"TemporaryFile(/tmp/multipartBody1036981120632623205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231893344,"filename":"image_30012025_11_08_47_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/30/9cb406a5efa086a1f07202fb0aa5c759.jpg","text":"TemporaryFile(/tmp/multipartBody5213139779260410238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231893344,"filename":"image_30012025_11_09_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/30/3b9a92f3d68f6fdc198fccf5ad49c1b0.jpg","text":"TemporaryFile(/tmp/multipartBody7754473666684549290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231893344,"filename":"image_30012025_11_09_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/30/a05d0b4a57c7d3a6796899f119cf67d4.jpg","text":"TemporaryFile(/tmp/multipartBody6789475831940753310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231893344,"filename":"image_30012025_11_08_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/30/f5ebfcf02623e326473402ce2796e3d1.jpg","text":"TemporaryFile(/tmp/multipartBody234140242436219264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231893344,"filename":"image_30012025_11_09_37_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332959426","file1":"1332959370","file0":"1332959351","file4":"1332959487","file5":"1332959490","file3":"1332959475"},"map_files_photo_id_array":[{"photo_id":"1332959490","filename":"file5"},{"photo_id":"1332959426","filename":"file2"},{"photo_id":"1332959487","filename":"file4"},{"photo_id":"1332959370","filename":"file1"},{"photo_id":"1332959351","filename":"file0"},{"photo_id":"1332959475","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332959475":["hashtag1","hashtag2"]},{"1332959351":["hashtag1","hashtag2"]},{"1332959426":["hashtag1","hashtag2"]},{"1332959490":["hashtag1","hashtag2"]},{"1332959370":["hashtag1","hashtag2"]},{"1332959487":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332959475, 1332959351, 1332959426, 1332959490, 1332959370, 1332959487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.316077709198 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:11:32.669087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/09/image_30012025_11_09_57_10338.jpg', '/home/pi/Desktop/images/30012025/11/09/image_30012025_11_10_07_10441.jpg', '/home/pi/Desktop/images/30012025/11/10/image_30012025_11_10_37_10383.jpg', '/home/pi/Desktop/images/30012025/11/10/image_30012025_11_10_46_9362.jpg', '/home/pi/Desktop/images/30012025/11/10/image_30012025_11_10_57_10365.jpg', '/home/pi/Desktop/images/30012025/11/10/image_30012025_11_11_06_9409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/09/image_30012025_11_09_57_10338.jpg
/home/pi/Desktop/images/30012025/11/09/image_30012025_11_10_07_10441.jpg
/home/pi/Desktop/images/30012025/11/10/image_30012025_11_10_37_10383.jpg
/home/pi/Desktop/images/30012025/11/10/image_30012025_11_10_46_9362.jpg
/home/pi/Desktop/images/30012025/11/10/image_30012025_11_10_57_10365.jpg
/home/pi/Desktop/images/30012025/11/10/image_30012025_11_11_06_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":["1332959529","1332959570","1332959534","1332959516","1332959510","1332959569"],"photo_ids_order":["1332959510","1332959516","1332959529","1332959534","1332959569","1332959570"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/95971f961790784ceb247b13b8d0cfa9.jpg","text":"TemporaryFile(/tmp/multipartBody5010570948464433697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231953570,"filename":"image_30012025_11_10_37_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/30/c43c8a58fea18fd2deca4a0b45e9ad6b.jpg","text":"TemporaryFile(/tmp/multipartBody4903740221205217287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231953570,"filename":"image_30012025_11_11_06_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/30/034d38d42b4d4ac146fb631aa983452f.jpg","text":"TemporaryFile(/tmp/multipartBody133614168628995093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231953570,"filename":"image_30012025_11_10_46_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5c41a0f6d5e4ed0e0c6163aa08ef89f8.jpg","text":"TemporaryFile(/tmp/multipartBody6228905312004404196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231953570,"filename":"image_30012025_11_10_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/30/6a776b95494f3e71ab4942c1fe1efa85.jpg","text":"TemporaryFile(/tmp/multipartBody6110671052167760065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231953570,"filename":"image_30012025_11_09_57_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/39fee7b86808707b48694981ee5a554c.jpg","text":"TemporaryFile(/tmp/multipartBody5783784836295957840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738231953570,"filename":"image_30012025_11_10_57_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332959529","file1":"1332959516","file0":"1332959510","file4":"1332959569","file5":"1332959570","file3":"1332959534"},"map_files_photo_id_array":[{"photo_id":"1332959570","filename":"file5"},{"photo_id":"1332959529","filename":"file2"},{"photo_id":"1332959569","filename":"file4"},{"photo_id":"1332959516","filename":"file1"},{"photo_id":"1332959510","filename":"file0"},{"photo_id":"1332959534","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332959529":["hashtag1","hashtag2"]},{"1332959570":["hashtag1","hashtag2"]},{"1332959534":["hashtag1","hashtag2"]},{"1332959516":["hashtag1","hashtag2"]},{"1332959510":["hashtag1","hashtag2"]},{"1332959569":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332959529, 1332959570, 1332959534, 1332959516, 1332959510, 1332959569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37952494621277 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:12:32.838345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/11/image_30012025_11_11_17_10405.jpg', '/home/pi/Desktop/images/30012025/11/11/image_30012025_11_11_36_9446.jpg', '/home/pi/Desktop/images/30012025/11/11/image_30012025_11_11_47_10433.jpg', '/home/pi/Desktop/images/30012025/11/11/image_30012025_11_11_56_9355.jpg', '/home/pi/Desktop/images/30012025/11/11/image_30012025_11_12_07_10352.jpg', '/home/pi/Desktop/images/30012025/11/12/image_30012025_11_12_26_9371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/11/image_30012025_11_11_17_10405.jpg
/home/pi/Desktop/images/30012025/11/11/image_30012025_11_11_36_9446.jpg
/home/pi/Desktop/images/30012025/11/11/image_30012025_11_11_47_10433.jpg
/home/pi/Desktop/images/30012025/11/11/image_30012025_11_11_56_9355.jpg
/home/pi/Desktop/images/30012025/11/11/image_30012025_11_12_07_10352.jpg
/home/pi/Desktop/images/30012025/11/12/image_30012025_11_12_26_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":["1332959613","1332959690","1332959622","1332959687","1332959618","1332959641"],"photo_ids_order":["1332959613","1332959618","1332959622","1332959641","1332959687","1332959690"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6e0d2dac716c97b436feca3ceed7d2b1.jpg","text":"TemporaryFile(/tmp/multipartBody2239761374564174109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232013735,"filename":"image_30012025_11_11_17_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/30/5e22becc236d8fabca76096ff32bb615.jpg","text":"TemporaryFile(/tmp/multipartBody1350302525032248003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232013735,"filename":"image_30012025_11_12_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/30/601d3b990d99adc4e66b0f6f380233ec.jpg","text":"TemporaryFile(/tmp/multipartBody6791063939734349651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232013735,"filename":"image_30012025_11_11_47_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0c8411d667b9ff1455ce2ddaf04c170f.jpg","text":"TemporaryFile(/tmp/multipartBody4280301844077447585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232013735,"filename":"image_30012025_11_12_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/30/9c2ec32aac67a0f7a3e710170984cea4.jpg","text":"TemporaryFile(/tmp/multipartBody6491681327703560375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232013735,"filename":"image_30012025_11_11_36_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dcac05a194fcd71dc6ed804b67c5a3ce.jpg","text":"TemporaryFile(/tmp/multipartBody7468487416389006594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232013735,"filename":"image_30012025_11_11_56_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332959622","file1":"1332959618","file0":"1332959613","file4":"1332959687","file5":"1332959690","file3":"1332959641"},"map_files_photo_id_array":[{"photo_id":"1332959690","filename":"file5"},{"photo_id":"1332959622","filename":"file2"},{"photo_id":"1332959687","filename":"file4"},{"photo_id":"1332959618","filename":"file1"},{"photo_id":"1332959613","filename":"file0"},{"photo_id":"1332959641","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332959613":["hashtag1","hashtag2"]},{"1332959690":["hashtag1","hashtag2"]},{"1332959622":["hashtag1","hashtag2"]},{"1332959687":["hashtag1","hashtag2"]},{"1332959618":["hashtag1","hashtag2"]},{"1332959641":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332959613, 1332959690, 1332959622, 1332959687, 1332959618, 1332959641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99071145057678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:13:33.147587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/12/image_30012025_11_12_37_10427.jpg', '/home/pi/Desktop/images/30012025/11/12/image_30012025_11_12_46_9418.jpg', '/home/pi/Desktop/images/30012025/11/12/image_30012025_11_12_57_10345.jpg', '/home/pi/Desktop/images/30012025/11/12/image_30012025_11_13_07_10340.jpg', '/home/pi/Desktop/images/30012025/11/13/image_30012025_11_13_16_9365.jpg', '/home/pi/Desktop/images/30012025/11/13/image_30012025_11_13_27_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/12/image_30012025_11_12_37_10427.jpg
/home/pi/Desktop/images/30012025/11/12/image_30012025_11_12_46_9418.jpg
/home/pi/Desktop/images/30012025/11/12/image_30012025_11_12_57_10345.jpg
/home/pi/Desktop/images/30012025/11/12/image_30012025_11_13_07_10340.jpg
/home/pi/Desktop/images/30012025/11/13/image_30012025_11_13_16_9365.jpg
/home/pi/Desktop/images/30012025/11/13/image_30012025_11_13_27_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":["1332959754","1332959777","1332959762","1332959750","1332959758","1332959746"],"photo_ids_order":["1332959746","1332959750","1332959754","1332959758","1332959762","1332959777"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/397db34e3f4274f7ef3ee3d0504406a0.jpg","text":"TemporaryFile(/tmp/multipartBody269358306314416459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232074047,"filename":"image_30012025_11_12_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/30/962fb55bf4013c557d03d77d61ff2103.jpg","text":"TemporaryFile(/tmp/multipartBody4037854137338857052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232074047,"filename":"image_30012025_11_13_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/30/15fe4fea04a1b3ce5c46c75388c0e242.jpg","text":"TemporaryFile(/tmp/multipartBody6531743617129204818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232074047,"filename":"image_30012025_11_13_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/30/f31a53250a007d70c89e873e921c7ca2.jpg","text":"TemporaryFile(/tmp/multipartBody2451993808505922549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232074047,"filename":"image_30012025_11_12_46_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/30/93d4215ba084c8abd6e43b9d44cb36b5.jpg","text":"TemporaryFile(/tmp/multipartBody6953986455479101873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232074047,"filename":"image_30012025_11_13_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/30/93654eebb65ede67aaace2b725e9da08.jpg","text":"TemporaryFile(/tmp/multipartBody8684586209376978325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232074047,"filename":"image_30012025_11_12_37_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332959754","file1":"1332959750","file0":"1332959746","file4":"1332959762","file5":"1332959777","file3":"1332959758"},"map_files_photo_id_array":[{"photo_id":"1332959777","filename":"file5"},{"photo_id":"1332959754","filename":"file2"},{"photo_id":"1332959762","filename":"file4"},{"photo_id":"1332959750","filename":"file1"},{"photo_id":"1332959746","filename":"file0"},{"photo_id":"1332959758","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332959754":["hashtag1","hashtag2"]},{"1332959777":["hashtag1","hashtag2"]},{"1332959762":["hashtag1","hashtag2"]},{"1332959750":["hashtag1","hashtag2"]},{"1332959758":["hashtag1","hashtag2"]},{"1332959746":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332959754, 1332959777, 1332959762, 1332959750, 1332959758, 1332959746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.1326265335083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:14:32.373927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/13/image_30012025_11_13_57_10408.jpg', '/home/pi/Desktop/images/30012025/11/13/image_30012025_11_14_06_9408.jpg', '/home/pi/Desktop/images/30012025/11/14/image_30012025_11_14_17_10407.jpg', '/home/pi/Desktop/images/30012025/11/14/image_30012025_11_14_27_10367.jpg', '/home/pi/Desktop/images/30012025/11/14/image_30012025_11_14_36_9338.jpg', '/home/pi/Desktop/images/30012025/11/14/image_30012025_11_14_47_10384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/13/image_30012025_11_13_57_10408.jpg
/home/pi/Desktop/images/30012025/11/13/image_30012025_11_14_06_9408.jpg
/home/pi/Desktop/images/30012025/11/14/image_30012025_11_14_17_10407.jpg
/home/pi/Desktop/images/30012025/11/14/image_30012025_11_14_27_10367.jpg
/home/pi/Desktop/images/30012025/11/14/image_30012025_11_14_36_9338.jpg
/home/pi/Desktop/images/30012025/11/14/image_30012025_11_14_47_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":["1332959853","1332959805","1332959817","1332959822","1332959831","1332959828"],"photo_ids_order":["1332959805","1332959817","1332959822","1332959828","1332959831","1332959853"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fa825c17d4ae58a0b55aa4d5885f60a4.jpg","text":"TemporaryFile(/tmp/multipartBody3628387823559080811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232133297,"filename":"image_30012025_11_14_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/30/78fa01a9314c3a56529340e671c7cc32.jpg","text":"TemporaryFile(/tmp/multipartBody6162683916033048508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232133297,"filename":"image_30012025_11_13_57_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/30/0ddae4799d3c7cff32b903884034ad5a.jpg","text":"TemporaryFile(/tmp/multipartBody7196421197101601794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232133297,"filename":"image_30012025_11_14_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/30/c248b09980a56f6d050d8b4afe4da78e.jpg","text":"TemporaryFile(/tmp/multipartBody7172081078083561424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232133297,"filename":"image_30012025_11_14_17_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a302464118b61e0b95e727491f719493.jpg","text":"TemporaryFile(/tmp/multipartBody2894860809022251928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232133297,"filename":"image_30012025_11_14_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/30/0e61c3dce46710b30e10a595d3f23249.jpg","text":"TemporaryFile(/tmp/multipartBody8987794879367103559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232133297,"filename":"image_30012025_11_14_27_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332959822","file1":"1332959817","file0":"1332959805","file4":"1332959831","file5":"1332959853","file3":"1332959828"},"map_files_photo_id_array":[{"photo_id":"1332959853","filename":"file5"},{"photo_id":"1332959822","filename":"file2"},{"photo_id":"1332959831","filename":"file4"},{"photo_id":"1332959817","filename":"file1"},{"photo_id":"1332959805","filename":"file0"},{"photo_id":"1332959828","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332959853":["hashtag1","hashtag2"]},{"1332959805":["hashtag1","hashtag2"]},{"1332959817":["hashtag1","hashtag2"]},{"1332959822":["hashtag1","hashtag2"]},{"1332959831":["hashtag1","hashtag2"]},{"1332959828":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332959853, 1332959805, 1332959817, 1332959822, 1332959831, 1332959828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.63852643966675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:15:32.640220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/14/image_30012025_11_14_56_9405.jpg', '/home/pi/Desktop/images/30012025/11/15/image_30012025_11_15_17_10388.jpg', '/home/pi/Desktop/images/30012025/11/15/image_30012025_11_15_26_9343.jpg', '/home/pi/Desktop/images/30012025/11/15/image_30012025_11_15_37_10355.jpg', '/home/pi/Desktop/images/30012025/11/15/image_30012025_11_15_47_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/14/image_30012025_11_14_56_9405.jpg
/home/pi/Desktop/images/30012025/11/15/image_30012025_11_15_17_10388.jpg
/home/pi/Desktop/images/30012025/11/15/image_30012025_11_15_26_9343.jpg
/home/pi/Desktop/images/30012025/11/15/image_30012025_11_15_37_10355.jpg
/home/pi/Desktop/images/30012025/11/15/image_30012025_11_15_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":["1332959979","1332959934","1332960006","1332959956","1332959944"],"photo_ids_order":["1332959934","1332959944","1332959956","1332959979","1332960006"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ff54cc57868709f36393dc4a883008ca.jpg","text":"TemporaryFile(/tmp/multipartBody8886075782124523868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232193529,"filename":"image_30012025_11_15_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/30/ceeebc7d785376a99d8c78b9ba2a6dd9.jpg","text":"TemporaryFile(/tmp/multipartBody7238819361047149189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232193529,"filename":"image_30012025_11_14_56_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/30/d621915396180f40deaf901098f24b38.jpg","text":"TemporaryFile(/tmp/multipartBody7679941021862681684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232193529,"filename":"image_30012025_11_15_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/30/ee5e639c803ea83754ea509f9a95ba49.jpg","text":"TemporaryFile(/tmp/multipartBody6851207673111661939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232193529,"filename":"image_30012025_11_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/30/fe4e3dab457161bc5b15fba791fa69a2.jpg","text":"TemporaryFile(/tmp/multipartBody6139645751715870419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232193529,"filename":"image_30012025_11_15_17_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332959956","file1":"1332959944","file0":"1332959934","file4":"1332960006","file3":"1332959979"},"map_files_photo_id_array":[{"photo_id":"1332959956","filename":"file2"},{"photo_id":"1332960006","filename":"file4"},{"photo_id":"1332959944","filename":"file1"},{"photo_id":"1332959934","filename":"file0"},{"photo_id":"1332959979","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332959979":["hashtag1","hashtag2"]},{"1332959934":["hashtag1","hashtag2"]},{"1332960006":["hashtag1","hashtag2"]},{"1332959956":["hashtag1","hashtag2"]},{"1332959944":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332959979, 1332959934, 1332960006, 1332959956, 1332959944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.378355264663696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:16:32.779406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/15/image_30012025_11_15_56_9369.jpg', '/home/pi/Desktop/images/30012025/11/15/image_30012025_11_16_07_10370.jpg', '/home/pi/Desktop/images/30012025/11/16/image_30012025_11_16_17_10420.jpg', '/home/pi/Desktop/images/30012025/11/16/image_30012025_11_16_27_9358.jpg', '/home/pi/Desktop/images/30012025/11/16/image_30012025_11_16_37_10449.jpg', '/home/pi/Desktop/images/30012025/11/16/image_30012025_11_16_46_9363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/15/image_30012025_11_15_56_9369.jpg
/home/pi/Desktop/images/30012025/11/15/image_30012025_11_16_07_10370.jpg
/home/pi/Desktop/images/30012025/11/16/image_30012025_11_16_17_10420.jpg
/home/pi/Desktop/images/30012025/11/16/image_30012025_11_16_27_9358.jpg
/home/pi/Desktop/images/30012025/11/16/image_30012025_11_16_37_10449.jpg
/home/pi/Desktop/images/30012025/11/16/image_30012025_11_16_46_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":["1332960109","1332960090","1332960118","1332960103","1332960096","1332960114"],"photo_ids_order":["1332960090","1332960096","1332960103","1332960109","1332960114","1332960118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dab96d4da57d1ae6b34f93968d194413.jpg","text":"TemporaryFile(/tmp/multipartBody3052130139056259460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232253696,"filename":"image_30012025_11_16_27_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/30/00115dcd56ff0c156750be2632f9e255.jpg","text":"TemporaryFile(/tmp/multipartBody3591756224235382949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232253696,"filename":"image_30012025_11_15_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/30/47011b9f9aad39744d2419fd2c1e0b40.jpg","text":"TemporaryFile(/tmp/multipartBody6726785618206027928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232253696,"filename":"image_30012025_11_16_46_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/30/744c32a8e92de87b493e6ba3da51dbbf.jpg","text":"TemporaryFile(/tmp/multipartBody1491599729146029557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232253696,"filename":"image_30012025_11_16_17_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/30/edbdf452effac5c86cfc24c96aa70ccb.jpg","text":"TemporaryFile(/tmp/multipartBody8644165038048281493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232253696,"filename":"image_30012025_11_16_07_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/30/8d856c0a812820295dcd81d05a24a87b.jpg","text":"TemporaryFile(/tmp/multipartBody7910691204068171563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232253696,"filename":"image_30012025_11_16_37_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332960103","file1":"1332960096","file0":"1332960090","file4":"1332960114","file5":"1332960118","file3":"1332960109"},"map_files_photo_id_array":[{"photo_id":"1332960118","filename":"file5"},{"photo_id":"1332960103","filename":"file2"},{"photo_id":"1332960114","filename":"file4"},{"photo_id":"1332960096","filename":"file1"},{"photo_id":"1332960090","filename":"file0"},{"photo_id":"1332960109","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332960109":["hashtag1","hashtag2"]},{"1332960090":["hashtag1","hashtag2"]},{"1332960118":["hashtag1","hashtag2"]},{"1332960103":["hashtag1","hashtag2"]},{"1332960096":["hashtag1","hashtag2"]},{"1332960114":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332960109, 1332960090, 1332960118, 1332960103, 1332960096, 1332960114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.517672538757324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:17:33.128007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/16/image_30012025_11_16_57_10366.jpg', '/home/pi/Desktop/images/30012025/11/16/image_30012025_11_17_07_10462.jpg', '/home/pi/Desktop/images/30012025/11/17/image_30012025_11_17_17_9370.jpg', '/home/pi/Desktop/images/30012025/11/17/image_30012025_11_17_27_10434.jpg', '/home/pi/Desktop/images/30012025/11/17/image_30012025_11_17_36_9363.jpg', '/home/pi/Desktop/images/30012025/11/17/image_30012025_11_17_47_10375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/16/image_30012025_11_16_57_10366.jpg
/home/pi/Desktop/images/30012025/11/16/image_30012025_11_17_07_10462.jpg
/home/pi/Desktop/images/30012025/11/17/image_30012025_11_17_17_9370.jpg
/home/pi/Desktop/images/30012025/11/17/image_30012025_11_17_27_10434.jpg
/home/pi/Desktop/images/30012025/11/17/image_30012025_11_17_36_9363.jpg
/home/pi/Desktop/images/30012025/11/17/image_30012025_11_17_47_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":["1332960171","1332960168","1332960156","1332960164","1332960175","1332960160"],"photo_ids_order":["1332960156","1332960160","1332960164","1332960168","1332960171","1332960175"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bfe98134a5ea0901ff67487bb46fcfac.jpg","text":"TemporaryFile(/tmp/multipartBody3462327336380362316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232314037,"filename":"image_30012025_11_17_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/30/3c093501b8733c0b4c9b63614e4a837a.jpg","text":"TemporaryFile(/tmp/multipartBody6091999269988472907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232314037,"filename":"image_30012025_11_17_27_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/30/84c75363a98b57543f94d195f8a1c9b4.jpg","text":"TemporaryFile(/tmp/multipartBody713854769094838920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232314037,"filename":"image_30012025_11_16_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/30/15d2dbf4e0ffd73abe969135c631f6bf.jpg","text":"TemporaryFile(/tmp/multipartBody9122560300879839103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232314037,"filename":"image_30012025_11_17_17_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/30/6120d722fdb831727e9990a6a1d1edb5.jpg","text":"TemporaryFile(/tmp/multipartBody237158405121586472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232314037,"filename":"image_30012025_11_17_47_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/333cdbaaeed587254513b4dfb59ad2fc.jpg","text":"TemporaryFile(/tmp/multipartBody1225201372562186198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232314037,"filename":"image_30012025_11_17_07_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332960164","file1":"1332960160","file0":"1332960156","file4":"1332960171","file5":"1332960175","file3":"1332960168"},"map_files_photo_id_array":[{"photo_id":"1332960175","filename":"file5"},{"photo_id":"1332960164","filename":"file2"},{"photo_id":"1332960171","filename":"file4"},{"photo_id":"1332960160","filename":"file1"},{"photo_id":"1332960156","filename":"file0"},{"photo_id":"1332960168","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332960171":["hashtag1","hashtag2"]},{"1332960168":["hashtag1","hashtag2"]},{"1332960156":["hashtag1","hashtag2"]},{"1332960164":["hashtag1","hashtag2"]},{"1332960175":["hashtag1","hashtag2"]},{"1332960160":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332960171, 1332960168, 1332960156, 1332960164, 1332960175, 1332960160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40474557876587 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:18:32.218536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/17/image_30012025_11_17_57_10462.jpg', '/home/pi/Desktop/images/30012025/11/17/image_30012025_11_18_07_9356.jpg', '/home/pi/Desktop/images/30012025/11/18/image_30012025_11_18_17_10438.jpg', '/home/pi/Desktop/images/30012025/11/18/image_30012025_11_18_26_9345.jpg', '/home/pi/Desktop/images/30012025/11/18/image_30012025_11_18_37_10386.jpg', '/home/pi/Desktop/images/30012025/11/18/image_30012025_11_18_47_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/17/image_30012025_11_17_57_10462.jpg
/home/pi/Desktop/images/30012025/11/17/image_30012025_11_18_07_9356.jpg
/home/pi/Desktop/images/30012025/11/18/image_30012025_11_18_17_10438.jpg
/home/pi/Desktop/images/30012025/11/18/image_30012025_11_18_26_9345.jpg
/home/pi/Desktop/images/30012025/11/18/image_30012025_11_18_37_10386.jpg
/home/pi/Desktop/images/30012025/11/18/image_30012025_11_18_47_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":["1332960229","1332960239","1332960233","1332960242","1332960224","1332960244"],"photo_ids_order":["1332960224","1332960229","1332960233","1332960239","1332960242","1332960244"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/845b54580ebdd6387b5020a02c7f1ff5.jpg","text":"TemporaryFile(/tmp/multipartBody8518803053635644308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232373157,"filename":"image_30012025_11_18_07_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/30/c60acc4a13718981936f50b1478be379.jpg","text":"TemporaryFile(/tmp/multipartBody7971543404704181575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232373157,"filename":"image_30012025_11_18_26_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/faa8c88aab1e3be0c0773c63d96979bb.jpg","text":"TemporaryFile(/tmp/multipartBody388296499986518760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232373157,"filename":"image_30012025_11_18_17_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/30/02708c9bd84a21ffb0427d3ce94539be.jpg","text":"TemporaryFile(/tmp/multipartBody1468818527898431777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232373157,"filename":"image_30012025_11_18_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/30/0e9b450d651a448fd772fc29f6669cbb.jpg","text":"TemporaryFile(/tmp/multipartBody6939948722980927166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232373157,"filename":"image_30012025_11_17_57_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/30/fd857dc1cc694d47809bc0365716d78b.jpg","text":"TemporaryFile(/tmp/multipartBody7919070009592462054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232373157,"filename":"image_30012025_11_18_47_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332960233","file1":"1332960229","file0":"1332960224","file4":"1332960242","file5":"1332960244","file3":"1332960239"},"map_files_photo_id_array":[{"photo_id":"1332960244","filename":"file5"},{"photo_id":"1332960233","filename":"file2"},{"photo_id":"1332960242","filename":"file4"},{"photo_id":"1332960229","filename":"file1"},{"photo_id":"1332960224","filename":"file0"},{"photo_id":"1332960239","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332960229":["hashtag1","hashtag2"]},{"1332960239":["hashtag1","hashtag2"]},{"1332960233":["hashtag1","hashtag2"]},{"1332960242":["hashtag1","hashtag2"]},{"1332960224":["hashtag1","hashtag2"]},{"1332960244":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332960229, 1332960239, 1332960233, 1332960242, 1332960224, 1332960244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.39410400390625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:19:32.486626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/18/image_30012025_11_18_56_9344.jpg', '/home/pi/Desktop/images/30012025/11/19/image_30012025_11_19_27_9375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/18/image_30012025_11_18_56_9344.jpg
/home/pi/Desktop/images/30012025/11/19/image_30012025_11_19_27_9375.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332960270","1332960276"],"photo_ids_order":["1332960270","1332960276"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8489fad66a090b3839f5e85b6f4f00be.jpg","text":"TemporaryFile(/tmp/multipartBody8161983925850012661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232433343,"filename":"image_30012025_11_18_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/30/56fe6ed929eeddde5208eb4316ec02ee.jpg","text":"TemporaryFile(/tmp/multipartBody8769938386297294473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232433343,"filename":"image_30012025_11_19_27_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1332960276","file0":"1332960270"},"map_files_photo_id_array":[{"photo_id":"1332960276","filename":"file1"},{"photo_id":"1332960270","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332960270":["hashtag1","hashtag2"]},{"1332960276":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332960270, 1332960276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.51565170288086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:19:52.454569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/49/image_28012025_20_49_35_9346.jpg', '/home/pi/Desktop/images/28012025/20/49/image_28012025_20_49_45_10362.jpg', '/home/pi/Desktop/images/28012025/20/49/image_28012025_20_49_55_10346.jpg', '/home/pi/Desktop/images/28012025/20/49/image_28012025_20_50_05_9447.jpg', '/home/pi/Desktop/images/28012025/20/50/image_28012025_20_50_15_10485.jpg', '/home/pi/Desktop/images/28012025/20/50/image_28012025_20_50_25_9358.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/49/image_28012025_20_49_35_9346.jpg
/home/pi/Desktop/images/28012025/20/49/image_28012025_20_49_45_10362.jpg
/home/pi/Desktop/images/28012025/20/49/image_28012025_20_49_55_10346.jpg
/home/pi/Desktop/images/28012025/20/49/image_28012025_20_50_05_9447.jpg
/home/pi/Desktop/images/28012025/20/50/image_28012025_20_50_15_10485.jpg
/home/pi/Desktop/images/28012025/20/50/image_28012025_20_50_25_9358.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":["1332960334","1332960288","1332960362","1332960440","1332960329","1332960323"],"photo_ids_order":["1332960288","1332960323","1332960329","1332960334","1332960362","1332960440"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6e7d04a1861546b27bad9bf67402f193.jpg","text":"TemporaryFile(/tmp/multipartBody3138372398534350092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232454840,"filename":"image_28012025_20_50_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/30/e8c0a71aacb7e82fbdebe2a575c9b6ed.jpg","text":"TemporaryFile(/tmp/multipartBody2286608291784158972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232454840,"filename":"image_28012025_20_49_35_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/30/48d5539fad146a54fafe17c0ca3fbf87.jpg","text":"TemporaryFile(/tmp/multipartBody5323277592570375441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232454840,"filename":"image_28012025_20_50_15_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/932cc0ee2a4584051243a4c76e7f9f62.jpg","text":"TemporaryFile(/tmp/multipartBody4260684584139462929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232454840,"filename":"image_28012025_20_50_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/30/73f8df6faa619d773175f87274bc51cb.jpg","text":"TemporaryFile(/tmp/multipartBody2764723236154938870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232454840,"filename":"image_28012025_20_49_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/30/08cf2f9f3d8cf66eb5d0e07e4772e205.jpg","text":"TemporaryFile(/tmp/multipartBody5450405069833745982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232454840,"filename":"image_28012025_20_49_45_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332960329","file1":"1332960323","file0":"1332960288","file4":"1332960362","file5":"1332960440","file3":"1332960334"},"map_files_photo_id_array":[{"photo_id":"1332960440","filename":"file5"},{"photo_id":"1332960329","filename":"file2"},{"photo_id":"1332960362","filename":"file4"},{"photo_id":"1332960323","filename":"file1"},{"photo_id":"1332960288","filename":"file0"},{"photo_id":"1332960334","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332960334":["hashtag1","hashtag2"]},{"1332960288":["hashtag1","hashtag2"]},{"1332960362":["hashtag1","hashtag2"]},{"1332960440":["hashtag1","hashtag2"]},{"1332960329":["hashtag1","hashtag2"]},{"1332960323":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332960334, 1332960288, 1332960362, 1332960440, 1332960329, 1332960323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.10045647621155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:21:32.779986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/19/image_30012025_11_19_57_10369.jpg', '/home/pi/Desktop/images/30012025/11/19/image_30012025_11_20_07_10434.jpg', '/home/pi/Desktop/images/30012025/11/20/image_30012025_11_20_17_9357.jpg', '/home/pi/Desktop/images/30012025/11/20/image_30012025_11_20_27_10396.jpg', '/home/pi/Desktop/images/30012025/11/20/image_30012025_11_20_36_9359.jpg', '/home/pi/Desktop/images/30012025/11/20/image_30012025_11_20_47_10422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/19/image_30012025_11_19_57_10369.jpg
/home/pi/Desktop/images/30012025/11/19/image_30012025_11_20_07_10434.jpg
/home/pi/Desktop/images/30012025/11/20/image_30012025_11_20_17_9357.jpg
/home/pi/Desktop/images/30012025/11/20/image_30012025_11_20_27_10396.jpg
/home/pi/Desktop/images/30012025/11/20/image_30012025_11_20_36_9359.jpg
/home/pi/Desktop/images/30012025/11/20/image_30012025_11_20_47_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":["1332960473","1332960461","1332960470","1332960467","1332960478","1332960457"],"photo_ids_order":["1332960457","1332960461","1332960467","1332960470","1332960473","1332960478"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/784f10e1c76483b16c7602ec96806b7d.jpg","text":"TemporaryFile(/tmp/multipartBody1525046065021641551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232553702,"filename":"image_30012025_11_20_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/30/953a248a62d46f3c3a4376a1bc3fb6b4.jpg","text":"TemporaryFile(/tmp/multipartBody6051173013534585653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232553702,"filename":"image_30012025_11_20_07_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/30/82393d3e8295378e29d50baba9a07aff.jpg","text":"TemporaryFile(/tmp/multipartBody4367375585723126272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232553702,"filename":"image_30012025_11_20_27_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/30/c3b16bde945927db4732fd2d5ba1e2e6.jpg","text":"TemporaryFile(/tmp/multipartBody8953005899011191667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232553702,"filename":"image_30012025_11_20_17_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7551172136f39189a07bc3824f291a76.jpg","text":"TemporaryFile(/tmp/multipartBody6540422461334582544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232553702,"filename":"image_30012025_11_20_47_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/30/94d26c2037289318e9034722e6c0fd9d.jpg","text":"TemporaryFile(/tmp/multipartBody5180695377779100780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232553702,"filename":"image_30012025_11_19_57_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332960467","file1":"1332960461","file0":"1332960457","file4":"1332960473","file5":"1332960478","file3":"1332960470"},"map_files_photo_id_array":[{"photo_id":"1332960478","filename":"file5"},{"photo_id":"1332960467","filename":"file2"},{"photo_id":"1332960473","filename":"file4"},{"photo_id":"1332960461","filename":"file1"},{"photo_id":"1332960457","filename":"file0"},{"photo_id":"1332960470","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332960473":["hashtag1","hashtag2"]},{"1332960461":["hashtag1","hashtag2"]},{"1332960470":["hashtag1","hashtag2"]},{"1332960467":["hashtag1","hashtag2"]},{"1332960478":["hashtag1","hashtag2"]},{"1332960457":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332960473, 1332960461, 1332960470, 1332960467, 1332960478, 1332960457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.93775510787964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:22:32.987589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/20/image_30012025_11_20_57_10347.jpg', '/home/pi/Desktop/images/30012025/11/20/image_30012025_11_21_06_9348.jpg', '/home/pi/Desktop/images/30012025/11/21/image_30012025_11_21_17_10337.jpg', '/home/pi/Desktop/images/30012025/11/21/image_30012025_11_21_27_10437.jpg', '/home/pi/Desktop/images/30012025/11/21/image_30012025_11_21_37_9362.jpg', '/home/pi/Desktop/images/30012025/11/21/image_30012025_11_21_56_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/20/image_30012025_11_20_57_10347.jpg
/home/pi/Desktop/images/30012025/11/20/image_30012025_11_21_06_9348.jpg
/home/pi/Desktop/images/30012025/11/21/image_30012025_11_21_17_10337.jpg
/home/pi/Desktop/images/30012025/11/21/image_30012025_11_21_27_10437.jpg
/home/pi/Desktop/images/30012025/11/21/image_30012025_11_21_37_9362.jpg
/home/pi/Desktop/images/30012025/11/21/image_30012025_11_21_56_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.5183250904083252 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 11:22:42.940275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/20/image_30012025_11_20_57_10347.jpg', '/home/pi/Desktop/images/30012025/11/20/image_30012025_11_21_06_9348.jpg', '/home/pi/Desktop/images/30012025/11/21/image_30012025_11_21_17_10337.jpg', '/home/pi/Desktop/images/30012025/11/21/image_30012025_11_21_27_10437.jpg', '/home/pi/Desktop/images/30012025/11/21/image_30012025_11_21_37_9362.jpg', '/home/pi/Desktop/images/30012025/11/21/image_30012025_11_21_56_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/20/image_30012025_11_20_57_10347.jpg
/home/pi/Desktop/images/30012025/11/20/image_30012025_11_21_06_9348.jpg
/home/pi/Desktop/images/30012025/11/21/image_30012025_11_21_17_10337.jpg
/home/pi/Desktop/images/30012025/11/21/image_30012025_11_21_27_10437.jpg
/home/pi/Desktop/images/30012025/11/21/image_30012025_11_21_37_9362.jpg
/home/pi/Desktop/images/30012025/11/21/image_30012025_11_21_56_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":["1332960543","1332960549","1332960560","1332960554","1332960539","1332960565"],"photo_ids_order":["1332960539","1332960543","1332960549","1332960554","1332960560","1332960565"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/27f25bc3056e2c34a89ad6e333007f4d.jpg","text":"TemporaryFile(/tmp/multipartBody701384237382208253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232623839,"filename":"image_30012025_11_21_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/30/28eb55b988a7c4ca9d77d0b4a790a818.jpg","text":"TemporaryFile(/tmp/multipartBody8737223151912076345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232623839,"filename":"image_30012025_11_21_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/30/ce663e43f66f2c713b4b0a87d884fea5.jpg","text":"TemporaryFile(/tmp/multipartBody5036746164670060310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232623839,"filename":"image_30012025_11_21_37_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/30/5b0e1b38c864a3b760cc40e541223b20.jpg","text":"TemporaryFile(/tmp/multipartBody1375995493712294996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232623839,"filename":"image_30012025_11_21_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/30/4eae604684e5acaca09a2ce6dd100af9.jpg","text":"TemporaryFile(/tmp/multipartBody8141105172805794260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232623839,"filename":"image_30012025_11_20_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/30/8c6c89875100d4539c3a99f019575464.jpg","text":"TemporaryFile(/tmp/multipartBody3390169160706339751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232623839,"filename":"image_30012025_11_21_56_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332960549","file1":"1332960543","file0":"1332960539","file4":"1332960560","file5":"1332960565","file3":"1332960554"},"map_files_photo_id_array":[{"photo_id":"1332960565","filename":"file5"},{"photo_id":"1332960549","filename":"file2"},{"photo_id":"1332960560","filename":"file4"},{"photo_id":"1332960543","filename":"file1"},{"photo_id":"1332960539","filename":"file0"},{"photo_id":"1332960554","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332960543":["hashtag1","hashtag2"]},{"1332960549":["hashtag1","hashtag2"]},{"1332960560":["hashtag1","hashtag2"]},{"1332960554":["hashtag1","hashtag2"]},{"1332960539":["hashtag1","hashtag2"]},{"1332960565":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332960543, 1332960549, 1332960560, 1332960554, 1332960539, 1332960565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.648975133895874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:23:32.280561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/21/image_30012025_11_22_07_10341.jpg', '/home/pi/Desktop/images/30012025/11/22/image_30012025_11_22_17_10458.jpg', '/home/pi/Desktop/images/30012025/11/22/image_30012025_11_22_27_9368.jpg', '/home/pi/Desktop/images/30012025/11/22/image_30012025_11_22_37_10445.jpg', '/home/pi/Desktop/images/30012025/11/22/image_30012025_11_22_46_9369.jpg', '/home/pi/Desktop/images/30012025/11/22/image_30012025_11_22_57_10453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/21/image_30012025_11_22_07_10341.jpg
/home/pi/Desktop/images/30012025/11/22/image_30012025_11_22_17_10458.jpg
/home/pi/Desktop/images/30012025/11/22/image_30012025_11_22_27_9368.jpg
/home/pi/Desktop/images/30012025/11/22/image_30012025_11_22_37_10445.jpg
/home/pi/Desktop/images/30012025/11/22/image_30012025_11_22_46_9369.jpg
/home/pi/Desktop/images/30012025/11/22/image_30012025_11_22_57_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":["1332960594","1332960600","1332960603","1332960583","1332960602","1332960589"],"photo_ids_order":["1332960583","1332960589","1332960594","1332960600","1332960602","1332960603"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ef090b07f8d4d567d8cb67014507ef52.jpg","text":"TemporaryFile(/tmp/multipartBody9085238074447515239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232673197,"filename":"image_30012025_11_22_27_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/30/3f5790d4ae9eb1403010a691fb4f2867.jpg","text":"TemporaryFile(/tmp/multipartBody209022519782341933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232673197,"filename":"image_30012025_11_22_37_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/30/2cdb2b37e31433c8fd27047df7b06a7d.jpg","text":"TemporaryFile(/tmp/multipartBody6722161799271165206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232673197,"filename":"image_30012025_11_22_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/30/31fc5e0d9da62d63a2d10dd7f65d9775.jpg","text":"TemporaryFile(/tmp/multipartBody5923373870683970494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232673197,"filename":"image_30012025_11_22_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/30/07fc45643250153798cbbaa03fa2e3a3.jpg","text":"TemporaryFile(/tmp/multipartBody8247272806906042282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232673197,"filename":"image_30012025_11_22_46_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/30/dfdda42ea15e2136698a44dfbaedc326.jpg","text":"TemporaryFile(/tmp/multipartBody1258962127824880522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232673197,"filename":"image_30012025_11_22_17_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332960594","file1":"1332960589","file0":"1332960583","file4":"1332960602","file5":"1332960603","file3":"1332960600"},"map_files_photo_id_array":[{"photo_id":"1332960603","filename":"file5"},{"photo_id":"1332960594","filename":"file2"},{"photo_id":"1332960602","filename":"file4"},{"photo_id":"1332960589","filename":"file1"},{"photo_id":"1332960583","filename":"file0"},{"photo_id":"1332960600","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332960594":["hashtag1","hashtag2"]},{"1332960600":["hashtag1","hashtag2"]},{"1332960603":["hashtag1","hashtag2"]},{"1332960583":["hashtag1","hashtag2"]},{"1332960602":["hashtag1","hashtag2"]},{"1332960589":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332960594, 1332960600, 1332960603, 1332960583, 1332960602, 1332960589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.500685691833496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:24:32.457308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/22/image_30012025_11_23_06_9427.jpg', '/home/pi/Desktop/images/30012025/11/23/image_30012025_11_23_17_10331.jpg', '/home/pi/Desktop/images/30012025/11/23/image_30012025_11_23_27_10400.jpg', '/home/pi/Desktop/images/30012025/11/23/image_30012025_11_23_36_9353.jpg', '/home/pi/Desktop/images/30012025/11/23/image_30012025_11_24_07_9419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/22/image_30012025_11_23_06_9427.jpg
/home/pi/Desktop/images/30012025/11/23/image_30012025_11_23_17_10331.jpg
/home/pi/Desktop/images/30012025/11/23/image_30012025_11_23_27_10400.jpg
/home/pi/Desktop/images/30012025/11/23/image_30012025_11_23_36_9353.jpg
/home/pi/Desktop/images/30012025/11/23/image_30012025_11_24_07_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":["1332960711","1332960641","1332960629","1332960634","1332960637"],"photo_ids_order":["1332960629","1332960634","1332960637","1332960641","1332960711"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c208e7cb76aec49b8c40c8e2ef2cb3e2.jpg","text":"TemporaryFile(/tmp/multipartBody7662875945293706622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232733362,"filename":"image_30012025_11_24_07_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/30/1d71c858b7dc8117eebfe3d5d7ce85bb.jpg","text":"TemporaryFile(/tmp/multipartBody4462828449110423122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232733362,"filename":"image_30012025_11_23_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/30/f80097b53189316f89e7ba958408a719.jpg","text":"TemporaryFile(/tmp/multipartBody127532976602421775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232733362,"filename":"image_30012025_11_23_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/30/124a461f4f0bbde76d356990da1639a2.jpg","text":"TemporaryFile(/tmp/multipartBody5035298961884328455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232733362,"filename":"image_30012025_11_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/30/455170769bfef3419dc38602e75a11ba.jpg","text":"TemporaryFile(/tmp/multipartBody4653362352173539149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232733362,"filename":"image_30012025_11_23_27_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332960637","file1":"1332960634","file0":"1332960629","file4":"1332960711","file3":"1332960641"},"map_files_photo_id_array":[{"photo_id":"1332960637","filename":"file2"},{"photo_id":"1332960711","filename":"file4"},{"photo_id":"1332960634","filename":"file1"},{"photo_id":"1332960629","filename":"file0"},{"photo_id":"1332960641","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332960711":["hashtag1","hashtag2"]},{"1332960641":["hashtag1","hashtag2"]},{"1332960629":["hashtag1","hashtag2"]},{"1332960634":["hashtag1","hashtag2"]},{"1332960637":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332960711, 1332960641, 1332960629, 1332960634, 1332960637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.422463178634644 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:25:32.816321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/24/image_30012025_11_24_47_10433.jpg', '/home/pi/Desktop/images/30012025/11/24/image_30012025_11_25_07_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/24/image_30012025_11_24_47_10433.jpg
/home/pi/Desktop/images/30012025/11/24/image_30012025_11_25_07_10404.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332962219","1332962205"],"photo_ids_order":["1332962205","1332962219"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/666e5551a4384fa045409af7916334c6.jpg","text":"TemporaryFile(/tmp/multipartBody6812830890197184855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232793653,"filename":"image_30012025_11_25_07_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/30/480188282b8940bb92fcfb9b2380eba8.jpg","text":"TemporaryFile(/tmp/multipartBody5351108463444087717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232793653,"filename":"image_30012025_11_24_47_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1332962219","file0":"1332962205"},"map_files_photo_id_array":[{"photo_id":"1332962219","filename":"file1"},{"photo_id":"1332962205","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332962219":["hashtag1","hashtag2"]},{"1332962205":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332962219, 1332962205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.763216257095337 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:25:52.685606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/50/image_28012025_20_50_35_10351.jpg', '/home/pi/Desktop/images/28012025/20/50/image_28012025_20_50_45_10356.jpg', '/home/pi/Desktop/images/28012025/20/50/image_28012025_20_50_55_9350.jpg', '/home/pi/Desktop/images/28012025/20/50/image_28012025_20_51_05_10350.jpg', '/home/pi/Desktop/images/28012025/20/51/image_28012025_20_51_35_10508.jpg', '/home/pi/Desktop/images/28012025/20/51/image_28012025_20_51_45_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/20/50/image_28012025_20_50_35_10351.jpg
/home/pi/Desktop/images/28012025/20/50/image_28012025_20_50_45_10356.jpg
/home/pi/Desktop/images/28012025/20/50/image_28012025_20_50_55_9350.jpg
/home/pi/Desktop/images/28012025/20/50/image_28012025_20_51_05_10350.jpg
/home/pi/Desktop/images/28012025/20/51/image_28012025_20_51_35_10508.jpg
/home/pi/Desktop/images/28012025/20/51/image_28012025_20_51_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 [200]>
b'{"photo_ids":["1332962409","1332962267","1332962263","1332962268","1332962415","1332962265"],"photo_ids_order":["1332962263","1332962265","1332962267","1332962268","1332962409","1332962415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/db09832dd50bdd68e392d5853b38000a.jpg","text":"TemporaryFile(/tmp/multipartBody1609050981541329344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232815102,"filename":"image_28012025_20_51_35_10508.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dcab1bed6e9307232f2f55a29a43792d.jpg","text":"TemporaryFile(/tmp/multipartBody3640423346187862301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232815102,"filename":"image_28012025_20_50_55_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/335eeec463ca15baeeaf4c860c6a8ae0.jpg","text":"TemporaryFile(/tmp/multipartBody7915367380691645151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232815102,"filename":"image_28012025_20_50_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/30/2823a2d41a1b734a818d70290ff53c08.jpg","text":"TemporaryFile(/tmp/multipartBody8980460975288069538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232815102,"filename":"image_28012025_20_51_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/30/d7f3350de1f22a88d688186735c40dec.jpg","text":"TemporaryFile(/tmp/multipartBody7907333084381792460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232815102,"filename":"image_28012025_20_51_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/30/8bb9a4fb9cda2983815202ccdd207e91.jpg","text":"TemporaryFile(/tmp/multipartBody402493989085200810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232815102,"filename":"image_28012025_20_50_45_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332962267","file1":"1332962265","file0":"1332962263","file4":"1332962409","file5":"1332962415","file3":"1332962268"},"map_files_photo_id_array":[{"photo_id":"1332962415","filename":"file5"},{"photo_id":"1332962267","filename":"file2"},{"photo_id":"1332962409","filename":"file4"},{"photo_id":"1332962265","filename":"file1"},{"photo_id":"1332962263","filename":"file0"},{"photo_id":"1332962268","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332962409":["hashtag1","hashtag2"]},{"1332962267":["hashtag1","hashtag2"]},{"1332962263":["hashtag1","hashtag2"]},{"1332962268":["hashtag1","hashtag2"]},{"1332962415":["hashtag1","hashtag2"]},{"1332962265":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332962409, 1332962267, 1332962263, 1332962268, 1332962415, 1332962265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.466710567474365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 11:26:42.822824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/25/image_30012025_11_25_37_9426.jpg', '/home/pi/Desktop/images/30012025/11/26/image_30012025_11_26_17_9347.jpg', '/home/pi/Desktop/images/30012025/11/26/image_30012025_11_26_47_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/25/image_30012025_11_25_37_9426.jpg
/home/pi/Desktop/images/30012025/11/26/image_30012025_11_26_17_9347.jpg
/home/pi/Desktop/images/30012025/11/26/image_30012025_11_26_47_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332962432","1332962441","1332962437"],"photo_ids_order":["1332962432","1332962437","1332962441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/de1ec0a8947a7c8c8e09039fb68ef6f7.jpg","text":"TemporaryFile(/tmp/multipartBody94311675515568851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232863676,"filename":"image_30012025_11_25_37_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/30/77cfa31ecba042fefaf6e14e99e52476.jpg","text":"TemporaryFile(/tmp/multipartBody7471810307339872655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232863676,"filename":"image_30012025_11_26_47_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8c75d19e1bb6d7fde47f8d08a765226b.jpg","text":"TemporaryFile(/tmp/multipartBody4509608646272716793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232863676,"filename":"image_30012025_11_26_17_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332962441","file1":"1332962437","file0":"1332962432"},"map_files_photo_id_array":[{"photo_id":"1332962441","filename":"file2"},{"photo_id":"1332962437","filename":"file1"},{"photo_id":"1332962432","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332962432":["hashtag1","hashtag2"]},{"1332962441":["hashtag1","hashtag2"]},{"1332962437":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332962432, 1332962441, 1332962437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.075686931610107 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:27:33.130851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/26/image_30012025_11_26_57_10355.jpg', '/home/pi/Desktop/images/30012025/11/26/image_30012025_11_27_06_9367.jpg', '/home/pi/Desktop/images/30012025/11/27/image_30012025_11_27_17_10508.jpg', '/home/pi/Desktop/images/30012025/11/27/image_30012025_11_27_26_9380.jpg', '/home/pi/Desktop/images/30012025/11/27/image_30012025_11_27_37_10346.jpg', '/home/pi/Desktop/images/30012025/11/27/image_30012025_11_27_47_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/26/image_30012025_11_26_57_10355.jpg
/home/pi/Desktop/images/30012025/11/26/image_30012025_11_27_06_9367.jpg
/home/pi/Desktop/images/30012025/11/27/image_30012025_11_27_17_10508.jpg
/home/pi/Desktop/images/30012025/11/27/image_30012025_11_27_26_9380.jpg
/home/pi/Desktop/images/30012025/11/27/image_30012025_11_27_37_10346.jpg
/home/pi/Desktop/images/30012025/11/27/image_30012025_11_27_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":["1332962966","1332962995","1332963001","1332962988","1332963194","1332962979"],"photo_ids_order":["1332962966","1332962979","1332962988","1332962995","1332963001","1332963194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/72176a675f8f2461fb316f3bc806870a.jpg","text":"TemporaryFile(/tmp/multipartBody2759084033459323679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232914070,"filename":"image_30012025_11_26_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/30/4cab480611a8376088959ebb7b637b5e.jpg","text":"TemporaryFile(/tmp/multipartBody2696093186945280426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232914070,"filename":"image_30012025_11_27_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/30/3290d61d037e189353cdb07138186e18.jpg","text":"TemporaryFile(/tmp/multipartBody6212158565303390085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232914070,"filename":"image_30012025_11_27_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/30/0a25b29ad24e687ed92d897836edb0e2.jpg","text":"TemporaryFile(/tmp/multipartBody2857045107492047269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232914070,"filename":"image_30012025_11_27_17_10508.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6a47e94c4b13e7441505c88163dea9b8.jpg","text":"TemporaryFile(/tmp/multipartBody5155727602140550705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232914070,"filename":"image_30012025_11_27_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/30/a56b72567d7bf372c7390e8b58f022b7.jpg","text":"TemporaryFile(/tmp/multipartBody5362974675533580607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232914070,"filename":"image_30012025_11_27_06_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332962988","file1":"1332962979","file0":"1332962966","file4":"1332963001","file5":"1332963194","file3":"1332962995"},"map_files_photo_id_array":[{"photo_id":"1332963194","filename":"file5"},{"photo_id":"1332962988","filename":"file2"},{"photo_id":"1332963001","filename":"file4"},{"photo_id":"1332962979","filename":"file1"},{"photo_id":"1332962966","filename":"file0"},{"photo_id":"1332962995","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332962966":["hashtag1","hashtag2"]},{"1332962995":["hashtag1","hashtag2"]},{"1332963001":["hashtag1","hashtag2"]},{"1332962988":["hashtag1","hashtag2"]},{"1332963194":["hashtag1","hashtag2"]},{"1332962979":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332962966, 1332962995, 1332963001, 1332962988, 1332963194, 1332962979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.77254629135132 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:28:32.204848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/27/image_30012025_11_27_56_9365.jpg', '/home/pi/Desktop/images/30012025/11/27/image_30012025_11_28_07_10362.jpg', '/home/pi/Desktop/images/30012025/11/28/image_30012025_11_28_17_10436.jpg', '/home/pi/Desktop/images/30012025/11/28/image_30012025_11_28_26_9367.jpg', '/home/pi/Desktop/images/30012025/11/28/image_30012025_11_28_37_10400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/27/image_30012025_11_27_56_9365.jpg
/home/pi/Desktop/images/30012025/11/27/image_30012025_11_28_07_10362.jpg
/home/pi/Desktop/images/30012025/11/28/image_30012025_11_28_17_10436.jpg
/home/pi/Desktop/images/30012025/11/28/image_30012025_11_28_26_9367.jpg
/home/pi/Desktop/images/30012025/11/28/image_30012025_11_28_37_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":["1332963347","1332963413","1332963340","1332963463","1332963310"],"photo_ids_order":["1332963310","1332963340","1332963347","1332963413","1332963463"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f697213d96b82d845bd6590a1b23aeb1.jpg","text":"TemporaryFile(/tmp/multipartBody5472779057108399399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232973109,"filename":"image_30012025_11_28_17_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/30/f2ea77b6063155d33766eb583a08a040.jpg","text":"TemporaryFile(/tmp/multipartBody3570997497377666400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232973109,"filename":"image_30012025_11_28_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/30/8b14f5aef8b574124a93c8090702327d.jpg","text":"TemporaryFile(/tmp/multipartBody7117051751949973666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232973109,"filename":"image_30012025_11_28_07_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a4045bb579bd63ac6efb0d446b053bff.jpg","text":"TemporaryFile(/tmp/multipartBody6454117526560868719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232973109,"filename":"image_30012025_11_28_37_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d08001766414f0848546020961c264bd.jpg","text":"TemporaryFile(/tmp/multipartBody4828832640806259704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738232973109,"filename":"image_30012025_11_27_56_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332963347","file1":"1332963340","file0":"1332963310","file4":"1332963463","file3":"1332963413"},"map_files_photo_id_array":[{"photo_id":"1332963347","filename":"file2"},{"photo_id":"1332963463","filename":"file4"},{"photo_id":"1332963340","filename":"file1"},{"photo_id":"1332963310","filename":"file0"},{"photo_id":"1332963413","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332963347":["hashtag1","hashtag2"]},{"1332963413":["hashtag1","hashtag2"]},{"1332963340":["hashtag1","hashtag2"]},{"1332963463":["hashtag1","hashtag2"]},{"1332963310":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332963347, 1332963413, 1332963340, 1332963463, 1332963310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.061373233795166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:29:32.650396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/28/image_30012025_11_28_57_10351.jpg', '/home/pi/Desktop/images/30012025/11/28/image_30012025_11_29_07_10416.jpg', '/home/pi/Desktop/images/30012025/11/29/image_30012025_11_29_16_9388.jpg', '/home/pi/Desktop/images/30012025/11/29/image_30012025_11_29_27_10367.jpg', '/home/pi/Desktop/images/30012025/11/29/image_30012025_11_29_36_9400.jpg', '/home/pi/Desktop/images/30012025/11/29/image_30012025_11_29_47_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/28/image_30012025_11_28_57_10351.jpg
/home/pi/Desktop/images/30012025/11/28/image_30012025_11_29_07_10416.jpg
/home/pi/Desktop/images/30012025/11/29/image_30012025_11_29_16_9388.jpg
/home/pi/Desktop/images/30012025/11/29/image_30012025_11_29_27_10367.jpg
/home/pi/Desktop/images/30012025/11/29/image_30012025_11_29_36_9400.jpg
/home/pi/Desktop/images/30012025/11/29/image_30012025_11_29_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":["1332964372","1332964248","1332964605","1332964493","1332964652","1332964124"],"photo_ids_order":["1332964124","1332964248","1332964372","1332964493","1332964605","1332964652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/31fb6a818bd206324a06d88a827453b1.jpg","text":"TemporaryFile(/tmp/multipartBody4519353796005935313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233033552,"filename":"image_30012025_11_29_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/30/cde4dbebd05763b5ed2b532071e16f25.jpg","text":"TemporaryFile(/tmp/multipartBody6854290960564788198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233033552,"filename":"image_30012025_11_29_07_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cbd2812006b208a7204bb0c5467186cb.jpg","text":"TemporaryFile(/tmp/multipartBody4304779690614897540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233033552,"filename":"image_30012025_11_29_36_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/30/ebefe15ce28142d5853d75f325f4cb8a.jpg","text":"TemporaryFile(/tmp/multipartBody7090869861380803236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233033552,"filename":"image_30012025_11_29_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/30/83786e6fd3e283cd9b465fa5c4fcc032.jpg","text":"TemporaryFile(/tmp/multipartBody6322982778224388455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233033552,"filename":"image_30012025_11_29_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/30/bb7bd783c5d6290f3617ea53d5d4befd.jpg","text":"TemporaryFile(/tmp/multipartBody688801753757881060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233033552,"filename":"image_30012025_11_28_57_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332964372","file1":"1332964248","file0":"1332964124","file4":"1332964605","file5":"1332964652","file3":"1332964493"},"map_files_photo_id_array":[{"photo_id":"1332964652","filename":"file5"},{"photo_id":"1332964372","filename":"file2"},{"photo_id":"1332964605","filename":"file4"},{"photo_id":"1332964248","filename":"file1"},{"photo_id":"1332964124","filename":"file0"},{"photo_id":"1332964493","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332964372":["hashtag1","hashtag2"]},{"1332964248":["hashtag1","hashtag2"]},{"1332964605":["hashtag1","hashtag2"]},{"1332964493":["hashtag1","hashtag2"]},{"1332964652":["hashtag1","hashtag2"]},{"1332964124":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332964372, 1332964248, 1332964605, 1332964493, 1332964652, 1332964124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.3430540561676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:30:32.596761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/29/image_30012025_11_29_57_10396.jpg', '/home/pi/Desktop/images/30012025/11/29/image_30012025_11_30_06_9343.jpg', '/home/pi/Desktop/images/30012025/11/30/image_30012025_11_30_17_10357.jpg', '/home/pi/Desktop/images/30012025/11/30/image_30012025_11_30_27_10430.jpg', '/home/pi/Desktop/images/30012025/11/30/image_30012025_11_30_36_9334.jpg', '/home/pi/Desktop/images/30012025/11/30/image_30012025_11_30_47_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/29/image_30012025_11_29_57_10396.jpg
/home/pi/Desktop/images/30012025/11/29/image_30012025_11_30_06_9343.jpg
/home/pi/Desktop/images/30012025/11/30/image_30012025_11_30_17_10357.jpg
/home/pi/Desktop/images/30012025/11/30/image_30012025_11_30_27_10430.jpg
/home/pi/Desktop/images/30012025/11/30/image_30012025_11_30_36_9334.jpg
/home/pi/Desktop/images/30012025/11/30/image_30012025_11_30_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":["1332964702","1332964692","1332964674","1332964668","1332964787","1332964679"],"photo_ids_order":["1332964668","1332964674","1332964679","1332964692","1332964702","1332964787"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/61041030be4cef5d85225b7de8f21cf3.jpg","text":"TemporaryFile(/tmp/multipartBody2953754712334563528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233093498,"filename":"image_30012025_11_30_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/30/1167f771cca5aadd59563200838940bb.jpg","text":"TemporaryFile(/tmp/multipartBody7240202103617676711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233093498,"filename":"image_30012025_11_30_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/30/4e7199a98f822c2b896ac3bfbe384f20.jpg","text":"TemporaryFile(/tmp/multipartBody7190765866646875289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233093498,"filename":"image_30012025_11_30_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/30/321ba84a8c40f382b2faffd720c90054.jpg","text":"TemporaryFile(/tmp/multipartBody1867815793663994957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233093498,"filename":"image_30012025_11_29_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/30/cf73bbfb6a914760a5ee797929e67c85.jpg","text":"TemporaryFile(/tmp/multipartBody4864235277676603186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233093498,"filename":"image_30012025_11_30_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/30/010b03b6e1cd00b1193bdfed46fddd9f.jpg","text":"TemporaryFile(/tmp/multipartBody8789460521822548203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233093498,"filename":"image_30012025_11_30_17_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332964679","file1":"1332964674","file0":"1332964668","file4":"1332964702","file5":"1332964787","file3":"1332964692"},"map_files_photo_id_array":[{"photo_id":"1332964787","filename":"file5"},{"photo_id":"1332964679","filename":"file2"},{"photo_id":"1332964702","filename":"file4"},{"photo_id":"1332964674","filename":"file1"},{"photo_id":"1332964668","filename":"file0"},{"photo_id":"1332964692","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332964702":["hashtag1","hashtag2"]},{"1332964692":["hashtag1","hashtag2"]},{"1332964674":["hashtag1","hashtag2"]},{"1332964668":["hashtag1","hashtag2"]},{"1332964787":["hashtag1","hashtag2"]},{"1332964679":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332964702, 1332964692, 1332964674, 1332964668, 1332964787, 1332964679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.88785696029663 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:31:32.951247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/30/image_30012025_11_30_57_10343.jpg', '/home/pi/Desktop/images/30012025/11/30/image_30012025_11_31_06_9390.jpg', '/home/pi/Desktop/images/30012025/11/31/image_30012025_11_31_26_9394.jpg', '/home/pi/Desktop/images/30012025/11/31/image_30012025_11_31_37_10340.jpg', '/home/pi/Desktop/images/30012025/11/31/image_30012025_11_31_47_10402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/30/image_30012025_11_30_57_10343.jpg
/home/pi/Desktop/images/30012025/11/30/image_30012025_11_31_06_9390.jpg
/home/pi/Desktop/images/30012025/11/31/image_30012025_11_31_26_9394.jpg
/home/pi/Desktop/images/30012025/11/31/image_30012025_11_31_37_10340.jpg
/home/pi/Desktop/images/30012025/11/31/image_30012025_11_31_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":["1332965152","1332965149","1332965085","1332965058","1332965130"],"photo_ids_order":["1332965058","1332965085","1332965130","1332965149","1332965152"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/36b474559dbd34f5a0f22ebcedb2face.jpg","text":"TemporaryFile(/tmp/multipartBody9117471671057891857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233153855,"filename":"image_30012025_11_31_47_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/30/c51c3062823de7bb4d35b92d6b151069.jpg","text":"TemporaryFile(/tmp/multipartBody4839909544428789043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233153855,"filename":"image_30012025_11_31_37_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/be811651013ee767a0e9a59b4f4fb294.jpg","text":"TemporaryFile(/tmp/multipartBody2914134644498864342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233153855,"filename":"image_30012025_11_31_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/30/abb892ff786931033f776cf2c9785d9d.jpg","text":"TemporaryFile(/tmp/multipartBody8409216771738817183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233153855,"filename":"image_30012025_11_30_57_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ed40683a61eb489bd7aab84672c8648d.jpg","text":"TemporaryFile(/tmp/multipartBody2191001491341869778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233153855,"filename":"image_30012025_11_31_26_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332965130","file1":"1332965085","file0":"1332965058","file4":"1332965152","file3":"1332965149"},"map_files_photo_id_array":[{"photo_id":"1332965130","filename":"file2"},{"photo_id":"1332965152","filename":"file4"},{"photo_id":"1332965085","filename":"file1"},{"photo_id":"1332965058","filename":"file0"},{"photo_id":"1332965149","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332965152":["hashtag1","hashtag2"]},{"1332965149":["hashtag1","hashtag2"]},{"1332965085":["hashtag1","hashtag2"]},{"1332965058":["hashtag1","hashtag2"]},{"1332965130":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332965152, 1332965149, 1332965085, 1332965058, 1332965130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.661773681640625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:32:32.954803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/31/image_30012025_11_31_56_9348.jpg', '/home/pi/Desktop/images/30012025/11/31/image_30012025_11_32_07_10406.jpg', '/home/pi/Desktop/images/30012025/11/32/image_30012025_11_32_17_10384.jpg', '/home/pi/Desktop/images/30012025/11/32/image_30012025_11_32_26_9367.jpg', '/home/pi/Desktop/images/30012025/11/32/image_30012025_11_32_37_10469.jpg', '/home/pi/Desktop/images/30012025/11/32/image_30012025_11_32_46_9359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/31/image_30012025_11_31_56_9348.jpg
/home/pi/Desktop/images/30012025/11/31/image_30012025_11_32_07_10406.jpg
/home/pi/Desktop/images/30012025/11/32/image_30012025_11_32_17_10384.jpg
/home/pi/Desktop/images/30012025/11/32/image_30012025_11_32_26_9367.jpg
/home/pi/Desktop/images/30012025/11/32/image_30012025_11_32_37_10469.jpg
/home/pi/Desktop/images/30012025/11/32/image_30012025_11_32_46_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":["1332965215","1332965209","1332965199","1332965220","1332965222","1332965204"],"photo_ids_order":["1332965199","1332965204","1332965209","1332965215","1332965220","1332965222"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0729532667ff7485f0d038f1f850cc27.jpg","text":"TemporaryFile(/tmp/multipartBody7234415038677423492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233213861,"filename":"image_30012025_11_32_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/30/cc520b87493f5f2a1b7d898aa2a164b4.jpg","text":"TemporaryFile(/tmp/multipartBody3910522117298001325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233213861,"filename":"image_30012025_11_32_17_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/30/bc656e97dd2a35a42395ba05f7214127.jpg","text":"TemporaryFile(/tmp/multipartBody5486596151929260638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233213861,"filename":"image_30012025_11_31_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/30/8d1836494b7e9a710bb3f915c025c212.jpg","text":"TemporaryFile(/tmp/multipartBody4037696944839708850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233213861,"filename":"image_30012025_11_32_37_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/30/7e87a1495f4ae4f793f02719514100dd.jpg","text":"TemporaryFile(/tmp/multipartBody6395693525978198178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233213861,"filename":"image_30012025_11_32_46_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/30/076980e9a0c687fad8da0bffc96cd5bd.jpg","text":"TemporaryFile(/tmp/multipartBody2873073059971006438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233213861,"filename":"image_30012025_11_32_07_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332965209","file1":"1332965204","file0":"1332965199","file4":"1332965220","file5":"1332965222","file3":"1332965215"},"map_files_photo_id_array":[{"photo_id":"1332965222","filename":"file5"},{"photo_id":"1332965209","filename":"file2"},{"photo_id":"1332965220","filename":"file4"},{"photo_id":"1332965204","filename":"file1"},{"photo_id":"1332965199","filename":"file0"},{"photo_id":"1332965215","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332965215":["hashtag1","hashtag2"]},{"1332965209":["hashtag1","hashtag2"]},{"1332965199":["hashtag1","hashtag2"]},{"1332965220":["hashtag1","hashtag2"]},{"1332965222":["hashtag1","hashtag2"]},{"1332965204":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332965215, 1332965209, 1332965199, 1332965220, 1332965222, 1332965204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38162565231323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:33:32.161497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/32/image_30012025_11_32_57_10365.jpg', '/home/pi/Desktop/images/30012025/11/32/image_30012025_11_33_07_10353.jpg', '/home/pi/Desktop/images/30012025/11/33/image_30012025_11_33_16_9360.jpg', '/home/pi/Desktop/images/30012025/11/33/image_30012025_11_33_27_10369.jpg', '/home/pi/Desktop/images/30012025/11/33/image_30012025_11_33_37_10362.jpg', '/home/pi/Desktop/images/30012025/11/33/image_30012025_11_33_46_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/32/image_30012025_11_32_57_10365.jpg
/home/pi/Desktop/images/30012025/11/32/image_30012025_11_33_07_10353.jpg
/home/pi/Desktop/images/30012025/11/33/image_30012025_11_33_16_9360.jpg
/home/pi/Desktop/images/30012025/11/33/image_30012025_11_33_27_10369.jpg
/home/pi/Desktop/images/30012025/11/33/image_30012025_11_33_37_10362.jpg
/home/pi/Desktop/images/30012025/11/33/image_30012025_11_33_46_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":["1332965245","1332965253","1332965256","1332965241","1332965357","1332965249"],"photo_ids_order":["1332965241","1332965245","1332965249","1332965253","1332965256","1332965357"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b593deca16947bfabe4b1c5aedd81338.jpg","text":"TemporaryFile(/tmp/multipartBody8970721018101145232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233273057,"filename":"image_30012025_11_33_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/30/3f427baaf8296f6ed8b6ff89133b2972.jpg","text":"TemporaryFile(/tmp/multipartBody3126978761902434910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233273057,"filename":"image_30012025_11_33_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/30/5c1f688fc470faa10afec8c62110a08d.jpg","text":"TemporaryFile(/tmp/multipartBody6276869302852258018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233273057,"filename":"image_30012025_11_33_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/30/b41af91a0b23ae5a6f219cc40ad6a08b.jpg","text":"TemporaryFile(/tmp/multipartBody1252072932361606666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233273057,"filename":"image_30012025_11_32_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/30/ea416d281f436ddad675d6c3294d4866.jpg","text":"TemporaryFile(/tmp/multipartBody2263949186191380236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233273057,"filename":"image_30012025_11_33_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/30/e9394b53907c9a4768658e5a69fe1846.jpg","text":"TemporaryFile(/tmp/multipartBody5115183482781671443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233273057,"filename":"image_30012025_11_33_16_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332965249","file1":"1332965245","file0":"1332965241","file4":"1332965256","file5":"1332965357","file3":"1332965253"},"map_files_photo_id_array":[{"photo_id":"1332965357","filename":"file5"},{"photo_id":"1332965249","filename":"file2"},{"photo_id":"1332965256","filename":"file4"},{"photo_id":"1332965245","filename":"file1"},{"photo_id":"1332965241","filename":"file0"},{"photo_id":"1332965253","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332965245":["hashtag1","hashtag2"]},{"1332965253":["hashtag1","hashtag2"]},{"1332965256":["hashtag1","hashtag2"]},{"1332965241":["hashtag1","hashtag2"]},{"1332965357":["hashtag1","hashtag2"]},{"1332965249":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332965245, 1332965253, 1332965256, 1332965241, 1332965357, 1332965249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.942089319229126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:34:32.371303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/33/image_30012025_11_33_57_10368.jpg', '/home/pi/Desktop/images/30012025/11/34/image_30012025_11_34_17_10368.jpg', '/home/pi/Desktop/images/30012025/11/34/image_30012025_11_34_27_10439.jpg', '/home/pi/Desktop/images/30012025/11/34/image_30012025_11_34_36_9446.jpg', '/home/pi/Desktop/images/30012025/11/34/image_30012025_11_34_47_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/33/image_30012025_11_33_57_10368.jpg
/home/pi/Desktop/images/30012025/11/34/image_30012025_11_34_17_10368.jpg
/home/pi/Desktop/images/30012025/11/34/image_30012025_11_34_27_10439.jpg
/home/pi/Desktop/images/30012025/11/34/image_30012025_11_34_36_9446.jpg
/home/pi/Desktop/images/30012025/11/34/image_30012025_11_34_47_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332966159","1332966174","1332966147","1332966140","1332966154"],"photo_ids_order":["1332966140","1332966147","1332966154","1332966159","1332966174"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c78fd7e5ecc2e9d6532e3c20cf690a09.jpg","text":"TemporaryFile(/tmp/multipartBody4898262661107802442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233333296,"filename":"image_30012025_11_34_36_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/66c79b1b8ea019c463e331b5a68f80b8.jpg","text":"TemporaryFile(/tmp/multipartBody3903616171898585589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233333296,"filename":"image_30012025_11_34_47_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/97f7602f6603419ffb2f3c6d23cbd7c3.jpg","text":"TemporaryFile(/tmp/multipartBody2575496376744039675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233333296,"filename":"image_30012025_11_34_17_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/30/488e760d92834e755e404fa18b7c0aec.jpg","text":"TemporaryFile(/tmp/multipartBody6283492358723507307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233333296,"filename":"image_30012025_11_33_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/30/3e2fa7dfcb7cd31523870d2ae33a300a.jpg","text":"TemporaryFile(/tmp/multipartBody7931681600866012584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233333296,"filename":"image_30012025_11_34_27_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332966154","file1":"1332966147","file0":"1332966140","file4":"1332966174","file3":"1332966159"},"map_files_photo_id_array":[{"photo_id":"1332966154","filename":"file2"},{"photo_id":"1332966174","filename":"file4"},{"photo_id":"1332966147","filename":"file1"},{"photo_id":"1332966140","filename":"file0"},{"photo_id":"1332966159","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332966159":["hashtag1","hashtag2"]},{"1332966174":["hashtag1","hashtag2"]},{"1332966147":["hashtag1","hashtag2"]},{"1332966140":["hashtag1","hashtag2"]},{"1332966154":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332966159, 1332966174, 1332966147, 1332966140, 1332966154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.55514621734619 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:35:32.550893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/34/image_30012025_11_34_56_9390.jpg', '/home/pi/Desktop/images/30012025/11/34/image_30012025_11_35_07_10336.jpg', '/home/pi/Desktop/images/30012025/11/35/image_30012025_11_35_17_10395.jpg', '/home/pi/Desktop/images/30012025/11/35/image_30012025_11_35_37_10429.jpg', '/home/pi/Desktop/images/30012025/11/35/image_30012025_11_35_47_10428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/34/image_30012025_11_34_56_9390.jpg
/home/pi/Desktop/images/30012025/11/34/image_30012025_11_35_07_10336.jpg
/home/pi/Desktop/images/30012025/11/35/image_30012025_11_35_17_10395.jpg
/home/pi/Desktop/images/30012025/11/35/image_30012025_11_35_37_10429.jpg
/home/pi/Desktop/images/30012025/11/35/image_30012025_11_35_47_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":["1332966505","1332966507","1332966501","1332966476","1332966496"],"photo_ids_order":["1332966476","1332966496","1332966501","1332966505","1332966507"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5edb40871f65094c94c547263e818347.jpg","text":"TemporaryFile(/tmp/multipartBody2721929123121082536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233393446,"filename":"image_30012025_11_35_37_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ae016e6f65beb05b2099c601c252850c.jpg","text":"TemporaryFile(/tmp/multipartBody1932170084005871982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233393446,"filename":"image_30012025_11_35_47_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/30/014f11063f9b8bacd4a7ed6d3110fdde.jpg","text":"TemporaryFile(/tmp/multipartBody1418331870186043307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233393446,"filename":"image_30012025_11_35_17_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/30/0be51d3c21aec03f32ec63a89613786c.jpg","text":"TemporaryFile(/tmp/multipartBody2825568277309835506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233393446,"filename":"image_30012025_11_34_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/30/c1c3b035bdbd3c95a5460e556a560c6f.jpg","text":"TemporaryFile(/tmp/multipartBody4437707338354604327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233393446,"filename":"image_30012025_11_35_07_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332966501","file1":"1332966496","file0":"1332966476","file4":"1332966507","file3":"1332966505"},"map_files_photo_id_array":[{"photo_id":"1332966501","filename":"file2"},{"photo_id":"1332966507","filename":"file4"},{"photo_id":"1332966496","filename":"file1"},{"photo_id":"1332966476","filename":"file0"},{"photo_id":"1332966505","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332966505":["hashtag1","hashtag2"]},{"1332966507":["hashtag1","hashtag2"]},{"1332966501":["hashtag1","hashtag2"]},{"1332966476":["hashtag1","hashtag2"]},{"1332966496":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332966505, 1332966507, 1332966501, 1332966476, 1332966496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 42.37459397315979 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:36:32.709706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/35/image_30012025_11_35_57_9356.jpg', '/home/pi/Desktop/images/30012025/11/35/image_30012025_11_36_07_10410.jpg', '/home/pi/Desktop/images/30012025/11/36/image_30012025_11_36_16_9355.jpg', '/home/pi/Desktop/images/30012025/11/36/image_30012025_11_36_27_10364.jpg', '/home/pi/Desktop/images/30012025/11/36/image_30012025_11_36_37_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/35/image_30012025_11_35_57_9356.jpg
/home/pi/Desktop/images/30012025/11/35/image_30012025_11_36_07_10410.jpg
/home/pi/Desktop/images/30012025/11/36/image_30012025_11_36_16_9355.jpg
/home/pi/Desktop/images/30012025/11/36/image_30012025_11_36_27_10364.jpg
/home/pi/Desktop/images/30012025/11/36/image_30012025_11_36_37_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":["1332966567","1332966540","1332966534","1332966524","1332966529"],"photo_ids_order":["1332966524","1332966529","1332966534","1332966540","1332966567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/974b878dddc2d252621296b32e0d33fc.jpg","text":"TemporaryFile(/tmp/multipartBody3749647066491408998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233453621,"filename":"image_30012025_11_36_37_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/30/dc5c259a34334ca5b3c0788bb83e83bb.jpg","text":"TemporaryFile(/tmp/multipartBody8574080738299238875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233453621,"filename":"image_30012025_11_36_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/30/bec6c71aa95646640c3ac0de984104b6.jpg","text":"TemporaryFile(/tmp/multipartBody4919518578700240546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233453621,"filename":"image_30012025_11_36_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/30/96673b538c7223d48989c8de4820c59e.jpg","text":"TemporaryFile(/tmp/multipartBody7792473089241397873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233453621,"filename":"image_30012025_11_35_57_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/27b9121c01d7d67b0eb82fae9f5a13cf.jpg","text":"TemporaryFile(/tmp/multipartBody8018020014513216651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233453621,"filename":"image_30012025_11_36_07_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332966534","file1":"1332966529","file0":"1332966524","file4":"1332966567","file3":"1332966540"},"map_files_photo_id_array":[{"photo_id":"1332966534","filename":"file2"},{"photo_id":"1332966567","filename":"file4"},{"photo_id":"1332966529","filename":"file1"},{"photo_id":"1332966524","filename":"file0"},{"photo_id":"1332966540","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332966567":["hashtag1","hashtag2"]},{"1332966540":["hashtag1","hashtag2"]},{"1332966534":["hashtag1","hashtag2"]},{"1332966524":["hashtag1","hashtag2"]},{"1332966529":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332966567, 1332966540, 1332966534, 1332966524, 1332966529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 39.169159173965454 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:37:33.040687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/36/image_30012025_11_36_57_10359.jpg', '/home/pi/Desktop/images/30012025/11/37/image_30012025_11_37_16_9334.jpg', '/home/pi/Desktop/images/30012025/11/37/image_30012025_11_37_27_10491.jpg', '/home/pi/Desktop/images/30012025/11/37/image_30012025_11_37_36_9357.jpg', '/home/pi/Desktop/images/30012025/11/37/image_30012025_11_37_47_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/36/image_30012025_11_36_57_10359.jpg
/home/pi/Desktop/images/30012025/11/37/image_30012025_11_37_16_9334.jpg
/home/pi/Desktop/images/30012025/11/37/image_30012025_11_37_27_10491.jpg
/home/pi/Desktop/images/30012025/11/37/image_30012025_11_37_36_9357.jpg
/home/pi/Desktop/images/30012025/11/37/image_30012025_11_37_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":["1332966619","1332966643","1332966646","1332966625","1332966637"],"photo_ids_order":["1332966619","1332966625","1332966637","1332966643","1332966646"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6d23097f55c4787df247f9777ca703d1.jpg","text":"TemporaryFile(/tmp/multipartBody3431900137673780297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233513920,"filename":"image_30012025_11_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/30/d2eacbdab474ef827ef26863ff28dcd7.jpg","text":"TemporaryFile(/tmp/multipartBody3707004394923242652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233513920,"filename":"image_30012025_11_37_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/30/cdffc3800f9c12071b485790890bb021.jpg","text":"TemporaryFile(/tmp/multipartBody415442171794361777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233513920,"filename":"image_30012025_11_37_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/30/efa10ec7b33202b02a2b14ccbae206bb.jpg","text":"TemporaryFile(/tmp/multipartBody7698565218177297383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233513920,"filename":"image_30012025_11_37_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/30/7408a24f5bda0fc7415cfd15ce05edf3.jpg","text":"TemporaryFile(/tmp/multipartBody6001189930950746373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233513920,"filename":"image_30012025_11_37_27_10491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332966637","file1":"1332966625","file0":"1332966619","file4":"1332966646","file3":"1332966643"},"map_files_photo_id_array":[{"photo_id":"1332966637","filename":"file2"},{"photo_id":"1332966646","filename":"file4"},{"photo_id":"1332966625","filename":"file1"},{"photo_id":"1332966619","filename":"file0"},{"photo_id":"1332966643","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332966619":["hashtag1","hashtag2"]},{"1332966643":["hashtag1","hashtag2"]},{"1332966646":["hashtag1","hashtag2"]},{"1332966625":["hashtag1","hashtag2"]},{"1332966637":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332966619, 1332966643, 1332966646, 1332966625, 1332966637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.43077492713928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:38:32.147020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/37/image_30012025_11_37_57_10420.jpg', '/home/pi/Desktop/images/30012025/11/38/image_30012025_11_38_17_10355.jpg', '/home/pi/Desktop/images/30012025/11/38/image_30012025_11_38_47_10435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/37/image_30012025_11_37_57_10420.jpg
/home/pi/Desktop/images/30012025/11/38/image_30012025_11_38_17_10355.jpg
/home/pi/Desktop/images/30012025/11/38/image_30012025_11_38_47_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332966695","1332966700","1332966690"],"photo_ids_order":["1332966690","1332966695","1332966700"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/63d13cdf65d964079d5d64826d16f386.jpg","text":"TemporaryFile(/tmp/multipartBody9177802584376657142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233573002,"filename":"image_30012025_11_38_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/30/391bf9ebfb05a29cd07fa80da5d971f1.jpg","text":"TemporaryFile(/tmp/multipartBody5193773441222882568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233573002,"filename":"image_30012025_11_38_47_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/30/4cff02715b81416916f925a91ba05d69.jpg","text":"TemporaryFile(/tmp/multipartBody6407933826726877471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233573002,"filename":"image_30012025_11_37_57_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332966700","file1":"1332966695","file0":"1332966690"},"map_files_photo_id_array":[{"photo_id":"1332966700","filename":"file2"},{"photo_id":"1332966695","filename":"file1"},{"photo_id":"1332966690","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332966695":["hashtag1","hashtag2"]},{"1332966700":["hashtag1","hashtag2"]},{"1332966690":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332966695, 1332966700, 1332966690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.387352228164673 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 11:39:03.918152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/51/image_28012025_20_51_55_10452.jpg', '/home/pi/Desktop/images/28012025/20/51/image_28012025_20_52_05_10355.jpg', '/home/pi/Desktop/images/28012025/20/52/image_28012025_20_52_15_9346.jpg', '/home/pi/Desktop/images/28012025/20/52/image_28012025_20_52_25_10421.jpg', '/home/pi/Desktop/images/28012025/20/52/image_28012025_20_52_35_9336.jpg', '/home/pi/Desktop/images/28012025/20/52/image_28012025_20_52_45_10361.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/51/image_28012025_20_51_55_10452.jpg
/home/pi/Desktop/images/28012025/20/51/image_28012025_20_52_05_10355.jpg
/home/pi/Desktop/images/28012025/20/52/image_28012025_20_52_15_9346.jpg
/home/pi/Desktop/images/28012025/20/52/image_28012025_20_52_25_10421.jpg
/home/pi/Desktop/images/28012025/20/52/image_28012025_20_52_35_9336.jpg
/home/pi/Desktop/images/28012025/20/52/image_28012025_20_52_45_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":["1332966723","1332966737","1332966719","1332966710","1332966730","1332966715"],"photo_ids_order":["1332966710","1332966715","1332966719","1332966723","1332966730","1332966737"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2534093e84b249b134baf01fcfb8e246.jpg","text":"TemporaryFile(/tmp/multipartBody888543306379664642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233605890,"filename":"image_28012025_20_52_25_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/30/743e0088eecdb2c098a30e0bf551880b.jpg","text":"TemporaryFile(/tmp/multipartBody9052534581868449368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233605890,"filename":"image_28012025_20_52_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/30/60aeffc29250d11fcdd53eeb4083971c.jpg","text":"TemporaryFile(/tmp/multipartBody6771339556182691601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233605890,"filename":"image_28012025_20_52_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/30/d2087995f3cebc54678b51d464079e07.jpg","text":"TemporaryFile(/tmp/multipartBody969207751717451136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233605890,"filename":"image_28012025_20_51_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/30/0cf6e2d066a3379e552765e2f1480589.jpg","text":"TemporaryFile(/tmp/multipartBody4328386812233712159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233605890,"filename":"image_28012025_20_52_35_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6d2143fe5c81f2f8863cb3bbfd75b9e2.jpg","text":"TemporaryFile(/tmp/multipartBody8842023927092516491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233605890,"filename":"image_28012025_20_52_05_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332966719","file1":"1332966715","file0":"1332966710","file4":"1332966730","file5":"1332966737","file3":"1332966723"},"map_files_photo_id_array":[{"photo_id":"1332966737","filename":"file5"},{"photo_id":"1332966719","filename":"file2"},{"photo_id":"1332966730","filename":"file4"},{"photo_id":"1332966715","filename":"file1"},{"photo_id":"1332966710","filename":"file0"},{"photo_id":"1332966723","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332966723":["hashtag1","hashtag2"]},{"1332966737":["hashtag1","hashtag2"]},{"1332966719":["hashtag1","hashtag2"]},{"1332966710":["hashtag1","hashtag2"]},{"1332966730":["hashtag1","hashtag2"]},{"1332966715":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332966723, 1332966737, 1332966719, 1332966710, 1332966730, 1332966715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.68595600128174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:39:52.485449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/38/image_30012025_11_38_56_9355.jpg', '/home/pi/Desktop/images/30012025/11/39/image_30012025_11_39_17_10358.jpg', '/home/pi/Desktop/images/30012025/11/39/image_30012025_11_39_26_9455.jpg', '/home/pi/Desktop/images/30012025/11/39/image_30012025_11_39_37_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/38/image_30012025_11_38_56_9355.jpg
/home/pi/Desktop/images/30012025/11/39/image_30012025_11_39_17_10358.jpg
/home/pi/Desktop/images/30012025/11/39/image_30012025_11_39_26_9455.jpg
/home/pi/Desktop/images/30012025/11/39/image_30012025_11_39_37_10424.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332966753","1332966761","1332966763","1332966757"],"photo_ids_order":["1332966753","1332966757","1332966761","1332966763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/99a9e4a46b1b3c8cfa2cee9fa7a5d4ad.jpg","text":"TemporaryFile(/tmp/multipartBody502081340484102948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233653374,"filename":"image_30012025_11_38_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/30/8ebe4053693e4ef4812b2dc423988105.jpg","text":"TemporaryFile(/tmp/multipartBody5676086147907161430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233653374,"filename":"image_30012025_11_39_26_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/30/bf5b78b996dcc45426db5f17af31fea4.jpg","text":"TemporaryFile(/tmp/multipartBody4925174925494285187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233653374,"filename":"image_30012025_11_39_37_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fc9c538ab14b5df6c6b4aa71a47f31fe.jpg","text":"TemporaryFile(/tmp/multipartBody2016980549111629914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233653374,"filename":"image_30012025_11_39_17_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332966761","file1":"1332966757","file0":"1332966753","file3":"1332966763"},"map_files_photo_id_array":[{"photo_id":"1332966761","filename":"file2"},{"photo_id":"1332966757","filename":"file1"},{"photo_id":"1332966753","filename":"file0"},{"photo_id":"1332966763","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332966753":["hashtag1","hashtag2"]},{"1332966761":["hashtag1","hashtag2"]},{"1332966763":["hashtag1","hashtag2"]},{"1332966757":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332966753, 1332966761, 1332966763, 1332966757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.757609367370605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:40:32.767853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/39/image_30012025_11_39_46_9402.jpg', '/home/pi/Desktop/images/30012025/11/39/image_30012025_11_40_07_10423.jpg', '/home/pi/Desktop/images/30012025/11/40/image_30012025_11_40_27_10533.jpg', '/home/pi/Desktop/images/30012025/11/40/image_30012025_11_40_36_9459.jpg', '/home/pi/Desktop/images/30012025/11/40/image_30012025_11_40_47_10451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/39/image_30012025_11_39_46_9402.jpg
/home/pi/Desktop/images/30012025/11/39/image_30012025_11_40_07_10423.jpg
/home/pi/Desktop/images/30012025/11/40/image_30012025_11_40_27_10533.jpg
/home/pi/Desktop/images/30012025/11/40/image_30012025_11_40_36_9459.jpg
/home/pi/Desktop/images/30012025/11/40/image_30012025_11_40_47_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":["1332966789","1332966794","1332966782","1332966776","1332966799"],"photo_ids_order":["1332966776","1332966782","1332966789","1332966794","1332966799"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7ae6c17bf6d44f7400cb7ae3c2650c36.jpg","text":"TemporaryFile(/tmp/multipartBody119720959673452933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233693665,"filename":"image_30012025_11_40_27_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/30/937097a78a3e7ec8e2e8c8cd0d401f79.jpg","text":"TemporaryFile(/tmp/multipartBody6844391201122555077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233693665,"filename":"image_30012025_11_40_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/30/ba1b72419730d84e8a4b1d1548149760.jpg","text":"TemporaryFile(/tmp/multipartBody2065176497234509360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233693665,"filename":"image_30012025_11_40_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/30/9386fce933409d633140ab44c966bf63.jpg","text":"TemporaryFile(/tmp/multipartBody95869592525833595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233693665,"filename":"image_30012025_11_39_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/30/74d912280f8f807efbd3a67f27076d7c.jpg","text":"TemporaryFile(/tmp/multipartBody7795891983892130919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233693665,"filename":"image_30012025_11_40_47_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332966789","file1":"1332966782","file0":"1332966776","file4":"1332966799","file3":"1332966794"},"map_files_photo_id_array":[{"photo_id":"1332966789","filename":"file2"},{"photo_id":"1332966799","filename":"file4"},{"photo_id":"1332966782","filename":"file1"},{"photo_id":"1332966776","filename":"file0"},{"photo_id":"1332966794","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332966789":["hashtag1","hashtag2"]},{"1332966794":["hashtag1","hashtag2"]},{"1332966782":["hashtag1","hashtag2"]},{"1332966776":["hashtag1","hashtag2"]},{"1332966799":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332966789, 1332966794, 1332966782, 1332966776, 1332966799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.817111015319824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:41:32.837379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/40/image_30012025_11_40_56_9348.jpg', '/home/pi/Desktop/images/30012025/11/40/image_30012025_11_41_07_10354.jpg', '/home/pi/Desktop/images/30012025/11/41/image_30012025_11_41_17_10366.jpg', '/home/pi/Desktop/images/30012025/11/41/image_30012025_11_41_37_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/40/image_30012025_11_40_56_9348.jpg
/home/pi/Desktop/images/30012025/11/40/image_30012025_11_41_07_10354.jpg
/home/pi/Desktop/images/30012025/11/41/image_30012025_11_41_17_10366.jpg
/home/pi/Desktop/images/30012025/11/41/image_30012025_11_41_37_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":["1332966846","1332966855","1332966871","1332966880"],"photo_ids_order":["1332966846","1332966855","1332966871","1332966880"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9413409514df39a6cfa6c91a0f8301f3.jpg","text":"TemporaryFile(/tmp/multipartBody4995876052017571579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233753735,"filename":"image_30012025_11_40_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/30/0d551c44d480ca13ea6713b64bc2940a.jpg","text":"TemporaryFile(/tmp/multipartBody5411267311346930648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233753735,"filename":"image_30012025_11_41_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/30/926ec65ed628f32b1266dcc2dffd424e.jpg","text":"TemporaryFile(/tmp/multipartBody5798471195415031853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233753735,"filename":"image_30012025_11_41_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/30/586cdac90c8e5c707580afecaadb71d0.jpg","text":"TemporaryFile(/tmp/multipartBody1612483942502166578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233753735,"filename":"image_30012025_11_41_37_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332966871","file1":"1332966855","file0":"1332966846","file3":"1332966880"},"map_files_photo_id_array":[{"photo_id":"1332966871","filename":"file2"},{"photo_id":"1332966855","filename":"file1"},{"photo_id":"1332966846","filename":"file0"},{"photo_id":"1332966880","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332966846":["hashtag1","hashtag2"]},{"1332966855":["hashtag1","hashtag2"]},{"1332966871":["hashtag1","hashtag2"]},{"1332966880":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332966846, 1332966855, 1332966871, 1332966880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.307636499404907 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-30 11:42:33.044236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/41/image_30012025_11_41_57_10355.jpg', '/home/pi/Desktop/images/30012025/11/41/image_30012025_11_42_07_10478.jpg', '/home/pi/Desktop/images/30012025/11/42/image_30012025_11_42_16_9351.jpg', '/home/pi/Desktop/images/30012025/11/42/image_30012025_11_42_27_10456.jpg', '/home/pi/Desktop/images/30012025/11/42/image_30012025_11_42_36_9433.jpg', '/home/pi/Desktop/images/30012025/11/42/image_30012025_11_42_47_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/41/image_30012025_11_41_57_10355.jpg
/home/pi/Desktop/images/30012025/11/41/image_30012025_11_42_07_10478.jpg
/home/pi/Desktop/images/30012025/11/42/image_30012025_11_42_16_9351.jpg
/home/pi/Desktop/images/30012025/11/42/image_30012025_11_42_27_10456.jpg
/home/pi/Desktop/images/30012025/11/42/image_30012025_11_42_36_9433.jpg
/home/pi/Desktop/images/30012025/11/42/image_30012025_11_42_47_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":["1332966954","1332966977","1332966959","1332966938","1332966964","1332966946"],"photo_ids_order":["1332966938","1332966946","1332966954","1332966959","1332966964","1332966977"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dd5aebc7295a1b03a23bf9c650300f14.jpg","text":"TemporaryFile(/tmp/multipartBody6530238654696521494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233813947,"filename":"image_30012025_11_42_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/30/f79f396ee30735618d2fdb52bfaac489.jpg","text":"TemporaryFile(/tmp/multipartBody8437639873984938161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233813947,"filename":"image_30012025_11_42_47_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/180bc1df361269892123e077afe85567.jpg","text":"TemporaryFile(/tmp/multipartBody6092117009866997110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233813947,"filename":"image_30012025_11_42_27_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/30/374ebc310772a7cbad518f24951b0f40.jpg","text":"TemporaryFile(/tmp/multipartBody1270964085689631787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233813947,"filename":"image_30012025_11_41_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/30/6fa8ac771cf3ff5817b07a10fcb0a06c.jpg","text":"TemporaryFile(/tmp/multipartBody5623719359026560007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233813947,"filename":"image_30012025_11_42_36_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c6c26b83cdf9016797bb659c29e8fa10.jpg","text":"TemporaryFile(/tmp/multipartBody4038993396609820457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233813947,"filename":"image_30012025_11_42_07_10478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332966954","file1":"1332966946","file0":"1332966938","file4":"1332966964","file5":"1332966977","file3":"1332966959"},"map_files_photo_id_array":[{"photo_id":"1332966977","filename":"file5"},{"photo_id":"1332966954","filename":"file2"},{"photo_id":"1332966964","filename":"file4"},{"photo_id":"1332966946","filename":"file1"},{"photo_id":"1332966938","filename":"file0"},{"photo_id":"1332966959","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332966954":["hashtag1","hashtag2"]},{"1332966977":["hashtag1","hashtag2"]},{"1332966959":["hashtag1","hashtag2"]},{"1332966938":["hashtag1","hashtag2"]},{"1332966964":["hashtag1","hashtag2"]},{"1332966946":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332966954, 1332966977, 1332966959, 1332966938, 1332966964, 1332966946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.27914214134216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:43:32.412047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/42/image_30012025_11_42_57_10375.jpg', '/home/pi/Desktop/images/30012025/11/42/image_30012025_11_43_06_9398.jpg', '/home/pi/Desktop/images/30012025/11/43/image_30012025_11_43_17_10416.jpg', '/home/pi/Desktop/images/30012025/11/43/image_30012025_11_43_26_9452.jpg', '/home/pi/Desktop/images/30012025/11/43/image_30012025_11_43_37_10389.jpg', '/home/pi/Desktop/images/30012025/11/43/image_30012025_11_43_47_10483.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/42/image_30012025_11_42_57_10375.jpg
/home/pi/Desktop/images/30012025/11/42/image_30012025_11_43_06_9398.jpg
/home/pi/Desktop/images/30012025/11/43/image_30012025_11_43_17_10416.jpg
/home/pi/Desktop/images/30012025/11/43/image_30012025_11_43_26_9452.jpg
/home/pi/Desktop/images/30012025/11/43/image_30012025_11_43_37_10389.jpg
/home/pi/Desktop/images/30012025/11/43/image_30012025_11_43_47_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":["1332967041","1332967005","1332967028","1332967001","1332967045","1332967012"],"photo_ids_order":["1332967001","1332967005","1332967012","1332967028","1332967041","1332967045"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2efd07fe9d10d2c44e9061fdd3a7bc02.jpg","text":"TemporaryFile(/tmp/multipartBody2152037635419940286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233873323,"filename":"image_30012025_11_43_37_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/54338d121cdad31950c6060308186ebd.jpg","text":"TemporaryFile(/tmp/multipartBody5787867381091371765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233873323,"filename":"image_30012025_11_43_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/30/afe0aaa673c4be8f86e8b04e81b11aa9.jpg","text":"TemporaryFile(/tmp/multipartBody5560912293255528472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233873323,"filename":"image_30012025_11_43_26_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/30/db8f513d30aff45e39e374a3989a11f7.jpg","text":"TemporaryFile(/tmp/multipartBody3560668823541647823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233873323,"filename":"image_30012025_11_42_57_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/30/406d6c4c258d4703aad89dcde73f1b0d.jpg","text":"TemporaryFile(/tmp/multipartBody684239119457319761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233873323,"filename":"image_30012025_11_43_47_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/30/185c06f3ab595555bf961119dc16deb4.jpg","text":"TemporaryFile(/tmp/multipartBody6250565897329651331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233873323,"filename":"image_30012025_11_43_17_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332967012","file1":"1332967005","file0":"1332967001","file4":"1332967041","file5":"1332967045","file3":"1332967028"},"map_files_photo_id_array":[{"photo_id":"1332967045","filename":"file5"},{"photo_id":"1332967012","filename":"file2"},{"photo_id":"1332967041","filename":"file4"},{"photo_id":"1332967005","filename":"file1"},{"photo_id":"1332967001","filename":"file0"},{"photo_id":"1332967028","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332967041":["hashtag1","hashtag2"]},{"1332967005":["hashtag1","hashtag2"]},{"1332967028":["hashtag1","hashtag2"]},{"1332967001":["hashtag1","hashtag2"]},{"1332967045":["hashtag1","hashtag2"]},{"1332967012":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332967041, 1332967005, 1332967028, 1332967001, 1332967045, 1332967012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.34730648994446 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:44:32.497875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/43/image_30012025_11_43_56_9357.jpg', '/home/pi/Desktop/images/30012025/11/43/image_30012025_11_44_06_9961.jpg', '/home/pi/Desktop/images/30012025/11/44/image_30012025_11_44_17_10506.jpg', '/home/pi/Desktop/images/30012025/11/44/image_30012025_11_44_26_9333.jpg', '/home/pi/Desktop/images/30012025/11/44/image_30012025_11_44_37_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/43/image_30012025_11_43_56_9357.jpg
/home/pi/Desktop/images/30012025/11/43/image_30012025_11_44_06_9961.jpg
/home/pi/Desktop/images/30012025/11/44/image_30012025_11_44_17_10506.jpg
/home/pi/Desktop/images/30012025/11/44/image_30012025_11_44_26_9333.jpg
/home/pi/Desktop/images/30012025/11/44/image_30012025_11_44_37_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332967230","1332967213","1332967225","1332967219","1332967207"],"photo_ids_order":["1332967207","1332967213","1332967219","1332967225","1332967230"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dd69155bc20be65337232888ccdcfb18.jpg","text":"TemporaryFile(/tmp/multipartBody8816314425300129837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233933461,"filename":"image_30012025_11_44_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/30/d11b6ed886aef2051cab4a2c9e5bcfb4.jpg","text":"TemporaryFile(/tmp/multipartBody2895000367970690585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233933461,"filename":"image_30012025_11_44_06_9961.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/977b68ada9a39fb36c9725bf8f63775b.jpg","text":"TemporaryFile(/tmp/multipartBody4541375933932825842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233933461,"filename":"image_30012025_11_44_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/30/94922627cdd1b9849c50d1439b63c285.jpg","text":"TemporaryFile(/tmp/multipartBody5230818349592587873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233933461,"filename":"image_30012025_11_44_17_10506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/84e436e9bc9d16db9cd43d2da574567c.jpg","text":"TemporaryFile(/tmp/multipartBody616881701725653963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233933461,"filename":"image_30012025_11_43_56_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332967219","file1":"1332967213","file0":"1332967207","file4":"1332967230","file3":"1332967225"},"map_files_photo_id_array":[{"photo_id":"1332967219","filename":"file2"},{"photo_id":"1332967230","filename":"file4"},{"photo_id":"1332967213","filename":"file1"},{"photo_id":"1332967207","filename":"file0"},{"photo_id":"1332967225","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332967230":["hashtag1","hashtag2"]},{"1332967213":["hashtag1","hashtag2"]},{"1332967225":["hashtag1","hashtag2"]},{"1332967219":["hashtag1","hashtag2"]},{"1332967207":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332967230, 1332967213, 1332967225, 1332967219, 1332967207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.52083945274353 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:45:32.635951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/44/image_30012025_11_44_56_9373.jpg', '/home/pi/Desktop/images/30012025/11/45/image_30012025_11_45_16_9344.jpg', '/home/pi/Desktop/images/30012025/11/45/image_30012025_11_45_27_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/44/image_30012025_11_44_56_9373.jpg
/home/pi/Desktop/images/30012025/11/45/image_30012025_11_45_16_9344.jpg
/home/pi/Desktop/images/30012025/11/45/image_30012025_11_45_27_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":["1332967288","1332967293","1332967281"],"photo_ids_order":["1332967281","1332967288","1332967293"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e4b8a32333eaf9ca8331b2651937a7fb.jpg","text":"TemporaryFile(/tmp/multipartBody6313982725489543510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233993494,"filename":"image_30012025_11_45_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/30/a4c06b8a6636646eb2760adef0c648bb.jpg","text":"TemporaryFile(/tmp/multipartBody2361147943476351899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233993494,"filename":"image_30012025_11_45_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/30/7e185889e6e9b4fb399fc3d418f141a2.jpg","text":"TemporaryFile(/tmp/multipartBody5975692764882992596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738233993494,"filename":"image_30012025_11_44_56_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332967293","file1":"1332967288","file0":"1332967281"},"map_files_photo_id_array":[{"photo_id":"1332967293","filename":"file2"},{"photo_id":"1332967288","filename":"file1"},{"photo_id":"1332967281","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332967288":["hashtag1","hashtag2"]},{"1332967293":["hashtag1","hashtag2"]},{"1332967281":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332967288, 1332967293, 1332967281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 28.273613214492798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 11:46:03.519311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/52/image_28012025_20_52_55_10407.jpg', '/home/pi/Desktop/images/28012025/20/52/image_28012025_20_53_05_9341.jpg', '/home/pi/Desktop/images/28012025/20/53/image_28012025_20_53_15_10344.jpg', '/home/pi/Desktop/images/28012025/20/53/image_28012025_20_53_24_9472.jpg', '/home/pi/Desktop/images/28012025/20/53/image_28012025_20_53_35_10363.jpg', '/home/pi/Desktop/images/28012025/20/53/image_28012025_20_53_45_10410.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/52/image_28012025_20_52_55_10407.jpg
/home/pi/Desktop/images/28012025/20/52/image_28012025_20_53_05_9341.jpg
/home/pi/Desktop/images/28012025/20/53/image_28012025_20_53_15_10344.jpg
/home/pi/Desktop/images/28012025/20/53/image_28012025_20_53_24_9472.jpg
/home/pi/Desktop/images/28012025/20/53/image_28012025_20_53_35_10363.jpg
/home/pi/Desktop/images/28012025/20/53/image_28012025_20_53_45_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":["1332967332","1332967326","1332967311","1332967319","1332967339","1332967315"],"photo_ids_order":["1332967311","1332967315","1332967319","1332967326","1332967332","1332967339"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8082ff1ad796c7fb671d4e54ca3fcc29.jpg","text":"TemporaryFile(/tmp/multipartBody7907657619882972931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234028020,"filename":"image_28012025_20_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/30/5d94f87d7d3b6c5f814ae62cecd97f34.jpg","text":"TemporaryFile(/tmp/multipartBody3983477131090138293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234028020,"filename":"image_28012025_20_53_24_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/30/18e92f3c9255576a29bc8c6ccbc4ded2.jpg","text":"TemporaryFile(/tmp/multipartBody5128793151547397956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234028020,"filename":"image_28012025_20_52_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/30/1af0ef20a25eb0bb04d3d55fb598a616.jpg","text":"TemporaryFile(/tmp/multipartBody8319945823425261658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234028020,"filename":"image_28012025_20_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/30/7590bdc83e7bac1a4eb357bb8b6053f7.jpg","text":"TemporaryFile(/tmp/multipartBody3572408587837864162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234028020,"filename":"image_28012025_20_53_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/30/2c6a6a887d9ef400fe433ae39164e89f.jpg","text":"TemporaryFile(/tmp/multipartBody6231863276023338179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234028020,"filename":"image_28012025_20_53_05_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332967319","file1":"1332967315","file0":"1332967311","file4":"1332967332","file5":"1332967339","file3":"1332967326"},"map_files_photo_id_array":[{"photo_id":"1332967339","filename":"file5"},{"photo_id":"1332967319","filename":"file2"},{"photo_id":"1332967332","filename":"file4"},{"photo_id":"1332967315","filename":"file1"},{"photo_id":"1332967311","filename":"file0"},{"photo_id":"1332967326","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332967332":["hashtag1","hashtag2"]},{"1332967326":["hashtag1","hashtag2"]},{"1332967311":["hashtag1","hashtag2"]},{"1332967319":["hashtag1","hashtag2"]},{"1332967339":["hashtag1","hashtag2"]},{"1332967315":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332967332, 1332967326, 1332967311, 1332967319, 1332967339, 1332967315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.61717224121094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:46:52.825741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/45/image_30012025_11_45_46_9354.jpg', '/home/pi/Desktop/images/30012025/11/45/image_30012025_11_46_07_10359.jpg', '/home/pi/Desktop/images/30012025/11/46/image_30012025_11_46_16_9351.jpg', '/home/pi/Desktop/images/30012025/11/46/image_30012025_11_46_27_10382.jpg', '/home/pi/Desktop/images/30012025/11/46/image_30012025_11_46_36_9459.jpg', '/home/pi/Desktop/images/30012025/11/46/image_30012025_11_46_47_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/45/image_30012025_11_45_46_9354.jpg
/home/pi/Desktop/images/30012025/11/45/image_30012025_11_46_07_10359.jpg
/home/pi/Desktop/images/30012025/11/46/image_30012025_11_46_16_9351.jpg
/home/pi/Desktop/images/30012025/11/46/image_30012025_11_46_27_10382.jpg
/home/pi/Desktop/images/30012025/11/46/image_30012025_11_46_36_9459.jpg
/home/pi/Desktop/images/30012025/11/46/image_30012025_11_46_47_10337.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.508549690246582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 11:47:04.489846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/45/image_30012025_11_45_46_9354.jpg', '/home/pi/Desktop/images/30012025/11/45/image_30012025_11_46_07_10359.jpg', '/home/pi/Desktop/images/30012025/11/46/image_30012025_11_46_16_9351.jpg', '/home/pi/Desktop/images/30012025/11/46/image_30012025_11_46_27_10382.jpg', '/home/pi/Desktop/images/30012025/11/46/image_30012025_11_46_36_9459.jpg', '/home/pi/Desktop/images/30012025/11/46/image_30012025_11_46_47_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/45/image_30012025_11_45_46_9354.jpg
/home/pi/Desktop/images/30012025/11/45/image_30012025_11_46_07_10359.jpg
/home/pi/Desktop/images/30012025/11/46/image_30012025_11_46_16_9351.jpg
/home/pi/Desktop/images/30012025/11/46/image_30012025_11_46_27_10382.jpg
/home/pi/Desktop/images/30012025/11/46/image_30012025_11_46_36_9459.jpg
/home/pi/Desktop/images/30012025/11/46/image_30012025_11_46_47_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":["1332967475","1332967418","1332967403","1332967488","1332967473","1332967482"],"photo_ids_order":["1332967403","1332967418","1332967473","1332967475","1332967482","1332967488"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cafe97a0e1a351196317a54de6f6eee3.jpg","text":"TemporaryFile(/tmp/multipartBody5025145208035230628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234085513,"filename":"image_30012025_11_46_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/30/8cc4187927afde149424e5d0f2f7c35b.jpg","text":"TemporaryFile(/tmp/multipartBody8129842665037534342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234085513,"filename":"image_30012025_11_46_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/30/70b05faa970c1e495d374a67439cf8b2.jpg","text":"TemporaryFile(/tmp/multipartBody660039810232411205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234085513,"filename":"image_30012025_11_45_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/30/a55020f33b23946a18fbbe684e00b817.jpg","text":"TemporaryFile(/tmp/multipartBody306260753170751488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234085513,"filename":"image_30012025_11_46_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/30/7edca1248335e852c8235e89a902ddc1.jpg","text":"TemporaryFile(/tmp/multipartBody7370389214610284748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234085513,"filename":"image_30012025_11_46_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/30/a9ad23681c361176cfe8b550f379c184.jpg","text":"TemporaryFile(/tmp/multipartBody8095941106770726735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234085513,"filename":"image_30012025_11_46_36_9459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332967473","file1":"1332967418","file0":"1332967403","file4":"1332967482","file5":"1332967488","file3":"1332967475"},"map_files_photo_id_array":[{"photo_id":"1332967488","filename":"file5"},{"photo_id":"1332967473","filename":"file2"},{"photo_id":"1332967482","filename":"file4"},{"photo_id":"1332967418","filename":"file1"},{"photo_id":"1332967403","filename":"file0"},{"photo_id":"1332967475","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332967475":["hashtag1","hashtag2"]},{"1332967418":["hashtag1","hashtag2"]},{"1332967403":["hashtag1","hashtag2"]},{"1332967488":["hashtag1","hashtag2"]},{"1332967473":["hashtag1","hashtag2"]},{"1332967482":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332967475, 1332967418, 1332967403, 1332967488, 1332967473, 1332967482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.675665616989136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:47:53.126162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/46/image_30012025_11_46_57_10456.jpg', '/home/pi/Desktop/images/30012025/11/46/image_30012025_11_47_06_9367.jpg', '/home/pi/Desktop/images/30012025/11/47/image_30012025_11_47_17_10505.jpg', '/home/pi/Desktop/images/30012025/11/47/image_30012025_11_47_26_9359.jpg', '/home/pi/Desktop/images/30012025/11/47/image_30012025_11_47_37_10345.jpg', '/home/pi/Desktop/images/30012025/11/47/image_30012025_11_47_47_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/46/image_30012025_11_46_57_10456.jpg
/home/pi/Desktop/images/30012025/11/46/image_30012025_11_47_06_9367.jpg
/home/pi/Desktop/images/30012025/11/47/image_30012025_11_47_17_10505.jpg
/home/pi/Desktop/images/30012025/11/47/image_30012025_11_47_26_9359.jpg
/home/pi/Desktop/images/30012025/11/47/image_30012025_11_47_37_10345.jpg
/home/pi/Desktop/images/30012025/11/47/image_30012025_11_47_47_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":["1332967518","1332967512","1332967506","1332967509","1332967514","1332967504"],"photo_ids_order":["1332967504","1332967506","1332967509","1332967512","1332967514","1332967518"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/da0dba8f96911e4e5f48ee575d221573.jpg","text":"TemporaryFile(/tmp/multipartBody4433844659464084606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234134085,"filename":"image_30012025_11_47_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/30/87aca4b8677b5ed5d9fb90d195afcce1.jpg","text":"TemporaryFile(/tmp/multipartBody1481023952485345928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234134085,"filename":"image_30012025_11_47_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/30/59b3898542174bf2da3af804dafc540a.jpg","text":"TemporaryFile(/tmp/multipartBody2182656771495882331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234134085,"filename":"image_30012025_11_47_06_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/30/9973c8ceaf3dc697d95f410518e2abf3.jpg","text":"TemporaryFile(/tmp/multipartBody377667430974979004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234134085,"filename":"image_30012025_11_47_17_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/30/c54e6604c44f12338d52bc22436f240a.jpg","text":"TemporaryFile(/tmp/multipartBody6312465225691268815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234134085,"filename":"image_30012025_11_47_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/30/8e10d1273d69e6723bc87057bee47406.jpg","text":"TemporaryFile(/tmp/multipartBody9204507097800027469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234134085,"filename":"image_30012025_11_46_57_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332967509","file1":"1332967506","file0":"1332967504","file4":"1332967514","file5":"1332967518","file3":"1332967512"},"map_files_photo_id_array":[{"photo_id":"1332967518","filename":"file5"},{"photo_id":"1332967509","filename":"file2"},{"photo_id":"1332967514","filename":"file4"},{"photo_id":"1332967506","filename":"file1"},{"photo_id":"1332967504","filename":"file0"},{"photo_id":"1332967512","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332967518":["hashtag1","hashtag2"]},{"1332967512":["hashtag1","hashtag2"]},{"1332967506":["hashtag1","hashtag2"]},{"1332967509":["hashtag1","hashtag2"]},{"1332967514":["hashtag1","hashtag2"]},{"1332967504":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332967518, 1332967512, 1332967506, 1332967509, 1332967514, 1332967504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.47931694984436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 11:48:42.368388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/47/image_30012025_11_47_56_9384.jpg', '/home/pi/Desktop/images/30012025/11/47/image_30012025_11_48_07_10327.jpg', '/home/pi/Desktop/images/30012025/11/48/image_30012025_11_48_17_10404.jpg', '/home/pi/Desktop/images/30012025/11/48/image_30012025_11_48_27_9399.jpg', '/home/pi/Desktop/images/30012025/11/48/image_30012025_11_48_37_10455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/47/image_30012025_11_47_56_9384.jpg
/home/pi/Desktop/images/30012025/11/47/image_30012025_11_48_07_10327.jpg
/home/pi/Desktop/images/30012025/11/48/image_30012025_11_48_17_10404.jpg
/home/pi/Desktop/images/30012025/11/48/image_30012025_11_48_27_9399.jpg
/home/pi/Desktop/images/30012025/11/48/image_30012025_11_48_37_10455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332967539","1332967553","1332967576","1332967581","1332967569"],"photo_ids_order":["1332967539","1332967553","1332967569","1332967576","1332967581"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6030419edc471b90f7c5cadc383447ca.jpg","text":"TemporaryFile(/tmp/multipartBody8910561020412541468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234183261,"filename":"image_30012025_11_47_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/30/a68614df59511ae9c8386a9e682638ab.jpg","text":"TemporaryFile(/tmp/multipartBody1864698387272781209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234183261,"filename":"image_30012025_11_48_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/30/9c1c1867c86338f72627170bd134d7a2.jpg","text":"TemporaryFile(/tmp/multipartBody3017441060855222758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234183261,"filename":"image_30012025_11_48_27_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/30/c5132f704a7c0e1d0083c43e0d735df9.jpg","text":"TemporaryFile(/tmp/multipartBody8199965733042535132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234183261,"filename":"image_30012025_11_48_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/30/e4df232bd48150f73986cd5e7314564b.jpg","text":"TemporaryFile(/tmp/multipartBody2004573362422739215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234183261,"filename":"image_30012025_11_48_17_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332967569","file1":"1332967553","file0":"1332967539","file4":"1332967581","file3":"1332967576"},"map_files_photo_id_array":[{"photo_id":"1332967569","filename":"file2"},{"photo_id":"1332967581","filename":"file4"},{"photo_id":"1332967553","filename":"file1"},{"photo_id":"1332967539","filename":"file0"},{"photo_id":"1332967576","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332967539":["hashtag1","hashtag2"]},{"1332967553":["hashtag1","hashtag2"]},{"1332967576":["hashtag1","hashtag2"]},{"1332967581":["hashtag1","hashtag2"]},{"1332967569":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332967539, 1332967553, 1332967576, 1332967581, 1332967569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 39.70353055000305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:49:32.425316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/48/image_30012025_11_48_57_10369.jpg', '/home/pi/Desktop/images/30012025/11/48/image_30012025_11_49_07_10358.jpg', '/home/pi/Desktop/images/30012025/11/49/image_30012025_11_49_16_9356.jpg', '/home/pi/Desktop/images/30012025/11/49/image_30012025_11_49_27_10478.jpg', '/home/pi/Desktop/images/30012025/11/49/image_30012025_11_49_36_9407.jpg', '/home/pi/Desktop/images/30012025/11/49/image_30012025_11_49_47_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/48/image_30012025_11_48_57_10369.jpg
/home/pi/Desktop/images/30012025/11/48/image_30012025_11_49_07_10358.jpg
/home/pi/Desktop/images/30012025/11/49/image_30012025_11_49_16_9356.jpg
/home/pi/Desktop/images/30012025/11/49/image_30012025_11_49_27_10478.jpg
/home/pi/Desktop/images/30012025/11/49/image_30012025_11_49_36_9407.jpg
/home/pi/Desktop/images/30012025/11/49/image_30012025_11_49_47_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":["1332967676","1332967685","1332967679","1332967652","1332967672","1332967603"],"photo_ids_order":["1332967603","1332967652","1332967672","1332967676","1332967679","1332967685"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3132bc7d38f9c052f9be6adf98ead9b8.jpg","text":"TemporaryFile(/tmp/multipartBody6048267414083197878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234233490,"filename":"image_30012025_11_49_27_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/30/b867a5947503b09a2197b0c1b82114c4.jpg","text":"TemporaryFile(/tmp/multipartBody6012372198076109727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234233490,"filename":"image_30012025_11_49_47_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/44ddebf79918f8fdc67b66d3e979bb82.jpg","text":"TemporaryFile(/tmp/multipartBody2266151071057550371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234233490,"filename":"image_30012025_11_49_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/30/16abab1aa86aa462805b4e5d0b4b5a02.jpg","text":"TemporaryFile(/tmp/multipartBody5295551449891567884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234233490,"filename":"image_30012025_11_49_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/30/c76ef653cfc8da5d06d539c4a0368628.jpg","text":"TemporaryFile(/tmp/multipartBody9035907302226229804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234233490,"filename":"image_30012025_11_49_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/30/ee30495327c1593446d1835876c69162.jpg","text":"TemporaryFile(/tmp/multipartBody5546691315682929892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234233490,"filename":"image_30012025_11_48_57_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332967672","file1":"1332967652","file0":"1332967603","file4":"1332967679","file5":"1332967685","file3":"1332967676"},"map_files_photo_id_array":[{"photo_id":"1332967685","filename":"file5"},{"photo_id":"1332967672","filename":"file2"},{"photo_id":"1332967679","filename":"file4"},{"photo_id":"1332967652","filename":"file1"},{"photo_id":"1332967603","filename":"file0"},{"photo_id":"1332967676","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332967676":["hashtag1","hashtag2"]},{"1332967685":["hashtag1","hashtag2"]},{"1332967679":["hashtag1","hashtag2"]},{"1332967652":["hashtag1","hashtag2"]},{"1332967672":["hashtag1","hashtag2"]},{"1332967603":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332967676, 1332967685, 1332967679, 1332967652, 1332967672, 1332967603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.70928239822388 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:50:32.703026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/49/image_30012025_11_49_57_10445.jpg', '/home/pi/Desktop/images/30012025/11/49/image_30012025_11_50_06_9346.jpg', '/home/pi/Desktop/images/30012025/11/50/image_30012025_11_50_37_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/49/image_30012025_11_49_57_10445.jpg
/home/pi/Desktop/images/30012025/11/49/image_30012025_11_50_06_9346.jpg
/home/pi/Desktop/images/30012025/11/50/image_30012025_11_50_37_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":["1332967847","1332967852","1332967857"],"photo_ids_order":["1332967847","1332967852","1332967857"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b86c636eda2ce6e0b466be71c0cbb1a3.jpg","text":"TemporaryFile(/tmp/multipartBody6811541418245367210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234293560,"filename":"image_30012025_11_49_57_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/30/4c229330c494d882d8a065ec22867a2c.jpg","text":"TemporaryFile(/tmp/multipartBody3351509369366795688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234293560,"filename":"image_30012025_11_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/30/041c5b4d84a8dbc406426ae630598a00.jpg","text":"TemporaryFile(/tmp/multipartBody6470022450880705412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234293560,"filename":"image_30012025_11_50_37_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332967857","file1":"1332967852","file0":"1332967847"},"map_files_photo_id_array":[{"photo_id":"1332967857","filename":"file2"},{"photo_id":"1332967852","filename":"file1"},{"photo_id":"1332967847","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332967847":["hashtag1","hashtag2"]},{"1332967852":["hashtag1","hashtag2"]},{"1332967857":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332967847, 1332967852, 1332967857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.57483959197998 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 11:51:04.502116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/53/image_28012025_20_53_55_9335.jpg', '/home/pi/Desktop/images/28012025/20/53/image_28012025_20_54_05_10355.jpg', '/home/pi/Desktop/images/28012025/20/54/image_28012025_20_54_15_9990.jpg', '/home/pi/Desktop/images/28012025/20/54/image_28012025_20_54_25_10455.jpg', '/home/pi/Desktop/images/28012025/20/54/image_28012025_20_54_35_9331.jpg', '/home/pi/Desktop/images/28012025/20/54/image_28012025_20_54_45_10366.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/53/image_28012025_20_53_55_9335.jpg
/home/pi/Desktop/images/28012025/20/53/image_28012025_20_54_05_10355.jpg
/home/pi/Desktop/images/28012025/20/54/image_28012025_20_54_15_9990.jpg
/home/pi/Desktop/images/28012025/20/54/image_28012025_20_54_25_10455.jpg
/home/pi/Desktop/images/28012025/20/54/image_28012025_20_54_35_9331.jpg
/home/pi/Desktop/images/28012025/20/54/image_28012025_20_54_45_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":["1332968066","1332968077","1332968068","1332968073","1332968082","1332968064"],"photo_ids_order":["1332968064","1332968066","1332968068","1332968073","1332968077","1332968082"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/121cf164c8a59340068722f4c6e3ccc9.jpg","text":"TemporaryFile(/tmp/multipartBody2842506993316492196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234326463,"filename":"image_28012025_20_54_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/30/81c2f98cc8750761ac1d54761de7eb68.jpg","text":"TemporaryFile(/tmp/multipartBody5111452475190017486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234326463,"filename":"image_28012025_20_54_35_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6ee7f6d9a72dd3a549ab49487a69330a.jpg","text":"TemporaryFile(/tmp/multipartBody11893481771399605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234326463,"filename":"image_28012025_20_54_15_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/30/9428a0ef30d8ad749f1f4f0377272b43.jpg","text":"TemporaryFile(/tmp/multipartBody6449656219403193433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234326463,"filename":"image_28012025_20_54_25_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/30/cf8c925246d0f330c0a6a51818b3835a.jpg","text":"TemporaryFile(/tmp/multipartBody8337324265119372766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234326463,"filename":"image_28012025_20_54_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/30/2e0c532f17f1ffbdae184be671f082cd.jpg","text":"TemporaryFile(/tmp/multipartBody2500838444790986922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234326463,"filename":"image_28012025_20_53_55_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332968068","file1":"1332968066","file0":"1332968064","file4":"1332968077","file5":"1332968082","file3":"1332968073"},"map_files_photo_id_array":[{"photo_id":"1332968082","filename":"file5"},{"photo_id":"1332968068","filename":"file2"},{"photo_id":"1332968077","filename":"file4"},{"photo_id":"1332968066","filename":"file1"},{"photo_id":"1332968064","filename":"file0"},{"photo_id":"1332968073","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332968066":["hashtag1","hashtag2"]},{"1332968077":["hashtag1","hashtag2"]},{"1332968068":["hashtag1","hashtag2"]},{"1332968073":["hashtag1","hashtag2"]},{"1332968082":["hashtag1","hashtag2"]},{"1332968064":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332968066, 1332968077, 1332968068, 1332968073, 1332968082, 1332968064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.29424214363098 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:51:52.948042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/50/image_30012025_11_50_47_10503.jpg', '/home/pi/Desktop/images/30012025/11/51/image_30012025_11_51_17_10407.jpg', '/home/pi/Desktop/images/30012025/11/51/image_30012025_11_51_37_10499.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/50/image_30012025_11_50_47_10503.jpg
/home/pi/Desktop/images/30012025/11/51/image_30012025_11_51_17_10407.jpg
/home/pi/Desktop/images/30012025/11/51/image_30012025_11_51_37_10499.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.46115589141845703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 11:52:02.945562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/50/image_30012025_11_50_47_10503.jpg', '/home/pi/Desktop/images/30012025/11/51/image_30012025_11_51_17_10407.jpg', '/home/pi/Desktop/images/30012025/11/51/image_30012025_11_51_37_10499.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/50/image_30012025_11_50_47_10503.jpg
/home/pi/Desktop/images/30012025/11/51/image_30012025_11_51_17_10407.jpg
/home/pi/Desktop/images/30012025/11/51/image_30012025_11_51_37_10499.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332968100","1332968098","1332968097"],"photo_ids_order":["1332968097","1332968098","1332968100"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/aba00eeeddc756846f3cec45248c21d7.jpg","text":"TemporaryFile(/tmp/multipartBody7669340049190509429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234383833,"filename":"image_30012025_11_51_37_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/30/781198b9346cfa0f4132f44e704c8f1d.jpg","text":"TemporaryFile(/tmp/multipartBody4825176186503704169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234383833,"filename":"image_30012025_11_51_17_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/999a07c42d2a4f1fda91a023a13e170f.jpg","text":"TemporaryFile(/tmp/multipartBody2676000007836307001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234383833,"filename":"image_30012025_11_50_47_10503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332968100","file1":"1332968098","file0":"1332968097"},"map_files_photo_id_array":[{"photo_id":"1332968100","filename":"file2"},{"photo_id":"1332968098","filename":"file1"},{"photo_id":"1332968097","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332968100":["hashtag1","hashtag2"]},{"1332968098":["hashtag1","hashtag2"]},{"1332968097":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332968100, 1332968098, 1332968097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.3321316242218 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:52:32.057128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/51/image_30012025_11_51_57_10499.jpg', '/home/pi/Desktop/images/30012025/11/52/image_30012025_11_52_17_10346.jpg', '/home/pi/Desktop/images/30012025/11/52/image_30012025_11_52_27_10424.jpg', '/home/pi/Desktop/images/30012025/11/52/image_30012025_11_52_36_9352.jpg', '/home/pi/Desktop/images/30012025/11/52/image_30012025_11_52_47_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/51/image_30012025_11_51_57_10499.jpg
/home/pi/Desktop/images/30012025/11/52/image_30012025_11_52_17_10346.jpg
/home/pi/Desktop/images/30012025/11/52/image_30012025_11_52_27_10424.jpg
/home/pi/Desktop/images/30012025/11/52/image_30012025_11_52_36_9352.jpg
/home/pi/Desktop/images/30012025/11/52/image_30012025_11_52_47_10413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332968471","1332968129","1332968108","1332968116","1332968223"],"photo_ids_order":["1332968108","1332968116","1332968129","1332968223","1332968471"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cd4e8783b2603df4d1766d4b116010b8.jpg","text":"TemporaryFile(/tmp/multipartBody5196636603104054413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234412943,"filename":"image_30012025_11_52_47_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2c662fc20732d5f62666b71e04f3f820.jpg","text":"TemporaryFile(/tmp/multipartBody5178867978318405772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234412943,"filename":"image_30012025_11_52_27_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/30/b0a4c5da46960b742265c6a4f565c914.jpg","text":"TemporaryFile(/tmp/multipartBody8450271573559280855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234412943,"filename":"image_30012025_11_51_57_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/30/fb748326711137a93c1cf11a5f6c73f3.jpg","text":"TemporaryFile(/tmp/multipartBody3289232153529447489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234412943,"filename":"image_30012025_11_52_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/30/4fd770748653a9317b1fbcd498d6bb96.jpg","text":"TemporaryFile(/tmp/multipartBody6559241204080374704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234412943,"filename":"image_30012025_11_52_36_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332968129","file1":"1332968116","file0":"1332968108","file4":"1332968471","file3":"1332968223"},"map_files_photo_id_array":[{"photo_id":"1332968129","filename":"file2"},{"photo_id":"1332968471","filename":"file4"},{"photo_id":"1332968116","filename":"file1"},{"photo_id":"1332968108","filename":"file0"},{"photo_id":"1332968223","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332968471":["hashtag1","hashtag2"]},{"1332968129":["hashtag1","hashtag2"]},{"1332968108":["hashtag1","hashtag2"]},{"1332968116":["hashtag1","hashtag2"]},{"1332968223":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332968471, 1332968129, 1332968108, 1332968116, 1332968223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 44.843721866607666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:53:32.420746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/52/image_30012025_11_52_56_9416.jpg', '/home/pi/Desktop/images/30012025/11/52/image_30012025_11_53_07_10406.jpg', '/home/pi/Desktop/images/30012025/11/53/image_30012025_11_53_17_10465.jpg', '/home/pi/Desktop/images/30012025/11/53/image_30012025_11_53_26_9360.jpg', '/home/pi/Desktop/images/30012025/11/53/image_30012025_11_53_46_9403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/52/image_30012025_11_52_56_9416.jpg
/home/pi/Desktop/images/30012025/11/52/image_30012025_11_53_07_10406.jpg
/home/pi/Desktop/images/30012025/11/53/image_30012025_11_53_17_10465.jpg
/home/pi/Desktop/images/30012025/11/53/image_30012025_11_53_26_9360.jpg
/home/pi/Desktop/images/30012025/11/53/image_30012025_11_53_46_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":["1332969323","1332969556","1332969526","1332969183","1332969494"],"photo_ids_order":["1332969183","1332969323","1332969494","1332969526","1332969556"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fac71e480c49c7c1e43ba3139f32d71f.jpg","text":"TemporaryFile(/tmp/multipartBody3387937262710953202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234473363,"filename":"image_30012025_11_53_07_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/30/dee06da701b030bb3202cd8faf8b02c9.jpg","text":"TemporaryFile(/tmp/multipartBody3551032936609424189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234473363,"filename":"image_30012025_11_53_46_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a6538c2b05be0ea53187166a75565f10.jpg","text":"TemporaryFile(/tmp/multipartBody8406894815122255475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234473363,"filename":"image_30012025_11_53_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/30/8d225ca27c0688f984b1754c229d4726.jpg","text":"TemporaryFile(/tmp/multipartBody6382191032054507569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234473363,"filename":"image_30012025_11_52_56_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/30/16df25d67af127851f0f87c2b3b968fb.jpg","text":"TemporaryFile(/tmp/multipartBody9149824686739598660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234473363,"filename":"image_30012025_11_53_17_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332969494","file1":"1332969323","file0":"1332969183","file4":"1332969556","file3":"1332969526"},"map_files_photo_id_array":[{"photo_id":"1332969494","filename":"file2"},{"photo_id":"1332969556","filename":"file4"},{"photo_id":"1332969323","filename":"file1"},{"photo_id":"1332969183","filename":"file0"},{"photo_id":"1332969526","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332969323":["hashtag1","hashtag2"]},{"1332969556":["hashtag1","hashtag2"]},{"1332969526":["hashtag1","hashtag2"]},{"1332969183":["hashtag1","hashtag2"]},{"1332969494":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332969323, 1332969556, 1332969526, 1332969183, 1332969494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.22486925125122 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:54:32.666007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/53/image_30012025_11_53_57_10335.jpg', '/home/pi/Desktop/images/30012025/11/53/image_30012025_11_54_07_10521.jpg', '/home/pi/Desktop/images/30012025/11/54/image_30012025_11_54_16_9417.jpg', '/home/pi/Desktop/images/30012025/11/54/image_30012025_11_54_27_10346.jpg', '/home/pi/Desktop/images/30012025/11/54/image_30012025_11_54_36_9417.jpg', '/home/pi/Desktop/images/30012025/11/54/image_30012025_11_54_47_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/53/image_30012025_11_53_57_10335.jpg
/home/pi/Desktop/images/30012025/11/53/image_30012025_11_54_07_10521.jpg
/home/pi/Desktop/images/30012025/11/54/image_30012025_11_54_16_9417.jpg
/home/pi/Desktop/images/30012025/11/54/image_30012025_11_54_27_10346.jpg
/home/pi/Desktop/images/30012025/11/54/image_30012025_11_54_36_9417.jpg
/home/pi/Desktop/images/30012025/11/54/image_30012025_11_54_47_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":["1332969602","1332969611","1332969595","1332969607","1332969597","1332969615"],"photo_ids_order":["1332969595","1332969597","1332969602","1332969607","1332969611","1332969615"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0eb7d43bf9e6f5579e6978c38988da07.jpg","text":"TemporaryFile(/tmp/multipartBody3040693996381124002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234533589,"filename":"image_30012025_11_54_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/30/464b4b60077d19bb2cf35ce0aabc439c.jpg","text":"TemporaryFile(/tmp/multipartBody720119151378926344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234533589,"filename":"image_30012025_11_54_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/30/d50b5dfb18ff8f4331fa95875ba51d4c.jpg","text":"TemporaryFile(/tmp/multipartBody6687674092373367894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234533589,"filename":"image_30012025_11_53_57_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/30/8839ae0a42cc914cf51bda2ae5230072.jpg","text":"TemporaryFile(/tmp/multipartBody1700931083578435438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234533589,"filename":"image_30012025_11_54_27_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/129a776f04037ff6230bc4d624bca805.jpg","text":"TemporaryFile(/tmp/multipartBody8200626184231538013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234533589,"filename":"image_30012025_11_54_07_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/30/0e18d05c769ca6deb1ea1510c7529513.jpg","text":"TemporaryFile(/tmp/multipartBody7475312227392826448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234533589,"filename":"image_30012025_11_54_47_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332969602","file1":"1332969597","file0":"1332969595","file4":"1332969611","file5":"1332969615","file3":"1332969607"},"map_files_photo_id_array":[{"photo_id":"1332969615","filename":"file5"},{"photo_id":"1332969602","filename":"file2"},{"photo_id":"1332969611","filename":"file4"},{"photo_id":"1332969597","filename":"file1"},{"photo_id":"1332969595","filename":"file0"},{"photo_id":"1332969607","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332969602":["hashtag1","hashtag2"]},{"1332969611":["hashtag1","hashtag2"]},{"1332969595":["hashtag1","hashtag2"]},{"1332969607":["hashtag1","hashtag2"]},{"1332969597":["hashtag1","hashtag2"]},{"1332969615":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332969602, 1332969611, 1332969595, 1332969607, 1332969597, 1332969615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.64582443237305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:55:32.896571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/54/image_30012025_11_54_57_10462.jpg', '/home/pi/Desktop/images/30012025/11/54/image_30012025_11_55_06_9448.jpg', '/home/pi/Desktop/images/30012025/11/55/image_30012025_11_55_37_10390.jpg', '/home/pi/Desktop/images/30012025/11/55/image_30012025_11_55_47_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/54/image_30012025_11_54_57_10462.jpg
/home/pi/Desktop/images/30012025/11/54/image_30012025_11_55_06_9448.jpg
/home/pi/Desktop/images/30012025/11/55/image_30012025_11_55_37_10390.jpg
/home/pi/Desktop/images/30012025/11/55/image_30012025_11_55_47_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":["1332969806","1332969940","1332970103","1332970041"],"photo_ids_order":["1332969806","1332969940","1332970041","1332970103"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f21a2bd9c82ddaa28ea8ef11bbed6d91.jpg","text":"TemporaryFile(/tmp/multipartBody6753058296996565336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234593776,"filename":"image_30012025_11_54_57_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/30/f62c0e47a40ace49f08098a9011f5c36.jpg","text":"TemporaryFile(/tmp/multipartBody715393380623500383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234593776,"filename":"image_30012025_11_55_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/30/13acac29a758db26585fc1a7e36ddccd.jpg","text":"TemporaryFile(/tmp/multipartBody213206017445987628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234593776,"filename":"image_30012025_11_55_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/30/ebc53e7eab8d4e5c27664136f15a4535.jpg","text":"TemporaryFile(/tmp/multipartBody7712682695144496564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234593776,"filename":"image_30012025_11_55_37_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332970041","file1":"1332969940","file0":"1332969806","file3":"1332970103"},"map_files_photo_id_array":[{"photo_id":"1332970041","filename":"file2"},{"photo_id":"1332969940","filename":"file1"},{"photo_id":"1332969806","filename":"file0"},{"photo_id":"1332970103","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332969806":["hashtag1","hashtag2"]},{"1332969940":["hashtag1","hashtag2"]},{"1332970103":["hashtag1","hashtag2"]},{"1332970041":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332969806, 1332969940, 1332970103, 1332970041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.942829608917236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:56:33.063776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/55/image_30012025_11_55_56_9413.jpg', '/home/pi/Desktop/images/30012025/11/55/image_30012025_11_56_07_10481.jpg', '/home/pi/Desktop/images/30012025/11/56/image_30012025_11_56_16_9336.jpg', '/home/pi/Desktop/images/30012025/11/56/image_30012025_11_56_27_10345.jpg', '/home/pi/Desktop/images/30012025/11/56/image_30012025_11_56_37_10472.jpg', '/home/pi/Desktop/images/30012025/11/56/image_30012025_11_56_46_9416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/55/image_30012025_11_55_56_9413.jpg
/home/pi/Desktop/images/30012025/11/55/image_30012025_11_56_07_10481.jpg
/home/pi/Desktop/images/30012025/11/56/image_30012025_11_56_16_9336.jpg
/home/pi/Desktop/images/30012025/11/56/image_30012025_11_56_27_10345.jpg
/home/pi/Desktop/images/30012025/11/56/image_30012025_11_56_37_10472.jpg
/home/pi/Desktop/images/30012025/11/56/image_30012025_11_56_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":["1332970340","1332970304","1332970411","1332970516","1332970239","1332970199"],"photo_ids_order":["1332970199","1332970239","1332970304","1332970340","1332970411","1332970516"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1f144543c89b4dd7cf500021563c51fa.jpg","text":"TemporaryFile(/tmp/multipartBody525434908186739485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234653987,"filename":"image_30012025_11_56_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/30/eb97ef514fdb6add62fd90fa24700b68.jpg","text":"TemporaryFile(/tmp/multipartBody7320536457011113409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234653987,"filename":"image_30012025_11_56_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/30/3e110f47a286efef1586c9239e0524bd.jpg","text":"TemporaryFile(/tmp/multipartBody6213359102451523547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234653987,"filename":"image_30012025_11_56_37_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/30/4908f2526c66a5797753742cc9513292.jpg","text":"TemporaryFile(/tmp/multipartBody3425769027348086143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234653987,"filename":"image_30012025_11_56_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/30/e3b73ba87ecef3452a50c6dbfcad702c.jpg","text":"TemporaryFile(/tmp/multipartBody3082279307014316373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234653987,"filename":"image_30012025_11_56_07_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/30/07f2590c3eea63a5495af9a09a7f20a3.jpg","text":"TemporaryFile(/tmp/multipartBody8520780528732697244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234653987,"filename":"image_30012025_11_55_56_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332970304","file1":"1332970239","file0":"1332970199","file4":"1332970411","file5":"1332970516","file3":"1332970340"},"map_files_photo_id_array":[{"photo_id":"1332970516","filename":"file5"},{"photo_id":"1332970304","filename":"file2"},{"photo_id":"1332970411","filename":"file4"},{"photo_id":"1332970239","filename":"file1"},{"photo_id":"1332970199","filename":"file0"},{"photo_id":"1332970340","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332970340":["hashtag1","hashtag2"]},{"1332970304":["hashtag1","hashtag2"]},{"1332970411":["hashtag1","hashtag2"]},{"1332970516":["hashtag1","hashtag2"]},{"1332970239":["hashtag1","hashtag2"]},{"1332970199":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332970340, 1332970304, 1332970411, 1332970516, 1332970239, 1332970199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.32219338417053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 11:57:32.399357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/56/image_30012025_11_56_57_10483.jpg', '/home/pi/Desktop/images/30012025/11/56/image_30012025_11_57_06_9338.jpg', '/home/pi/Desktop/images/30012025/11/57/image_30012025_11_57_17_10351.jpg', '/home/pi/Desktop/images/30012025/11/57/image_30012025_11_57_27_10347.jpg', '/home/pi/Desktop/images/30012025/11/57/image_30012025_11_57_36_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/56/image_30012025_11_56_57_10483.jpg
/home/pi/Desktop/images/30012025/11/56/image_30012025_11_57_06_9338.jpg
/home/pi/Desktop/images/30012025/11/57/image_30012025_11_57_17_10351.jpg
/home/pi/Desktop/images/30012025/11/57/image_30012025_11_57_27_10347.jpg
/home/pi/Desktop/images/30012025/11/57/image_30012025_11_57_36_9346.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-30 11:59:03.691099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/56/image_30012025_11_56_57_10483.jpg', '/home/pi/Desktop/images/30012025/11/56/image_30012025_11_57_06_9338.jpg', '/home/pi/Desktop/images/30012025/11/57/image_30012025_11_57_17_10351.jpg', '/home/pi/Desktop/images/30012025/11/57/image_30012025_11_57_27_10347.jpg', '/home/pi/Desktop/images/30012025/11/57/image_30012025_11_57_36_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/56/image_30012025_11_56_57_10483.jpg
/home/pi/Desktop/images/30012025/11/56/image_30012025_11_57_06_9338.jpg
/home/pi/Desktop/images/30012025/11/57/image_30012025_11_57_17_10351.jpg
/home/pi/Desktop/images/30012025/11/57/image_30012025_11_57_27_10347.jpg
/home/pi/Desktop/images/30012025/11/57/image_30012025_11_57_36_9346.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332971243","1332971287","1332971275","1332971280","1332971247"],"photo_ids_order":["1332971243","1332971247","1332971275","1332971280","1332971287"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/732b0a32d3fc21690b807be9362e3b2d.jpg","text":"TemporaryFile(/tmp/multipartBody8615668639631858286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234804674,"filename":"image_30012025_11_56_57_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fa83920ef51c8bddf7f534accf7598e6.jpg","text":"TemporaryFile(/tmp/multipartBody6634054310239364224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234804674,"filename":"image_30012025_11_57_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/30/fe1a1f87b5430a85fe2a328445a493f7.jpg","text":"TemporaryFile(/tmp/multipartBody5471763181618258271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234804674,"filename":"image_30012025_11_57_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/30/15a3d1dfcda72a6596ecb4e3a6ce317d.jpg","text":"TemporaryFile(/tmp/multipartBody8542842367564234892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234804674,"filename":"image_30012025_11_57_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/30/5c31f067e70ab3ce9474494dffeb978f.jpg","text":"TemporaryFile(/tmp/multipartBody8252659368406616965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234804674,"filename":"image_30012025_11_57_06_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332971275","file1":"1332971247","file0":"1332971243","file4":"1332971287","file3":"1332971280"},"map_files_photo_id_array":[{"photo_id":"1332971275","filename":"file2"},{"photo_id":"1332971287","filename":"file4"},{"photo_id":"1332971247","filename":"file1"},{"photo_id":"1332971243","filename":"file0"},{"photo_id":"1332971280","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332971243":["hashtag1","hashtag2"]},{"1332971287":["hashtag1","hashtag2"]},{"1332971275":["hashtag1","hashtag2"]},{"1332971280":["hashtag1","hashtag2"]},{"1332971247":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332971243, 1332971287, 1332971275, 1332971280, 1332971247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.63547158241272 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 11:59:42.775709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/57/image_30012025_11_57_47_10359.jpg', '/home/pi/Desktop/images/30012025/11/57/image_30012025_11_58_06_9354.jpg', '/home/pi/Desktop/images/30012025/11/58/image_30012025_11_58_26_9353.jpg', '/home/pi/Desktop/images/30012025/11/58/image_30012025_11_58_37_10368.jpg', '/home/pi/Desktop/images/30012025/11/58/image_30012025_11_58_47_10434.jpg', '/home/pi/Desktop/images/30012025/11/58/image_30012025_11_58_56_9359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/57/image_30012025_11_57_47_10359.jpg
/home/pi/Desktop/images/30012025/11/57/image_30012025_11_58_06_9354.jpg
/home/pi/Desktop/images/30012025/11/58/image_30012025_11_58_26_9353.jpg
/home/pi/Desktop/images/30012025/11/58/image_30012025_11_58_37_10368.jpg
/home/pi/Desktop/images/30012025/11/58/image_30012025_11_58_47_10434.jpg
/home/pi/Desktop/images/30012025/11/58/image_30012025_11_58_56_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332971342","1332971309","1332971300","1332971303","1332971326","1332971305"],"photo_ids_order":["1332971300","1332971303","1332971305","1332971309","1332971326","1332971342"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/075f2e432ec0ca4e8b675fc5de7a3eab.jpg","text":"TemporaryFile(/tmp/multipartBody7468990165283819968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234843678,"filename":"image_30012025_11_58_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/30/d2db6c9fa1711d03fd4250243868b8c7.jpg","text":"TemporaryFile(/tmp/multipartBody8937216073722442094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234843678,"filename":"image_30012025_11_58_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/30/ae8629a722a0fb7272dfe6bbed67d96b.jpg","text":"TemporaryFile(/tmp/multipartBody4707228854556610675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234843678,"filename":"image_30012025_11_57_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/30/607277d27d8e1b57d44c64424f72c9c5.jpg","text":"TemporaryFile(/tmp/multipartBody507342468335315809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234843678,"filename":"image_30012025_11_58_06_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/30/dce66bb8be023c98599169b844a3b9b9.jpg","text":"TemporaryFile(/tmp/multipartBody3056476861994930450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234843678,"filename":"image_30012025_11_58_47_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/30/c4a4f680e0c2035df5c093273aef87fb.jpg","text":"TemporaryFile(/tmp/multipartBody2994174400818725275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234843678,"filename":"image_30012025_11_58_26_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332971305","file1":"1332971303","file0":"1332971300","file4":"1332971326","file5":"1332971342","file3":"1332971309"},"map_files_photo_id_array":[{"photo_id":"1332971342","filename":"file5"},{"photo_id":"1332971305","filename":"file2"},{"photo_id":"1332971326","filename":"file4"},{"photo_id":"1332971303","filename":"file1"},{"photo_id":"1332971300","filename":"file0"},{"photo_id":"1332971309","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332971342":["hashtag1","hashtag2"]},{"1332971309":["hashtag1","hashtag2"]},{"1332971300":["hashtag1","hashtag2"]},{"1332971303":["hashtag1","hashtag2"]},{"1332971326":["hashtag1","hashtag2"]},{"1332971305":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332971342, 1332971309, 1332971300, 1332971303, 1332971326, 1332971305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.54256272315979 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:00:32.956803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/58/image_30012025_11_59_07_10357.jpg', '/home/pi/Desktop/images/30012025/11/59/image_30012025_11_59_16_9435.jpg', '/home/pi/Desktop/images/30012025/11/59/image_30012025_11_59_37_10516.jpg', '/home/pi/Desktop/images/30012025/11/59/image_30012025_11_59_46_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/58/image_30012025_11_59_07_10357.jpg
/home/pi/Desktop/images/30012025/11/59/image_30012025_11_59_16_9435.jpg
/home/pi/Desktop/images/30012025/11/59/image_30012025_11_59_37_10516.jpg
/home/pi/Desktop/images/30012025/11/59/image_30012025_11_59_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":["1332971354","1332971440","1332971365","1332971359"],"photo_ids_order":["1332971354","1332971359","1332971365","1332971440"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ae7adc5add8bf0d50aff80e59d484164.jpg","text":"TemporaryFile(/tmp/multipartBody7414983813072450868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234893831,"filename":"image_30012025_11_59_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/30/8b325d91682c9ad7c8b9a224e5cf9908.jpg","text":"TemporaryFile(/tmp/multipartBody1173103947749724654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234893831,"filename":"image_30012025_11_59_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/30/d0ba0ede7b98b05fb18ff930a4bbe3ea.jpg","text":"TemporaryFile(/tmp/multipartBody1186255476185298974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234893831,"filename":"image_30012025_11_59_37_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/30/b22bb7ca1a11e5a8194134cf9cbe79c1.jpg","text":"TemporaryFile(/tmp/multipartBody1281309189515755510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234893831,"filename":"image_30012025_11_59_16_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332971365","file1":"1332971359","file0":"1332971354","file3":"1332971440"},"map_files_photo_id_array":[{"photo_id":"1332971365","filename":"file2"},{"photo_id":"1332971359","filename":"file1"},{"photo_id":"1332971354","filename":"file0"},{"photo_id":"1332971440","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332971354":["hashtag1","hashtag2"]},{"1332971440":["hashtag1","hashtag2"]},{"1332971365":["hashtag1","hashtag2"]},{"1332971359":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332971354, 1332971440, 1332971365, 1332971359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.57783532142639 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:01:32.199789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/11/59/image_30012025_11_59_57_10360.jpg', '/home/pi/Desktop/images/30012025/12/01/image_30012025_12_01_15_10076.jpg', '/home/pi/Desktop/images/30012025/12/01/image_30012025_12_01_25_10473.jpg', '/home/pi/Desktop/images/30012025/12/01/image_30012025_12_01_36_10399.jpg', '/home/pi/Desktop/images/30012025/12/01/image_30012025_12_01_45_9478.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/11/59/image_30012025_11_59_57_10360.jpg
/home/pi/Desktop/images/30012025/12/01/image_30012025_12_01_15_10076.jpg
/home/pi/Desktop/images/30012025/12/01/image_30012025_12_01_25_10473.jpg
/home/pi/Desktop/images/30012025/12/01/image_30012025_12_01_36_10399.jpg
/home/pi/Desktop/images/30012025/12/01/image_30012025_12_01_45_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":["1332972567","1332972494","1332972467","1332972545","1332972539"],"photo_ids_order":["1332972467","1332972494","1332972539","1332972545","1332972567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e769b8e8f8b49870685903db0710f7f2.jpg","text":"TemporaryFile(/tmp/multipartBody7403559175934105631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234953091,"filename":"image_30012025_12_01_45_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/30/963235e8f733d20aabc4468e366ccf5d.jpg","text":"TemporaryFile(/tmp/multipartBody4103361637793482644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234953091,"filename":"image_30012025_12_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/30/330037221a12903eeed7a4346da5af51.jpg","text":"TemporaryFile(/tmp/multipartBody5976544019016805776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234953091,"filename":"image_30012025_11_59_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/30/f8c06bc6613f8c075f9497ecfd70052d.jpg","text":"TemporaryFile(/tmp/multipartBody4226726734107310160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234953091,"filename":"image_30012025_12_01_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/30/1555cc7826c8e5298e11647e9382d99f.jpg","text":"TemporaryFile(/tmp/multipartBody4730109665110294965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738234953091,"filename":"image_30012025_12_01_25_10473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332972539","file1":"1332972494","file0":"1332972467","file4":"1332972567","file3":"1332972545"},"map_files_photo_id_array":[{"photo_id":"1332972539","filename":"file2"},{"photo_id":"1332972567","filename":"file4"},{"photo_id":"1332972494","filename":"file1"},{"photo_id":"1332972467","filename":"file0"},{"photo_id":"1332972545","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332972567":["hashtag1","hashtag2"]},{"1332972494":["hashtag1","hashtag2"]},{"1332972467":["hashtag1","hashtag2"]},{"1332972545":["hashtag1","hashtag2"]},{"1332972539":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332972567, 1332972494, 1332972467, 1332972545, 1332972539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 42.08629322052002 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:02:32.510772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/01/image_30012025_12_01_55_10352.jpg', '/home/pi/Desktop/images/30012025/12/01/image_30012025_12_02_05_9341.jpg', '/home/pi/Desktop/images/30012025/12/02/image_30012025_12_02_15_10330.jpg', '/home/pi/Desktop/images/30012025/12/02/image_30012025_12_02_25_10427.jpg', '/home/pi/Desktop/images/30012025/12/02/image_30012025_12_02_35_9402.jpg', '/home/pi/Desktop/images/30012025/12/02/image_30012025_12_02_45_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/01/image_30012025_12_01_55_10352.jpg
/home/pi/Desktop/images/30012025/12/01/image_30012025_12_02_05_9341.jpg
/home/pi/Desktop/images/30012025/12/02/image_30012025_12_02_15_10330.jpg
/home/pi/Desktop/images/30012025/12/02/image_30012025_12_02_25_10427.jpg
/home/pi/Desktop/images/30012025/12/02/image_30012025_12_02_35_9402.jpg
/home/pi/Desktop/images/30012025/12/02/image_30012025_12_02_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":["1332972760","1332972934","1332972931","1332972927","1332972881","1332972905"],"photo_ids_order":["1332972760","1332972881","1332972905","1332972927","1332972931","1332972934"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0f89c331d394dd290f19e6e4aaa55456.jpg","text":"TemporaryFile(/tmp/multipartBody5820096449572314962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235013431,"filename":"image_30012025_12_01_55_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e3746dac263e7a111eb7f94c8de5454d.jpg","text":"TemporaryFile(/tmp/multipartBody5085385325646202512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235013431,"filename":"image_30012025_12_02_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/30/f222d9091951868f8c2e9d8696e22286.jpg","text":"TemporaryFile(/tmp/multipartBody5178957837327388884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235013431,"filename":"image_30012025_12_02_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/30/501c2feedfa6d2b039bbee649aaa96a0.jpg","text":"TemporaryFile(/tmp/multipartBody8773732398480608479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235013431,"filename":"image_30012025_12_02_25_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f762eeba3a4171cb47e5331c4f658186.jpg","text":"TemporaryFile(/tmp/multipartBody9105534780660500367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235013431,"filename":"image_30012025_12_02_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/30/dd19220c7e8ef7a44669084473432398.jpg","text":"TemporaryFile(/tmp/multipartBody829055126247540280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235013431,"filename":"image_30012025_12_02_15_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332972905","file1":"1332972881","file0":"1332972760","file4":"1332972931","file5":"1332972934","file3":"1332972927"},"map_files_photo_id_array":[{"photo_id":"1332972934","filename":"file5"},{"photo_id":"1332972905","filename":"file2"},{"photo_id":"1332972931","filename":"file4"},{"photo_id":"1332972881","filename":"file1"},{"photo_id":"1332972760","filename":"file0"},{"photo_id":"1332972927","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332972760":["hashtag1","hashtag2"]},{"1332972934":["hashtag1","hashtag2"]},{"1332972931":["hashtag1","hashtag2"]},{"1332972927":["hashtag1","hashtag2"]},{"1332972881":["hashtag1","hashtag2"]},{"1332972905":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332972760, 1332972934, 1332972931, 1332972927, 1332972881, 1332972905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.760703563690186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:03:32.674386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/02/image_30012025_12_02_56_10335.jpg', '/home/pi/Desktop/images/30012025/12/02/image_30012025_12_03_05_9406.jpg', '/home/pi/Desktop/images/30012025/12/03/image_30012025_12_03_15_10352.jpg', '/home/pi/Desktop/images/30012025/12/03/image_30012025_12_03_25_9343.jpg', '/home/pi/Desktop/images/30012025/12/03/image_30012025_12_03_35_10459.jpg', '/home/pi/Desktop/images/30012025/12/03/image_30012025_12_03_45_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/02/image_30012025_12_02_56_10335.jpg
/home/pi/Desktop/images/30012025/12/02/image_30012025_12_03_05_9406.jpg
/home/pi/Desktop/images/30012025/12/03/image_30012025_12_03_15_10352.jpg
/home/pi/Desktop/images/30012025/12/03/image_30012025_12_03_25_9343.jpg
/home/pi/Desktop/images/30012025/12/03/image_30012025_12_03_35_10459.jpg
/home/pi/Desktop/images/30012025/12/03/image_30012025_12_03_45_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":["1332972973","1332972952","1332972958","1332972975","1332972963","1332972969"],"photo_ids_order":["1332972952","1332972958","1332972963","1332972969","1332972973","1332972975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9731830901e8124d801774bd9d25ab61.jpg","text":"TemporaryFile(/tmp/multipartBody5208997110192060660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235073572,"filename":"image_30012025_12_03_35_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/30/70725aafc17b06debb2b234638d7045b.jpg","text":"TemporaryFile(/tmp/multipartBody8457121457022468397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235073572,"filename":"image_30012025_12_02_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/30/8850f5d62253684b67c1b9b187e6ec7e.jpg","text":"TemporaryFile(/tmp/multipartBody6981362333355592637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235073572,"filename":"image_30012025_12_03_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/30/8434763b92d46541566e9c82a66d4d62.jpg","text":"TemporaryFile(/tmp/multipartBody6491504238989142159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235073572,"filename":"image_30012025_12_03_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/30/e3f0e73ecb63b6ecb42b503ac480a7f2.jpg","text":"TemporaryFile(/tmp/multipartBody6012763839386144067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235073572,"filename":"image_30012025_12_03_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/30/71fab6d9628732055b20ba061c46c0d6.jpg","text":"TemporaryFile(/tmp/multipartBody1669147484180217107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235073572,"filename":"image_30012025_12_03_25_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332972963","file1":"1332972958","file0":"1332972952","file4":"1332972973","file5":"1332972975","file3":"1332972969"},"map_files_photo_id_array":[{"photo_id":"1332972975","filename":"file5"},{"photo_id":"1332972963","filename":"file2"},{"photo_id":"1332972973","filename":"file4"},{"photo_id":"1332972958","filename":"file1"},{"photo_id":"1332972952","filename":"file0"},{"photo_id":"1332972969","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332972973":["hashtag1","hashtag2"]},{"1332972952":["hashtag1","hashtag2"]},{"1332972958":["hashtag1","hashtag2"]},{"1332972975":["hashtag1","hashtag2"]},{"1332972963":["hashtag1","hashtag2"]},{"1332972969":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332972973, 1332972952, 1332972958, 1332972975, 1332972963, 1332972969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.83567190170288 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:04:33.147428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/03/image_30012025_12_03_55_9425.jpg', '/home/pi/Desktop/images/30012025/12/03/image_30012025_12_04_05_10359.jpg', '/home/pi/Desktop/images/30012025/12/04/image_30012025_12_04_15_9333.jpg', '/home/pi/Desktop/images/30012025/12/04/image_30012025_12_04_25_10441.jpg', '/home/pi/Desktop/images/30012025/12/04/image_30012025_12_04_35_10356.jpg', '/home/pi/Desktop/images/30012025/12/04/image_30012025_12_04_45_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/03/image_30012025_12_03_55_9425.jpg
/home/pi/Desktop/images/30012025/12/03/image_30012025_12_04_05_10359.jpg
/home/pi/Desktop/images/30012025/12/04/image_30012025_12_04_15_9333.jpg
/home/pi/Desktop/images/30012025/12/04/image_30012025_12_04_25_10441.jpg
/home/pi/Desktop/images/30012025/12/04/image_30012025_12_04_35_10356.jpg
/home/pi/Desktop/images/30012025/12/04/image_30012025_12_04_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":["1332973030","1332973006","1332973000","1332973011","1332973014","1332972997"],"photo_ids_order":["1332972997","1332973000","1332973006","1332973011","1332973014","1332973030"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7d3838c324786efcc50844da5db8edea.jpg","text":"TemporaryFile(/tmp/multipartBody1015505859919983086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235134039,"filename":"image_30012025_12_04_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/30/b9a44d3da9b43d07ca54d7c16e2acf2d.jpg","text":"TemporaryFile(/tmp/multipartBody5575933517869571662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235134039,"filename":"image_30012025_12_04_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/30/8fc19dbe32f11971759b15dbb1e2ebdf.jpg","text":"TemporaryFile(/tmp/multipartBody9073940594762228849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235134039,"filename":"image_30012025_12_04_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/30/4587cbc81a9af0450ae4a463f633f6f6.jpg","text":"TemporaryFile(/tmp/multipartBody2190524343071662401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235134039,"filename":"image_30012025_12_04_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/30/5a8e3267f83952095a4f82e295c59d04.jpg","text":"TemporaryFile(/tmp/multipartBody8561914690241447146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235134039,"filename":"image_30012025_12_04_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/30/fbf1215462e994c2d362025dbf2973a3.jpg","text":"TemporaryFile(/tmp/multipartBody175678486704210196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235134039,"filename":"image_30012025_12_03_55_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332973006","file1":"1332973000","file0":"1332972997","file4":"1332973014","file5":"1332973030","file3":"1332973011"},"map_files_photo_id_array":[{"photo_id":"1332973030","filename":"file5"},{"photo_id":"1332973006","filename":"file2"},{"photo_id":"1332973014","filename":"file4"},{"photo_id":"1332973000","filename":"file1"},{"photo_id":"1332972997","filename":"file0"},{"photo_id":"1332973011","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332973030":["hashtag1","hashtag2"]},{"1332973006":["hashtag1","hashtag2"]},{"1332973000":["hashtag1","hashtag2"]},{"1332973011":["hashtag1","hashtag2"]},{"1332973014":["hashtag1","hashtag2"]},{"1332972997":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332973030, 1332973006, 1332973000, 1332973011, 1332973014, 1332972997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.45364594459534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:05:32.260557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/04/image_30012025_12_04_55_10350.jpg', '/home/pi/Desktop/images/30012025/12/04/image_30012025_12_05_05_10346.jpg', '/home/pi/Desktop/images/30012025/12/05/image_30012025_12_05_15_9397.jpg', '/home/pi/Desktop/images/30012025/12/05/image_30012025_12_05_25_10370.jpg', '/home/pi/Desktop/images/30012025/12/05/image_30012025_12_05_36_10356.jpg', '/home/pi/Desktop/images/30012025/12/05/image_30012025_12_05_45_9369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/04/image_30012025_12_04_55_10350.jpg
/home/pi/Desktop/images/30012025/12/04/image_30012025_12_05_05_10346.jpg
/home/pi/Desktop/images/30012025/12/05/image_30012025_12_05_15_9397.jpg
/home/pi/Desktop/images/30012025/12/05/image_30012025_12_05_25_10370.jpg
/home/pi/Desktop/images/30012025/12/05/image_30012025_12_05_36_10356.jpg
/home/pi/Desktop/images/30012025/12/05/image_30012025_12_05_45_9369.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5135359764099121 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 12:05:42.277214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/04/image_30012025_12_04_55_10350.jpg', '/home/pi/Desktop/images/30012025/12/04/image_30012025_12_05_05_10346.jpg', '/home/pi/Desktop/images/30012025/12/05/image_30012025_12_05_15_9397.jpg', '/home/pi/Desktop/images/30012025/12/05/image_30012025_12_05_25_10370.jpg', '/home/pi/Desktop/images/30012025/12/05/image_30012025_12_05_36_10356.jpg', '/home/pi/Desktop/images/30012025/12/05/image_30012025_12_05_45_9369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/04/image_30012025_12_04_55_10350.jpg
/home/pi/Desktop/images/30012025/12/04/image_30012025_12_05_05_10346.jpg
/home/pi/Desktop/images/30012025/12/05/image_30012025_12_05_15_9397.jpg
/home/pi/Desktop/images/30012025/12/05/image_30012025_12_05_25_10370.jpg
/home/pi/Desktop/images/30012025/12/05/image_30012025_12_05_36_10356.jpg
/home/pi/Desktop/images/30012025/12/05/image_30012025_12_05_45_9369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332973389","1332973248","1332973334","1332973202","1332973325","1332973174"],"photo_ids_order":["1332973174","1332973202","1332973248","1332973325","1332973334","1332973389"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cdd372097760b551ebb24b32808b90e2.jpg","text":"TemporaryFile(/tmp/multipartBody5752067633409682284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235203207,"filename":"image_30012025_12_05_45_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/30/280b22b40a8680f8067b7e1dc4d457a9.jpg","text":"TemporaryFile(/tmp/multipartBody3978898698169396035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235203207,"filename":"image_30012025_12_05_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/30/492d376396a6c7c4cafb62be5e1d7d27.jpg","text":"TemporaryFile(/tmp/multipartBody7687515964480418839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235203207,"filename":"image_30012025_12_05_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/30/47046f681df2767b6debb043b32bd250.jpg","text":"TemporaryFile(/tmp/multipartBody8890418208964519266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235203207,"filename":"image_30012025_12_05_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/30/adf94b5fd4706b78770804f6cc4af588.jpg","text":"TemporaryFile(/tmp/multipartBody61239324903277916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235203207,"filename":"image_30012025_12_05_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/30/29cb217fa8249b7f061ba8a1fa5ea586.jpg","text":"TemporaryFile(/tmp/multipartBody2359054654166450712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235203207,"filename":"image_30012025_12_04_55_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332973248","file1":"1332973202","file0":"1332973174","file4":"1332973334","file5":"1332973389","file3":"1332973325"},"map_files_photo_id_array":[{"photo_id":"1332973389","filename":"file5"},{"photo_id":"1332973248","filename":"file2"},{"photo_id":"1332973334","filename":"file4"},{"photo_id":"1332973202","filename":"file1"},{"photo_id":"1332973174","filename":"file0"},{"photo_id":"1332973325","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332973389":["hashtag1","hashtag2"]},{"1332973248":["hashtag1","hashtag2"]},{"1332973334":["hashtag1","hashtag2"]},{"1332973202":["hashtag1","hashtag2"]},{"1332973325":["hashtag1","hashtag2"]},{"1332973174":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332973389, 1332973248, 1332973334, 1332973202, 1332973325, 1332973174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.241722106933594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:06:32.486086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/05/image_30012025_12_05_55_10342.jpg', '/home/pi/Desktop/images/30012025/12/06/image_30012025_12_06_15_10340.jpg', '/home/pi/Desktop/images/30012025/12/06/image_30012025_12_06_25_10338.jpg', '/home/pi/Desktop/images/30012025/12/06/image_30012025_12_06_45_10436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/05/image_30012025_12_05_55_10342.jpg
/home/pi/Desktop/images/30012025/12/06/image_30012025_12_06_15_10340.jpg
/home/pi/Desktop/images/30012025/12/06/image_30012025_12_06_25_10338.jpg
/home/pi/Desktop/images/30012025/12/06/image_30012025_12_06_45_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332973711","1332973602","1332973765","1332973540"],"photo_ids_order":["1332973540","1332973602","1332973711","1332973765"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/29a17900be7f7228e766f181916c9cce.jpg","text":"TemporaryFile(/tmp/multipartBody6677226263596234838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235253374,"filename":"image_30012025_12_06_25_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c63051b0ceb51d6b133295a7042d3b79.jpg","text":"TemporaryFile(/tmp/multipartBody4437808931658027775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235253374,"filename":"image_30012025_12_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/30/f707f6e7ee0926b81e2d58dacba1c188.jpg","text":"TemporaryFile(/tmp/multipartBody3368613617367502212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235253374,"filename":"image_30012025_12_06_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/30/c07eead496799174330565cde51ad715.jpg","text":"TemporaryFile(/tmp/multipartBody8259101761943888694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235253374,"filename":"image_30012025_12_05_55_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332973711","file1":"1332973602","file0":"1332973540","file3":"1332973765"},"map_files_photo_id_array":[{"photo_id":"1332973711","filename":"file2"},{"photo_id":"1332973602","filename":"file1"},{"photo_id":"1332973540","filename":"file0"},{"photo_id":"1332973765","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332973711":["hashtag1","hashtag2"]},{"1332973602":["hashtag1","hashtag2"]},{"1332973765":["hashtag1","hashtag2"]},{"1332973540":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332973711, 1332973602, 1332973765, 1332973540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.52064657211304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:07:32.688070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/06/image_30012025_12_06_55_10346.jpg', '/home/pi/Desktop/images/30012025/12/07/image_30012025_12_07_15_10378.jpg', '/home/pi/Desktop/images/30012025/12/07/image_30012025_12_07_25_10341.jpg', '/home/pi/Desktop/images/30012025/12/07/image_30012025_12_07_35_9402.jpg', '/home/pi/Desktop/images/30012025/12/07/image_30012025_12_07_45_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/06/image_30012025_12_06_55_10346.jpg
/home/pi/Desktop/images/30012025/12/07/image_30012025_12_07_15_10378.jpg
/home/pi/Desktop/images/30012025/12/07/image_30012025_12_07_25_10341.jpg
/home/pi/Desktop/images/30012025/12/07/image_30012025_12_07_35_9402.jpg
/home/pi/Desktop/images/30012025/12/07/image_30012025_12_07_45_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":["1332974166","1332974160","1332974174","1332974155","1332974149"],"photo_ids_order":["1332974149","1332974155","1332974160","1332974166","1332974174"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c1abd173bf45867663d76ef69c02db6c.jpg","text":"TemporaryFile(/tmp/multipartBody1520491436358107892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235313585,"filename":"image_30012025_12_07_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/30/b3cfc626ccfc380f8123af42b3bb3070.jpg","text":"TemporaryFile(/tmp/multipartBody8403615505130045970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235313585,"filename":"image_30012025_12_07_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/30/94a228d09f395051da98c768abb1cf92.jpg","text":"TemporaryFile(/tmp/multipartBody4186919879762917483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235313585,"filename":"image_30012025_12_07_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/30/16080ffaa46223c9cd2000fd99505d29.jpg","text":"TemporaryFile(/tmp/multipartBody5019120177203728049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235313585,"filename":"image_30012025_12_07_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/30/1baa6a44cda5806fd15e58ac312b3feb.jpg","text":"TemporaryFile(/tmp/multipartBody1881882025996235340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235313585,"filename":"image_30012025_12_06_55_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332974160","file1":"1332974155","file0":"1332974149","file4":"1332974174","file3":"1332974166"},"map_files_photo_id_array":[{"photo_id":"1332974160","filename":"file2"},{"photo_id":"1332974174","filename":"file4"},{"photo_id":"1332974155","filename":"file1"},{"photo_id":"1332974149","filename":"file0"},{"photo_id":"1332974166","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332974166":["hashtag1","hashtag2"]},{"1332974160":["hashtag1","hashtag2"]},{"1332974174":["hashtag1","hashtag2"]},{"1332974155":["hashtag1","hashtag2"]},{"1332974149":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332974166, 1332974160, 1332974174, 1332974155, 1332974149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 41.40741801261902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:08:32.884683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/07/image_30012025_12_07_55_9347.jpg', '/home/pi/Desktop/images/30012025/12/07/image_30012025_12_08_05_10438.jpg', '/home/pi/Desktop/images/30012025/12/08/image_30012025_12_08_15_10331.jpg', '/home/pi/Desktop/images/30012025/12/08/image_30012025_12_08_25_9395.jpg', '/home/pi/Desktop/images/30012025/12/08/image_30012025_12_08_35_10415.jpg', '/home/pi/Desktop/images/30012025/12/08/image_30012025_12_08_46_10385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/07/image_30012025_12_07_55_9347.jpg
/home/pi/Desktop/images/30012025/12/07/image_30012025_12_08_05_10438.jpg
/home/pi/Desktop/images/30012025/12/08/image_30012025_12_08_15_10331.jpg
/home/pi/Desktop/images/30012025/12/08/image_30012025_12_08_25_9395.jpg
/home/pi/Desktop/images/30012025/12/08/image_30012025_12_08_35_10415.jpg
/home/pi/Desktop/images/30012025/12/08/image_30012025_12_08_46_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332974532","1332974469","1332974460","1332974480","1332974476","1332974536"],"photo_ids_order":["1332974460","1332974469","1332974476","1332974480","1332974532","1332974536"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d90cb6d403d6dd033cc624410cfeb259.jpg","text":"TemporaryFile(/tmp/multipartBody7421057836361046492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235373781,"filename":"image_30012025_12_08_35_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4e81ad10424aa77d86ec69d56bb947e0.jpg","text":"TemporaryFile(/tmp/multipartBody113948437015815125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235373781,"filename":"image_30012025_12_08_05_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/30/7e266a5c5ace0a96b29bc7905d5024e5.jpg","text":"TemporaryFile(/tmp/multipartBody8388881360592653451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235373781,"filename":"image_30012025_12_07_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/30/e7043e036735a5d79629f4ddee424e10.jpg","text":"TemporaryFile(/tmp/multipartBody292344762678819640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235373781,"filename":"image_30012025_12_08_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/30/6a8027ac2c661e2f642daf52024e11bc.jpg","text":"TemporaryFile(/tmp/multipartBody1289065341829588962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235373781,"filename":"image_30012025_12_08_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/30/fd89de0e373538b8fb55e59d15723b32.jpg","text":"TemporaryFile(/tmp/multipartBody8085488914334987069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235373781,"filename":"image_30012025_12_08_46_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332974476","file1":"1332974469","file0":"1332974460","file4":"1332974532","file5":"1332974536","file3":"1332974480"},"map_files_photo_id_array":[{"photo_id":"1332974536","filename":"file5"},{"photo_id":"1332974476","filename":"file2"},{"photo_id":"1332974532","filename":"file4"},{"photo_id":"1332974469","filename":"file1"},{"photo_id":"1332974460","filename":"file0"},{"photo_id":"1332974480","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332974532":["hashtag1","hashtag2"]},{"1332974469":["hashtag1","hashtag2"]},{"1332974460":["hashtag1","hashtag2"]},{"1332974480":["hashtag1","hashtag2"]},{"1332974476":["hashtag1","hashtag2"]},{"1332974536":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332974532, 1332974469, 1332974460, 1332974480, 1332974476, 1332974536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.331806898117065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:09:33.144581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/08/image_30012025_12_08_55_9382.jpg', '/home/pi/Desktop/images/30012025/12/08/image_30012025_12_09_05_10345.jpg', '/home/pi/Desktop/images/30012025/12/09/image_30012025_12_09_15_9364.jpg', '/home/pi/Desktop/images/30012025/12/09/image_30012025_12_09_25_10584.jpg', '/home/pi/Desktop/images/30012025/12/09/image_30012025_12_09_36_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/08/image_30012025_12_08_55_9382.jpg
/home/pi/Desktop/images/30012025/12/08/image_30012025_12_09_05_10345.jpg
/home/pi/Desktop/images/30012025/12/09/image_30012025_12_09_15_9364.jpg
/home/pi/Desktop/images/30012025/12/09/image_30012025_12_09_25_10584.jpg
/home/pi/Desktop/images/30012025/12/09/image_30012025_12_09_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":["1332974655","1332974643","1332974651","1332974660","1332974657"],"photo_ids_order":["1332974643","1332974651","1332974655","1332974657","1332974660"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/03103b671122231b3d36c643b5760030.jpg","text":"TemporaryFile(/tmp/multipartBody8694139634638078793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235434039,"filename":"image_30012025_12_09_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/30/6f04d7786f82d1d844734f58d1bd7c6a.jpg","text":"TemporaryFile(/tmp/multipartBody5745059104680038054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235434039,"filename":"image_30012025_12_08_55_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/30/27a505cc2932153b213dc4067f9da8e6.jpg","text":"TemporaryFile(/tmp/multipartBody1229755001564038311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235434039,"filename":"image_30012025_12_09_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/30/546861cb5a0ab133ef16084389b11aa6.jpg","text":"TemporaryFile(/tmp/multipartBody6094632528832516186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235434039,"filename":"image_30012025_12_09_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/30/edaa0ded5412c9e3d23ddc3a7477f6f0.jpg","text":"TemporaryFile(/tmp/multipartBody529082252194259584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235434039,"filename":"image_30012025_12_09_25_10584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332974655","file1":"1332974651","file0":"1332974643","file4":"1332974660","file3":"1332974657"},"map_files_photo_id_array":[{"photo_id":"1332974655","filename":"file2"},{"photo_id":"1332974660","filename":"file4"},{"photo_id":"1332974651","filename":"file1"},{"photo_id":"1332974643","filename":"file0"},{"photo_id":"1332974657","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332974655":["hashtag1","hashtag2"]},{"1332974643":["hashtag1","hashtag2"]},{"1332974651":["hashtag1","hashtag2"]},{"1332974660":["hashtag1","hashtag2"]},{"1332974657":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332974655, 1332974643, 1332974651, 1332974660, 1332974657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 39.21804881095886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:10:32.329827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/09/image_30012025_12_09_55_10343.jpg', '/home/pi/Desktop/images/30012025/12/09/image_30012025_12_10_05_9357.jpg', '/home/pi/Desktop/images/30012025/12/10/image_30012025_12_10_15_10349.jpg', '/home/pi/Desktop/images/30012025/12/10/image_30012025_12_10_25_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/09/image_30012025_12_09_55_10343.jpg
/home/pi/Desktop/images/30012025/12/09/image_30012025_12_10_05_9357.jpg
/home/pi/Desktop/images/30012025/12/10/image_30012025_12_10_15_10349.jpg
/home/pi/Desktop/images/30012025/12/10/image_30012025_12_10_25_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":["1332974706","1332974696","1332974700","1332974692"],"photo_ids_order":["1332974692","1332974696","1332974700","1332974706"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/31c1818c423fbb0427876195ccf2bcc6.jpg","text":"TemporaryFile(/tmp/multipartBody4740956296087758101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235493210,"filename":"image_30012025_12_10_25_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ef60b2de13ebd320d534fe5b296b0767.jpg","text":"TemporaryFile(/tmp/multipartBody717125687055504010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235493210,"filename":"image_30012025_12_10_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/30/a1d7215a169ca25c3fb8042c9674ba3e.jpg","text":"TemporaryFile(/tmp/multipartBody2127904355027303822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235493210,"filename":"image_30012025_12_10_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/30/1f1d74156f03effda676b13455d6683e.jpg","text":"TemporaryFile(/tmp/multipartBody1879631730059457307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235493210,"filename":"image_30012025_12_09_55_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332974700","file1":"1332974696","file0":"1332974692","file3":"1332974706"},"map_files_photo_id_array":[{"photo_id":"1332974700","filename":"file2"},{"photo_id":"1332974696","filename":"file1"},{"photo_id":"1332974692","filename":"file0"},{"photo_id":"1332974706","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332974706":["hashtag1","hashtag2"]},{"1332974696":["hashtag1","hashtag2"]},{"1332974700":["hashtag1","hashtag2"]},{"1332974692":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332974706, 1332974696, 1332974700, 1332974692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.397432804107666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 12:11:03.995014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/54/image_28012025_20_54_55_10355.jpg', '/home/pi/Desktop/images/28012025/20/54/image_28012025_20_55_05_9345.jpg', '/home/pi/Desktop/images/28012025/20/55/image_28012025_20_55_15_10381.jpg', '/home/pi/Desktop/images/28012025/20/55/image_28012025_20_55_25_9441.jpg', '/home/pi/Desktop/images/28012025/20/55/image_28012025_20_55_35_10357.jpg', '/home/pi/Desktop/images/28012025/20/55/image_28012025_20_55_45_10465.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/54/image_28012025_20_54_55_10355.jpg
/home/pi/Desktop/images/28012025/20/54/image_28012025_20_55_05_9345.jpg
/home/pi/Desktop/images/28012025/20/55/image_28012025_20_55_15_10381.jpg
/home/pi/Desktop/images/28012025/20/55/image_28012025_20_55_25_9441.jpg
/home/pi/Desktop/images/28012025/20/55/image_28012025_20_55_35_10357.jpg
/home/pi/Desktop/images/28012025/20/55/image_28012025_20_55_45_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":["1332974747","1332974735","1332974725","1332974728","1332974722","1332974719"],"photo_ids_order":["1332974719","1332974722","1332974725","1332974728","1332974735","1332974747"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c0d2fab8846c73e861067f845d3bda90.jpg","text":"TemporaryFile(/tmp/multipartBody4415503562709702132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235525873,"filename":"image_28012025_20_55_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/30/f889a95e2de4229aa236aba8ed50735e.jpg","text":"TemporaryFile(/tmp/multipartBody7409198029522262187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235525873,"filename":"image_28012025_20_55_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/30/e89360e4bb4f64d878a856f38963040b.jpg","text":"TemporaryFile(/tmp/multipartBody2954168500293099185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235525873,"filename":"image_28012025_20_55_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/30/903503af360d6eb3543c72c4f6fd503e.jpg","text":"TemporaryFile(/tmp/multipartBody4408436101290281133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235525873,"filename":"image_28012025_20_55_25_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0976c4e6887a18c2622d950d16fab024.jpg","text":"TemporaryFile(/tmp/multipartBody1891907062089879119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235525873,"filename":"image_28012025_20_55_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/30/f0a4581a41a9af8a51344a6612e83d11.jpg","text":"TemporaryFile(/tmp/multipartBody8042837510767338835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235525873,"filename":"image_28012025_20_54_55_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332974725","file1":"1332974722","file0":"1332974719","file4":"1332974735","file5":"1332974747","file3":"1332974728"},"map_files_photo_id_array":[{"photo_id":"1332974747","filename":"file5"},{"photo_id":"1332974725","filename":"file2"},{"photo_id":"1332974735","filename":"file4"},{"photo_id":"1332974722","filename":"file1"},{"photo_id":"1332974719","filename":"file0"},{"photo_id":"1332974728","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332974747":["hashtag1","hashtag2"]},{"1332974735":["hashtag1","hashtag2"]},{"1332974725":["hashtag1","hashtag2"]},{"1332974728":["hashtag1","hashtag2"]},{"1332974722":["hashtag1","hashtag2"]},{"1332974719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332974747, 1332974735, 1332974725, 1332974728, 1332974722, 1332974719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.584494829177856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:11:52.502871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/10/image_30012025_12_10_35_9471.jpg', '/home/pi/Desktop/images/30012025/12/11/image_30012025_12_11_15_10325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/10/image_30012025_12_10_35_9471.jpg
/home/pi/Desktop/images/30012025/12/11/image_30012025_12_11_15_10325.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332974781","1332974800"],"photo_ids_order":["1332974781","1332974800"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9b6d4447fab7883fcd92e34f069d99e7.jpg","text":"TemporaryFile(/tmp/multipartBody3971118594917653658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235573341,"filename":"image_30012025_12_10_35_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/30/5dea19dbd94760e154495ef088909e63.jpg","text":"TemporaryFile(/tmp/multipartBody5588256738052806011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235573341,"filename":"image_30012025_12_11_15_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1332974800","file0":"1332974781"},"map_files_photo_id_array":[{"photo_id":"1332974800","filename":"file1"},{"photo_id":"1332974781","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332974781":["hashtag1","hashtag2"]},{"1332974800":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332974781, 1332974800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.172607421875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:12:32.655593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/11/image_30012025_12_11_25_9322.jpg', '/home/pi/Desktop/images/30012025/12/11/image_30012025_12_12_05_10394.jpg', '/home/pi/Desktop/images/30012025/12/12/image_30012025_12_12_15_10347.jpg', '/home/pi/Desktop/images/30012025/12/12/image_30012025_12_12_25_9338.jpg', '/home/pi/Desktop/images/30012025/12/12/image_30012025_12_12_35_10419.jpg', '/home/pi/Desktop/images/30012025/12/12/image_30012025_12_12_46_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/11/image_30012025_12_11_25_9322.jpg
/home/pi/Desktop/images/30012025/12/11/image_30012025_12_12_05_10394.jpg
/home/pi/Desktop/images/30012025/12/12/image_30012025_12_12_15_10347.jpg
/home/pi/Desktop/images/30012025/12/12/image_30012025_12_12_25_9338.jpg
/home/pi/Desktop/images/30012025/12/12/image_30012025_12_12_35_10419.jpg
/home/pi/Desktop/images/30012025/12/12/image_30012025_12_12_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":["1332974864","1332974849","1332974875","1332974869","1332974857","1332974872"],"photo_ids_order":["1332974849","1332974857","1332974864","1332974869","1332974872","1332974875"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/94463a6271cdbfb052b26b2473f91e46.jpg","text":"TemporaryFile(/tmp/multipartBody1705440249879432602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235613574,"filename":"image_30012025_12_12_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/30/42bdbf491f52aa7cd9bf990ae0e35026.jpg","text":"TemporaryFile(/tmp/multipartBody3536292691133869196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235613574,"filename":"image_30012025_12_11_25_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/30/fc8909857639192da97231d4ef38a3b5.jpg","text":"TemporaryFile(/tmp/multipartBody1209914603962674658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235613574,"filename":"image_30012025_12_12_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/30/3e2cc2f61fdd98da6fe3c64269395168.jpg","text":"TemporaryFile(/tmp/multipartBody4898360316209988872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235613574,"filename":"image_30012025_12_12_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/30/056619109a8fe583cf7fed6d4012829a.jpg","text":"TemporaryFile(/tmp/multipartBody7389239251716105521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235613574,"filename":"image_30012025_12_12_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/30/0c04812d96667dd9bb2ddc9ebfd130b8.jpg","text":"TemporaryFile(/tmp/multipartBody7370980995098457999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235613574,"filename":"image_30012025_12_12_35_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332974864","file1":"1332974857","file0":"1332974849","file4":"1332974872","file5":"1332974875","file3":"1332974869"},"map_files_photo_id_array":[{"photo_id":"1332974875","filename":"file5"},{"photo_id":"1332974864","filename":"file2"},{"photo_id":"1332974872","filename":"file4"},{"photo_id":"1332974857","filename":"file1"},{"photo_id":"1332974849","filename":"file0"},{"photo_id":"1332974869","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332974864":["hashtag1","hashtag2"]},{"1332974849":["hashtag1","hashtag2"]},{"1332974875":["hashtag1","hashtag2"]},{"1332974869":["hashtag1","hashtag2"]},{"1332974857":["hashtag1","hashtag2"]},{"1332974872":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332974864, 1332974849, 1332974875, 1332974869, 1332974857, 1332974872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47301650047302 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:13:32.814094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/12/image_30012025_12_12_55_9484.jpg', '/home/pi/Desktop/images/30012025/12/12/image_30012025_12_13_05_10344.jpg', '/home/pi/Desktop/images/30012025/12/13/image_30012025_12_13_35_10349.jpg', '/home/pi/Desktop/images/30012025/12/13/image_30012025_12_13_45_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/12/image_30012025_12_12_55_9484.jpg
/home/pi/Desktop/images/30012025/12/12/image_30012025_12_13_05_10344.jpg
/home/pi/Desktop/images/30012025/12/13/image_30012025_12_13_35_10349.jpg
/home/pi/Desktop/images/30012025/12/13/image_30012025_12_13_45_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":["1332974919","1332974912","1332974900","1332974906"],"photo_ids_order":["1332974900","1332974906","1332974912","1332974919"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0abf06b60d9bbb8858e419d5214e9233.jpg","text":"TemporaryFile(/tmp/multipartBody650202534436795837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235673677,"filename":"image_30012025_12_13_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/30/c0a9681791d07b6eb75a36846ca6e3be.jpg","text":"TemporaryFile(/tmp/multipartBody7273633469692905114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235673677,"filename":"image_30012025_12_13_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/30/d564ee68b100c05c85aeb55ffc8f481e.jpg","text":"TemporaryFile(/tmp/multipartBody1276683163732705435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235673677,"filename":"image_30012025_12_12_55_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/691a3d1a888ba2808d7901dbfbce4ab7.jpg","text":"TemporaryFile(/tmp/multipartBody3544464079300838677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235673677,"filename":"image_30012025_12_13_05_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332974912","file1":"1332974906","file0":"1332974900","file3":"1332974919"},"map_files_photo_id_array":[{"photo_id":"1332974912","filename":"file2"},{"photo_id":"1332974906","filename":"file1"},{"photo_id":"1332974900","filename":"file0"},{"photo_id":"1332974919","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332974919":["hashtag1","hashtag2"]},{"1332974912":["hashtag1","hashtag2"]},{"1332974900":["hashtag1","hashtag2"]},{"1332974906":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332974919, 1332974912, 1332974900, 1332974906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.18978524208069 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:14:32.263008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/13/image_30012025_12_13_55_10425.jpg', '/home/pi/Desktop/images/30012025/12/13/image_30012025_12_14_06_10363.jpg', '/home/pi/Desktop/images/30012025/12/14/image_30012025_12_14_25_10350.jpg', '/home/pi/Desktop/images/30012025/12/14/image_30012025_12_14_35_9324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/13/image_30012025_12_13_55_10425.jpg
/home/pi/Desktop/images/30012025/12/13/image_30012025_12_14_06_10363.jpg
/home/pi/Desktop/images/30012025/12/14/image_30012025_12_14_25_10350.jpg
/home/pi/Desktop/images/30012025/12/14/image_30012025_12_14_35_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":["1332974957","1332974951","1332974945","1332974962"],"photo_ids_order":["1332974945","1332974951","1332974957","1332974962"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9b67a9d0f190759bac0b18dcc9ef7c72.jpg","text":"TemporaryFile(/tmp/multipartBody2203030261198440830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235733137,"filename":"image_30012025_12_14_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/30/433565c7f2ced60bbb50335a51e4d638.jpg","text":"TemporaryFile(/tmp/multipartBody3216438092159627964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235733137,"filename":"image_30012025_12_14_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/30/bbec9c82031497536431c5f9887e0630.jpg","text":"TemporaryFile(/tmp/multipartBody7405435693733996282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235733137,"filename":"image_30012025_12_13_55_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/30/a2eb9ce2c970f0fd6f4bf8ae7f5f7dd7.jpg","text":"TemporaryFile(/tmp/multipartBody208890706244959848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235733137,"filename":"image_30012025_12_14_35_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332974957","file1":"1332974951","file0":"1332974945","file3":"1332974962"},"map_files_photo_id_array":[{"photo_id":"1332974957","filename":"file2"},{"photo_id":"1332974951","filename":"file1"},{"photo_id":"1332974945","filename":"file0"},{"photo_id":"1332974962","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332974957":["hashtag1","hashtag2"]},{"1332974951":["hashtag1","hashtag2"]},{"1332974945":["hashtag1","hashtag2"]},{"1332974962":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332974957, 1332974951, 1332974945, 1332974962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.008785247802734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 12:15:04.047208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/55/image_28012025_20_55_55_9363.jpg', '/home/pi/Desktop/images/28012025/20/55/image_28012025_20_56_05_10482.jpg', '/home/pi/Desktop/images/28012025/20/56/image_28012025_20_56_25_10364.jpg', '/home/pi/Desktop/images/28012025/20/56/image_28012025_20_56_35_10354.jpg', '/home/pi/Desktop/images/28012025/20/56/image_28012025_20_56_45_9415.jpg', '/home/pi/Desktop/images/28012025/20/56/image_28012025_20_56_55_10512.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/55/image_28012025_20_55_55_9363.jpg
/home/pi/Desktop/images/28012025/20/55/image_28012025_20_56_05_10482.jpg
/home/pi/Desktop/images/28012025/20/56/image_28012025_20_56_25_10364.jpg
/home/pi/Desktop/images/28012025/20/56/image_28012025_20_56_35_10354.jpg
/home/pi/Desktop/images/28012025/20/56/image_28012025_20_56_45_9415.jpg
/home/pi/Desktop/images/28012025/20/56/image_28012025_20_56_55_10512.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332974976","1332974987","1332974996","1332974981","1332974992","1332974985"],"photo_ids_order":["1332974976","1332974981","1332974985","1332974987","1332974992","1332974996"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e4eeb2431fcaa9dc21452f9c7edc140e.jpg","text":"TemporaryFile(/tmp/multipartBody8393947908247592105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235765989,"filename":"image_28012025_20_55_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/30/0bbef61b6fcffa7eea974145ef248ba6.jpg","text":"TemporaryFile(/tmp/multipartBody7466906178686992705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235765989,"filename":"image_28012025_20_56_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/30/67bf8e4ba173bd5aa81202fa4e47bfd8.jpg","text":"TemporaryFile(/tmp/multipartBody5362457611319221972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235765989,"filename":"image_28012025_20_56_55_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/30/ce252134c50fb3a142bdc530ffcfe2d6.jpg","text":"TemporaryFile(/tmp/multipartBody7963916881820129228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235765989,"filename":"image_28012025_20_56_05_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/30/deb92d24967a2d8b3b47afd64bcd1531.jpg","text":"TemporaryFile(/tmp/multipartBody8704759345888932758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235765989,"filename":"image_28012025_20_56_45_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/30/2a6e01c2acf21d2c4ba27d8acc8a1729.jpg","text":"TemporaryFile(/tmp/multipartBody5499635654764378589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235765989,"filename":"image_28012025_20_56_25_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332974985","file1":"1332974981","file0":"1332974976","file4":"1332974992","file5":"1332974996","file3":"1332974987"},"map_files_photo_id_array":[{"photo_id":"1332974996","filename":"file5"},{"photo_id":"1332974985","filename":"file2"},{"photo_id":"1332974992","filename":"file4"},{"photo_id":"1332974981","filename":"file1"},{"photo_id":"1332974976","filename":"file0"},{"photo_id":"1332974987","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332974976":["hashtag1","hashtag2"]},{"1332974987":["hashtag1","hashtag2"]},{"1332974996":["hashtag1","hashtag2"]},{"1332974981":["hashtag1","hashtag2"]},{"1332974992":["hashtag1","hashtag2"]},{"1332974985":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332974976, 1332974987, 1332974996, 1332974981, 1332974992, 1332974985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.487438917160034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:15:52.456335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/14/image_30012025_12_14_55_10348.jpg', '/home/pi/Desktop/images/30012025/12/14/image_30012025_12_15_05_9337.jpg', '/home/pi/Desktop/images/30012025/12/15/image_30012025_12_15_35_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/14/image_30012025_12_14_55_10348.jpg
/home/pi/Desktop/images/30012025/12/14/image_30012025_12_15_05_9337.jpg
/home/pi/Desktop/images/30012025/12/15/image_30012025_12_15_35_9347.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332975156","1332975155","1332975160"],"photo_ids_order":["1332975155","1332975156","1332975160"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/223ada604db4fc12073fa5f620501cc3.jpg","text":"TemporaryFile(/tmp/multipartBody7948052826002361287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235813311,"filename":"image_30012025_12_15_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/30/b35f6508d64e8536bbfc3ce9fd3eb657.jpg","text":"TemporaryFile(/tmp/multipartBody1168780335990025517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235813311,"filename":"image_30012025_12_14_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/30/2b6eea3a0d041930f93a59f0b7efb449.jpg","text":"TemporaryFile(/tmp/multipartBody704180143132359090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235813311,"filename":"image_30012025_12_15_35_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332975160","file1":"1332975156","file0":"1332975155"},"map_files_photo_id_array":[{"photo_id":"1332975160","filename":"file2"},{"photo_id":"1332975156","filename":"file1"},{"photo_id":"1332975155","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332975156":["hashtag1","hashtag2"]},{"1332975155":["hashtag1","hashtag2"]},{"1332975160":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332975156, 1332975155, 1332975160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 26.133870363235474 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:16:32.587847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/15/image_30012025_12_15_56_10368.jpg', '/home/pi/Desktop/images/30012025/12/15/image_30012025_12_16_05_9494.jpg', '/home/pi/Desktop/images/30012025/12/16/image_30012025_12_16_15_10366.jpg', '/home/pi/Desktop/images/30012025/12/16/image_30012025_12_16_25_9334.jpg', '/home/pi/Desktop/images/30012025/12/16/image_30012025_12_16_35_10363.jpg', '/home/pi/Desktop/images/30012025/12/16/image_30012025_12_16_45_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/15/image_30012025_12_15_56_10368.jpg
/home/pi/Desktop/images/30012025/12/15/image_30012025_12_16_05_9494.jpg
/home/pi/Desktop/images/30012025/12/16/image_30012025_12_16_15_10366.jpg
/home/pi/Desktop/images/30012025/12/16/image_30012025_12_16_25_9334.jpg
/home/pi/Desktop/images/30012025/12/16/image_30012025_12_16_35_10363.jpg
/home/pi/Desktop/images/30012025/12/16/image_30012025_12_16_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":["1332975389","1332975550","1332975544","1332975591","1332975523","1332975465"],"photo_ids_order":["1332975389","1332975465","1332975523","1332975544","1332975550","1332975591"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ec121fdaca42d55542029c50d3f22ee1.jpg","text":"TemporaryFile(/tmp/multipartBody40280254078277076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235853481,"filename":"image_30012025_12_15_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/30/10ba25dde1c9609dbbc17b0a106e4386.jpg","text":"TemporaryFile(/tmp/multipartBody1823816856278173329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235853481,"filename":"image_30012025_12_16_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/30/43947d1df5d7ef62b3d8cfc3285ea1d0.jpg","text":"TemporaryFile(/tmp/multipartBody8686008341720506413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235853481,"filename":"image_30012025_12_16_25_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0bf0b65486ec6ba02073c90fb8d99c2c.jpg","text":"TemporaryFile(/tmp/multipartBody7535278560063409702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235853481,"filename":"image_30012025_12_16_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/30/4260933a39943476830eb4020089d5f3.jpg","text":"TemporaryFile(/tmp/multipartBody7937849393560503853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235853481,"filename":"image_30012025_12_16_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/30/db7629948746a5b0eef633d708620142.jpg","text":"TemporaryFile(/tmp/multipartBody3979176560134088968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235853481,"filename":"image_30012025_12_16_05_9494.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332975523","file1":"1332975465","file0":"1332975389","file4":"1332975550","file5":"1332975591","file3":"1332975544"},"map_files_photo_id_array":[{"photo_id":"1332975591","filename":"file5"},{"photo_id":"1332975523","filename":"file2"},{"photo_id":"1332975550","filename":"file4"},{"photo_id":"1332975465","filename":"file1"},{"photo_id":"1332975389","filename":"file0"},{"photo_id":"1332975544","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332975389":["hashtag1","hashtag2"]},{"1332975550":["hashtag1","hashtag2"]},{"1332975544":["hashtag1","hashtag2"]},{"1332975591":["hashtag1","hashtag2"]},{"1332975523":["hashtag1","hashtag2"]},{"1332975465":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332975389, 1332975550, 1332975544, 1332975591, 1332975523, 1332975465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.84680938720703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:17:33.153533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/16/image_30012025_12_16_55_9339.jpg', '/home/pi/Desktop/images/30012025/12/16/image_30012025_12_17_05_10393.jpg', '/home/pi/Desktop/images/30012025/12/17/image_30012025_12_17_16_10407.jpg', '/home/pi/Desktop/images/30012025/12/17/image_30012025_12_17_25_9352.jpg', '/home/pi/Desktop/images/30012025/12/17/image_30012025_12_17_35_10369.jpg', '/home/pi/Desktop/images/30012025/12/17/image_30012025_12_17_45_9462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/16/image_30012025_12_16_55_9339.jpg
/home/pi/Desktop/images/30012025/12/16/image_30012025_12_17_05_10393.jpg
/home/pi/Desktop/images/30012025/12/17/image_30012025_12_17_16_10407.jpg
/home/pi/Desktop/images/30012025/12/17/image_30012025_12_17_25_9352.jpg
/home/pi/Desktop/images/30012025/12/17/image_30012025_12_17_35_10369.jpg
/home/pi/Desktop/images/30012025/12/17/image_30012025_12_17_45_9462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332975717","1332975705","1332975680","1332975686","1332975719","1332975712"],"photo_ids_order":["1332975680","1332975686","1332975705","1332975712","1332975717","1332975719"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/aa95e1391e853078720b9ad9c55d9556.jpg","text":"TemporaryFile(/tmp/multipartBody6732595419721841594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235914082,"filename":"image_30012025_12_17_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/30/8697d809d910d86113d5abc94984c689.jpg","text":"TemporaryFile(/tmp/multipartBody7555891788290138216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235914082,"filename":"image_30012025_12_17_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/30/3f46ac3f395c2ae4cfc31e9b89c35aad.jpg","text":"TemporaryFile(/tmp/multipartBody32436534585193156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235914082,"filename":"image_30012025_12_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/30/73144ad1d61201307848048c73e86846.jpg","text":"TemporaryFile(/tmp/multipartBody1979709839611494415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235914082,"filename":"image_30012025_12_17_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/30/43507dc0745d51635753f3cad998cba7.jpg","text":"TemporaryFile(/tmp/multipartBody1491946413584121468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235914082,"filename":"image_30012025_12_17_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/30/b754c68066c23aa5a35c4807e2500d8b.jpg","text":"TemporaryFile(/tmp/multipartBody5421717456345788269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235914082,"filename":"image_30012025_12_17_25_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332975705","file1":"1332975686","file0":"1332975680","file4":"1332975717","file5":"1332975719","file3":"1332975712"},"map_files_photo_id_array":[{"photo_id":"1332975719","filename":"file5"},{"photo_id":"1332975705","filename":"file2"},{"photo_id":"1332975717","filename":"file4"},{"photo_id":"1332975686","filename":"file1"},{"photo_id":"1332975680","filename":"file0"},{"photo_id":"1332975712","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332975717":["hashtag1","hashtag2"]},{"1332975705":["hashtag1","hashtag2"]},{"1332975680":["hashtag1","hashtag2"]},{"1332975686":["hashtag1","hashtag2"]},{"1332975719":["hashtag1","hashtag2"]},{"1332975712":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332975717, 1332975705, 1332975680, 1332975686, 1332975719, 1332975712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.23991775512695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:18:32.218341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/17/image_30012025_12_17_55_10443.jpg', '/home/pi/Desktop/images/30012025/12/17/image_30012025_12_18_06_10338.jpg', '/home/pi/Desktop/images/30012025/12/18/image_30012025_12_18_15_9501.jpg', '/home/pi/Desktop/images/30012025/12/18/image_30012025_12_18_25_10354.jpg', '/home/pi/Desktop/images/30012025/12/18/image_30012025_12_18_35_9329.jpg', '/home/pi/Desktop/images/30012025/12/18/image_30012025_12_18_45_10438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/17/image_30012025_12_17_55_10443.jpg
/home/pi/Desktop/images/30012025/12/17/image_30012025_12_18_06_10338.jpg
/home/pi/Desktop/images/30012025/12/18/image_30012025_12_18_15_9501.jpg
/home/pi/Desktop/images/30012025/12/18/image_30012025_12_18_25_10354.jpg
/home/pi/Desktop/images/30012025/12/18/image_30012025_12_18_35_9329.jpg
/home/pi/Desktop/images/30012025/12/18/image_30012025_12_18_45_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":["1332975903","1332975898","1332975883","1332975910","1332975907","1332975891"],"photo_ids_order":["1332975883","1332975891","1332975898","1332975903","1332975907","1332975910"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/69f49bc60b955a0ec32cf61fc6cf77a7.jpg","text":"TemporaryFile(/tmp/multipartBody6245997034884063320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235973122,"filename":"image_30012025_12_18_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/30/81a944e73ded01ee9059ef3482457321.jpg","text":"TemporaryFile(/tmp/multipartBody3918787978243608517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235973122,"filename":"image_30012025_12_18_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/30/34df780c0577ecf5726132df31cd02a9.jpg","text":"TemporaryFile(/tmp/multipartBody8998089979887630724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235973122,"filename":"image_30012025_12_17_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/30/850ecef1bec157fcf967c2068600a43b.jpg","text":"TemporaryFile(/tmp/multipartBody6113409647763002883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235973122,"filename":"image_30012025_12_18_45_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d00b7f06771d61d68d4094d3e84c9d85.jpg","text":"TemporaryFile(/tmp/multipartBody9221435972535095036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235973122,"filename":"image_30012025_12_18_35_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/00cecdd1942a7e39cf37838192950a57.jpg","text":"TemporaryFile(/tmp/multipartBody3269054131612740275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738235973122,"filename":"image_30012025_12_18_06_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332975898","file1":"1332975891","file0":"1332975883","file4":"1332975907","file5":"1332975910","file3":"1332975903"},"map_files_photo_id_array":[{"photo_id":"1332975910","filename":"file5"},{"photo_id":"1332975898","filename":"file2"},{"photo_id":"1332975907","filename":"file4"},{"photo_id":"1332975891","filename":"file1"},{"photo_id":"1332975883","filename":"file0"},{"photo_id":"1332975903","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332975903":["hashtag1","hashtag2"]},{"1332975898":["hashtag1","hashtag2"]},{"1332975883":["hashtag1","hashtag2"]},{"1332975910":["hashtag1","hashtag2"]},{"1332975907":["hashtag1","hashtag2"]},{"1332975891":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332975903, 1332975898, 1332975883, 1332975910, 1332975907, 1332975891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.41688632965088 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:19:32.498700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/18/image_30012025_12_18_56_10367.jpg', '/home/pi/Desktop/images/30012025/12/18/image_30012025_12_19_05_9449.jpg', '/home/pi/Desktop/images/30012025/12/19/image_30012025_12_19_15_10329.jpg', '/home/pi/Desktop/images/30012025/12/19/image_30012025_12_19_25_9331.jpg', '/home/pi/Desktop/images/30012025/12/19/image_30012025_12_19_45_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/18/image_30012025_12_18_56_10367.jpg
/home/pi/Desktop/images/30012025/12/18/image_30012025_12_19_05_9449.jpg
/home/pi/Desktop/images/30012025/12/19/image_30012025_12_19_15_10329.jpg
/home/pi/Desktop/images/30012025/12/19/image_30012025_12_19_25_9331.jpg
/home/pi/Desktop/images/30012025/12/19/image_30012025_12_19_45_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":["1332975998","1332976015","1332976009","1332975994","1332976003"],"photo_ids_order":["1332975994","1332975998","1332976003","1332976009","1332976015"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cc5a7e4485bef6c487c134d5b8bc6b0d.jpg","text":"TemporaryFile(/tmp/multipartBody549039171564356032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236033422,"filename":"image_30012025_12_19_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/30/d754eb83bf631769595090b294fd9809.jpg","text":"TemporaryFile(/tmp/multipartBody6141605940450913354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236033422,"filename":"image_30012025_12_19_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/30/3f54ca7af5b308947c8d7673ef684b5c.jpg","text":"TemporaryFile(/tmp/multipartBody6861110310006380802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236033422,"filename":"image_30012025_12_19_25_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5709baab8e28e6983ca38cb7d9823687.jpg","text":"TemporaryFile(/tmp/multipartBody7380418477299821334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236033422,"filename":"image_30012025_12_18_56_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/87177ed697ee4a6dbf64acb956e2a787.jpg","text":"TemporaryFile(/tmp/multipartBody3346341029496142568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236033422,"filename":"image_30012025_12_19_15_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332976003","file1":"1332975998","file0":"1332975994","file4":"1332976015","file3":"1332976009"},"map_files_photo_id_array":[{"photo_id":"1332976003","filename":"file2"},{"photo_id":"1332976015","filename":"file4"},{"photo_id":"1332975998","filename":"file1"},{"photo_id":"1332975994","filename":"file0"},{"photo_id":"1332976009","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332975998":["hashtag1","hashtag2"]},{"1332976015":["hashtag1","hashtag2"]},{"1332976009":["hashtag1","hashtag2"]},{"1332975994":["hashtag1","hashtag2"]},{"1332976003":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332975998, 1332976015, 1332976009, 1332975994, 1332976003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.86930465698242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:20:32.660431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/19/image_30012025_12_19_55_9334.jpg', '/home/pi/Desktop/images/30012025/12/19/image_30012025_12_20_05_10355.jpg', '/home/pi/Desktop/images/30012025/12/20/image_30012025_12_20_15_10339.jpg', '/home/pi/Desktop/images/30012025/12/20/image_30012025_12_20_25_9418.jpg', '/home/pi/Desktop/images/30012025/12/20/image_30012025_12_20_35_10383.jpg', '/home/pi/Desktop/images/30012025/12/20/image_30012025_12_20_45_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/19/image_30012025_12_19_55_9334.jpg
/home/pi/Desktop/images/30012025/12/19/image_30012025_12_20_05_10355.jpg
/home/pi/Desktop/images/30012025/12/20/image_30012025_12_20_15_10339.jpg
/home/pi/Desktop/images/30012025/12/20/image_30012025_12_20_25_9418.jpg
/home/pi/Desktop/images/30012025/12/20/image_30012025_12_20_35_10383.jpg
/home/pi/Desktop/images/30012025/12/20/image_30012025_12_20_45_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":["1332976061","1332976043","1332976037","1332976051","1332976056","1332976065"],"photo_ids_order":["1332976037","1332976043","1332976051","1332976056","1332976061","1332976065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a65040ddc8471aab9a6cd6775886d582.jpg","text":"TemporaryFile(/tmp/multipartBody1541852729327261443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236093563,"filename":"image_30012025_12_20_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/30/50fb4f950f527f55bbb5f8c6aad56e23.jpg","text":"TemporaryFile(/tmp/multipartBody8750642231650569276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236093563,"filename":"image_30012025_12_20_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/30/95916c9e30481165db3a43a0f6b44f75.jpg","text":"TemporaryFile(/tmp/multipartBody2822506430144023048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236093563,"filename":"image_30012025_12_19_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/30/58c5d41cd1e43bcf536cacc0265f3de7.jpg","text":"TemporaryFile(/tmp/multipartBody5084211418446204480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236093563,"filename":"image_30012025_12_20_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/30/d58f723545ca2ec02814a24ace6b50f9.jpg","text":"TemporaryFile(/tmp/multipartBody6771453457563043177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236093563,"filename":"image_30012025_12_20_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/30/46355bcc8475d3f672d86526c7adfeac.jpg","text":"TemporaryFile(/tmp/multipartBody678625360547081563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236093563,"filename":"image_30012025_12_20_45_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332976051","file1":"1332976043","file0":"1332976037","file4":"1332976061","file5":"1332976065","file3":"1332976056"},"map_files_photo_id_array":[{"photo_id":"1332976065","filename":"file5"},{"photo_id":"1332976051","filename":"file2"},{"photo_id":"1332976061","filename":"file4"},{"photo_id":"1332976043","filename":"file1"},{"photo_id":"1332976037","filename":"file0"},{"photo_id":"1332976056","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332976061":["hashtag1","hashtag2"]},{"1332976043":["hashtag1","hashtag2"]},{"1332976037":["hashtag1","hashtag2"]},{"1332976051":["hashtag1","hashtag2"]},{"1332976056":["hashtag1","hashtag2"]},{"1332976065":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332976061, 1332976043, 1332976037, 1332976051, 1332976056, 1332976065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.864694118499756 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:21:32.870855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/20/image_30012025_12_20_55_10422.jpg', '/home/pi/Desktop/images/30012025/12/20/image_30012025_12_21_05_10378.jpg', '/home/pi/Desktop/images/30012025/12/21/image_30012025_12_21_15_9508.jpg', '/home/pi/Desktop/images/30012025/12/21/image_30012025_12_21_25_9829.jpg', '/home/pi/Desktop/images/30012025/12/21/image_30012025_12_21_35_10343.jpg', '/home/pi/Desktop/images/30012025/12/21/image_30012025_12_21_46_10376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/20/image_30012025_12_20_55_10422.jpg
/home/pi/Desktop/images/30012025/12/20/image_30012025_12_21_05_10378.jpg
/home/pi/Desktop/images/30012025/12/21/image_30012025_12_21_15_9508.jpg
/home/pi/Desktop/images/30012025/12/21/image_30012025_12_21_25_9829.jpg
/home/pi/Desktop/images/30012025/12/21/image_30012025_12_21_35_10343.jpg
/home/pi/Desktop/images/30012025/12/21/image_30012025_12_21_46_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":["1332976325","1332976423","1332976420","1332976188","1332976095","1332976091"],"photo_ids_order":["1332976091","1332976095","1332976188","1332976325","1332976420","1332976423"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/35a84bc78768ff2482960b4dc256773f.jpg","text":"TemporaryFile(/tmp/multipartBody3128459686562425770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236153780,"filename":"image_30012025_12_21_25_9829.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/489e10b1cc786ce23c932a1d76af2cf1.jpg","text":"TemporaryFile(/tmp/multipartBody8838056130255334124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236153780,"filename":"image_30012025_12_21_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/30/151e49af4febef3f58c56f0c5c7916c8.jpg","text":"TemporaryFile(/tmp/multipartBody2880029735927368001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236153780,"filename":"image_30012025_12_21_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/30/755ecfbd04522146b13c359257c0c36a.jpg","text":"TemporaryFile(/tmp/multipartBody5752606598399807117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236153780,"filename":"image_30012025_12_21_15_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/30/1d006747621ed88efc1570dbb202e135.jpg","text":"TemporaryFile(/tmp/multipartBody498989941530694066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236153780,"filename":"image_30012025_12_21_05_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/315468ffac606491c8ead1c973f4658e.jpg","text":"TemporaryFile(/tmp/multipartBody4007802639850221644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236153780,"filename":"image_30012025_12_20_55_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332976188","file1":"1332976095","file0":"1332976091","file4":"1332976420","file5":"1332976423","file3":"1332976325"},"map_files_photo_id_array":[{"photo_id":"1332976423","filename":"file5"},{"photo_id":"1332976188","filename":"file2"},{"photo_id":"1332976420","filename":"file4"},{"photo_id":"1332976095","filename":"file1"},{"photo_id":"1332976091","filename":"file0"},{"photo_id":"1332976325","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332976325":["hashtag1","hashtag2"]},{"1332976423":["hashtag1","hashtag2"]},{"1332976420":["hashtag1","hashtag2"]},{"1332976188":["hashtag1","hashtag2"]},{"1332976095":["hashtag1","hashtag2"]},{"1332976091":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332976325, 1332976423, 1332976420, 1332976188, 1332976095, 1332976091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.40276527404785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:22:33.110947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/21/image_30012025_12_21_55_9392.jpg', '/home/pi/Desktop/images/30012025/12/21/image_30012025_12_22_05_10352.jpg', '/home/pi/Desktop/images/30012025/12/22/image_30012025_12_22_16_10355.jpg', '/home/pi/Desktop/images/30012025/12/22/image_30012025_12_22_25_9413.jpg', '/home/pi/Desktop/images/30012025/12/22/image_30012025_12_22_35_10364.jpg', '/home/pi/Desktop/images/30012025/12/22/image_30012025_12_22_45_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/21/image_30012025_12_21_55_9392.jpg
/home/pi/Desktop/images/30012025/12/21/image_30012025_12_22_05_10352.jpg
/home/pi/Desktop/images/30012025/12/22/image_30012025_12_22_16_10355.jpg
/home/pi/Desktop/images/30012025/12/22/image_30012025_12_22_25_9413.jpg
/home/pi/Desktop/images/30012025/12/22/image_30012025_12_22_35_10364.jpg
/home/pi/Desktop/images/30012025/12/22/image_30012025_12_22_45_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.5350379943847656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 12:22:43.080007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/21/image_30012025_12_21_55_9392.jpg', '/home/pi/Desktop/images/30012025/12/21/image_30012025_12_22_05_10352.jpg', '/home/pi/Desktop/images/30012025/12/22/image_30012025_12_22_16_10355.jpg', '/home/pi/Desktop/images/30012025/12/22/image_30012025_12_22_25_9413.jpg', '/home/pi/Desktop/images/30012025/12/22/image_30012025_12_22_35_10364.jpg', '/home/pi/Desktop/images/30012025/12/22/image_30012025_12_22_45_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/21/image_30012025_12_21_55_9392.jpg
/home/pi/Desktop/images/30012025/12/21/image_30012025_12_22_05_10352.jpg
/home/pi/Desktop/images/30012025/12/22/image_30012025_12_22_16_10355.jpg
/home/pi/Desktop/images/30012025/12/22/image_30012025_12_22_25_9413.jpg
/home/pi/Desktop/images/30012025/12/22/image_30012025_12_22_35_10364.jpg
/home/pi/Desktop/images/30012025/12/22/image_30012025_12_22_45_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":["1332976820","1332976786","1332976759","1332976753","1332976746","1332976784"],"photo_ids_order":["1332976746","1332976753","1332976759","1332976784","1332976786","1332976820"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9ef14d91c331f3ae74d7466ea36f43ea.jpg","text":"TemporaryFile(/tmp/multipartBody6721309683146915630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236223980,"filename":"image_30012025_12_22_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/30/6330f73a8d67a31f68cb99618fe41db4.jpg","text":"TemporaryFile(/tmp/multipartBody3193512899871884896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236223980,"filename":"image_30012025_12_22_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6069e6c577981b71aa7aa63953ee680d.jpg","text":"TemporaryFile(/tmp/multipartBody4440309930342948533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236223980,"filename":"image_30012025_12_22_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/30/c7fe9a317ac19a859dfc0e150da67f20.jpg","text":"TemporaryFile(/tmp/multipartBody5969008883290116747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236223980,"filename":"image_30012025_12_22_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/30/d1b001633d2643d43b77fd4089e7798e.jpg","text":"TemporaryFile(/tmp/multipartBody5309334914688865295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236223980,"filename":"image_30012025_12_21_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/30/2328180f0c044513b13913fde53254bd.jpg","text":"TemporaryFile(/tmp/multipartBody2954563343572842634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236223980,"filename":"image_30012025_12_22_25_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332976759","file1":"1332976753","file0":"1332976746","file4":"1332976786","file5":"1332976820","file3":"1332976784"},"map_files_photo_id_array":[{"photo_id":"1332976820","filename":"file5"},{"photo_id":"1332976759","filename":"file2"},{"photo_id":"1332976786","filename":"file4"},{"photo_id":"1332976753","filename":"file1"},{"photo_id":"1332976746","filename":"file0"},{"photo_id":"1332976784","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332976820":["hashtag1","hashtag2"]},{"1332976786":["hashtag1","hashtag2"]},{"1332976759":["hashtag1","hashtag2"]},{"1332976753":["hashtag1","hashtag2"]},{"1332976746":["hashtag1","hashtag2"]},{"1332976784":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332976820, 1332976786, 1332976759, 1332976753, 1332976746, 1332976784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13785219192505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:23:32.335255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/22/image_30012025_12_22_55_10365.jpg', '/home/pi/Desktop/images/30012025/12/22/image_30012025_12_23_06_10416.jpg', '/home/pi/Desktop/images/30012025/12/23/image_30012025_12_23_15_9405.jpg', '/home/pi/Desktop/images/30012025/12/23/image_30012025_12_23_25_10365.jpg', '/home/pi/Desktop/images/30012025/12/23/image_30012025_12_23_35_9348.jpg', '/home/pi/Desktop/images/30012025/12/23/image_30012025_12_23_45_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/22/image_30012025_12_22_55_10365.jpg
/home/pi/Desktop/images/30012025/12/22/image_30012025_12_23_06_10416.jpg
/home/pi/Desktop/images/30012025/12/23/image_30012025_12_23_15_9405.jpg
/home/pi/Desktop/images/30012025/12/23/image_30012025_12_23_25_10365.jpg
/home/pi/Desktop/images/30012025/12/23/image_30012025_12_23_35_9348.jpg
/home/pi/Desktop/images/30012025/12/23/image_30012025_12_23_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":["1332976868","1332976862","1332976850","1332976855","1332976871","1332976865"],"photo_ids_order":["1332976850","1332976855","1332976862","1332976865","1332976868","1332976871"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7c6b5fe8c4cbc91402a6b8fb8cabe169.jpg","text":"TemporaryFile(/tmp/multipartBody8908727440825259670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236273265,"filename":"image_30012025_12_23_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/30/9ea0eacc5069612335c6a0384b6ea605.jpg","text":"TemporaryFile(/tmp/multipartBody6954458080669849687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236273265,"filename":"image_30012025_12_23_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/30/b947329f9ebc4866e1a3b6c0ac070440.jpg","text":"TemporaryFile(/tmp/multipartBody6885844998588161648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236273265,"filename":"image_30012025_12_22_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/30/b7fb4c93c5e747372b49ff21c1663667.jpg","text":"TemporaryFile(/tmp/multipartBody4177725521613411454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236273265,"filename":"image_30012025_12_23_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/30/eb1a0b3ce09a5c89e480ae9c10813c80.jpg","text":"TemporaryFile(/tmp/multipartBody2862113103705817850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236273265,"filename":"image_30012025_12_23_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/30/246ba1268786d048af1090be82400d30.jpg","text":"TemporaryFile(/tmp/multipartBody3897439302767051821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236273265,"filename":"image_30012025_12_23_25_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332976862","file1":"1332976855","file0":"1332976850","file4":"1332976868","file5":"1332976871","file3":"1332976865"},"map_files_photo_id_array":[{"photo_id":"1332976871","filename":"file5"},{"photo_id":"1332976862","filename":"file2"},{"photo_id":"1332976868","filename":"file4"},{"photo_id":"1332976855","filename":"file1"},{"photo_id":"1332976850","filename":"file0"},{"photo_id":"1332976865","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332976868":["hashtag1","hashtag2"]},{"1332976862":["hashtag1","hashtag2"]},{"1332976850":["hashtag1","hashtag2"]},{"1332976855":["hashtag1","hashtag2"]},{"1332976871":["hashtag1","hashtag2"]},{"1332976865":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332976868, 1332976862, 1332976850, 1332976855, 1332976871, 1332976865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.980047941207886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:24:32.645538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/23/image_30012025_12_23_55_10336.jpg', '/home/pi/Desktop/images/30012025/12/23/image_30012025_12_24_05_9341.jpg', '/home/pi/Desktop/images/30012025/12/24/image_30012025_12_24_15_10358.jpg', '/home/pi/Desktop/images/30012025/12/24/image_30012025_12_24_25_10336.jpg', '/home/pi/Desktop/images/30012025/12/24/image_30012025_12_24_35_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/23/image_30012025_12_23_55_10336.jpg
/home/pi/Desktop/images/30012025/12/23/image_30012025_12_24_05_9341.jpg
/home/pi/Desktop/images/30012025/12/24/image_30012025_12_24_15_10358.jpg
/home/pi/Desktop/images/30012025/12/24/image_30012025_12_24_25_10336.jpg
/home/pi/Desktop/images/30012025/12/24/image_30012025_12_24_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":["1332977740","1332977388","1332978102","1332977049","1332977046"],"photo_ids_order":["1332977046","1332977049","1332977388","1332977740","1332978102"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/16f041fa53698f3a7a8da801426c5e32.jpg","text":"TemporaryFile(/tmp/multipartBody5432066668012208619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236333547,"filename":"image_30012025_12_24_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/30/d04537c473c2cf0e2d6de0252651271a.jpg","text":"TemporaryFile(/tmp/multipartBody7634916944460472520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236333547,"filename":"image_30012025_12_24_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/30/d3a357126e5f69f961cd6939eb867198.jpg","text":"TemporaryFile(/tmp/multipartBody7364657296395784963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236333547,"filename":"image_30012025_12_24_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/30/1f1518b0f3d9009c2189ba22ee80869c.jpg","text":"TemporaryFile(/tmp/multipartBody8071544767059222889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236333547,"filename":"image_30012025_12_24_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/30/c7a3f15981cb6ae6858999a7f0f629b6.jpg","text":"TemporaryFile(/tmp/multipartBody7668798719376549384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236333547,"filename":"image_30012025_12_23_55_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332977388","file1":"1332977049","file0":"1332977046","file4":"1332978102","file3":"1332977740"},"map_files_photo_id_array":[{"photo_id":"1332977388","filename":"file2"},{"photo_id":"1332978102","filename":"file4"},{"photo_id":"1332977049","filename":"file1"},{"photo_id":"1332977046","filename":"file0"},{"photo_id":"1332977740","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332977740":["hashtag1","hashtag2"]},{"1332977388":["hashtag1","hashtag2"]},{"1332978102":["hashtag1","hashtag2"]},{"1332977049":["hashtag1","hashtag2"]},{"1332977046":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332977740, 1332977388, 1332978102, 1332977049, 1332977046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.781227111816406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:25:32.764564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/24/image_30012025_12_24_56_10362.jpg', '/home/pi/Desktop/images/30012025/12/24/image_30012025_12_25_05_9397.jpg', '/home/pi/Desktop/images/30012025/12/25/image_30012025_12_25_15_10418.jpg', '/home/pi/Desktop/images/30012025/12/25/image_30012025_12_25_25_9411.jpg', '/home/pi/Desktop/images/30012025/12/25/image_30012025_12_25_35_10493.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/24/image_30012025_12_24_56_10362.jpg
/home/pi/Desktop/images/30012025/12/24/image_30012025_12_25_05_9397.jpg
/home/pi/Desktop/images/30012025/12/25/image_30012025_12_25_15_10418.jpg
/home/pi/Desktop/images/30012025/12/25/image_30012025_12_25_25_9411.jpg
/home/pi/Desktop/images/30012025/12/25/image_30012025_12_25_35_10493.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332978174","1332978369","1332978183","1332978290","1332978332"],"photo_ids_order":["1332978174","1332978183","1332978290","1332978332","1332978369"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e79ecbc84260bf858de99e5bf6a244ba.jpg","text":"TemporaryFile(/tmp/multipartBody1733903351370450693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236393848,"filename":"image_30012025_12_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/30/b79f17293b891abed9b1e4701f7f0030.jpg","text":"TemporaryFile(/tmp/multipartBody4582903687997586559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236393848,"filename":"image_30012025_12_25_35_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/30/7d07cfa988a8992696bc812865a6744b.jpg","text":"TemporaryFile(/tmp/multipartBody7639131342809758204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236393848,"filename":"image_30012025_12_25_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/30/5bfbb7de53372e6980b82ea9aa45bde1.jpg","text":"TemporaryFile(/tmp/multipartBody5550442319703982682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236393848,"filename":"image_30012025_12_25_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/30/1da7dd0312cefba266863caea667fcee.jpg","text":"TemporaryFile(/tmp/multipartBody4294785425906362671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236393848,"filename":"image_30012025_12_25_25_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332978290","file1":"1332978183","file0":"1332978174","file4":"1332978369","file3":"1332978332"},"map_files_photo_id_array":[{"photo_id":"1332978290","filename":"file2"},{"photo_id":"1332978369","filename":"file4"},{"photo_id":"1332978183","filename":"file1"},{"photo_id":"1332978174","filename":"file0"},{"photo_id":"1332978332","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332978174":["hashtag1","hashtag2"]},{"1332978369":["hashtag1","hashtag2"]},{"1332978183":["hashtag1","hashtag2"]},{"1332978290":["hashtag1","hashtag2"]},{"1332978332":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332978174, 1332978369, 1332978183, 1332978290, 1332978332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.36585569381714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:26:32.988976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/25/image_30012025_12_25_46_10356.jpg', '/home/pi/Desktop/images/30012025/12/26/image_30012025_12_26_15_9349.jpg', '/home/pi/Desktop/images/30012025/12/26/image_30012025_12_26_25_10369.jpg', '/home/pi/Desktop/images/30012025/12/26/image_30012025_12_26_45_9392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/25/image_30012025_12_25_46_10356.jpg
/home/pi/Desktop/images/30012025/12/26/image_30012025_12_26_15_9349.jpg
/home/pi/Desktop/images/30012025/12/26/image_30012025_12_26_25_10369.jpg
/home/pi/Desktop/images/30012025/12/26/image_30012025_12_26_45_9392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332978910","1332978864","1332978906","1332978899"],"photo_ids_order":["1332978864","1332978899","1332978906","1332978910"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/559363dab6a73b3485f3250ee45a4dd7.jpg","text":"TemporaryFile(/tmp/multipartBody7194189882496545010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236453858,"filename":"image_30012025_12_26_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/30/02ba69dfc4a39e9441ac5d7212c4e135.jpg","text":"TemporaryFile(/tmp/multipartBody4185423240016930693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236453858,"filename":"image_30012025_12_25_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/30/8f3239b0ff60ee52f13b7a61e57e9c9f.jpg","text":"TemporaryFile(/tmp/multipartBody6863915771133907966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236453858,"filename":"image_30012025_12_26_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/596472be6f41b2607398bdd61555b0e7.jpg","text":"TemporaryFile(/tmp/multipartBody4156783715052683079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236453858,"filename":"image_30012025_12_26_15_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332978906","file1":"1332978899","file0":"1332978864","file3":"1332978910"},"map_files_photo_id_array":[{"photo_id":"1332978906","filename":"file2"},{"photo_id":"1332978899","filename":"file1"},{"photo_id":"1332978864","filename":"file0"},{"photo_id":"1332978910","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332978910":["hashtag1","hashtag2"]},{"1332978864":["hashtag1","hashtag2"]},{"1332978906":["hashtag1","hashtag2"]},{"1332978899":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332978910, 1332978864, 1332978906, 1332978899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.355619192123413 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-30 12:27:32.099592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/26/image_30012025_12_26_55_10434.jpg', '/home/pi/Desktop/images/30012025/12/26/image_30012025_12_27_06_10358.jpg', '/home/pi/Desktop/images/30012025/12/27/image_30012025_12_27_15_9435.jpg', '/home/pi/Desktop/images/30012025/12/27/image_30012025_12_27_26_10502.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/26/image_30012025_12_26_55_10434.jpg
/home/pi/Desktop/images/30012025/12/26/image_30012025_12_27_06_10358.jpg
/home/pi/Desktop/images/30012025/12/27/image_30012025_12_27_15_9435.jpg
/home/pi/Desktop/images/30012025/12/27/image_30012025_12_27_26_10502.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332979135","1332979154","1332979148","1332979139"],"photo_ids_order":["1332979135","1332979139","1332979148","1332979154"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/229a085d789d8aa1eb1df80474c95c2e.jpg","text":"TemporaryFile(/tmp/multipartBody7289341395167523585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236512969,"filename":"image_30012025_12_26_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/30/e1d0d3eef4be7adbab4ed934cd473582.jpg","text":"TemporaryFile(/tmp/multipartBody7433215233794394202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236512969,"filename":"image_30012025_12_27_26_10502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/77a65b4eb737110b8f760aa5f2a797a7.jpg","text":"TemporaryFile(/tmp/multipartBody4179336244728237619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236512969,"filename":"image_30012025_12_27_15_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/30/a6e56f1f08289708f01a9a99b13d7118.jpg","text":"TemporaryFile(/tmp/multipartBody8788029628670259479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236512969,"filename":"image_30012025_12_27_06_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332979148","file1":"1332979139","file0":"1332979135","file3":"1332979154"},"map_files_photo_id_array":[{"photo_id":"1332979148","filename":"file2"},{"photo_id":"1332979139","filename":"file1"},{"photo_id":"1332979135","filename":"file0"},{"photo_id":"1332979154","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332979135":["hashtag1","hashtag2"]},{"1332979154":["hashtag1","hashtag2"]},{"1332979148":["hashtag1","hashtag2"]},{"1332979139":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332979135, 1332979154, 1332979148, 1332979139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.980677604675293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:28:32.467477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/27/image_30012025_12_27_55_9356.jpg', '/home/pi/Desktop/images/30012025/12/27/image_30012025_12_28_05_10343.jpg', '/home/pi/Desktop/images/30012025/12/28/image_30012025_12_28_15_10343.jpg', '/home/pi/Desktop/images/30012025/12/28/image_30012025_12_28_25_9341.jpg', '/home/pi/Desktop/images/30012025/12/28/image_30012025_12_28_35_10372.jpg', '/home/pi/Desktop/images/30012025/12/28/image_30012025_12_28_45_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/27/image_30012025_12_27_55_9356.jpg
/home/pi/Desktop/images/30012025/12/27/image_30012025_12_28_05_10343.jpg
/home/pi/Desktop/images/30012025/12/28/image_30012025_12_28_15_10343.jpg
/home/pi/Desktop/images/30012025/12/28/image_30012025_12_28_25_9341.jpg
/home/pi/Desktop/images/30012025/12/28/image_30012025_12_28_35_10372.jpg
/home/pi/Desktop/images/30012025/12/28/image_30012025_12_28_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":["1332979513","1332979650","1332979614","1332979598","1332979577","1332979646"],"photo_ids_order":["1332979513","1332979577","1332979598","1332979614","1332979646","1332979650"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8966c21587da4dbc2fe9761cbfc9609f.jpg","text":"TemporaryFile(/tmp/multipartBody2878557768943367443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236573376,"filename":"image_30012025_12_27_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/30/832067a74154ee5d5fa891ef19f8d379.jpg","text":"TemporaryFile(/tmp/multipartBody9003160571280521873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236573376,"filename":"image_30012025_12_28_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/30/8fe45fc4e75102de91395fdb97519461.jpg","text":"TemporaryFile(/tmp/multipartBody1465026102477684010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236573376,"filename":"image_30012025_12_28_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/30/f3badf7ff2b09fc19182591aa267ef61.jpg","text":"TemporaryFile(/tmp/multipartBody2098906089262965872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236573376,"filename":"image_30012025_12_28_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/30/fa8bf751f8c82f06642128ec8736223b.jpg","text":"TemporaryFile(/tmp/multipartBody1943195456833860049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236573376,"filename":"image_30012025_12_28_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/30/fd9dbb8f23029bdb888aa5d8135d89a2.jpg","text":"TemporaryFile(/tmp/multipartBody5702329672290872982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236573376,"filename":"image_30012025_12_28_35_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332979598","file1":"1332979577","file0":"1332979513","file4":"1332979646","file5":"1332979650","file3":"1332979614"},"map_files_photo_id_array":[{"photo_id":"1332979650","filename":"file5"},{"photo_id":"1332979598","filename":"file2"},{"photo_id":"1332979646","filename":"file4"},{"photo_id":"1332979577","filename":"file1"},{"photo_id":"1332979513","filename":"file0"},{"photo_id":"1332979614","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332979513":["hashtag1","hashtag2"]},{"1332979650":["hashtag1","hashtag2"]},{"1332979614":["hashtag1","hashtag2"]},{"1332979598":["hashtag1","hashtag2"]},{"1332979577":["hashtag1","hashtag2"]},{"1332979646":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332979513, 1332979650, 1332979614, 1332979598, 1332979577, 1332979646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.09528112411499 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:29:32.754745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/28/image_30012025_12_28_55_9388.jpg', '/home/pi/Desktop/images/30012025/12/28/image_30012025_12_29_05_10413.jpg', '/home/pi/Desktop/images/30012025/12/29/image_30012025_12_29_16_10356.jpg', '/home/pi/Desktop/images/30012025/12/29/image_30012025_12_29_25_9474.jpg', '/home/pi/Desktop/images/30012025/12/29/image_30012025_12_29_45_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/28/image_30012025_12_28_55_9388.jpg
/home/pi/Desktop/images/30012025/12/28/image_30012025_12_29_05_10413.jpg
/home/pi/Desktop/images/30012025/12/29/image_30012025_12_29_16_10356.jpg
/home/pi/Desktop/images/30012025/12/29/image_30012025_12_29_25_9474.jpg
/home/pi/Desktop/images/30012025/12/29/image_30012025_12_29_45_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":["1332979711","1332979695","1332979707","1332979721","1332979724"],"photo_ids_order":["1332979695","1332979707","1332979711","1332979721","1332979724"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/03e70d764f8b21ef047dd61f8336a824.jpg","text":"TemporaryFile(/tmp/multipartBody2067307744464142431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236633661,"filename":"image_30012025_12_29_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/30/0274515b861c47817b4d1386381ba68c.jpg","text":"TemporaryFile(/tmp/multipartBody7534849832024138480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236633661,"filename":"image_30012025_12_28_55_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/30/8036b8b0e25dd81acf4e10e4332ec58d.jpg","text":"TemporaryFile(/tmp/multipartBody6801672881723209315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236633661,"filename":"image_30012025_12_29_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/30/db9c3c04095f1c1c21e874b3c79670cf.jpg","text":"TemporaryFile(/tmp/multipartBody493669312829902151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236633661,"filename":"image_30012025_12_29_25_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3bf91e37d0f8a023f65eb21386c92936.jpg","text":"TemporaryFile(/tmp/multipartBody6654057855511649503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236633661,"filename":"image_30012025_12_29_45_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332979711","file1":"1332979707","file0":"1332979695","file4":"1332979724","file3":"1332979721"},"map_files_photo_id_array":[{"photo_id":"1332979711","filename":"file2"},{"photo_id":"1332979724","filename":"file4"},{"photo_id":"1332979707","filename":"file1"},{"photo_id":"1332979695","filename":"file0"},{"photo_id":"1332979721","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332979711":["hashtag1","hashtag2"]},{"1332979695":["hashtag1","hashtag2"]},{"1332979707":["hashtag1","hashtag2"]},{"1332979721":["hashtag1","hashtag2"]},{"1332979724":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332979711, 1332979695, 1332979707, 1332979721, 1332979724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.38945412635803 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:30:32.820394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/29/image_30012025_12_29_55_10357.jpg', '/home/pi/Desktop/images/30012025/12/29/image_30012025_12_30_06_10445.jpg', '/home/pi/Desktop/images/30012025/12/30/image_30012025_12_30_15_9430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/29/image_30012025_12_29_55_10357.jpg
/home/pi/Desktop/images/30012025/12/29/image_30012025_12_30_06_10445.jpg
/home/pi/Desktop/images/30012025/12/30/image_30012025_12_30_15_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":["1332980038","1332979790","1332979768"],"photo_ids_order":["1332979768","1332979790","1332980038"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/15d4a96bda8466b3f9429f557fcca8ba.jpg","text":"TemporaryFile(/tmp/multipartBody8273072556030555606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236693677,"filename":"image_30012025_12_30_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/30/2a8efe81ff0ca88d7f56e66d4a76a709.jpg","text":"TemporaryFile(/tmp/multipartBody8752182227117614933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236693677,"filename":"image_30012025_12_30_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/30/dd8aad4dd434d3de6169e32e679e888f.jpg","text":"TemporaryFile(/tmp/multipartBody9144728527531556351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236693677,"filename":"image_30012025_12_29_55_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332980038","file1":"1332979790","file0":"1332979768"},"map_files_photo_id_array":[{"photo_id":"1332980038","filename":"file2"},{"photo_id":"1332979790","filename":"file1"},{"photo_id":"1332979768","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332980038":["hashtag1","hashtag2"]},{"1332979790":["hashtag1","hashtag2"]},{"1332979768":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332980038, 1332979790, 1332979768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.112919807434082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 12:31:04.597890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/56/image_28012025_20_57_05_9386.jpg', '/home/pi/Desktop/images/28012025/20/57/image_28012025_20_57_15_10487.jpg', '/home/pi/Desktop/images/28012025/20/57/image_28012025_20_57_25_9376.jpg', '/home/pi/Desktop/images/28012025/20/57/image_28012025_20_57_35_10346.jpg', '/home/pi/Desktop/images/28012025/20/57/image_28012025_20_57_45_10497.jpg', '/home/pi/Desktop/images/28012025/20/57/image_28012025_20_57_55_9351.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/56/image_28012025_20_57_05_9386.jpg
/home/pi/Desktop/images/28012025/20/57/image_28012025_20_57_15_10487.jpg
/home/pi/Desktop/images/28012025/20/57/image_28012025_20_57_25_9376.jpg
/home/pi/Desktop/images/28012025/20/57/image_28012025_20_57_35_10346.jpg
/home/pi/Desktop/images/28012025/20/57/image_28012025_20_57_45_10497.jpg
/home/pi/Desktop/images/28012025/20/57/image_28012025_20_57_55_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332980110","1332980115","1332980103","1332980100","1332980120","1332980105"],"photo_ids_order":["1332980100","1332980103","1332980105","1332980110","1332980115","1332980120"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5164b23140e30f90f698e1cd80fc9644.jpg","text":"TemporaryFile(/tmp/multipartBody420920579446425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236726606,"filename":"image_28012025_20_57_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/30/7415a34828e9dd3e11201630d653cc01.jpg","text":"TemporaryFile(/tmp/multipartBody2118121132709557098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236726606,"filename":"image_28012025_20_57_45_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/30/8ba52f82ef67912290c93ca4e9ef7a1c.jpg","text":"TemporaryFile(/tmp/multipartBody721182312142124344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236726606,"filename":"image_28012025_20_57_15_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/30/ec72bdcad01151b13cc855b5f58e8256.jpg","text":"TemporaryFile(/tmp/multipartBody6204780489972149053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236726606,"filename":"image_28012025_20_57_05_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/aedb6bd20787193758be08a12199bf9e.jpg","text":"TemporaryFile(/tmp/multipartBody6113960036246683527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236726606,"filename":"image_28012025_20_57_55_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/13a57d20fa12236e653a21dd5d182475.jpg","text":"TemporaryFile(/tmp/multipartBody2960376008588912141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236726606,"filename":"image_28012025_20_57_25_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332980105","file1":"1332980103","file0":"1332980100","file4":"1332980115","file5":"1332980120","file3":"1332980110"},"map_files_photo_id_array":[{"photo_id":"1332980120","filename":"file5"},{"photo_id":"1332980105","filename":"file2"},{"photo_id":"1332980115","filename":"file4"},{"photo_id":"1332980103","filename":"file1"},{"photo_id":"1332980100","filename":"file0"},{"photo_id":"1332980110","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332980110":["hashtag1","hashtag2"]},{"1332980115":["hashtag1","hashtag2"]},{"1332980103":["hashtag1","hashtag2"]},{"1332980100":["hashtag1","hashtag2"]},{"1332980120":["hashtag1","hashtag2"]},{"1332980105":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332980110, 1332980115, 1332980103, 1332980100, 1332980120, 1332980105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.40514612197876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:31:52.964816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/30/image_30012025_12_30_25_10412.jpg', '/home/pi/Desktop/images/30012025/12/31/image_30012025_12_31_25_9342.jpg', '/home/pi/Desktop/images/30012025/12/31/image_30012025_12_31_35_10423.jpg', '/home/pi/Desktop/images/30012025/12/31/image_30012025_12_31_45_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/30/image_30012025_12_30_25_10412.jpg
/home/pi/Desktop/images/30012025/12/31/image_30012025_12_31_25_9342.jpg
/home/pi/Desktop/images/30012025/12/31/image_30012025_12_31_35_10423.jpg
/home/pi/Desktop/images/30012025/12/31/image_30012025_12_31_45_10353.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332980442","1332980445","1332980441","1332980408"],"photo_ids_order":["1332980408","1332980441","1332980442","1332980445"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/799ce503ae03065cfa96ac5ea5db3c85.jpg","text":"TemporaryFile(/tmp/multipartBody5925081496378388899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236773842,"filename":"image_30012025_12_31_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/30/c03981814d67aa628fb016c21e6a38c6.jpg","text":"TemporaryFile(/tmp/multipartBody1297295074387223117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236773842,"filename":"image_30012025_12_31_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/30/62cd37ce51ff56545c595cf9f209391a.jpg","text":"TemporaryFile(/tmp/multipartBody2293010116576742854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236773842,"filename":"image_30012025_12_31_25_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/13848e79fa0cf70fbee2ee6931a67df7.jpg","text":"TemporaryFile(/tmp/multipartBody1844026026173657383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236773842,"filename":"image_30012025_12_30_25_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332980442","file1":"1332980441","file0":"1332980408","file3":"1332980445"},"map_files_photo_id_array":[{"photo_id":"1332980442","filename":"file2"},{"photo_id":"1332980441","filename":"file1"},{"photo_id":"1332980408","filename":"file0"},{"photo_id":"1332980445","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332980442":["hashtag1","hashtag2"]},{"1332980445":["hashtag1","hashtag2"]},{"1332980441":["hashtag1","hashtag2"]},{"1332980408":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332980442, 1332980445, 1332980441, 1332980408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.114709615707397 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:32:32.100627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/57/image_28012025_20_58_05_10354.jpg', '/home/pi/Desktop/images/28012025/20/58/image_28012025_20_58_15_9437.jpg', '/home/pi/Desktop/images/28012025/20/58/image_28012025_20_58_25_10358.jpg', '/home/pi/Desktop/images/28012025/20/58/image_28012025_20_58_35_10361.jpg', '/home/pi/Desktop/images/28012025/20/58/image_28012025_20_58_45_9352.jpg', '/home/pi/Desktop/images/28012025/20/58/image_28012025_20_58_55_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/20/57/image_28012025_20_58_05_10354.jpg
/home/pi/Desktop/images/28012025/20/58/image_28012025_20_58_15_9437.jpg
/home/pi/Desktop/images/28012025/20/58/image_28012025_20_58_25_10358.jpg
/home/pi/Desktop/images/28012025/20/58/image_28012025_20_58_35_10361.jpg
/home/pi/Desktop/images/28012025/20/58/image_28012025_20_58_45_9352.jpg
/home/pi/Desktop/images/28012025/20/58/image_28012025_20_58_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":["1332980638","1332980631","1332980733","1332980768","1332980624","1332980726"],"photo_ids_order":["1332980624","1332980631","1332980638","1332980726","1332980733","1332980768"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9f552897fdc2272907f60affee095732.jpg","text":"TemporaryFile(/tmp/multipartBody5365185028679222760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236814502,"filename":"image_28012025_20_58_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/30/d7c3a1bb599cef2afe8c0df7378a04d8.jpg","text":"TemporaryFile(/tmp/multipartBody3583688824987738367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236814502,"filename":"image_28012025_20_58_15_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/30/41cf582ad997bbd735b07d978f1d445b.jpg","text":"TemporaryFile(/tmp/multipartBody5387157405591487355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236814502,"filename":"image_28012025_20_58_45_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/99efa3429641d45e04f49355a276f89c.jpg","text":"TemporaryFile(/tmp/multipartBody2592884666936113779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236814502,"filename":"image_28012025_20_58_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/30/2096724bc15dd24d007f7f80913c2fd0.jpg","text":"TemporaryFile(/tmp/multipartBody2923019983808700317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236814502,"filename":"image_28012025_20_58_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/30/155ae407e013ac70b403e174b6fdf2d6.jpg","text":"TemporaryFile(/tmp/multipartBody8902722559431679206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236814502,"filename":"image_28012025_20_58_35_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332980638","file1":"1332980631","file0":"1332980624","file4":"1332980733","file5":"1332980768","file3":"1332980726"},"map_files_photo_id_array":[{"photo_id":"1332980768","filename":"file5"},{"photo_id":"1332980638","filename":"file2"},{"photo_id":"1332980733","filename":"file4"},{"photo_id":"1332980631","filename":"file1"},{"photo_id":"1332980624","filename":"file0"},{"photo_id":"1332980726","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332980638":["hashtag1","hashtag2"]},{"1332980631":["hashtag1","hashtag2"]},{"1332980733":["hashtag1","hashtag2"]},{"1332980768":["hashtag1","hashtag2"]},{"1332980624":["hashtag1","hashtag2"]},{"1332980726":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332980638, 1332980631, 1332980733, 1332980768, 1332980624, 1332980726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.42144227027893 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:33:32.574956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/31/image_30012025_12_31_55_9469.jpg', '/home/pi/Desktop/images/30012025/12/33/image_30012025_12_33_15_9346.jpg', '/home/pi/Desktop/images/30012025/12/33/image_30012025_12_33_25_10351.jpg', '/home/pi/Desktop/images/30012025/12/33/image_30012025_12_33_45_9430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/31/image_30012025_12_31_55_9469.jpg
/home/pi/Desktop/images/30012025/12/33/image_30012025_12_33_15_9346.jpg
/home/pi/Desktop/images/30012025/12/33/image_30012025_12_33_25_10351.jpg
/home/pi/Desktop/images/30012025/12/33/image_30012025_12_33_45_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":["1332980935","1332980901","1332980939","1332980953"],"photo_ids_order":["1332980901","1332980935","1332980939","1332980953"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e4bfca89bb461f65aed2837aaa72c32e.jpg","text":"TemporaryFile(/tmp/multipartBody8222184097127821519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236873444,"filename":"image_30012025_12_33_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/30/f17280945042d0886cd7b8b39a2a2625.jpg","text":"TemporaryFile(/tmp/multipartBody1148322714328777461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236873444,"filename":"image_30012025_12_31_55_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0579b3fe2bda024329ec968047c9a5f5.jpg","text":"TemporaryFile(/tmp/multipartBody7926148005837722572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236873444,"filename":"image_30012025_12_33_25_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bc141e3530ece2f48524fb326d8857f0.jpg","text":"TemporaryFile(/tmp/multipartBody449054182968684095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236873444,"filename":"image_30012025_12_33_45_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332980939","file1":"1332980935","file0":"1332980901","file3":"1332980953"},"map_files_photo_id_array":[{"photo_id":"1332980939","filename":"file2"},{"photo_id":"1332980935","filename":"file1"},{"photo_id":"1332980901","filename":"file0"},{"photo_id":"1332980953","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332980935":["hashtag1","hashtag2"]},{"1332980901":["hashtag1","hashtag2"]},{"1332980939":["hashtag1","hashtag2"]},{"1332980953":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332980935, 1332980901, 1332980939, 1332980953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.246562242507935 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:34:32.587728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/33/image_30012025_12_33_55_10356.jpg', '/home/pi/Desktop/images/30012025/12/33/image_30012025_12_34_05_9331.jpg', '/home/pi/Desktop/images/30012025/12/34/image_30012025_12_34_15_10347.jpg', '/home/pi/Desktop/images/30012025/12/34/image_30012025_12_34_25_10358.jpg', '/home/pi/Desktop/images/30012025/12/34/image_30012025_12_34_35_9336.jpg', '/home/pi/Desktop/images/30012025/12/34/image_30012025_12_34_45_10412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/33/image_30012025_12_33_55_10356.jpg
/home/pi/Desktop/images/30012025/12/33/image_30012025_12_34_05_9331.jpg
/home/pi/Desktop/images/30012025/12/34/image_30012025_12_34_15_10347.jpg
/home/pi/Desktop/images/30012025/12/34/image_30012025_12_34_25_10358.jpg
/home/pi/Desktop/images/30012025/12/34/image_30012025_12_34_35_9336.jpg
/home/pi/Desktop/images/30012025/12/34/image_30012025_12_34_45_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332981031","1332981007","1332981001","1332980997","1332981011","1332981016"],"photo_ids_order":["1332980997","1332981001","1332981007","1332981011","1332981016","1332981031"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/994de82126ab293ca65ef02fc8d8850a.jpg","text":"TemporaryFile(/tmp/multipartBody3634464765796692648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236933507,"filename":"image_30012025_12_34_45_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b5a6188e2cd9507be01ad3e6a6774727.jpg","text":"TemporaryFile(/tmp/multipartBody3344122404633893628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236933507,"filename":"image_30012025_12_34_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/30/03d4ac3706394f81a3e97158250ebd12.jpg","text":"TemporaryFile(/tmp/multipartBody5599921350937371706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236933507,"filename":"image_30012025_12_34_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/30/164ec25250df7e91606cd46ee02ed873.jpg","text":"TemporaryFile(/tmp/multipartBody7364767028934434800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236933507,"filename":"image_30012025_12_33_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/30/b4619fd7c2ea07904eb7646fc6240807.jpg","text":"TemporaryFile(/tmp/multipartBody2051149379794030902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236933507,"filename":"image_30012025_12_34_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/30/b571118e8a369396a761692f90b42505.jpg","text":"TemporaryFile(/tmp/multipartBody6594821308206896101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236933507,"filename":"image_30012025_12_34_35_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332981007","file1":"1332981001","file0":"1332980997","file4":"1332981016","file5":"1332981031","file3":"1332981011"},"map_files_photo_id_array":[{"photo_id":"1332981031","filename":"file5"},{"photo_id":"1332981007","filename":"file2"},{"photo_id":"1332981016","filename":"file4"},{"photo_id":"1332981001","filename":"file1"},{"photo_id":"1332980997","filename":"file0"},{"photo_id":"1332981011","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332981031":["hashtag1","hashtag2"]},{"1332981007":["hashtag1","hashtag2"]},{"1332981001":["hashtag1","hashtag2"]},{"1332980997":["hashtag1","hashtag2"]},{"1332981011":["hashtag1","hashtag2"]},{"1332981016":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332981031, 1332981007, 1332981001, 1332980997, 1332981011, 1332981016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.04146361351013 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:35:33.012027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/34/image_30012025_12_34_56_10361.jpg', '/home/pi/Desktop/images/30012025/12/34/image_30012025_12_35_05_9454.jpg', '/home/pi/Desktop/images/30012025/12/35/image_30012025_12_35_15_10450.jpg', '/home/pi/Desktop/images/30012025/12/35/image_30012025_12_35_25_9326.jpg', '/home/pi/Desktop/images/30012025/12/35/image_30012025_12_35_35_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/34/image_30012025_12_34_56_10361.jpg
/home/pi/Desktop/images/30012025/12/34/image_30012025_12_35_05_9454.jpg
/home/pi/Desktop/images/30012025/12/35/image_30012025_12_35_15_10450.jpg
/home/pi/Desktop/images/30012025/12/35/image_30012025_12_35_25_9326.jpg
/home/pi/Desktop/images/30012025/12/35/image_30012025_12_35_35_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":["1332981165","1332981173","1332981179","1332981158","1332981152"],"photo_ids_order":["1332981152","1332981158","1332981165","1332981173","1332981179"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d0fdfaf4727376bdcecbd343e1f95664.jpg","text":"TemporaryFile(/tmp/multipartBody6781292543461331830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236993891,"filename":"image_30012025_12_35_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/30/b52dacec52168293747c68e7543242c9.jpg","text":"TemporaryFile(/tmp/multipartBody8171306035228713130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236993891,"filename":"image_30012025_12_35_25_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/30/c8b105825c743de6877db3ff4d1d323e.jpg","text":"TemporaryFile(/tmp/multipartBody6112927649756935275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236993891,"filename":"image_30012025_12_35_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/30/d3ab32fb63be24535c25addfc3eed867.jpg","text":"TemporaryFile(/tmp/multipartBody6475079856822887687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236993891,"filename":"image_30012025_12_35_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/30/3ee2748f3a15323e4da48cbe72d54c6c.jpg","text":"TemporaryFile(/tmp/multipartBody7613435896495725660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738236993891,"filename":"image_30012025_12_34_56_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332981165","file1":"1332981158","file0":"1332981152","file4":"1332981179","file3":"1332981173"},"map_files_photo_id_array":[{"photo_id":"1332981165","filename":"file2"},{"photo_id":"1332981179","filename":"file4"},{"photo_id":"1332981158","filename":"file1"},{"photo_id":"1332981152","filename":"file0"},{"photo_id":"1332981173","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332981165":["hashtag1","hashtag2"]},{"1332981173":["hashtag1","hashtag2"]},{"1332981179":["hashtag1","hashtag2"]},{"1332981158":["hashtag1","hashtag2"]},{"1332981152":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332981165, 1332981173, 1332981179, 1332981158, 1332981152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.85241627693176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:36:33.071892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/35/image_30012025_12_35_46_10355.jpg', '/home/pi/Desktop/images/30012025/12/35/image_30012025_12_36_05_10372.jpg', '/home/pi/Desktop/images/30012025/12/36/image_30012025_12_36_16_10334.jpg', '/home/pi/Desktop/images/30012025/12/36/image_30012025_12_36_25_9414.jpg', '/home/pi/Desktop/images/30012025/12/36/image_30012025_12_36_35_10378.jpg', '/home/pi/Desktop/images/30012025/12/36/image_30012025_12_36_45_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/35/image_30012025_12_35_46_10355.jpg
/home/pi/Desktop/images/30012025/12/35/image_30012025_12_36_05_10372.jpg
/home/pi/Desktop/images/30012025/12/36/image_30012025_12_36_16_10334.jpg
/home/pi/Desktop/images/30012025/12/36/image_30012025_12_36_25_9414.jpg
/home/pi/Desktop/images/30012025/12/36/image_30012025_12_36_35_10378.jpg
/home/pi/Desktop/images/30012025/12/36/image_30012025_12_36_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":["1332981223","1332981240","1332981218","1332981227","1332981212","1332981206"],"photo_ids_order":["1332981206","1332981212","1332981218","1332981223","1332981227","1332981240"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/20a6f80d03d059c8ce58ce92d5e11177.jpg","text":"TemporaryFile(/tmp/multipartBody2596477657135299426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237053970,"filename":"image_30012025_12_36_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/30/96ec7a666a310f16a6858dd9ebdf6ca1.jpg","text":"TemporaryFile(/tmp/multipartBody8743889985026329617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237053970,"filename":"image_30012025_12_36_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/30/0f84185a31b6f5b4a9f6cd4f96ff6218.jpg","text":"TemporaryFile(/tmp/multipartBody8769002247224393490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237053970,"filename":"image_30012025_12_36_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/30/70d5981b839e74e362c89325c65fab97.jpg","text":"TemporaryFile(/tmp/multipartBody1987306257191026039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237053970,"filename":"image_30012025_12_36_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/30/fa8539f57bfa6c90ffa3c06f065c68db.jpg","text":"TemporaryFile(/tmp/multipartBody6719834817154175617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237053970,"filename":"image_30012025_12_36_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/30/b83ea22cafd1646eebf39c44ab541b78.jpg","text":"TemporaryFile(/tmp/multipartBody3129056060376198545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237053970,"filename":"image_30012025_12_35_46_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332981218","file1":"1332981212","file0":"1332981206","file4":"1332981227","file5":"1332981240","file3":"1332981223"},"map_files_photo_id_array":[{"photo_id":"1332981240","filename":"file5"},{"photo_id":"1332981218","filename":"file2"},{"photo_id":"1332981227","filename":"file4"},{"photo_id":"1332981212","filename":"file1"},{"photo_id":"1332981206","filename":"file0"},{"photo_id":"1332981223","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332981223":["hashtag1","hashtag2"]},{"1332981240":["hashtag1","hashtag2"]},{"1332981218":["hashtag1","hashtag2"]},{"1332981227":["hashtag1","hashtag2"]},{"1332981212":["hashtag1","hashtag2"]},{"1332981206":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332981223, 1332981240, 1332981218, 1332981227, 1332981212, 1332981206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.786275148391724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:37:32.313228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/36/image_30012025_12_36_55_10399.jpg', '/home/pi/Desktop/images/30012025/12/36/image_30012025_12_37_06_10452.jpg', '/home/pi/Desktop/images/30012025/12/37/image_30012025_12_37_15_9448.jpg', '/home/pi/Desktop/images/30012025/12/37/image_30012025_12_37_25_10353.jpg', '/home/pi/Desktop/images/30012025/12/37/image_30012025_12_37_35_9341.jpg', '/home/pi/Desktop/images/30012025/12/37/image_30012025_12_37_45_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/36/image_30012025_12_36_55_10399.jpg
/home/pi/Desktop/images/30012025/12/36/image_30012025_12_37_06_10452.jpg
/home/pi/Desktop/images/30012025/12/37/image_30012025_12_37_15_9448.jpg
/home/pi/Desktop/images/30012025/12/37/image_30012025_12_37_25_10353.jpg
/home/pi/Desktop/images/30012025/12/37/image_30012025_12_37_35_9341.jpg
/home/pi/Desktop/images/30012025/12/37/image_30012025_12_37_45_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.5064506530761719 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 12:37:42.266151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/36/image_30012025_12_36_55_10399.jpg', '/home/pi/Desktop/images/30012025/12/36/image_30012025_12_37_06_10452.jpg', '/home/pi/Desktop/images/30012025/12/37/image_30012025_12_37_15_9448.jpg', '/home/pi/Desktop/images/30012025/12/37/image_30012025_12_37_25_10353.jpg', '/home/pi/Desktop/images/30012025/12/37/image_30012025_12_37_35_9341.jpg', '/home/pi/Desktop/images/30012025/12/37/image_30012025_12_37_45_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/36/image_30012025_12_36_55_10399.jpg
/home/pi/Desktop/images/30012025/12/36/image_30012025_12_37_06_10452.jpg
/home/pi/Desktop/images/30012025/12/37/image_30012025_12_37_15_9448.jpg
/home/pi/Desktop/images/30012025/12/37/image_30012025_12_37_25_10353.jpg
/home/pi/Desktop/images/30012025/12/37/image_30012025_12_37_35_9341.jpg
/home/pi/Desktop/images/30012025/12/37/image_30012025_12_37_45_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":["1332981795","1332981726","1332981779","1332981868","1332981658","1332981652"],"photo_ids_order":["1332981652","1332981658","1332981726","1332981779","1332981795","1332981868"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7c28f45b2424253c2fcc7ccf102c77c6.jpg","text":"TemporaryFile(/tmp/multipartBody2732506218287072516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237123162,"filename":"image_30012025_12_37_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/30/54cfd66aaa143257ffbeb7ed84cfa067.jpg","text":"TemporaryFile(/tmp/multipartBody6750039197288175790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237123162,"filename":"image_30012025_12_37_15_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ebe493261354a06ddee8b3ec5521da2d.jpg","text":"TemporaryFile(/tmp/multipartBody1791822914393822404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237123162,"filename":"image_30012025_12_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/30/f23a99c1c04ef34193b8a31693a1be61.jpg","text":"TemporaryFile(/tmp/multipartBody3060771487830660847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237123162,"filename":"image_30012025_12_37_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/30/816de26036b94e89ff0de684afdb613f.jpg","text":"TemporaryFile(/tmp/multipartBody2817168185913841489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237123162,"filename":"image_30012025_12_37_06_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/30/b981e3a884542c5948d5fc2573ca62b5.jpg","text":"TemporaryFile(/tmp/multipartBody5822958784458949846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237123162,"filename":"image_30012025_12_36_55_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332981726","file1":"1332981658","file0":"1332981652","file4":"1332981795","file5":"1332981868","file3":"1332981779"},"map_files_photo_id_array":[{"photo_id":"1332981868","filename":"file5"},{"photo_id":"1332981726","filename":"file2"},{"photo_id":"1332981795","filename":"file4"},{"photo_id":"1332981658","filename":"file1"},{"photo_id":"1332981652","filename":"file0"},{"photo_id":"1332981779","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332981795":["hashtag1","hashtag2"]},{"1332981726":["hashtag1","hashtag2"]},{"1332981779":["hashtag1","hashtag2"]},{"1332981868":["hashtag1","hashtag2"]},{"1332981658":["hashtag1","hashtag2"]},{"1332981652":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332981795, 1332981726, 1332981779, 1332981868, 1332981658, 1332981652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.458354234695435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:38:32.476011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/37/image_30012025_12_37_55_10370.jpg', '/home/pi/Desktop/images/30012025/12/37/image_30012025_12_38_05_9431.jpg', '/home/pi/Desktop/images/30012025/12/38/image_30012025_12_38_15_10376.jpg', '/home/pi/Desktop/images/30012025/12/38/image_30012025_12_38_25_9334.jpg', '/home/pi/Desktop/images/30012025/12/38/image_30012025_12_38_35_10363.jpg', '/home/pi/Desktop/images/30012025/12/38/image_30012025_12_38_45_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/37/image_30012025_12_37_55_10370.jpg
/home/pi/Desktop/images/30012025/12/37/image_30012025_12_38_05_9431.jpg
/home/pi/Desktop/images/30012025/12/38/image_30012025_12_38_15_10376.jpg
/home/pi/Desktop/images/30012025/12/38/image_30012025_12_38_25_9334.jpg
/home/pi/Desktop/images/30012025/12/38/image_30012025_12_38_35_10363.jpg
/home/pi/Desktop/images/30012025/12/38/image_30012025_12_38_45_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.5110623836517334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 12:38:42.414445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/37/image_30012025_12_37_55_10370.jpg', '/home/pi/Desktop/images/30012025/12/37/image_30012025_12_38_05_9431.jpg', '/home/pi/Desktop/images/30012025/12/38/image_30012025_12_38_15_10376.jpg', '/home/pi/Desktop/images/30012025/12/38/image_30012025_12_38_25_9334.jpg', '/home/pi/Desktop/images/30012025/12/38/image_30012025_12_38_35_10363.jpg', '/home/pi/Desktop/images/30012025/12/38/image_30012025_12_38_45_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/37/image_30012025_12_37_55_10370.jpg
/home/pi/Desktop/images/30012025/12/37/image_30012025_12_38_05_9431.jpg
/home/pi/Desktop/images/30012025/12/38/image_30012025_12_38_15_10376.jpg
/home/pi/Desktop/images/30012025/12/38/image_30012025_12_38_25_9334.jpg
/home/pi/Desktop/images/30012025/12/38/image_30012025_12_38_35_10363.jpg
/home/pi/Desktop/images/30012025/12/38/image_30012025_12_38_45_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":["1332982347","1332982305","1332982314","1332982268","1332982349","1332982351"],"photo_ids_order":["1332982268","1332982305","1332982314","1332982347","1332982349","1332982351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/180bd2f7f79d2d0baa26e2ff0a97d43d.jpg","text":"TemporaryFile(/tmp/multipartBody262477643196567817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237183322,"filename":"image_30012025_12_38_25_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/780cd0c1f5c1626af7b1fb81bb18efed.jpg","text":"TemporaryFile(/tmp/multipartBody2546016103774815146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237183322,"filename":"image_30012025_12_38_05_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c7d0f3371ad0e94fac4e3e6333acc02a.jpg","text":"TemporaryFile(/tmp/multipartBody846948298783993567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237183322,"filename":"image_30012025_12_38_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/30/74e196345747888ac3de3aed96103439.jpg","text":"TemporaryFile(/tmp/multipartBody3546343256715958660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237183322,"filename":"image_30012025_12_37_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/30/b21d24e24fdb8a1d2f1fcf23dcbd3e78.jpg","text":"TemporaryFile(/tmp/multipartBody2517718795494445557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237183322,"filename":"image_30012025_12_38_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/30/2c8c82fe659a52f6c371c3365acdb676.jpg","text":"TemporaryFile(/tmp/multipartBody3384435074888691690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237183322,"filename":"image_30012025_12_38_45_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332982314","file1":"1332982305","file0":"1332982268","file4":"1332982349","file5":"1332982351","file3":"1332982347"},"map_files_photo_id_array":[{"photo_id":"1332982351","filename":"file5"},{"photo_id":"1332982314","filename":"file2"},{"photo_id":"1332982349","filename":"file4"},{"photo_id":"1332982305","filename":"file1"},{"photo_id":"1332982268","filename":"file0"},{"photo_id":"1332982347","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332982347":["hashtag1","hashtag2"]},{"1332982305":["hashtag1","hashtag2"]},{"1332982314":["hashtag1","hashtag2"]},{"1332982268":["hashtag1","hashtag2"]},{"1332982349":["hashtag1","hashtag2"]},{"1332982351":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332982347, 1332982305, 1332982314, 1332982268, 1332982349, 1332982351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.27033829689026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:39:32.628359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/38/image_30012025_12_38_55_9359.jpg', '/home/pi/Desktop/images/30012025/12/38/image_30012025_12_39_05_10358.jpg', '/home/pi/Desktop/images/30012025/12/39/image_30012025_12_39_15_10389.jpg', '/home/pi/Desktop/images/30012025/12/39/image_30012025_12_39_25_9334.jpg', '/home/pi/Desktop/images/30012025/12/39/image_30012025_12_39_35_10461.jpg', '/home/pi/Desktop/images/30012025/12/39/image_30012025_12_39_46_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/38/image_30012025_12_38_55_9359.jpg
/home/pi/Desktop/images/30012025/12/38/image_30012025_12_39_05_10358.jpg
/home/pi/Desktop/images/30012025/12/39/image_30012025_12_39_15_10389.jpg
/home/pi/Desktop/images/30012025/12/39/image_30012025_12_39_25_9334.jpg
/home/pi/Desktop/images/30012025/12/39/image_30012025_12_39_35_10461.jpg
/home/pi/Desktop/images/30012025/12/39/image_30012025_12_39_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: 0.5059230327606201 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 12:39:42.600515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/38/image_30012025_12_38_55_9359.jpg', '/home/pi/Desktop/images/30012025/12/38/image_30012025_12_39_05_10358.jpg', '/home/pi/Desktop/images/30012025/12/39/image_30012025_12_39_15_10389.jpg', '/home/pi/Desktop/images/30012025/12/39/image_30012025_12_39_25_9334.jpg', '/home/pi/Desktop/images/30012025/12/39/image_30012025_12_39_35_10461.jpg', '/home/pi/Desktop/images/30012025/12/39/image_30012025_12_39_46_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/38/image_30012025_12_38_55_9359.jpg
/home/pi/Desktop/images/30012025/12/38/image_30012025_12_39_05_10358.jpg
/home/pi/Desktop/images/30012025/12/39/image_30012025_12_39_15_10389.jpg
/home/pi/Desktop/images/30012025/12/39/image_30012025_12_39_25_9334.jpg
/home/pi/Desktop/images/30012025/12/39/image_30012025_12_39_35_10461.jpg
/home/pi/Desktop/images/30012025/12/39/image_30012025_12_39_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":["1332982379","1332982373","1332982393","1332982396","1332982384","1332982398"],"photo_ids_order":["1332982373","1332982379","1332982384","1332982393","1332982396","1332982398"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8f8f93df0ef4ad717ae6020ffcde5d09.jpg","text":"TemporaryFile(/tmp/multipartBody2152264598942949298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237243504,"filename":"image_30012025_12_39_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/30/f2359cc80a156480d72fc84b619ec0d0.jpg","text":"TemporaryFile(/tmp/multipartBody7277976550405474338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237243504,"filename":"image_30012025_12_38_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/30/c7ae2492ef8fac4dd18b7f8c65080fbd.jpg","text":"TemporaryFile(/tmp/multipartBody3324333449593944189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237243504,"filename":"image_30012025_12_39_25_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/61cac5d4cd38de16df253dfb15ef671e.jpg","text":"TemporaryFile(/tmp/multipartBody4601203710161208505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237243504,"filename":"image_30012025_12_39_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/30/fd1d2e0972115a3e16e57e85bd30cfa5.jpg","text":"TemporaryFile(/tmp/multipartBody2932723679268571906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237243504,"filename":"image_30012025_12_39_15_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f447264f0acef37e46533f9c5c8b1c4a.jpg","text":"TemporaryFile(/tmp/multipartBody684516200430374731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237243504,"filename":"image_30012025_12_39_46_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332982384","file1":"1332982379","file0":"1332982373","file4":"1332982396","file5":"1332982398","file3":"1332982393"},"map_files_photo_id_array":[{"photo_id":"1332982398","filename":"file5"},{"photo_id":"1332982384","filename":"file2"},{"photo_id":"1332982396","filename":"file4"},{"photo_id":"1332982379","filename":"file1"},{"photo_id":"1332982373","filename":"file0"},{"photo_id":"1332982393","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332982379":["hashtag1","hashtag2"]},{"1332982373":["hashtag1","hashtag2"]},{"1332982393":["hashtag1","hashtag2"]},{"1332982396":["hashtag1","hashtag2"]},{"1332982384":["hashtag1","hashtag2"]},{"1332982398":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332982379, 1332982373, 1332982393, 1332982396, 1332982384, 1332982398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.43755912780762 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:40:32.664859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/39/image_30012025_12_39_55_9459.jpg', '/home/pi/Desktop/images/30012025/12/39/image_30012025_12_40_05_10357.jpg', '/home/pi/Desktop/images/30012025/12/40/image_30012025_12_40_25_10420.jpg', '/home/pi/Desktop/images/30012025/12/40/image_30012025_12_40_36_10366.jpg', '/home/pi/Desktop/images/30012025/12/40/image_30012025_12_40_45_9492.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/39/image_30012025_12_39_55_9459.jpg
/home/pi/Desktop/images/30012025/12/39/image_30012025_12_40_05_10357.jpg
/home/pi/Desktop/images/30012025/12/40/image_30012025_12_40_25_10420.jpg
/home/pi/Desktop/images/30012025/12/40/image_30012025_12_40_36_10366.jpg
/home/pi/Desktop/images/30012025/12/40/image_30012025_12_40_45_9492.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332982454","1332982433","1332982421","1332982471","1332982429"],"photo_ids_order":["1332982421","1332982429","1332982433","1332982454","1332982471"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/83e228b46f0c0c3e683a91f97f7caee3.jpg","text":"TemporaryFile(/tmp/multipartBody5473969198542387650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237293555,"filename":"image_30012025_12_40_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/30/f1a080a82c0a5e18e8181fc36537a61d.jpg","text":"TemporaryFile(/tmp/multipartBody3773452681825442723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237293555,"filename":"image_30012025_12_40_25_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/30/3bcaeae09b5ed17c787919aa0377ce3b.jpg","text":"TemporaryFile(/tmp/multipartBody2491626491771884224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237293555,"filename":"image_30012025_12_39_55_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/30/3aba0b1c94c9b0568f3aab8b3ea8d7e9.jpg","text":"TemporaryFile(/tmp/multipartBody3000795503553786535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237293555,"filename":"image_30012025_12_40_45_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/30/51f0e30bc1700e891f8d2bf3e31c6f4d.jpg","text":"TemporaryFile(/tmp/multipartBody1123334680857538991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237293555,"filename":"image_30012025_12_40_05_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332982433","file1":"1332982429","file0":"1332982421","file4":"1332982471","file3":"1332982454"},"map_files_photo_id_array":[{"photo_id":"1332982433","filename":"file2"},{"photo_id":"1332982471","filename":"file4"},{"photo_id":"1332982429","filename":"file1"},{"photo_id":"1332982421","filename":"file0"},{"photo_id":"1332982454","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332982454":["hashtag1","hashtag2"]},{"1332982433":["hashtag1","hashtag2"]},{"1332982421":["hashtag1","hashtag2"]},{"1332982471":["hashtag1","hashtag2"]},{"1332982429":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332982454, 1332982433, 1332982421, 1332982471, 1332982429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.16685771942139 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:41:32.877527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/40/image_30012025_12_40_55_10367.jpg', '/home/pi/Desktop/images/30012025/12/40/image_30012025_12_41_05_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/40/image_30012025_12_40_55_10367.jpg
/home/pi/Desktop/images/30012025/12/40/image_30012025_12_41_05_9361.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332982746","1332982817"],"photo_ids_order":["1332982746","1332982817"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/50a683f96c6f99e7356320c9414a3d43.jpg","text":"TemporaryFile(/tmp/multipartBody7318667027007042149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237353710,"filename":"image_30012025_12_40_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/30/e1091fbb5d6f46ffdd0bc11ef63827a6.jpg","text":"TemporaryFile(/tmp/multipartBody2132792014512746321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237353710,"filename":"image_30012025_12_41_05_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1332982817","file0":"1332982746"},"map_files_photo_id_array":[{"photo_id":"1332982817","filename":"file1"},{"photo_id":"1332982746","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332982746":["hashtag1","hashtag2"]},{"1332982817":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332982746, 1332982817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.42049813270569 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:41:52.894308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/58/image_28012025_20_59_05_10353.jpg', '/home/pi/Desktop/images/28012025/20/59/image_28012025_20_59_15_9362.jpg', '/home/pi/Desktop/images/28012025/20/59/image_28012025_20_59_25_10376.jpg', '/home/pi/Desktop/images/28012025/20/59/image_28012025_20_59_35_10350.jpg', '/home/pi/Desktop/images/28012025/20/59/image_28012025_20_59_45_9379.jpg', '/home/pi/Desktop/images/28012025/20/59/image_28012025_20_59_55_10482.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/58/image_28012025_20_59_05_10353.jpg
/home/pi/Desktop/images/28012025/20/59/image_28012025_20_59_15_9362.jpg
/home/pi/Desktop/images/28012025/20/59/image_28012025_20_59_25_10376.jpg
/home/pi/Desktop/images/28012025/20/59/image_28012025_20_59_35_10350.jpg
/home/pi/Desktop/images/28012025/20/59/image_28012025_20_59_45_9379.jpg
/home/pi/Desktop/images/28012025/20/59/image_28012025_20_59_55_10482.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332982926","1332982928","1332982925","1332982930","1332982933","1332982893"],"photo_ids_order":["1332982893","1332982925","1332982926","1332982928","1332982930","1332982933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c11e4b66951c95bcf9ed7ff962e9d057.jpg","text":"TemporaryFile(/tmp/multipartBody1230992251500605510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237375317,"filename":"image_28012025_20_59_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/30/6a25d81b3a3b68db81b837fec4e40f4f.jpg","text":"TemporaryFile(/tmp/multipartBody6733737822513256505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237375317,"filename":"image_28012025_20_59_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/30/22c52f5c54bac71e2d5e8e2e79ded57b.jpg","text":"TemporaryFile(/tmp/multipartBody6106582228064934575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237375317,"filename":"image_28012025_20_59_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/30/46992b476f169c1386a5428c9240b34b.jpg","text":"TemporaryFile(/tmp/multipartBody1327912385222952989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237375317,"filename":"image_28012025_20_59_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/30/b08b8c3ca7ef90d1de37b5bda3e1771f.jpg","text":"TemporaryFile(/tmp/multipartBody5134482567660023198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237375317,"filename":"image_28012025_20_59_55_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/eadabd12f510da0218cd5d86d3ef98d7.jpg","text":"TemporaryFile(/tmp/multipartBody6729565252758022111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237375317,"filename":"image_28012025_20_59_05_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332982926","file1":"1332982925","file0":"1332982893","file4":"1332982930","file5":"1332982933","file3":"1332982928"},"map_files_photo_id_array":[{"photo_id":"1332982933","filename":"file5"},{"photo_id":"1332982926","filename":"file2"},{"photo_id":"1332982930","filename":"file4"},{"photo_id":"1332982925","filename":"file1"},{"photo_id":"1332982893","filename":"file0"},{"photo_id":"1332982928","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332982926":["hashtag1","hashtag2"]},{"1332982928":["hashtag1","hashtag2"]},{"1332982925":["hashtag1","hashtag2"]},{"1332982930":["hashtag1","hashtag2"]},{"1332982933":["hashtag1","hashtag2"]},{"1332982893":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332982926, 1332982928, 1332982925, 1332982930, 1332982933, 1332982893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13240623474121 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-30 12:42:43.076715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/41/image_30012025_12_41_15_10362.jpg', '/home/pi/Desktop/images/30012025/12/42/image_30012025_12_42_25_9342.jpg', '/home/pi/Desktop/images/30012025/12/42/image_30012025_12_42_35_10437.jpg', '/home/pi/Desktop/images/30012025/12/42/image_30012025_12_42_46_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/41/image_30012025_12_41_15_10362.jpg
/home/pi/Desktop/images/30012025/12/42/image_30012025_12_42_25_9342.jpg
/home/pi/Desktop/images/30012025/12/42/image_30012025_12_42_35_10437.jpg
/home/pi/Desktop/images/30012025/12/42/image_30012025_12_42_46_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.47466278076171875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:42:53.065092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/41/image_30012025_12_41_15_10362.jpg', '/home/pi/Desktop/images/30012025/12/42/image_30012025_12_42_25_9342.jpg', '/home/pi/Desktop/images/30012025/12/42/image_30012025_12_42_35_10437.jpg', '/home/pi/Desktop/images/30012025/12/42/image_30012025_12_42_46_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/41/image_30012025_12_41_15_10362.jpg
/home/pi/Desktop/images/30012025/12/42/image_30012025_12_42_25_9342.jpg
/home/pi/Desktop/images/30012025/12/42/image_30012025_12_42_35_10437.jpg
/home/pi/Desktop/images/30012025/12/42/image_30012025_12_42_46_10361.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332982987","1332982981","1332982984","1332982974"],"photo_ids_order":["1332982974","1332982981","1332982984","1332982987"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fc74be086221339cf38032fdce18f581.jpg","text":"TemporaryFile(/tmp/multipartBody7268983384629319412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237433932,"filename":"image_30012025_12_42_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/30/77d22fbd0d8cdb115bf5e4a7ab14eb95.jpg","text":"TemporaryFile(/tmp/multipartBody8045291610459363103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237433932,"filename":"image_30012025_12_42_25_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ca3422bcd38d727dbddb72675a1e1c60.jpg","text":"TemporaryFile(/tmp/multipartBody365594375396878390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237433932,"filename":"image_30012025_12_42_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/30/dead936442d56c7024939db4fe647b24.jpg","text":"TemporaryFile(/tmp/multipartBody3380462991237807098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237433932,"filename":"image_30012025_12_41_15_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332982984","file1":"1332982981","file0":"1332982974","file3":"1332982987"},"map_files_photo_id_array":[{"photo_id":"1332982984","filename":"file2"},{"photo_id":"1332982981","filename":"file1"},{"photo_id":"1332982974","filename":"file0"},{"photo_id":"1332982987","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332982987":["hashtag1","hashtag2"]},{"1332982981":["hashtag1","hashtag2"]},{"1332982984":["hashtag1","hashtag2"]},{"1332982974":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332982987, 1332982981, 1332982984, 1332982974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.20206379890442 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:43:32.380800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/42/image_30012025_12_42_55_9399.jpg', '/home/pi/Desktop/images/30012025/12/42/image_30012025_12_43_05_10350.jpg', '/home/pi/Desktop/images/30012025/12/43/image_30012025_12_43_25_9448.jpg', '/home/pi/Desktop/images/30012025/12/43/image_30012025_12_43_36_10452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/42/image_30012025_12_42_55_9399.jpg
/home/pi/Desktop/images/30012025/12/42/image_30012025_12_43_05_10350.jpg
/home/pi/Desktop/images/30012025/12/43/image_30012025_12_43_25_9448.jpg
/home/pi/Desktop/images/30012025/12/43/image_30012025_12_43_36_10452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332983103","1332983108","1332983073","1332983067"],"photo_ids_order":["1332983067","1332983073","1332983103","1332983108"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c947ac83e53d2bb5be61f262bd7f6034.jpg","text":"TemporaryFile(/tmp/multipartBody6014349074213357044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237473259,"filename":"image_30012025_12_43_25_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/30/5e8758d1f5dc28b1dc5ac14c582c9fbd.jpg","text":"TemporaryFile(/tmp/multipartBody8150766967321333004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237473259,"filename":"image_30012025_12_43_36_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/30/2ea1480fadd9a7421600e90fca5a44c5.jpg","text":"TemporaryFile(/tmp/multipartBody2176251448135040364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237473259,"filename":"image_30012025_12_43_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/30/88f95d2940bfd2f1bbdf75e6a11c8d88.jpg","text":"TemporaryFile(/tmp/multipartBody1522982438860970668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237473259,"filename":"image_30012025_12_42_55_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332983103","file1":"1332983073","file0":"1332983067","file3":"1332983108"},"map_files_photo_id_array":[{"photo_id":"1332983103","filename":"file2"},{"photo_id":"1332983073","filename":"file1"},{"photo_id":"1332983067","filename":"file0"},{"photo_id":"1332983108","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332983103":["hashtag1","hashtag2"]},{"1332983108":["hashtag1","hashtag2"]},{"1332983073":["hashtag1","hashtag2"]},{"1332983067":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332983103, 1332983108, 1332983073, 1332983067)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 29.443977117538452 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:44:32.472724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/43/image_30012025_12_43_55_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/43/image_30012025_12_43_55_10348.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332983126"],"photo_id":"1332983126","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6b99e7215dcd0fb9b190ab1e4f423982.jpg","text":"TemporaryFile(/tmp/multipartBody9018612017995974813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237533294,"filename":"image_30012025_12_43_55_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1332983126"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1332983126"}],"hashtags":[],"portfolio_id":"20052290","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.077031135559082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:44:52.487812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/01/image_28012025_21_01_15_10076.jpg', '/home/pi/Desktop/images/28012025/21/01/image_28012025_21_01_25_10358.jpg', '/home/pi/Desktop/images/28012025/21/01/image_28012025_21_01_35_10419.jpg', '/home/pi/Desktop/images/28012025/21/01/image_28012025_21_01_45_9351.jpg', '/home/pi/Desktop/images/28012025/21/01/image_28012025_21_01_55_10493.jpg', '/home/pi/Desktop/images/28012025/21/01/image_28012025_21_02_05_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/01/image_28012025_21_01_15_10076.jpg
/home/pi/Desktop/images/28012025/21/01/image_28012025_21_01_25_10358.jpg
/home/pi/Desktop/images/28012025/21/01/image_28012025_21_01_35_10419.jpg
/home/pi/Desktop/images/28012025/21/01/image_28012025_21_01_45_9351.jpg
/home/pi/Desktop/images/28012025/21/01/image_28012025_21_01_55_10493.jpg
/home/pi/Desktop/images/28012025/21/01/image_28012025_21_02_05_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332983147","1332983164","1332983151","1332983175","1332983154","1332983157"],"photo_ids_order":["1332983147","1332983151","1332983154","1332983157","1332983164","1332983175"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/683132ba728a38883966ce5a19137c30.jpg","text":"TemporaryFile(/tmp/multipartBody108247905508467104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237554887,"filename":"image_28012025_21_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/30/b48e673b75d34348327cbe2f51a048b8.jpg","text":"TemporaryFile(/tmp/multipartBody8614457131038789982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237554887,"filename":"image_28012025_21_01_55_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/30/e49aed6a52a9417b2fe2b64d0821cf26.jpg","text":"TemporaryFile(/tmp/multipartBody1057075683753739768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237554887,"filename":"image_28012025_21_01_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/30/abc2b0499322ead44eac834515f4e89c.jpg","text":"TemporaryFile(/tmp/multipartBody7962057131466170227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237554887,"filename":"image_28012025_21_02_05_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6248ae7ff485b2e79812de8dd6e9adb6.jpg","text":"TemporaryFile(/tmp/multipartBody6191817431454014212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237554887,"filename":"image_28012025_21_01_35_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2ccc123f7f98cdfaf99c6cc9893cfed6.jpg","text":"TemporaryFile(/tmp/multipartBody5879793328286370315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237554887,"filename":"image_28012025_21_01_45_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332983154","file1":"1332983151","file0":"1332983147","file4":"1332983164","file5":"1332983175","file3":"1332983157"},"map_files_photo_id_array":[{"photo_id":"1332983175","filename":"file5"},{"photo_id":"1332983154","filename":"file2"},{"photo_id":"1332983164","filename":"file4"},{"photo_id":"1332983151","filename":"file1"},{"photo_id":"1332983147","filename":"file0"},{"photo_id":"1332983157","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332983147":["hashtag1","hashtag2"]},{"1332983164":["hashtag1","hashtag2"]},{"1332983151":["hashtag1","hashtag2"]},{"1332983175":["hashtag1","hashtag2"]},{"1332983154":["hashtag1","hashtag2"]},{"1332983157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332983147, 1332983164, 1332983151, 1332983175, 1332983154, 1332983157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.88136553764343 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 12:45:42.746236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/44/image_30012025_12_44_26_10333.jpg', '/home/pi/Desktop/images/30012025/12/45/image_30012025_12_45_46_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/44/image_30012025_12_44_26_10333.jpg
/home/pi/Desktop/images/30012025/12/45/image_30012025_12_45_46_10349.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332983219","1332983194"],"photo_ids_order":["1332983194","1332983219"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0cb54caaa48d66dc124b7f6b3bd35e10.jpg","text":"TemporaryFile(/tmp/multipartBody36457731489121941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237603591,"filename":"image_30012025_12_45_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/30/3b87f797a8b9e3ce68810546b2e34c2e.jpg","text":"TemporaryFile(/tmp/multipartBody547412046295792884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237603591,"filename":"image_30012025_12_44_26_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1332983219","file0":"1332983194"},"map_files_photo_id_array":[{"photo_id":"1332983219","filename":"file1"},{"photo_id":"1332983194","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332983219":["hashtag1","hashtag2"]},{"1332983194":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332983219, 1332983194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.27909231185913 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-30 12:46:32.809325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/45/image_30012025_12_45_55_9384.jpg', '/home/pi/Desktop/images/30012025/12/45/image_30012025_12_46_05_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/45/image_30012025_12_45_55_9384.jpg
/home/pi/Desktop/images/30012025/12/45/image_30012025_12_46_05_10358.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332983564","1332983645"],"photo_ids_order":["1332983564","1332983645"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1681daff7ad786cfa2e1e421c3f4f681.jpg","text":"TemporaryFile(/tmp/multipartBody3928227592804865022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237653656,"filename":"image_30012025_12_45_55_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/13cbff290764e89e525089c347b7c7b2.jpg","text":"TemporaryFile(/tmp/multipartBody1616114136831948009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237653656,"filename":"image_30012025_12_46_05_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1332983645","file0":"1332983564"},"map_files_photo_id_array":[{"photo_id":"1332983645","filename":"file1"},{"photo_id":"1332983564","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332983564":["hashtag1","hashtag2"]},{"1332983645":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332983564, 1332983645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.433160305023193 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:46:52.816691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/02/image_28012025_21_02_15_10398.jpg', '/home/pi/Desktop/images/28012025/21/02/image_28012025_21_02_26_10450.jpg', '/home/pi/Desktop/images/28012025/21/02/image_28012025_21_02_35_9324.jpg', '/home/pi/Desktop/images/28012025/21/02/image_28012025_21_02_45_10482.jpg', '/home/pi/Desktop/images/28012025/21/02/image_28012025_21_02_55_9342.jpg', '/home/pi/Desktop/images/28012025/21/02/image_28012025_21_03_05_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/02/image_28012025_21_02_15_10398.jpg
/home/pi/Desktop/images/28012025/21/02/image_28012025_21_02_26_10450.jpg
/home/pi/Desktop/images/28012025/21/02/image_28012025_21_02_35_9324.jpg
/home/pi/Desktop/images/28012025/21/02/image_28012025_21_02_45_10482.jpg
/home/pi/Desktop/images/28012025/21/02/image_28012025_21_02_55_9342.jpg
/home/pi/Desktop/images/28012025/21/02/image_28012025_21_03_05_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":["1332983675","1332983669","1332983668","1332983671","1332983665","1332983661"],"photo_ids_order":["1332983661","1332983665","1332983668","1332983669","1332983671","1332983675"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/51ce6b333acfda375bceef44a7dd5ff5.jpg","text":"TemporaryFile(/tmp/multipartBody4060205355992571016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237675209,"filename":"image_28012025_21_03_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/30/ca3b8eda5e1761e45ae3be86965986cd.jpg","text":"TemporaryFile(/tmp/multipartBody948816565864369527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237675209,"filename":"image_28012025_21_02_45_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/30/9048ba98f3a6f9b079a1f877d815d211.jpg","text":"TemporaryFile(/tmp/multipartBody9157110976124034401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237675209,"filename":"image_28012025_21_02_35_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bdc1cebfc4782e226a8e10bf72adf751.jpg","text":"TemporaryFile(/tmp/multipartBody8493304628436835150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237675209,"filename":"image_28012025_21_02_55_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/826c8e3920ad82c6bd540c27a991faa7.jpg","text":"TemporaryFile(/tmp/multipartBody8009410373105399307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237675209,"filename":"image_28012025_21_02_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/30/ed5be1157374ed3597b8f3a66b92b951.jpg","text":"TemporaryFile(/tmp/multipartBody857628769735030642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237675209,"filename":"image_28012025_21_02_15_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332983668","file1":"1332983665","file0":"1332983661","file4":"1332983671","file5":"1332983675","file3":"1332983669"},"map_files_photo_id_array":[{"photo_id":"1332983675","filename":"file5"},{"photo_id":"1332983668","filename":"file2"},{"photo_id":"1332983671","filename":"file4"},{"photo_id":"1332983665","filename":"file1"},{"photo_id":"1332983661","filename":"file0"},{"photo_id":"1332983669","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332983675":["hashtag1","hashtag2"]},{"1332983669":["hashtag1","hashtag2"]},{"1332983668":["hashtag1","hashtag2"]},{"1332983671":["hashtag1","hashtag2"]},{"1332983665":["hashtag1","hashtag2"]},{"1332983661":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332983675, 1332983669, 1332983668, 1332983671, 1332983665, 1332983661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.58946657180786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 12:47:43.152139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/46/image_30012025_12_46_55_10349.jpg', '/home/pi/Desktop/images/30012025/12/47/image_30012025_12_47_15_9321.jpg', '/home/pi/Desktop/images/30012025/12/47/image_30012025_12_47_25_10411.jpg', '/home/pi/Desktop/images/30012025/12/47/image_30012025_12_47_36_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/46/image_30012025_12_46_55_10349.jpg
/home/pi/Desktop/images/30012025/12/47/image_30012025_12_47_15_9321.jpg
/home/pi/Desktop/images/30012025/12/47/image_30012025_12_47_25_10411.jpg
/home/pi/Desktop/images/30012025/12/47/image_30012025_12_47_36_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332983699","1332983695","1332983691","1332983688"],"photo_ids_order":["1332983688","1332983691","1332983695","1332983699"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cf4bd62b90a57f181b0af1d6b4a50578.jpg","text":"TemporaryFile(/tmp/multipartBody4675660352096036214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237724023,"filename":"image_30012025_12_47_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/30/4f9345037819dc836828bd6aa50307f1.jpg","text":"TemporaryFile(/tmp/multipartBody425626310119524805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237724023,"filename":"image_30012025_12_47_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/30/fdc9c6b79802f22c6d37ff58bbb5ca99.jpg","text":"TemporaryFile(/tmp/multipartBody6317675764031584017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237724023,"filename":"image_30012025_12_47_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/30/81bfc45a6703072aa6bfb29e0df2351b.jpg","text":"TemporaryFile(/tmp/multipartBody5712263843105172781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237724023,"filename":"image_30012025_12_46_55_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332983695","file1":"1332983691","file0":"1332983688","file3":"1332983699"},"map_files_photo_id_array":[{"photo_id":"1332983695","filename":"file2"},{"photo_id":"1332983691","filename":"file1"},{"photo_id":"1332983688","filename":"file0"},{"photo_id":"1332983699","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332983699":["hashtag1","hashtag2"]},{"1332983695":["hashtag1","hashtag2"]},{"1332983691":["hashtag1","hashtag2"]},{"1332983688":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332983699, 1332983695, 1332983691, 1332983688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.51326274871826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:48:32.204857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/47/image_30012025_12_47_45_9477.jpg', '/home/pi/Desktop/images/30012025/12/47/image_30012025_12_48_05_9329.jpg', '/home/pi/Desktop/images/30012025/12/48/image_30012025_12_48_15_10350.jpg', '/home/pi/Desktop/images/30012025/12/48/image_30012025_12_48_25_10408.jpg', '/home/pi/Desktop/images/30012025/12/48/image_30012025_12_48_35_9471.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/47/image_30012025_12_47_45_9477.jpg
/home/pi/Desktop/images/30012025/12/47/image_30012025_12_48_05_9329.jpg
/home/pi/Desktop/images/30012025/12/48/image_30012025_12_48_15_10350.jpg
/home/pi/Desktop/images/30012025/12/48/image_30012025_12_48_25_10408.jpg
/home/pi/Desktop/images/30012025/12/48/image_30012025_12_48_35_9471.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4954185485839844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 12:48:42.375810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/47/image_30012025_12_47_45_9477.jpg', '/home/pi/Desktop/images/30012025/12/47/image_30012025_12_48_05_9329.jpg', '/home/pi/Desktop/images/30012025/12/48/image_30012025_12_48_15_10350.jpg', '/home/pi/Desktop/images/30012025/12/48/image_30012025_12_48_25_10408.jpg', '/home/pi/Desktop/images/30012025/12/48/image_30012025_12_48_35_9471.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/47/image_30012025_12_47_45_9477.jpg
/home/pi/Desktop/images/30012025/12/47/image_30012025_12_48_05_9329.jpg
/home/pi/Desktop/images/30012025/12/48/image_30012025_12_48_15_10350.jpg
/home/pi/Desktop/images/30012025/12/48/image_30012025_12_48_25_10408.jpg
/home/pi/Desktop/images/30012025/12/48/image_30012025_12_48_35_9471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332983741","1332983729","1332983723","1332983734","1332983739"],"photo_ids_order":["1332983723","1332983729","1332983734","1332983739","1332983741"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a412bbe21626e065523a8cab8b1f5f2b.jpg","text":"TemporaryFile(/tmp/multipartBody8711371020799528912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237783290,"filename":"image_30012025_12_48_35_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/30/f2c6e65a1b0f1fab200e34ee08b7d042.jpg","text":"TemporaryFile(/tmp/multipartBody7611927246676168870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237783290,"filename":"image_30012025_12_48_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/30/c353b4ad4b61623de8ce74e036e8ee4b.jpg","text":"TemporaryFile(/tmp/multipartBody4331988623365901296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237783290,"filename":"image_30012025_12_47_45_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/30/4c66cb65065228dca8f3e3a74d4cee66.jpg","text":"TemporaryFile(/tmp/multipartBody4130230652871454976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237783290,"filename":"image_30012025_12_48_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/30/6478feddd7b08a6478b5f8cbcecb9acf.jpg","text":"TemporaryFile(/tmp/multipartBody4536141992082204513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237783290,"filename":"image_30012025_12_48_25_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332983734","file1":"1332983729","file0":"1332983723","file4":"1332983741","file3":"1332983739"},"map_files_photo_id_array":[{"photo_id":"1332983734","filename":"file2"},{"photo_id":"1332983741","filename":"file4"},{"photo_id":"1332983729","filename":"file1"},{"photo_id":"1332983723","filename":"file0"},{"photo_id":"1332983739","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332983741":["hashtag1","hashtag2"]},{"1332983729":["hashtag1","hashtag2"]},{"1332983723":["hashtag1","hashtag2"]},{"1332983734":["hashtag1","hashtag2"]},{"1332983739":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332983741, 1332983729, 1332983723, 1332983734, 1332983739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.45059823989868 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:49:32.509213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/48/image_30012025_12_48_45_10342.jpg', '/home/pi/Desktop/images/30012025/12/48/image_30012025_12_49_05_9377.jpg', '/home/pi/Desktop/images/30012025/12/49/image_30012025_12_49_15_10341.jpg', '/home/pi/Desktop/images/30012025/12/49/image_30012025_12_49_35_10370.jpg', '/home/pi/Desktop/images/30012025/12/49/image_30012025_12_49_45_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/48/image_30012025_12_48_45_10342.jpg
/home/pi/Desktop/images/30012025/12/48/image_30012025_12_49_05_9377.jpg
/home/pi/Desktop/images/30012025/12/49/image_30012025_12_49_15_10341.jpg
/home/pi/Desktop/images/30012025/12/49/image_30012025_12_49_35_10370.jpg
/home/pi/Desktop/images/30012025/12/49/image_30012025_12_49_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":["1332983780","1332983798","1332983764","1332983784","1332983754"],"photo_ids_order":["1332983754","1332983764","1332983780","1332983784","1332983798"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/28f922af601505d4020b11ffc15dd9be.jpg","text":"TemporaryFile(/tmp/multipartBody3207222138606084713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237833412,"filename":"image_30012025_12_49_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/30/f9f08ddf8157e08494587161bf6dcd7c.jpg","text":"TemporaryFile(/tmp/multipartBody3055704836633435400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237833412,"filename":"image_30012025_12_49_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/30/b5d128a24e67f8d596d240d026911ec3.jpg","text":"TemporaryFile(/tmp/multipartBody8487031044094217945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237833412,"filename":"image_30012025_12_49_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/30/4a85d5bddb9c8636aa51e300e6e4e3e7.jpg","text":"TemporaryFile(/tmp/multipartBody5002042705558039972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237833412,"filename":"image_30012025_12_49_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/30/4d7d595311458831fee901acde86b5b4.jpg","text":"TemporaryFile(/tmp/multipartBody2414678651294250874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237833412,"filename":"image_30012025_12_48_45_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332983780","file1":"1332983764","file0":"1332983754","file4":"1332983798","file3":"1332983784"},"map_files_photo_id_array":[{"photo_id":"1332983780","filename":"file2"},{"photo_id":"1332983798","filename":"file4"},{"photo_id":"1332983764","filename":"file1"},{"photo_id":"1332983754","filename":"file0"},{"photo_id":"1332983784","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332983780":["hashtag1","hashtag2"]},{"1332983798":["hashtag1","hashtag2"]},{"1332983764":["hashtag1","hashtag2"]},{"1332983784":["hashtag1","hashtag2"]},{"1332983754":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332983780, 1332983798, 1332983764, 1332983784, 1332983754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 39.57590866088867 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:50:32.721380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/49/image_30012025_12_49_55_9367.jpg', '/home/pi/Desktop/images/30012025/12/49/image_30012025_12_50_05_10421.jpg', '/home/pi/Desktop/images/30012025/12/50/image_30012025_12_50_16_10374.jpg', '/home/pi/Desktop/images/30012025/12/50/image_30012025_12_50_25_9401.jpg', '/home/pi/Desktop/images/30012025/12/50/image_30012025_12_50_35_10389.jpg', '/home/pi/Desktop/images/30012025/12/50/image_30012025_12_50_45_9364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/49/image_30012025_12_49_55_9367.jpg
/home/pi/Desktop/images/30012025/12/49/image_30012025_12_50_05_10421.jpg
/home/pi/Desktop/images/30012025/12/50/image_30012025_12_50_16_10374.jpg
/home/pi/Desktop/images/30012025/12/50/image_30012025_12_50_25_9401.jpg
/home/pi/Desktop/images/30012025/12/50/image_30012025_12_50_35_10389.jpg
/home/pi/Desktop/images/30012025/12/50/image_30012025_12_50_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":["1332983891","1332983879","1332983921","1332983884","1332983872","1332983827"],"photo_ids_order":["1332983827","1332983872","1332983879","1332983884","1332983891","1332983921"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/408d8518aa8c1568d8b24721b3f5095a.jpg","text":"TemporaryFile(/tmp/multipartBody1265090037638926500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237893615,"filename":"image_30012025_12_50_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/30/819b9564573f437dbff904cc2653b809.jpg","text":"TemporaryFile(/tmp/multipartBody4228605867574362588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237893615,"filename":"image_30012025_12_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/30/d9030733d5dfc0d03eec5e1e40f14103.jpg","text":"TemporaryFile(/tmp/multipartBody2461989063835501776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237893615,"filename":"image_30012025_12_50_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/30/1df2e3b956f0784326d6c7412383b548.jpg","text":"TemporaryFile(/tmp/multipartBody8433261094076009441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237893615,"filename":"image_30012025_12_50_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/30/1e269b214cddfbc947c3b5f88256ac4f.jpg","text":"TemporaryFile(/tmp/multipartBody582294224467065289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237893615,"filename":"image_30012025_12_50_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/30/31cb2be51cd47ef405e564d748964ccd.jpg","text":"TemporaryFile(/tmp/multipartBody148376661488473409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237893615,"filename":"image_30012025_12_49_55_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332983879","file1":"1332983872","file0":"1332983827","file4":"1332983891","file5":"1332983921","file3":"1332983884"},"map_files_photo_id_array":[{"photo_id":"1332983921","filename":"file5"},{"photo_id":"1332983879","filename":"file2"},{"photo_id":"1332983891","filename":"file4"},{"photo_id":"1332983872","filename":"file1"},{"photo_id":"1332983827","filename":"file0"},{"photo_id":"1332983884","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332983891":["hashtag1","hashtag2"]},{"1332983879":["hashtag1","hashtag2"]},{"1332983921":["hashtag1","hashtag2"]},{"1332983884":["hashtag1","hashtag2"]},{"1332983872":["hashtag1","hashtag2"]},{"1332983827":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332983891, 1332983879, 1332983921, 1332983884, 1332983872, 1332983827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.96646046638489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:51:32.909716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/50/image_30012025_12_50_55_10403.jpg', '/home/pi/Desktop/images/30012025/12/50/image_30012025_12_51_06_10398.jpg', '/home/pi/Desktop/images/30012025/12/51/image_30012025_12_51_15_9424.jpg', '/home/pi/Desktop/images/30012025/12/51/image_30012025_12_51_45_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/50/image_30012025_12_50_55_10403.jpg
/home/pi/Desktop/images/30012025/12/50/image_30012025_12_51_06_10398.jpg
/home/pi/Desktop/images/30012025/12/51/image_30012025_12_51_15_9424.jpg
/home/pi/Desktop/images/30012025/12/51/image_30012025_12_51_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":["1332983969","1332983951","1332983964","1332983958"],"photo_ids_order":["1332983951","1332983958","1332983964","1332983969"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ab5e2ba9385df7f6dd048ea43ef10be7.jpg","text":"TemporaryFile(/tmp/multipartBody4460627376503785658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237953784,"filename":"image_30012025_12_51_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/30/1b17af6b64fbdcc93b0e1261967581c7.jpg","text":"TemporaryFile(/tmp/multipartBody6233093502278104743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237953784,"filename":"image_30012025_12_50_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/30/a6ac8a77a9773cbebcabe8ca9fc1a58d.jpg","text":"TemporaryFile(/tmp/multipartBody8517055268931396334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237953784,"filename":"image_30012025_12_51_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/30/cde1b8eb822b0c4bf5e026539a4263c3.jpg","text":"TemporaryFile(/tmp/multipartBody5375122044371788960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738237953784,"filename":"image_30012025_12_51_06_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332983964","file1":"1332983958","file0":"1332983951","file3":"1332983969"},"map_files_photo_id_array":[{"photo_id":"1332983964","filename":"file2"},{"photo_id":"1332983958","filename":"file1"},{"photo_id":"1332983951","filename":"file0"},{"photo_id":"1332983969","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332983969":["hashtag1","hashtag2"]},{"1332983951":["hashtag1","hashtag2"]},{"1332983964":["hashtag1","hashtag2"]},{"1332983958":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332983969, 1332983951, 1332983964, 1332983958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.715125799179077 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:52:32.936749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/03/image_28012025_21_03_15_10359.jpg', '/home/pi/Desktop/images/28012025/21/03/image_28012025_21_03_25_9355.jpg', '/home/pi/Desktop/images/28012025/21/03/image_28012025_21_03_35_10514.jpg', '/home/pi/Desktop/images/28012025/21/03/image_28012025_21_03_46_10352.jpg', '/home/pi/Desktop/images/28012025/21/03/image_28012025_21_03_55_9365.jpg', '/home/pi/Desktop/images/28012025/21/03/image_28012025_21_04_05_10449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/03/image_28012025_21_03_15_10359.jpg
/home/pi/Desktop/images/28012025/21/03/image_28012025_21_03_25_9355.jpg
/home/pi/Desktop/images/28012025/21/03/image_28012025_21_03_35_10514.jpg
/home/pi/Desktop/images/28012025/21/03/image_28012025_21_03_46_10352.jpg
/home/pi/Desktop/images/28012025/21/03/image_28012025_21_03_55_9365.jpg
/home/pi/Desktop/images/28012025/21/03/image_28012025_21_04_05_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":["1332984275","1332984218","1332984271","1332984208","1332984054","1332984068"],"photo_ids_order":["1332984054","1332984068","1332984208","1332984218","1332984271","1332984275"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9fcf917befe41acccacef8e133472d68.jpg","text":"TemporaryFile(/tmp/multipartBody2031012899248764497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238015350,"filename":"image_28012025_21_04_05_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b06023fb5b68ec20fd8cf93b72f03ec8.jpg","text":"TemporaryFile(/tmp/multipartBody1581965525654549128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238015350,"filename":"image_28012025_21_03_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/30/4bf2fa275abe7049d0c50f47d4579478.jpg","text":"TemporaryFile(/tmp/multipartBody8270564368886528863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238015350,"filename":"image_28012025_21_03_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/30/c282b98fc47b73c295e8d0beebbad2d1.jpg","text":"TemporaryFile(/tmp/multipartBody3410986432763907805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238015350,"filename":"image_28012025_21_03_35_10514.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/894abc08d2f4e90f66d05987846aaee2.jpg","text":"TemporaryFile(/tmp/multipartBody761223787872899790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238015350,"filename":"image_28012025_21_03_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/30/9158a6511896108296be5273bc3f1bff.jpg","text":"TemporaryFile(/tmp/multipartBody1010697106852754122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238015350,"filename":"image_28012025_21_03_25_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332984208","file1":"1332984068","file0":"1332984054","file4":"1332984271","file5":"1332984275","file3":"1332984218"},"map_files_photo_id_array":[{"photo_id":"1332984275","filename":"file5"},{"photo_id":"1332984208","filename":"file2"},{"photo_id":"1332984271","filename":"file4"},{"photo_id":"1332984068","filename":"file1"},{"photo_id":"1332984054","filename":"file0"},{"photo_id":"1332984218","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332984275":["hashtag1","hashtag2"]},{"1332984218":["hashtag1","hashtag2"]},{"1332984271":["hashtag1","hashtag2"]},{"1332984208":["hashtag1","hashtag2"]},{"1332984054":["hashtag1","hashtag2"]},{"1332984068":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332984275, 1332984218, 1332984271, 1332984208, 1332984054, 1332984068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.21273922920227 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:53:32.209303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/51/image_30012025_12_51_55_10372.jpg', '/home/pi/Desktop/images/30012025/12/52/image_30012025_12_52_35_10449.jpg', '/home/pi/Desktop/images/30012025/12/52/image_30012025_12_53_05_10341.jpg', '/home/pi/Desktop/images/30012025/12/53/image_30012025_12_53_15_9353.jpg', '/home/pi/Desktop/images/30012025/12/53/image_30012025_12_53_25_10435.jpg', '/home/pi/Desktop/images/30012025/12/53/image_30012025_12_53_45_9447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/51/image_30012025_12_51_55_10372.jpg
/home/pi/Desktop/images/30012025/12/52/image_30012025_12_52_35_10449.jpg
/home/pi/Desktop/images/30012025/12/52/image_30012025_12_53_05_10341.jpg
/home/pi/Desktop/images/30012025/12/53/image_30012025_12_53_15_9353.jpg
/home/pi/Desktop/images/30012025/12/53/image_30012025_12_53_25_10435.jpg
/home/pi/Desktop/images/30012025/12/53/image_30012025_12_53_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":["1332984473","1332984419","1332984463","1332984433","1332984429","1332984476"],"photo_ids_order":["1332984419","1332984429","1332984433","1332984463","1332984473","1332984476"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/722068b142824513d82bc7d0a91900bf.jpg","text":"TemporaryFile(/tmp/multipartBody4113412815729872474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238073123,"filename":"image_30012025_12_53_25_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/30/d5313fc40c431e3f6fe7d834dfe1a002.jpg","text":"TemporaryFile(/tmp/multipartBody2982533619494215388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238073123,"filename":"image_30012025_12_51_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/30/0931e93233ac0afff77189e82718c6ea.jpg","text":"TemporaryFile(/tmp/multipartBody9035996322583087624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238073123,"filename":"image_30012025_12_53_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/30/acfd164bc7fe38ac14952d1f8847f6fb.jpg","text":"TemporaryFile(/tmp/multipartBody4473909727150416333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238073123,"filename":"image_30012025_12_53_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/30/dd73b8b0eb5f4f3423f7554a3f29f967.jpg","text":"TemporaryFile(/tmp/multipartBody4383244650844888185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238073123,"filename":"image_30012025_12_52_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/30/14a5fd1e70a48dc485eae281b752290b.jpg","text":"TemporaryFile(/tmp/multipartBody4201323439722666904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238073123,"filename":"image_30012025_12_53_45_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332984433","file1":"1332984429","file0":"1332984419","file4":"1332984473","file5":"1332984476","file3":"1332984463"},"map_files_photo_id_array":[{"photo_id":"1332984476","filename":"file5"},{"photo_id":"1332984433","filename":"file2"},{"photo_id":"1332984473","filename":"file4"},{"photo_id":"1332984429","filename":"file1"},{"photo_id":"1332984419","filename":"file0"},{"photo_id":"1332984463","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332984473":["hashtag1","hashtag2"]},{"1332984419":["hashtag1","hashtag2"]},{"1332984463":["hashtag1","hashtag2"]},{"1332984433":["hashtag1","hashtag2"]},{"1332984429":["hashtag1","hashtag2"]},{"1332984476":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332984473, 1332984419, 1332984463, 1332984433, 1332984429, 1332984476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98218131065369 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:54:32.361184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/53/image_30012025_12_53_55_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/53/image_30012025_12_53_55_10351.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332984504"],"photo_id":"1332984504","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/60df93d0dab3bb36cb35aabdfce43de7.jpg","text":"TemporaryFile(/tmp/multipartBody1960617278744457773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238133171,"filename":"image_30012025_12_53_55_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1332984504"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1332984504"}],"hashtags":[],"portfolio_id":"20052290","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.68665862083435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:54:52.491902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/04/image_28012025_21_04_15_9392.jpg', '/home/pi/Desktop/images/28012025/21/04/image_28012025_21_04_25_10454.jpg', '/home/pi/Desktop/images/28012025/21/04/image_28012025_21_04_35_9350.jpg', '/home/pi/Desktop/images/28012025/21/04/image_28012025_21_04_45_10353.jpg', '/home/pi/Desktop/images/28012025/21/04/image_28012025_21_04_55_10452.jpg', '/home/pi/Desktop/images/28012025/21/04/image_28012025_21_05_05_9386.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/04/image_28012025_21_04_15_9392.jpg
/home/pi/Desktop/images/28012025/21/04/image_28012025_21_04_25_10454.jpg
/home/pi/Desktop/images/28012025/21/04/image_28012025_21_04_35_9350.jpg
/home/pi/Desktop/images/28012025/21/04/image_28012025_21_04_45_10353.jpg
/home/pi/Desktop/images/28012025/21/04/image_28012025_21_04_55_10452.jpg
/home/pi/Desktop/images/28012025/21/04/image_28012025_21_05_05_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":["1332984530","1332984523","1332984517","1332984526","1332984534","1332984519"],"photo_ids_order":["1332984517","1332984519","1332984523","1332984526","1332984530","1332984534"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fae8d105d70c4f9b304b8e36cb3dcb77.jpg","text":"TemporaryFile(/tmp/multipartBody3998357728000024620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238154909,"filename":"image_28012025_21_04_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/30/765ed02440386090d340232e0aacaa30.jpg","text":"TemporaryFile(/tmp/multipartBody5427224272828481291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238154909,"filename":"image_28012025_21_04_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/30/1356a9a98e6a12de514169111edad215.jpg","text":"TemporaryFile(/tmp/multipartBody2958595349309975574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238154909,"filename":"image_28012025_21_04_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/30/ca762c1ca720934ab0b25d95962dc388.jpg","text":"TemporaryFile(/tmp/multipartBody2674076673619807129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238154909,"filename":"image_28012025_21_04_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/30/321fb55625455ab76fc2526a185f09c2.jpg","text":"TemporaryFile(/tmp/multipartBody8808808473235732841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238154909,"filename":"image_28012025_21_05_05_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c2b4b52433df8d5371c6a6abd5ed709c.jpg","text":"TemporaryFile(/tmp/multipartBody3889038573817520846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238154909,"filename":"image_28012025_21_04_25_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332984523","file1":"1332984519","file0":"1332984517","file4":"1332984530","file5":"1332984534","file3":"1332984526"},"map_files_photo_id_array":[{"photo_id":"1332984534","filename":"file5"},{"photo_id":"1332984523","filename":"file2"},{"photo_id":"1332984530","filename":"file4"},{"photo_id":"1332984519","filename":"file1"},{"photo_id":"1332984517","filename":"file0"},{"photo_id":"1332984526","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332984530":["hashtag1","hashtag2"]},{"1332984523":["hashtag1","hashtag2"]},{"1332984517":["hashtag1","hashtag2"]},{"1332984526":["hashtag1","hashtag2"]},{"1332984534":["hashtag1","hashtag2"]},{"1332984519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332984530, 1332984523, 1332984517, 1332984526, 1332984534, 1332984519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.18749761581421 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 12:55:42.656428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/54/image_30012025_12_54_45_10343.jpg', '/home/pi/Desktop/images/30012025/12/54/image_30012025_12_55_05_9390.jpg', '/home/pi/Desktop/images/30012025/12/55/image_30012025_12_55_15_10429.jpg', '/home/pi/Desktop/images/30012025/12/55/image_30012025_12_55_25_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/54/image_30012025_12_54_45_10343.jpg
/home/pi/Desktop/images/30012025/12/54/image_30012025_12_55_05_9390.jpg
/home/pi/Desktop/images/30012025/12/55/image_30012025_12_55_15_10429.jpg
/home/pi/Desktop/images/30012025/12/55/image_30012025_12_55_25_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332984751","1332984825","1332984729","1332984755"],"photo_ids_order":["1332984729","1332984751","1332984755","1332984825"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ba77f0abc3aff29f017ff1dfafd44882.jpg","text":"TemporaryFile(/tmp/multipartBody1211859738042201858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238203526,"filename":"image_30012025_12_55_05_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/30/5f43ff3cdb7c3aac4a5646355fcdbfe6.jpg","text":"TemporaryFile(/tmp/multipartBody6063375330226121042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238203526,"filename":"image_30012025_12_55_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/30/a6490d40c93d831d29d0fd87413d021c.jpg","text":"TemporaryFile(/tmp/multipartBody8686816982317495205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238203526,"filename":"image_30012025_12_54_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/30/be7eb059f0e2aacb4a16fb1ad16af9c5.jpg","text":"TemporaryFile(/tmp/multipartBody1901976665897875450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238203526,"filename":"image_30012025_12_55_15_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332984755","file1":"1332984751","file0":"1332984729","file3":"1332984825"},"map_files_photo_id_array":[{"photo_id":"1332984755","filename":"file2"},{"photo_id":"1332984751","filename":"file1"},{"photo_id":"1332984729","filename":"file0"},{"photo_id":"1332984825","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332984751":["hashtag1","hashtag2"]},{"1332984825":["hashtag1","hashtag2"]},{"1332984729":["hashtag1","hashtag2"]},{"1332984755":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332984751, 1332984825, 1332984729, 1332984755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.246713161468506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:56:32.906509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/55/image_30012025_12_55_35_10473.jpg', '/home/pi/Desktop/images/30012025/12/56/image_30012025_12_56_15_9432.jpg', '/home/pi/Desktop/images/30012025/12/56/image_30012025_12_56_25_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/55/image_30012025_12_55_35_10473.jpg
/home/pi/Desktop/images/30012025/12/56/image_30012025_12_56_15_9432.jpg
/home/pi/Desktop/images/30012025/12/56/image_30012025_12_56_25_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":["1332984955","1332985088","1332985043"],"photo_ids_order":["1332984955","1332985043","1332985088"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/781f26bdf1e9174fffb5cbdedf8ef0c3.jpg","text":"TemporaryFile(/tmp/multipartBody61693201011843365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238253763,"filename":"image_30012025_12_55_35_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/30/aa29995045d0810d8caafc37c1d2da5c.jpg","text":"TemporaryFile(/tmp/multipartBody322886468491366265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238253763,"filename":"image_30012025_12_56_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/30/b89dfc93c403e5d5e0f7cc340ec71da0.jpg","text":"TemporaryFile(/tmp/multipartBody5506588735857494958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238253763,"filename":"image_30012025_12_56_15_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332985088","file1":"1332985043","file0":"1332984955"},"map_files_photo_id_array":[{"photo_id":"1332985088","filename":"file2"},{"photo_id":"1332985043","filename":"file1"},{"photo_id":"1332984955","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332984955":["hashtag1","hashtag2"]},{"1332985088":["hashtag1","hashtag2"]},{"1332985043":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332984955, 1332985088, 1332985043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.279959678649902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 12:57:04.371569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/05/image_28012025_21_05_15_10451.jpg', '/home/pi/Desktop/images/28012025/21/05/image_28012025_21_05_25_9388.jpg', '/home/pi/Desktop/images/28012025/21/05/image_28012025_21_05_35_10358.jpg', '/home/pi/Desktop/images/28012025/21/05/image_28012025_21_05_45_10434.jpg', '/home/pi/Desktop/images/28012025/21/05/image_28012025_21_05_55_9350.jpg', '/home/pi/Desktop/images/28012025/21/05/image_28012025_21_06_05_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/05/image_28012025_21_05_15_10451.jpg
/home/pi/Desktop/images/28012025/21/05/image_28012025_21_05_25_9388.jpg
/home/pi/Desktop/images/28012025/21/05/image_28012025_21_05_35_10358.jpg
/home/pi/Desktop/images/28012025/21/05/image_28012025_21_05_45_10434.jpg
/home/pi/Desktop/images/28012025/21/05/image_28012025_21_05_55_9350.jpg
/home/pi/Desktop/images/28012025/21/05/image_28012025_21_06_05_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.5020062923431396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 12:57:33.136746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/56/image_30012025_12_56_55_10343.jpg', '/home/pi/Desktop/images/30012025/12/57/image_30012025_12_57_15_9425.jpg', '/home/pi/Desktop/images/30012025/12/57/image_30012025_12_57_25_10424.jpg', '/home/pi/Desktop/images/30012025/12/57/image_30012025_12_57_35_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/56/image_30012025_12_56_55_10343.jpg
/home/pi/Desktop/images/30012025/12/57/image_30012025_12_57_15_9425.jpg
/home/pi/Desktop/images/30012025/12/57/image_30012025_12_57_25_10424.jpg
/home/pi/Desktop/images/30012025/12/57/image_30012025_12_57_35_9341.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-30 12:59:04.078812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/56/image_30012025_12_56_55_10343.jpg', '/home/pi/Desktop/images/30012025/12/57/image_30012025_12_57_15_9425.jpg', '/home/pi/Desktop/images/30012025/12/57/image_30012025_12_57_25_10424.jpg', '/home/pi/Desktop/images/30012025/12/57/image_30012025_12_57_35_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/56/image_30012025_12_56_55_10343.jpg
/home/pi/Desktop/images/30012025/12/57/image_30012025_12_57_15_9425.jpg
/home/pi/Desktop/images/30012025/12/57/image_30012025_12_57_25_10424.jpg
/home/pi/Desktop/images/30012025/12/57/image_30012025_12_57_35_9341.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332985261","1332985258","1332985216","1332985254"],"photo_ids_order":["1332985216","1332985254","1332985258","1332985261"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/96d9306da21cd8e8cad3af8820e20fad.jpg","text":"TemporaryFile(/tmp/multipartBody1661786228239489175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238405080,"filename":"image_30012025_12_57_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/30/b403e2ed5eb7a0e84aae97a06f20d485.jpg","text":"TemporaryFile(/tmp/multipartBody8541152143222719214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238405080,"filename":"image_30012025_12_57_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/30/92c765440a2c05fdab3025053ffff237.jpg","text":"TemporaryFile(/tmp/multipartBody1730028568969399457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238405080,"filename":"image_30012025_12_56_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/30/71ad902e019e9a6e3372a16a59437b09.jpg","text":"TemporaryFile(/tmp/multipartBody3860235328497329002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238405080,"filename":"image_30012025_12_57_15_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332985258","file1":"1332985254","file0":"1332985216","file3":"1332985261"},"map_files_photo_id_array":[{"photo_id":"1332985258","filename":"file2"},{"photo_id":"1332985254","filename":"file1"},{"photo_id":"1332985216","filename":"file0"},{"photo_id":"1332985261","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332985261":["hashtag1","hashtag2"]},{"1332985258":["hashtag1","hashtag2"]},{"1332985216":["hashtag1","hashtag2"]},{"1332985254":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332985261, 1332985258, 1332985216, 1332985254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.62002396583557 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 12:59:42.473176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/57/image_30012025_12_57_56_10348.jpg', '/home/pi/Desktop/images/30012025/12/57/image_30012025_12_58_05_9370.jpg', '/home/pi/Desktop/images/30012025/12/58/image_30012025_12_58_15_10361.jpg', '/home/pi/Desktop/images/30012025/12/58/image_30012025_12_58_25_9335.jpg', '/home/pi/Desktop/images/30012025/12/58/image_30012025_12_58_35_10470.jpg', '/home/pi/Desktop/images/30012025/12/58/image_30012025_12_58_45_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/57/image_30012025_12_57_56_10348.jpg
/home/pi/Desktop/images/30012025/12/57/image_30012025_12_58_05_9370.jpg
/home/pi/Desktop/images/30012025/12/58/image_30012025_12_58_15_10361.jpg
/home/pi/Desktop/images/30012025/12/58/image_30012025_12_58_25_9335.jpg
/home/pi/Desktop/images/30012025/12/58/image_30012025_12_58_35_10470.jpg
/home/pi/Desktop/images/30012025/12/58/image_30012025_12_58_45_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":["1332985285","1332985843","1332986082","1332985543","1332986099","1332985277"],"photo_ids_order":["1332985277","1332985285","1332985543","1332985843","1332986082","1332986099"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/129e557e6e02a8f4ce36cc5b801feef9.jpg","text":"TemporaryFile(/tmp/multipartBody8949095506309425324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238443373,"filename":"image_30012025_12_58_05_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/30/aa416a9d5fb1d790284706c9229bb97b.jpg","text":"TemporaryFile(/tmp/multipartBody1120072547449549980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238443373,"filename":"image_30012025_12_58_25_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f412466ca56d53bd08cbb2bc286ce55a.jpg","text":"TemporaryFile(/tmp/multipartBody5046274516298052048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238443373,"filename":"image_30012025_12_58_35_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/30/cf2d1c3a2d988f8cbf032f4b235421e9.jpg","text":"TemporaryFile(/tmp/multipartBody3844655621657301633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238443373,"filename":"image_30012025_12_58_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/30/d3b1ac82a3f9f7d1300ce7d7a5e5f2b0.jpg","text":"TemporaryFile(/tmp/multipartBody2466052391693310845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238443373,"filename":"image_30012025_12_58_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/30/13e5616ba19f275d37dd0f0aff0a6fd2.jpg","text":"TemporaryFile(/tmp/multipartBody5657789179053544346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238443373,"filename":"image_30012025_12_57_56_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332985543","file1":"1332985285","file0":"1332985277","file4":"1332986082","file5":"1332986099","file3":"1332985843"},"map_files_photo_id_array":[{"photo_id":"1332986099","filename":"file5"},{"photo_id":"1332985543","filename":"file2"},{"photo_id":"1332986082","filename":"file4"},{"photo_id":"1332985285","filename":"file1"},{"photo_id":"1332985277","filename":"file0"},{"photo_id":"1332985843","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332985285":["hashtag1","hashtag2"]},{"1332985843":["hashtag1","hashtag2"]},{"1332986082":["hashtag1","hashtag2"]},{"1332985543":["hashtag1","hashtag2"]},{"1332986099":["hashtag1","hashtag2"]},{"1332985277":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332985285, 1332985843, 1332986082, 1332985543, 1332986099, 1332985277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.52561283111572 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:00:32.790801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/58/image_30012025_12_58_55_9429.jpg', '/home/pi/Desktop/images/30012025/12/58/image_30012025_12_59_05_10360.jpg', '/home/pi/Desktop/images/30012025/12/59/image_30012025_12_59_16_10353.jpg', '/home/pi/Desktop/images/30012025/12/59/image_30012025_12_59_25_9338.jpg', '/home/pi/Desktop/images/30012025/12/59/image_30012025_12_59_35_10368.jpg', '/home/pi/Desktop/images/30012025/12/59/image_30012025_12_59_45_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/58/image_30012025_12_58_55_9429.jpg
/home/pi/Desktop/images/30012025/12/58/image_30012025_12_59_05_10360.jpg
/home/pi/Desktop/images/30012025/12/59/image_30012025_12_59_16_10353.jpg
/home/pi/Desktop/images/30012025/12/59/image_30012025_12_59_25_9338.jpg
/home/pi/Desktop/images/30012025/12/59/image_30012025_12_59_35_10368.jpg
/home/pi/Desktop/images/30012025/12/59/image_30012025_12_59_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":["1332986215","1332986125","1332986118","1332986123","1332986126","1332986371"],"photo_ids_order":["1332986118","1332986123","1332986125","1332986126","1332986215","1332986371"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/28324196da19a50e11be6875a8e76f3a.jpg","text":"TemporaryFile(/tmp/multipartBody751706249501360549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238493686,"filename":"image_30012025_12_59_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/30/45f674264c141c11dfd6dd61df8d199e.jpg","text":"TemporaryFile(/tmp/multipartBody1896666208927443434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238493686,"filename":"image_30012025_12_59_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/30/619b48a6a038eaa5a2d870eb22436b5b.jpg","text":"TemporaryFile(/tmp/multipartBody7552910141534109688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238493686,"filename":"image_30012025_12_58_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/30/e706a4dce0776e046349e46f31da7522.jpg","text":"TemporaryFile(/tmp/multipartBody6614353324575509450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238493686,"filename":"image_30012025_12_59_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/30/059084af7e7e77432919360157441abf.jpg","text":"TemporaryFile(/tmp/multipartBody663001206536672821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238493686,"filename":"image_30012025_12_59_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/30/da5e12373839270410393da05ca500b4.jpg","text":"TemporaryFile(/tmp/multipartBody4177460156584129545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238493686,"filename":"image_30012025_12_59_45_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332986125","file1":"1332986123","file0":"1332986118","file4":"1332986215","file5":"1332986371","file3":"1332986126"},"map_files_photo_id_array":[{"photo_id":"1332986371","filename":"file5"},{"photo_id":"1332986125","filename":"file2"},{"photo_id":"1332986215","filename":"file4"},{"photo_id":"1332986123","filename":"file1"},{"photo_id":"1332986118","filename":"file0"},{"photo_id":"1332986126","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332986215":["hashtag1","hashtag2"]},{"1332986125":["hashtag1","hashtag2"]},{"1332986118":["hashtag1","hashtag2"]},{"1332986123":["hashtag1","hashtag2"]},{"1332986126":["hashtag1","hashtag2"]},{"1332986371":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332986215, 1332986125, 1332986118, 1332986123, 1332986126, 1332986371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.65243053436279 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:01:32.814478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/12/59/image_30012025_12_59_55_10457.jpg', '/home/pi/Desktop/images/30012025/13/00/image_30012025_13_00_15_10077.jpg', '/home/pi/Desktop/images/30012025/13/00/image_30012025_13_00_36_10353.jpg', '/home/pi/Desktop/images/30012025/13/00/image_30012025_13_00_46_9330.jpg', '/home/pi/Desktop/images/30012025/13/00/image_30012025_13_01_06_10353.jpg', '/home/pi/Desktop/images/30012025/13/01/image_30012025_13_01_16_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/12/59/image_30012025_12_59_55_10457.jpg
/home/pi/Desktop/images/30012025/13/00/image_30012025_13_00_15_10077.jpg
/home/pi/Desktop/images/30012025/13/00/image_30012025_13_00_36_10353.jpg
/home/pi/Desktop/images/30012025/13/00/image_30012025_13_00_46_9330.jpg
/home/pi/Desktop/images/30012025/13/00/image_30012025_13_01_06_10353.jpg
/home/pi/Desktop/images/30012025/13/01/image_30012025_13_01_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":["1332986493","1332986472","1332986484","1332986498","1332986501","1332986443"],"photo_ids_order":["1332986443","1332986472","1332986484","1332986493","1332986498","1332986501"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/565300408e88279d94f7ea779a341493.jpg","text":"TemporaryFile(/tmp/multipartBody948170189787846735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238553740,"filename":"image_30012025_13_00_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/30/67b7fd416832899431ebe7c7dfb7a874.jpg","text":"TemporaryFile(/tmp/multipartBody2652855788219346418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238553740,"filename":"image_30012025_13_00_15_10077.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0c6102e5f02a5954b97fa5652c0965f6.jpg","text":"TemporaryFile(/tmp/multipartBody5585419250775424712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238553740,"filename":"image_30012025_13_00_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/30/218d8f4208ab41c60be7a8c52b6130c1.jpg","text":"TemporaryFile(/tmp/multipartBody3647170406943523079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238553740,"filename":"image_30012025_13_01_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/30/19fb1217684e7b2e465d91d71988887c.jpg","text":"TemporaryFile(/tmp/multipartBody3602043040131704077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238553740,"filename":"image_30012025_13_01_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/30/8d9fc10e668a88108f4a9d711add6d5d.jpg","text":"TemporaryFile(/tmp/multipartBody2529424629489995768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238553740,"filename":"image_30012025_12_59_55_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332986484","file1":"1332986472","file0":"1332986443","file4":"1332986498","file5":"1332986501","file3":"1332986493"},"map_files_photo_id_array":[{"photo_id":"1332986501","filename":"file5"},{"photo_id":"1332986484","filename":"file2"},{"photo_id":"1332986498","filename":"file4"},{"photo_id":"1332986472","filename":"file1"},{"photo_id":"1332986443","filename":"file0"},{"photo_id":"1332986493","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332986493":["hashtag1","hashtag2"]},{"1332986472":["hashtag1","hashtag2"]},{"1332986484":["hashtag1","hashtag2"]},{"1332986498":["hashtag1","hashtag2"]},{"1332986501":["hashtag1","hashtag2"]},{"1332986443":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332986493, 1332986472, 1332986484, 1332986498, 1332986501, 1332986443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62507462501526 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:02:35.727446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/01/image_30012025_13_01_26_10451.jpg', '/home/pi/Desktop/images/30012025/13/01/image_30012025_13_01_35_9342.jpg', '/home/pi/Desktop/images/30012025/13/01/image_30012025_13_01_46_10452.jpg', '/home/pi/Desktop/images/30012025/13/01/image_30012025_13_02_06_9347.jpg', '/home/pi/Desktop/images/30012025/13/02/image_30012025_13_02_16_10414.jpg', '/home/pi/Desktop/images/30012025/13/02/image_30012025_13_02_25_9364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/01/image_30012025_13_01_26_10451.jpg
/home/pi/Desktop/images/30012025/13/01/image_30012025_13_01_35_9342.jpg
/home/pi/Desktop/images/30012025/13/01/image_30012025_13_01_46_10452.jpg
/home/pi/Desktop/images/30012025/13/01/image_30012025_13_02_06_9347.jpg
/home/pi/Desktop/images/30012025/13/02/image_30012025_13_02_16_10414.jpg
/home/pi/Desktop/images/30012025/13/02/image_30012025_13_02_25_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":["1332987075","1332987069","1332986538","1332986636","1332987073","1332986965"],"photo_ids_order":["1332986538","1332986636","1332986965","1332987069","1332987073","1332987075"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/453093e56c4b4627139778ae60569810.jpg","text":"TemporaryFile(/tmp/multipartBody8649624291934764193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238617168,"filename":"image_30012025_13_02_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/30/79448e8ffecffa649fcd9a1d45c8c9e5.jpg","text":"TemporaryFile(/tmp/multipartBody5147062908337857441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238617168,"filename":"image_30012025_13_02_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/30/2e2d68e0f9c0bbb5b386f4f9a37a32d8.jpg","text":"TemporaryFile(/tmp/multipartBody8462239618205535201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238617168,"filename":"image_30012025_13_01_26_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/30/c4aa9fc101a526b403259bcf12970908.jpg","text":"TemporaryFile(/tmp/multipartBody7600108364122545826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238617168,"filename":"image_30012025_13_01_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/30/d1122e2fd277e0efa3bc858488be235a.jpg","text":"TemporaryFile(/tmp/multipartBody3479393375845687963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238617168,"filename":"image_30012025_13_02_16_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/63435a5f56ab9bfe08f73b15fa4c6bd7.jpg","text":"TemporaryFile(/tmp/multipartBody3130112336522604591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238617168,"filename":"image_30012025_13_01_46_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332986965","file1":"1332986636","file0":"1332986538","file4":"1332987073","file5":"1332987075","file3":"1332987069"},"map_files_photo_id_array":[{"photo_id":"1332987075","filename":"file5"},{"photo_id":"1332986965","filename":"file2"},{"photo_id":"1332987073","filename":"file4"},{"photo_id":"1332986636","filename":"file1"},{"photo_id":"1332986538","filename":"file0"},{"photo_id":"1332987069","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332987075":["hashtag1","hashtag2"]},{"1332987069":["hashtag1","hashtag2"]},{"1332986538":["hashtag1","hashtag2"]},{"1332986636":["hashtag1","hashtag2"]},{"1332987073":["hashtag1","hashtag2"]},{"1332986965":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332987075, 1332987069, 1332986538, 1332986636, 1332987073, 1332986965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.686291217803955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:03:32.273233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/02/image_30012025_13_02_36_10478.jpg', '/home/pi/Desktop/images/30012025/13/02/image_30012025_13_02_46_10424.jpg', '/home/pi/Desktop/images/30012025/13/02/image_30012025_13_02_56_9337.jpg', '/home/pi/Desktop/images/30012025/13/02/image_30012025_13_03_06_10342.jpg', '/home/pi/Desktop/images/30012025/13/03/image_30012025_13_03_16_10348.jpg', '/home/pi/Desktop/images/30012025/13/03/image_30012025_13_03_26_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/02/image_30012025_13_02_36_10478.jpg
/home/pi/Desktop/images/30012025/13/02/image_30012025_13_02_46_10424.jpg
/home/pi/Desktop/images/30012025/13/02/image_30012025_13_02_56_9337.jpg
/home/pi/Desktop/images/30012025/13/02/image_30012025_13_03_06_10342.jpg
/home/pi/Desktop/images/30012025/13/03/image_30012025_13_03_16_10348.jpg
/home/pi/Desktop/images/30012025/13/03/image_30012025_13_03_26_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":["1332987421","1332987386","1332987413","1332987335","1332987286","1332987340"],"photo_ids_order":["1332987286","1332987335","1332987340","1332987386","1332987413","1332987421"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/91df09b836d258b893da6c79ad8dbcf3.jpg","text":"TemporaryFile(/tmp/multipartBody1739318628892487165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238673194,"filename":"image_30012025_13_03_26_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1ffc595fa1d5a181194868bc868a883a.jpg","text":"TemporaryFile(/tmp/multipartBody5636594920346945547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238673194,"filename":"image_30012025_13_03_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/30/b1dbb213dd01b469a12645046e3aaac4.jpg","text":"TemporaryFile(/tmp/multipartBody3119606498477406198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238673194,"filename":"image_30012025_13_03_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/30/2f00f5b94cf5685bb6ccc6f95c348ea4.jpg","text":"TemporaryFile(/tmp/multipartBody680597638270635946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238673194,"filename":"image_30012025_13_02_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/30/4100ade9f8ab5b9182dfae6b50cd9de4.jpg","text":"TemporaryFile(/tmp/multipartBody1736239719199517941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238673194,"filename":"image_30012025_13_02_36_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/30/e58c73ebe5f6436b887252b2d26dd574.jpg","text":"TemporaryFile(/tmp/multipartBody1619779205737985363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238673194,"filename":"image_30012025_13_02_56_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332987340","file1":"1332987335","file0":"1332987286","file4":"1332987413","file5":"1332987421","file3":"1332987386"},"map_files_photo_id_array":[{"photo_id":"1332987421","filename":"file5"},{"photo_id":"1332987340","filename":"file2"},{"photo_id":"1332987413","filename":"file4"},{"photo_id":"1332987335","filename":"file1"},{"photo_id":"1332987286","filename":"file0"},{"photo_id":"1332987386","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332987421":["hashtag1","hashtag2"]},{"1332987386":["hashtag1","hashtag2"]},{"1332987413":["hashtag1","hashtag2"]},{"1332987335":["hashtag1","hashtag2"]},{"1332987286":["hashtag1","hashtag2"]},{"1332987340":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332987421, 1332987386, 1332987413, 1332987335, 1332987286, 1332987340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12642502784729 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:04:32.592181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/03/image_30012025_13_03_36_10355.jpg', '/home/pi/Desktop/images/30012025/13/03/image_30012025_13_04_06_10361.jpg', '/home/pi/Desktop/images/30012025/13/04/image_30012025_13_04_36_10431.jpg', '/home/pi/Desktop/images/30012025/13/04/image_30012025_13_04_46_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/03/image_30012025_13_03_36_10355.jpg
/home/pi/Desktop/images/30012025/13/03/image_30012025_13_04_06_10361.jpg
/home/pi/Desktop/images/30012025/13/04/image_30012025_13_04_36_10431.jpg
/home/pi/Desktop/images/30012025/13/04/image_30012025_13_04_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":["1332987489","1332987484","1332987478","1332987463"],"photo_ids_order":["1332987463","1332987478","1332987484","1332987489"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e6a25fb91291f2a38ff291a0fc893b63.jpg","text":"TemporaryFile(/tmp/multipartBody6378020499234943102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238733461,"filename":"image_30012025_13_04_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/30/5566d8739a2eafffbb89ba2ba7f5d9c9.jpg","text":"TemporaryFile(/tmp/multipartBody524849396153547465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238733461,"filename":"image_30012025_13_04_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/30/39aa512fd82ee80199092b8b37c9d6c1.jpg","text":"TemporaryFile(/tmp/multipartBody3868507107224913955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238733461,"filename":"image_30012025_13_04_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/30/991e1fc821b39214ea6d6ac3e50e9e4a.jpg","text":"TemporaryFile(/tmp/multipartBody4435928629915047021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238733461,"filename":"image_30012025_13_03_36_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332987484","file1":"1332987478","file0":"1332987463","file3":"1332987489"},"map_files_photo_id_array":[{"photo_id":"1332987484","filename":"file2"},{"photo_id":"1332987478","filename":"file1"},{"photo_id":"1332987463","filename":"file0"},{"photo_id":"1332987489","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332987489":["hashtag1","hashtag2"]},{"1332987484":["hashtag1","hashtag2"]},{"1332987478":["hashtag1","hashtag2"]},{"1332987463":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332987489, 1332987484, 1332987478, 1332987463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.14706802368164 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-30 13:05:32.769582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/04/image_30012025_13_04_56_10439.jpg', '/home/pi/Desktop/images/30012025/13/05/image_30012025_13_05_26_10336.jpg', '/home/pi/Desktop/images/30012025/13/05/image_30012025_13_05_46_10453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/04/image_30012025_13_04_56_10439.jpg
/home/pi/Desktop/images/30012025/13/05/image_30012025_13_05_26_10336.jpg
/home/pi/Desktop/images/30012025/13/05/image_30012025_13_05_46_10453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332987531","1332987527","1332987503"],"photo_ids_order":["1332987503","1332987527","1332987531"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fe4223639586d93ab50f1b7a756e2cdd.jpg","text":"TemporaryFile(/tmp/multipartBody8072926903434234633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238793625,"filename":"image_30012025_13_05_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/30/93e07d8b40a07cc873bf6911c961b9a5.jpg","text":"TemporaryFile(/tmp/multipartBody4371691428987248596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238793625,"filename":"image_30012025_13_05_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/30/559aa36544de54c4496460a5d99c63e9.jpg","text":"TemporaryFile(/tmp/multipartBody1089373900017256640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238793625,"filename":"image_30012025_13_04_56_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332987531","file1":"1332987527","file0":"1332987503"},"map_files_photo_id_array":[{"photo_id":"1332987531","filename":"file2"},{"photo_id":"1332987527","filename":"file1"},{"photo_id":"1332987503","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332987531":["hashtag1","hashtag2"]},{"1332987527":["hashtag1","hashtag2"]},{"1332987503":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332987531, 1332987527, 1332987503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.79657554626465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 13:06:03.826084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/05/image_28012025_21_05_15_10451.jpg', '/home/pi/Desktop/images/28012025/21/05/image_28012025_21_05_25_9388.jpg', '/home/pi/Desktop/images/28012025/21/05/image_28012025_21_05_35_10358.jpg', '/home/pi/Desktop/images/28012025/21/05/image_28012025_21_05_45_10434.jpg', '/home/pi/Desktop/images/28012025/21/05/image_28012025_21_05_55_9350.jpg', '/home/pi/Desktop/images/28012025/21/05/image_28012025_21_06_05_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/05/image_28012025_21_05_15_10451.jpg
/home/pi/Desktop/images/28012025/21/05/image_28012025_21_05_25_9388.jpg
/home/pi/Desktop/images/28012025/21/05/image_28012025_21_05_35_10358.jpg
/home/pi/Desktop/images/28012025/21/05/image_28012025_21_05_45_10434.jpg
/home/pi/Desktop/images/28012025/21/05/image_28012025_21_05_55_9350.jpg
/home/pi/Desktop/images/28012025/21/05/image_28012025_21_06_05_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":["1332987657","1332987720","1332987543","1332987723","1332987545","1332987727"],"photo_ids_order":["1332987543","1332987545","1332987657","1332987720","1332987723","1332987727"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9942823d8b088401835a314cb2d7cd87.jpg","text":"TemporaryFile(/tmp/multipartBody1661951890337558651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238825466,"filename":"image_28012025_21_05_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/30/dc58374893a061fd5bf5cac3066f559e.jpg","text":"TemporaryFile(/tmp/multipartBody6215932344701100030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238825466,"filename":"image_28012025_21_05_45_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/30/8cb8952f688a60cfc764daeb314ec06d.jpg","text":"TemporaryFile(/tmp/multipartBody4348995577311106080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238825466,"filename":"image_28012025_21_05_15_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/30/658670d22edd7832566a8b98631a1d7c.jpg","text":"TemporaryFile(/tmp/multipartBody1554749992259295025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238825466,"filename":"image_28012025_21_05_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/30/5ab7c6ef89e0b8dd48393e47a1d8b2df.jpg","text":"TemporaryFile(/tmp/multipartBody6547814888248454252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238825466,"filename":"image_28012025_21_05_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/30/a945b4d665c220d4ab1dfcebb49f6a50.jpg","text":"TemporaryFile(/tmp/multipartBody7289891418728371498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238825466,"filename":"image_28012025_21_06_05_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332987657","file1":"1332987545","file0":"1332987543","file4":"1332987723","file5":"1332987727","file3":"1332987720"},"map_files_photo_id_array":[{"photo_id":"1332987727","filename":"file5"},{"photo_id":"1332987657","filename":"file2"},{"photo_id":"1332987723","filename":"file4"},{"photo_id":"1332987545","filename":"file1"},{"photo_id":"1332987543","filename":"file0"},{"photo_id":"1332987720","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332987657":["hashtag1","hashtag2"]},{"1332987720":["hashtag1","hashtag2"]},{"1332987543":["hashtag1","hashtag2"]},{"1332987723":["hashtag1","hashtag2"]},{"1332987545":["hashtag1","hashtag2"]},{"1332987727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332987657, 1332987720, 1332987543, 1332987723, 1332987545, 1332987727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.320425271987915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:06:53.001857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/05/image_30012025_13_05_55_9342.jpg', '/home/pi/Desktop/images/30012025/13/05/image_30012025_13_06_06_10420.jpg', '/home/pi/Desktop/images/30012025/13/06/image_30012025_13_06_16_10354.jpg', '/home/pi/Desktop/images/30012025/13/06/image_30012025_13_06_36_10432.jpg', '/home/pi/Desktop/images/30012025/13/06/image_30012025_13_06_46_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/05/image_30012025_13_05_55_9342.jpg
/home/pi/Desktop/images/30012025/13/05/image_30012025_13_06_06_10420.jpg
/home/pi/Desktop/images/30012025/13/06/image_30012025_13_06_16_10354.jpg
/home/pi/Desktop/images/30012025/13/06/image_30012025_13_06_36_10432.jpg
/home/pi/Desktop/images/30012025/13/06/image_30012025_13_06_46_10356.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332987765","1332987750","1332987747","1332987743","1332987752"],"photo_ids_order":["1332987743","1332987747","1332987750","1332987752","1332987765"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5cb9a8b1efd3a959fda458f034be0c98.jpg","text":"TemporaryFile(/tmp/multipartBody704337656507977364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238873886,"filename":"image_30012025_13_06_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/30/767b0313a3f7887a07c05332b1a964f6.jpg","text":"TemporaryFile(/tmp/multipartBody1348898604632082567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238873886,"filename":"image_30012025_13_06_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/30/bbb52f83c6c5fc03ea94485969b82881.jpg","text":"TemporaryFile(/tmp/multipartBody8832709447701333467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238873886,"filename":"image_30012025_13_06_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/30/9086e048a78b441334ffe9a9965c476b.jpg","text":"TemporaryFile(/tmp/multipartBody6707852740170873722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238873886,"filename":"image_30012025_13_05_55_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9a6341bf969a317b00ba4526def8569e.jpg","text":"TemporaryFile(/tmp/multipartBody8108624467861833534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238873886,"filename":"image_30012025_13_06_36_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332987750","file1":"1332987747","file0":"1332987743","file4":"1332987765","file3":"1332987752"},"map_files_photo_id_array":[{"photo_id":"1332987750","filename":"file2"},{"photo_id":"1332987765","filename":"file4"},{"photo_id":"1332987747","filename":"file1"},{"photo_id":"1332987743","filename":"file0"},{"photo_id":"1332987752","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332987765":["hashtag1","hashtag2"]},{"1332987750":["hashtag1","hashtag2"]},{"1332987747":["hashtag1","hashtag2"]},{"1332987743":["hashtag1","hashtag2"]},{"1332987752":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332987765, 1332987750, 1332987747, 1332987743, 1332987752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.0799195766449 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:07:32.317130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/06/image_30012025_13_06_56_9362.jpg', '/home/pi/Desktop/images/30012025/13/06/image_30012025_13_07_06_10426.jpg', '/home/pi/Desktop/images/30012025/13/07/image_30012025_13_07_16_9326.jpg', '/home/pi/Desktop/images/30012025/13/07/image_30012025_13_07_26_10399.jpg', '/home/pi/Desktop/images/30012025/13/07/image_30012025_13_07_36_10432.jpg', '/home/pi/Desktop/images/30012025/13/07/image_30012025_13_07_46_9325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/06/image_30012025_13_06_56_9362.jpg
/home/pi/Desktop/images/30012025/13/06/image_30012025_13_07_06_10426.jpg
/home/pi/Desktop/images/30012025/13/07/image_30012025_13_07_16_9326.jpg
/home/pi/Desktop/images/30012025/13/07/image_30012025_13_07_26_10399.jpg
/home/pi/Desktop/images/30012025/13/07/image_30012025_13_07_36_10432.jpg
/home/pi/Desktop/images/30012025/13/07/image_30012025_13_07_46_9325.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5057544708251953 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 13:07:42.290727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/06/image_30012025_13_06_56_9362.jpg', '/home/pi/Desktop/images/30012025/13/06/image_30012025_13_07_06_10426.jpg', '/home/pi/Desktop/images/30012025/13/07/image_30012025_13_07_16_9326.jpg', '/home/pi/Desktop/images/30012025/13/07/image_30012025_13_07_26_10399.jpg', '/home/pi/Desktop/images/30012025/13/07/image_30012025_13_07_36_10432.jpg', '/home/pi/Desktop/images/30012025/13/07/image_30012025_13_07_46_9325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/06/image_30012025_13_06_56_9362.jpg
/home/pi/Desktop/images/30012025/13/06/image_30012025_13_07_06_10426.jpg
/home/pi/Desktop/images/30012025/13/07/image_30012025_13_07_16_9326.jpg
/home/pi/Desktop/images/30012025/13/07/image_30012025_13_07_26_10399.jpg
/home/pi/Desktop/images/30012025/13/07/image_30012025_13_07_36_10432.jpg
/home/pi/Desktop/images/30012025/13/07/image_30012025_13_07_46_9325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332987942","1332987936","1332987927","1332987788","1332987793","1332987940"],"photo_ids_order":["1332987788","1332987793","1332987927","1332987936","1332987940","1332987942"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c0e5802d96c5e007e6603bfa05f817f4.jpg","text":"TemporaryFile(/tmp/multipartBody1975975257623265544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238923196,"filename":"image_30012025_13_07_46_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bad484915ab520f2a84491607d72425e.jpg","text":"TemporaryFile(/tmp/multipartBody1898858666237807897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238923196,"filename":"image_30012025_13_07_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/30/5ba2b8bab31cc26f6586deeea06e856b.jpg","text":"TemporaryFile(/tmp/multipartBody5147089745751475302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238923196,"filename":"image_30012025_13_07_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/30/017eb030340405bb5df51ffca6c5791d.jpg","text":"TemporaryFile(/tmp/multipartBody5516439413336593342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238923196,"filename":"image_30012025_13_06_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/30/47911462b60a985eb5e6ee4c868bff07.jpg","text":"TemporaryFile(/tmp/multipartBody7307768091055154923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238923196,"filename":"image_30012025_13_07_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/30/f41deedd35192c86a74844f5d7ffb616.jpg","text":"TemporaryFile(/tmp/multipartBody2371629155642584358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238923196,"filename":"image_30012025_13_07_36_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332987927","file1":"1332987793","file0":"1332987788","file4":"1332987940","file5":"1332987942","file3":"1332987936"},"map_files_photo_id_array":[{"photo_id":"1332987942","filename":"file5"},{"photo_id":"1332987927","filename":"file2"},{"photo_id":"1332987940","filename":"file4"},{"photo_id":"1332987793","filename":"file1"},{"photo_id":"1332987788","filename":"file0"},{"photo_id":"1332987936","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332987942":["hashtag1","hashtag2"]},{"1332987936":["hashtag1","hashtag2"]},{"1332987927":["hashtag1","hashtag2"]},{"1332987788":["hashtag1","hashtag2"]},{"1332987793":["hashtag1","hashtag2"]},{"1332987940":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332987942, 1332987936, 1332987927, 1332987788, 1332987793, 1332987940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.823208808898926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:08:32.406760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/07/image_30012025_13_07_56_10344.jpg', '/home/pi/Desktop/images/30012025/13/08/image_30012025_13_08_16_10323.jpg', '/home/pi/Desktop/images/30012025/13/08/image_30012025_13_08_26_10465.jpg', '/home/pi/Desktop/images/30012025/13/08/image_30012025_13_08_36_9360.jpg', '/home/pi/Desktop/images/30012025/13/08/image_30012025_13_08_46_10458.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/07/image_30012025_13_07_56_10344.jpg
/home/pi/Desktop/images/30012025/13/08/image_30012025_13_08_16_10323.jpg
/home/pi/Desktop/images/30012025/13/08/image_30012025_13_08_26_10465.jpg
/home/pi/Desktop/images/30012025/13/08/image_30012025_13_08_36_9360.jpg
/home/pi/Desktop/images/30012025/13/08/image_30012025_13_08_46_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":["1332988122","1332988125","1332988133","1332988138","1332988129"],"photo_ids_order":["1332988122","1332988125","1332988129","1332988133","1332988138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/534210984e8524fe275a056196e4c75c.jpg","text":"TemporaryFile(/tmp/multipartBody2377625046470549360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238973296,"filename":"image_30012025_13_07_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/30/e54117effe3576af0440016fc05b1971.jpg","text":"TemporaryFile(/tmp/multipartBody2471990848974908625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238973296,"filename":"image_30012025_13_08_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/30/6a7bcf8f9c0a9def32f4dc18ad7f9a32.jpg","text":"TemporaryFile(/tmp/multipartBody5578391289125651703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238973296,"filename":"image_30012025_13_08_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/30/d2c1a2ecea2f64abda9a66b5be54bcf8.jpg","text":"TemporaryFile(/tmp/multipartBody2169399888706514052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238973296,"filename":"image_30012025_13_08_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/30/70948e874a95b680890895b10fa87eb8.jpg","text":"TemporaryFile(/tmp/multipartBody1267215952044358398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738238973296,"filename":"image_30012025_13_08_26_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332988129","file1":"1332988125","file0":"1332988122","file4":"1332988138","file3":"1332988133"},"map_files_photo_id_array":[{"photo_id":"1332988129","filename":"file2"},{"photo_id":"1332988138","filename":"file4"},{"photo_id":"1332988125","filename":"file1"},{"photo_id":"1332988122","filename":"file0"},{"photo_id":"1332988133","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332988122":["hashtag1","hashtag2"]},{"1332988125":["hashtag1","hashtag2"]},{"1332988133":["hashtag1","hashtag2"]},{"1332988138":["hashtag1","hashtag2"]},{"1332988129":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332988122, 1332988125, 1332988133, 1332988138, 1332988129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.69330644607544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:09:32.705802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/08/image_30012025_13_08_56_10347.jpg', '/home/pi/Desktop/images/30012025/13/08/image_30012025_13_09_06_9328.jpg', '/home/pi/Desktop/images/30012025/13/09/image_30012025_13_09_16_10407.jpg', '/home/pi/Desktop/images/30012025/13/09/image_30012025_13_09_26_9441.jpg', '/home/pi/Desktop/images/30012025/13/09/image_30012025_13_09_36_10410.jpg', '/home/pi/Desktop/images/30012025/13/09/image_30012025_13_09_46_10379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/08/image_30012025_13_08_56_10347.jpg
/home/pi/Desktop/images/30012025/13/08/image_30012025_13_09_06_9328.jpg
/home/pi/Desktop/images/30012025/13/09/image_30012025_13_09_16_10407.jpg
/home/pi/Desktop/images/30012025/13/09/image_30012025_13_09_26_9441.jpg
/home/pi/Desktop/images/30012025/13/09/image_30012025_13_09_36_10410.jpg
/home/pi/Desktop/images/30012025/13/09/image_30012025_13_09_46_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332988233","1332988239","1332988193","1332988199","1332988237","1332988225"],"photo_ids_order":["1332988193","1332988199","1332988225","1332988233","1332988237","1332988239"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bce4709118504988608f204daed4507f.jpg","text":"TemporaryFile(/tmp/multipartBody4175901309445858341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239033629,"filename":"image_30012025_13_09_26_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fc15681a57938b5a2219b00013cdf575.jpg","text":"TemporaryFile(/tmp/multipartBody7278572391901442488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239033629,"filename":"image_30012025_13_09_46_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b409fe61fa00cd597580a00f3ad028ad.jpg","text":"TemporaryFile(/tmp/multipartBody4691406508459152062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239033629,"filename":"image_30012025_13_08_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/30/dea712f87ae4199b5423fc300642a53d.jpg","text":"TemporaryFile(/tmp/multipartBody4298568290665929439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239033629,"filename":"image_30012025_13_09_06_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e0035978bf0cc24d49adc433df5f985a.jpg","text":"TemporaryFile(/tmp/multipartBody1810771618000089316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239033629,"filename":"image_30012025_13_09_36_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3d60685b4584e853eeb4dc9de9367ae7.jpg","text":"TemporaryFile(/tmp/multipartBody1429832598028962815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239033629,"filename":"image_30012025_13_09_16_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332988225","file1":"1332988199","file0":"1332988193","file4":"1332988237","file5":"1332988239","file3":"1332988233"},"map_files_photo_id_array":[{"photo_id":"1332988239","filename":"file5"},{"photo_id":"1332988225","filename":"file2"},{"photo_id":"1332988237","filename":"file4"},{"photo_id":"1332988199","filename":"file1"},{"photo_id":"1332988193","filename":"file0"},{"photo_id":"1332988233","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332988233":["hashtag1","hashtag2"]},{"1332988239":["hashtag1","hashtag2"]},{"1332988193":["hashtag1","hashtag2"]},{"1332988199":["hashtag1","hashtag2"]},{"1332988237":["hashtag1","hashtag2"]},{"1332988225":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332988233, 1332988239, 1332988193, 1332988199, 1332988237, 1332988225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.56523513793945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:10:32.942241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/09/image_30012025_13_09_56_9347.jpg', '/home/pi/Desktop/images/30012025/13/09/image_30012025_13_10_06_10384.jpg', '/home/pi/Desktop/images/30012025/13/10/image_30012025_13_10_15_9338.jpg', '/home/pi/Desktop/images/30012025/13/10/image_30012025_13_10_26_10337.jpg', '/home/pi/Desktop/images/30012025/13/10/image_30012025_13_10_36_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/09/image_30012025_13_09_56_9347.jpg
/home/pi/Desktop/images/30012025/13/09/image_30012025_13_10_06_10384.jpg
/home/pi/Desktop/images/30012025/13/10/image_30012025_13_10_15_9338.jpg
/home/pi/Desktop/images/30012025/13/10/image_30012025_13_10_26_10337.jpg
/home/pi/Desktop/images/30012025/13/10/image_30012025_13_10_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":["1332988275","1332988280","1332988285","1332988270","1332988290"],"photo_ids_order":["1332988270","1332988275","1332988280","1332988285","1332988290"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b359c5b49364233f165501e97acb55b0.jpg","text":"TemporaryFile(/tmp/multipartBody8440132745465914000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239093832,"filename":"image_30012025_13_10_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/30/858366da144df8b08bbebc69486c9e40.jpg","text":"TemporaryFile(/tmp/multipartBody7157657119680781440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239093832,"filename":"image_30012025_13_10_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/30/264ec8fc3cbc5556041360a351e8f85d.jpg","text":"TemporaryFile(/tmp/multipartBody5624378676877959130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239093832,"filename":"image_30012025_13_10_26_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f497dfc39aa64d7b0902060280c3e862.jpg","text":"TemporaryFile(/tmp/multipartBody234667962249099301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239093832,"filename":"image_30012025_13_09_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/30/f071837b15a7f9156f46f8b23fe106c3.jpg","text":"TemporaryFile(/tmp/multipartBody1590220683475161312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239093832,"filename":"image_30012025_13_10_36_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332988280","file1":"1332988275","file0":"1332988270","file4":"1332988290","file3":"1332988285"},"map_files_photo_id_array":[{"photo_id":"1332988280","filename":"file2"},{"photo_id":"1332988290","filename":"file4"},{"photo_id":"1332988275","filename":"file1"},{"photo_id":"1332988270","filename":"file0"},{"photo_id":"1332988285","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332988275":["hashtag1","hashtag2"]},{"1332988280":["hashtag1","hashtag2"]},{"1332988285":["hashtag1","hashtag2"]},{"1332988270":["hashtag1","hashtag2"]},{"1332988290":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332988275, 1332988280, 1332988285, 1332988270, 1332988290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.86951971054077 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:11:33.065076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/10/image_30012025_13_10_56_10416.jpg', '/home/pi/Desktop/images/30012025/13/10/image_30012025_13_11_06_10428.jpg', '/home/pi/Desktop/images/30012025/13/11/image_30012025_13_11_16_9363.jpg', '/home/pi/Desktop/images/30012025/13/11/image_30012025_13_11_26_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/10/image_30012025_13_10_56_10416.jpg
/home/pi/Desktop/images/30012025/13/10/image_30012025_13_11_06_10428.jpg
/home/pi/Desktop/images/30012025/13/11/image_30012025_13_11_16_9363.jpg
/home/pi/Desktop/images/30012025/13/11/image_30012025_13_11_26_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332988338","1332988323","1332988333","1332988327"],"photo_ids_order":["1332988323","1332988327","1332988333","1332988338"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/64ef16d18757ab5569dfc7d351614e3f.jpg","text":"TemporaryFile(/tmp/multipartBody3171611732698630741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239153962,"filename":"image_30012025_13_11_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/30/d586baf3854f281e67488d4e9e49d3cc.jpg","text":"TemporaryFile(/tmp/multipartBody6946073445831206163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239153962,"filename":"image_30012025_13_10_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/30/b8a66008b8fcd671501f58f0dbca137e.jpg","text":"TemporaryFile(/tmp/multipartBody3520282396921839435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239153962,"filename":"image_30012025_13_11_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/30/b143488056c0e12873643e17b8bb0fd8.jpg","text":"TemporaryFile(/tmp/multipartBody4072171592281320615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239153962,"filename":"image_30012025_13_11_06_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332988333","file1":"1332988327","file0":"1332988323","file3":"1332988338"},"map_files_photo_id_array":[{"photo_id":"1332988333","filename":"file2"},{"photo_id":"1332988327","filename":"file1"},{"photo_id":"1332988323","filename":"file0"},{"photo_id":"1332988338","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332988338":["hashtag1","hashtag2"]},{"1332988323":["hashtag1","hashtag2"]},{"1332988333":["hashtag1","hashtag2"]},{"1332988327":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332988338, 1332988323, 1332988333, 1332988327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.97432589530945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 13:12:03.049804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/06/image_28012025_21_06_16_10379.jpg', '/home/pi/Desktop/images/28012025/21/06/image_28012025_21_06_25_9352.jpg', '/home/pi/Desktop/images/28012025/21/06/image_28012025_21_06_35_10360.jpg', '/home/pi/Desktop/images/28012025/21/06/image_28012025_21_06_45_9341.jpg', '/home/pi/Desktop/images/28012025/21/06/image_28012025_21_06_55_10497.jpg', '/home/pi/Desktop/images/28012025/21/06/image_28012025_21_07_06_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/21/06/image_28012025_21_06_16_10379.jpg
/home/pi/Desktop/images/28012025/21/06/image_28012025_21_06_25_9352.jpg
/home/pi/Desktop/images/28012025/21/06/image_28012025_21_06_35_10360.jpg
/home/pi/Desktop/images/28012025/21/06/image_28012025_21_06_45_9341.jpg
/home/pi/Desktop/images/28012025/21/06/image_28012025_21_06_55_10497.jpg
/home/pi/Desktop/images/28012025/21/06/image_28012025_21_07_06_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":["1332988551","1332988469","1332988346","1332988390","1332988672","1332988345"],"photo_ids_order":["1332988345","1332988346","1332988390","1332988469","1332988551","1332988672"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1ddb838b9971cf8995f0b14bd3fdf4b3.jpg","text":"TemporaryFile(/tmp/multipartBody525783726997461776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239184746,"filename":"image_28012025_21_06_55_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/30/3d7a6b8ef493ece1ce9ab24efd608f36.jpg","text":"TemporaryFile(/tmp/multipartBody2624153933383414378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239184746,"filename":"image_28012025_21_06_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/30/6edc651c48feac22b551caf44d462690.jpg","text":"TemporaryFile(/tmp/multipartBody5679369090423775731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239184746,"filename":"image_28012025_21_06_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/30/11f8ae04c422cbc104f3c656cdbdfc32.jpg","text":"TemporaryFile(/tmp/multipartBody6262851623009073906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239184746,"filename":"image_28012025_21_06_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/30/29ccbbf6cdd5e8a876e5001c041a6891.jpg","text":"TemporaryFile(/tmp/multipartBody4079190989675310280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239184746,"filename":"image_28012025_21_07_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/30/d62b50129361966867306d578cd4ff05.jpg","text":"TemporaryFile(/tmp/multipartBody8687594509374276083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239184746,"filename":"image_28012025_21_06_16_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332988390","file1":"1332988346","file0":"1332988345","file4":"1332988551","file5":"1332988672","file3":"1332988469"},"map_files_photo_id_array":[{"photo_id":"1332988672","filename":"file5"},{"photo_id":"1332988390","filename":"file2"},{"photo_id":"1332988551","filename":"file4"},{"photo_id":"1332988346","filename":"file1"},{"photo_id":"1332988345","filename":"file0"},{"photo_id":"1332988469","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332988551":["hashtag1","hashtag2"]},{"1332988469":["hashtag1","hashtag2"]},{"1332988346":["hashtag1","hashtag2"]},{"1332988390":["hashtag1","hashtag2"]},{"1332988672":["hashtag1","hashtag2"]},{"1332988345":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332988551, 1332988469, 1332988346, 1332988390, 1332988672, 1332988345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.237212896347046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:12:52.326778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/11/image_30012025_13_11_56_10458.jpg', '/home/pi/Desktop/images/30012025/13/11/image_30012025_13_12_06_9347.jpg', '/home/pi/Desktop/images/30012025/13/12/image_30012025_13_12_16_10454.jpg', '/home/pi/Desktop/images/30012025/13/12/image_30012025_13_12_46_10443.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/11/image_30012025_13_11_56_10458.jpg
/home/pi/Desktop/images/30012025/13/11/image_30012025_13_12_06_9347.jpg
/home/pi/Desktop/images/30012025/13/12/image_30012025_13_12_16_10454.jpg
/home/pi/Desktop/images/30012025/13/12/image_30012025_13_12_46_10443.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332988754","1332988756","1332988750","1332988753"],"photo_ids_order":["1332988750","1332988753","1332988754","1332988756"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/81091fe8e5af16f940c18234c1a819a3.jpg","text":"TemporaryFile(/tmp/multipartBody8990211568361287022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239233201,"filename":"image_30012025_13_12_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/30/507629298af9d1ea2f6cdb78c72b0d56.jpg","text":"TemporaryFile(/tmp/multipartBody8829759325733652034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239233201,"filename":"image_30012025_13_12_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/30/fd23661acb4c94c2049504c609370e50.jpg","text":"TemporaryFile(/tmp/multipartBody3892222463114875476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239233201,"filename":"image_30012025_13_11_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/30/a3248932a5c4dbcfb740f790ca2b032f.jpg","text":"TemporaryFile(/tmp/multipartBody8295837519943170238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239233201,"filename":"image_30012025_13_12_06_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332988754","file1":"1332988753","file0":"1332988750","file3":"1332988756"},"map_files_photo_id_array":[{"photo_id":"1332988754","filename":"file2"},{"photo_id":"1332988753","filename":"file1"},{"photo_id":"1332988750","filename":"file0"},{"photo_id":"1332988756","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332988754":["hashtag1","hashtag2"]},{"1332988756":["hashtag1","hashtag2"]},{"1332988750":["hashtag1","hashtag2"]},{"1332988753":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332988754, 1332988756, 1332988750, 1332988753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.176856994628906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:13:32.478600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/12/image_30012025_13_12_56_9343.jpg', '/home/pi/Desktop/images/30012025/13/12/image_30012025_13_13_06_10436.jpg', '/home/pi/Desktop/images/30012025/13/13/image_30012025_13_13_16_9332.jpg', '/home/pi/Desktop/images/30012025/13/13/image_30012025_13_13_26_10383.jpg', '/home/pi/Desktop/images/30012025/13/13/image_30012025_13_13_36_10353.jpg', '/home/pi/Desktop/images/30012025/13/13/image_30012025_13_13_46_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/12/image_30012025_13_12_56_9343.jpg
/home/pi/Desktop/images/30012025/13/12/image_30012025_13_13_06_10436.jpg
/home/pi/Desktop/images/30012025/13/13/image_30012025_13_13_16_9332.jpg
/home/pi/Desktop/images/30012025/13/13/image_30012025_13_13_26_10383.jpg
/home/pi/Desktop/images/30012025/13/13/image_30012025_13_13_36_10353.jpg
/home/pi/Desktop/images/30012025/13/13/image_30012025_13_13_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":["1332988800","1332988784","1332988763","1332988769","1332988807","1332988804"],"photo_ids_order":["1332988763","1332988769","1332988784","1332988800","1332988804","1332988807"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4a9de465e385cb0114997e4b3b49efb2.jpg","text":"TemporaryFile(/tmp/multipartBody8364065965268023897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239273404,"filename":"image_30012025_13_13_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/30/6ff4cd92919ba9b3e0e2602a197177d2.jpg","text":"TemporaryFile(/tmp/multipartBody5145684466145392098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239273404,"filename":"image_30012025_13_13_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/30/c18deaebe20e51ff03d5da3b669254f9.jpg","text":"TemporaryFile(/tmp/multipartBody5779274754408609049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239273404,"filename":"image_30012025_13_12_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/30/d1be3545cb68b12b64e59aa03cb7aba4.jpg","text":"TemporaryFile(/tmp/multipartBody5769544037132982389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239273404,"filename":"image_30012025_13_13_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/30/73e67ce7432150ed9d24d162b27ebd69.jpg","text":"TemporaryFile(/tmp/multipartBody513247000719375123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239273404,"filename":"image_30012025_13_13_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/30/33b926629f5f60e51fa8aef862748146.jpg","text":"TemporaryFile(/tmp/multipartBody8226622721616162953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239273404,"filename":"image_30012025_13_13_36_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332988784","file1":"1332988769","file0":"1332988763","file4":"1332988804","file5":"1332988807","file3":"1332988800"},"map_files_photo_id_array":[{"photo_id":"1332988807","filename":"file5"},{"photo_id":"1332988784","filename":"file2"},{"photo_id":"1332988804","filename":"file4"},{"photo_id":"1332988769","filename":"file1"},{"photo_id":"1332988763","filename":"file0"},{"photo_id":"1332988800","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332988800":["hashtag1","hashtag2"]},{"1332988784":["hashtag1","hashtag2"]},{"1332988763":["hashtag1","hashtag2"]},{"1332988769":["hashtag1","hashtag2"]},{"1332988807":["hashtag1","hashtag2"]},{"1332988804":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332988800, 1332988784, 1332988763, 1332988769, 1332988807, 1332988804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.51107454299927 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:14:32.669601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/13/image_30012025_13_13_56_10409.jpg', '/home/pi/Desktop/images/30012025/13/13/image_30012025_13_14_06_10348.jpg', '/home/pi/Desktop/images/30012025/13/14/image_30012025_13_14_16_9342.jpg', '/home/pi/Desktop/images/30012025/13/14/image_30012025_13_14_36_10357.jpg', '/home/pi/Desktop/images/30012025/13/14/image_30012025_13_14_46_9523.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/13/image_30012025_13_13_56_10409.jpg
/home/pi/Desktop/images/30012025/13/13/image_30012025_13_14_06_10348.jpg
/home/pi/Desktop/images/30012025/13/14/image_30012025_13_14_16_9342.jpg
/home/pi/Desktop/images/30012025/13/14/image_30012025_13_14_36_10357.jpg
/home/pi/Desktop/images/30012025/13/14/image_30012025_13_14_46_9523.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332988917","1332988902","1332988889","1332988898","1332988930"],"photo_ids_order":["1332988889","1332988898","1332988902","1332988917","1332988930"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/94586f3f38d970d2f6e01bb2c4468bd9.jpg","text":"TemporaryFile(/tmp/multipartBody1078470226408231176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239333560,"filename":"image_30012025_13_14_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/30/3e0d3e715c796df912a4219002b00e79.jpg","text":"TemporaryFile(/tmp/multipartBody1772674946550222925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239333560,"filename":"image_30012025_13_14_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/30/71f45a65c7568c5748fb1cd7ce85f3ce.jpg","text":"TemporaryFile(/tmp/multipartBody5953502667827754958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239333560,"filename":"image_30012025_13_13_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/30/9d39e2b8ba410b0316131402abf59fbe.jpg","text":"TemporaryFile(/tmp/multipartBody473025114706194209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239333560,"filename":"image_30012025_13_14_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/30/560b5c5a07fae84def637a8d81164fd5.jpg","text":"TemporaryFile(/tmp/multipartBody1298602727111052602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239333560,"filename":"image_30012025_13_14_46_9523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332988902","file1":"1332988898","file0":"1332988889","file4":"1332988930","file3":"1332988917"},"map_files_photo_id_array":[{"photo_id":"1332988902","filename":"file2"},{"photo_id":"1332988930","filename":"file4"},{"photo_id":"1332988898","filename":"file1"},{"photo_id":"1332988889","filename":"file0"},{"photo_id":"1332988917","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332988917":["hashtag1","hashtag2"]},{"1332988902":["hashtag1","hashtag2"]},{"1332988889":["hashtag1","hashtag2"]},{"1332988898":["hashtag1","hashtag2"]},{"1332988930":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332988917, 1332988902, 1332988889, 1332988898, 1332988930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.73841595649719 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:15:32.935081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/14/image_30012025_13_14_56_10330.jpg', '/home/pi/Desktop/images/30012025/13/14/image_30012025_13_15_06_9421.jpg', '/home/pi/Desktop/images/30012025/13/15/image_30012025_13_15_16_10434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/14/image_30012025_13_14_56_10330.jpg
/home/pi/Desktop/images/30012025/13/14/image_30012025_13_15_06_9421.jpg
/home/pi/Desktop/images/30012025/13/15/image_30012025_13_15_16_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":["1332989086","1332989107","1332989232"],"photo_ids_order":["1332989086","1332989107","1332989232"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2c086785e164b43d3753972b2acd18bf.jpg","text":"TemporaryFile(/tmp/multipartBody7142413135310471881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239393784,"filename":"image_30012025_13_14_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/30/27f1344d43084483870abfd376749f28.jpg","text":"TemporaryFile(/tmp/multipartBody7244338456682368233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239393784,"filename":"image_30012025_13_15_06_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/30/4db1bbf9fe12db2f0c0d3a9808a9bc02.jpg","text":"TemporaryFile(/tmp/multipartBody1921789467779239248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239393784,"filename":"image_30012025_13_15_16_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332989232","file1":"1332989107","file0":"1332989086"},"map_files_photo_id_array":[{"photo_id":"1332989232","filename":"file2"},{"photo_id":"1332989107","filename":"file1"},{"photo_id":"1332989086","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332989086":["hashtag1","hashtag2"]},{"1332989107":["hashtag1","hashtag2"]},{"1332989232":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332989086, 1332989107, 1332989232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.081331968307495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 13:16:03.691746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/07/image_28012025_21_07_15_9346.jpg', '/home/pi/Desktop/images/28012025/21/07/image_28012025_21_07_25_10492.jpg', '/home/pi/Desktop/images/28012025/21/07/image_28012025_21_07_35_9334.jpg', '/home/pi/Desktop/images/28012025/21/07/image_28012025_21_07_45_10358.jpg', '/home/pi/Desktop/images/28012025/21/07/image_28012025_21_07_55_10405.jpg', '/home/pi/Desktop/images/28012025/21/07/image_28012025_21_08_05_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/21/07/image_28012025_21_07_15_9346.jpg
/home/pi/Desktop/images/28012025/21/07/image_28012025_21_07_25_10492.jpg
/home/pi/Desktop/images/28012025/21/07/image_28012025_21_07_35_9334.jpg
/home/pi/Desktop/images/28012025/21/07/image_28012025_21_07_45_10358.jpg
/home/pi/Desktop/images/28012025/21/07/image_28012025_21_07_55_10405.jpg
/home/pi/Desktop/images/28012025/21/07/image_28012025_21_08_05_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332989524","1332989446","1332989521","1332989454","1332989448","1332989505"],"photo_ids_order":["1332989446","1332989448","1332989454","1332989505","1332989521","1332989524"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dc48041e38b6a1ce062a047d56bfac44.jpg","text":"TemporaryFile(/tmp/multipartBody362971590195720860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239425348,"filename":"image_28012025_21_08_05_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d589c1cdc3933a5442c57395c0162e35.jpg","text":"TemporaryFile(/tmp/multipartBody3234852085708913191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239425348,"filename":"image_28012025_21_07_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/30/7340f519ccff4d70d8e2b4fbbab31234.jpg","text":"TemporaryFile(/tmp/multipartBody203829331466884245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239425348,"filename":"image_28012025_21_07_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/30/a1f5214605b0fb65adf7907626d93b7f.jpg","text":"TemporaryFile(/tmp/multipartBody7304309084091980772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239425348,"filename":"image_28012025_21_07_35_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5e2cdd721779e4256901ea4dd93db09e.jpg","text":"TemporaryFile(/tmp/multipartBody3955250719326868379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239425348,"filename":"image_28012025_21_07_25_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/30/3a5665297a914bd00daf1cb796045cb7.jpg","text":"TemporaryFile(/tmp/multipartBody6837658891407629188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239425348,"filename":"image_28012025_21_07_45_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332989454","file1":"1332989448","file0":"1332989446","file4":"1332989521","file5":"1332989524","file3":"1332989505"},"map_files_photo_id_array":[{"photo_id":"1332989524","filename":"file5"},{"photo_id":"1332989454","filename":"file2"},{"photo_id":"1332989521","filename":"file4"},{"photo_id":"1332989448","filename":"file1"},{"photo_id":"1332989446","filename":"file0"},{"photo_id":"1332989505","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332989524":["hashtag1","hashtag2"]},{"1332989446":["hashtag1","hashtag2"]},{"1332989521":["hashtag1","hashtag2"]},{"1332989454":["hashtag1","hashtag2"]},{"1332989448":["hashtag1","hashtag2"]},{"1332989505":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332989524, 1332989446, 1332989521, 1332989454, 1332989448, 1332989505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.3547842502594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:16:53.130406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/15/image_30012025_13_15_36_10458.jpg', '/home/pi/Desktop/images/30012025/13/15/image_30012025_13_16_06_10335.jpg', '/home/pi/Desktop/images/30012025/13/16/image_30012025_13_16_15_9413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/15/image_30012025_13_15_36_10458.jpg
/home/pi/Desktop/images/30012025/13/15/image_30012025_13_16_06_10335.jpg
/home/pi/Desktop/images/30012025/13/16/image_30012025_13_16_15_9413.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332989597","1332989592","1332989595"],"photo_ids_order":["1332989592","1332989595","1332989597"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5ceedaf4aeecdfb098cebfd02ff64f4c.jpg","text":"TemporaryFile(/tmp/multipartBody4282229742099896032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239473979,"filename":"image_30012025_13_16_15_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/30/9d763049685553f90ce83c049f3554a2.jpg","text":"TemporaryFile(/tmp/multipartBody8882497515633155532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239473979,"filename":"image_30012025_13_15_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/30/7c01e8a96ab93a5a2f6422b21343c386.jpg","text":"TemporaryFile(/tmp/multipartBody4669386347496239003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239473979,"filename":"image_30012025_13_16_06_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332989597","file1":"1332989595","file0":"1332989592"},"map_files_photo_id_array":[{"photo_id":"1332989597","filename":"file2"},{"photo_id":"1332989595","filename":"file1"},{"photo_id":"1332989592","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332989597":["hashtag1","hashtag2"]},{"1332989592":["hashtag1","hashtag2"]},{"1332989595":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332989597, 1332989592, 1332989595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.985855102539062 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:17:32.440805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/16/image_30012025_13_16_26_10350.jpg', '/home/pi/Desktop/images/30012025/13/17/image_30012025_13_17_16_9347.jpg', '/home/pi/Desktop/images/30012025/13/17/image_30012025_13_17_36_9407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/16/image_30012025_13_16_26_10350.jpg
/home/pi/Desktop/images/30012025/13/17/image_30012025_13_17_16_9347.jpg
/home/pi/Desktop/images/30012025/13/17/image_30012025_13_17_36_9407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332989767","1332989746","1332989751"],"photo_ids_order":["1332989746","1332989751","1332989767"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b8e6c7c4b95f7a231b2684b8c82fe6e0.jpg","text":"TemporaryFile(/tmp/multipartBody1471637403547273492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239513292,"filename":"image_30012025_13_17_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/30/8b154064454df1d7a76c5664723fd7b6.jpg","text":"TemporaryFile(/tmp/multipartBody949786335847005671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239513292,"filename":"image_30012025_13_16_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/30/4f969ea961099e37ba48db9c45595654.jpg","text":"TemporaryFile(/tmp/multipartBody1215860145146442127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239513292,"filename":"image_30012025_13_17_16_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332989767","file1":"1332989751","file0":"1332989746"},"map_files_photo_id_array":[{"photo_id":"1332989767","filename":"file2"},{"photo_id":"1332989751","filename":"file1"},{"photo_id":"1332989746","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332989767":["hashtag1","hashtag2"]},{"1332989746":["hashtag1","hashtag2"]},{"1332989751":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332989767, 1332989746, 1332989751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.187400102615356 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 13:18:03.190092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/08/image_28012025_21_08_15_10383.jpg', '/home/pi/Desktop/images/28012025/21/08/image_28012025_21_08_26_10444.jpg', '/home/pi/Desktop/images/28012025/21/08/image_28012025_21_08_35_9327.jpg', '/home/pi/Desktop/images/28012025/21/08/image_28012025_21_08_45_10358.jpg', '/home/pi/Desktop/images/28012025/21/08/image_28012025_21_08_55_9339.jpg', '/home/pi/Desktop/images/28012025/21/08/image_28012025_21_09_05_10463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/08/image_28012025_21_08_15_10383.jpg
/home/pi/Desktop/images/28012025/21/08/image_28012025_21_08_26_10444.jpg
/home/pi/Desktop/images/28012025/21/08/image_28012025_21_08_35_9327.jpg
/home/pi/Desktop/images/28012025/21/08/image_28012025_21_08_45_10358.jpg
/home/pi/Desktop/images/28012025/21/08/image_28012025_21_08_55_9339.jpg
/home/pi/Desktop/images/28012025/21/08/image_28012025_21_09_05_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":["1332989780","1332989774","1332989783","1332989777","1332989776","1332989775"],"photo_ids_order":["1332989774","1332989775","1332989776","1332989777","1332989780","1332989783"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/640a147744b79565c6b093d63a33f560.jpg","text":"TemporaryFile(/tmp/multipartBody3926544908008330188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239544858,"filename":"image_28012025_21_08_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/30/e3cffb4035b43d10a1ab46a6f2ccc3c9.jpg","text":"TemporaryFile(/tmp/multipartBody4401324626837914811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239544858,"filename":"image_28012025_21_08_15_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1730e0276bc58ade105acc57ad1ec7d4.jpg","text":"TemporaryFile(/tmp/multipartBody5095073072151928949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239544858,"filename":"image_28012025_21_09_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/30/f85e6e016b1dc12db46e22ef43985aee.jpg","text":"TemporaryFile(/tmp/multipartBody8541142627932458553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239544858,"filename":"image_28012025_21_08_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/30/fe64f8b6f23c905fec98c489a0c0bd26.jpg","text":"TemporaryFile(/tmp/multipartBody5837603639404614762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239544858,"filename":"image_28012025_21_08_35_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/186b26cefb6c2a367b8096f72ebc725d.jpg","text":"TemporaryFile(/tmp/multipartBody3334692115960501194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239544858,"filename":"image_28012025_21_08_26_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332989776","file1":"1332989775","file0":"1332989774","file4":"1332989780","file5":"1332989783","file3":"1332989777"},"map_files_photo_id_array":[{"photo_id":"1332989783","filename":"file5"},{"photo_id":"1332989776","filename":"file2"},{"photo_id":"1332989780","filename":"file4"},{"photo_id":"1332989775","filename":"file1"},{"photo_id":"1332989774","filename":"file0"},{"photo_id":"1332989777","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332989780":["hashtag1","hashtag2"]},{"1332989774":["hashtag1","hashtag2"]},{"1332989783":["hashtag1","hashtag2"]},{"1332989777":["hashtag1","hashtag2"]},{"1332989776":["hashtag1","hashtag2"]},{"1332989775":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332989780, 1332989774, 1332989783, 1332989777, 1332989776, 1332989775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14670419692993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:18:52.554153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/17/image_30012025_13_17_55_9415.jpg', '/home/pi/Desktop/images/30012025/13/18/image_30012025_13_18_26_9373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/17/image_30012025_13_17_55_9415.jpg
/home/pi/Desktop/images/30012025/13/18/image_30012025_13_18_26_9373.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332989804","1332989807"],"photo_ids_order":["1332989804","1332989807"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/db90de20cd274eaf11cbe2d57dbfa5e6.jpg","text":"TemporaryFile(/tmp/multipartBody2990323580819572591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239593404,"filename":"image_30012025_13_17_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/30/2674dda50ac673aeb6079becb513c71f.jpg","text":"TemporaryFile(/tmp/multipartBody92057405653823132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239593404,"filename":"image_30012025_13_18_26_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1332989807","file0":"1332989804"},"map_files_photo_id_array":[{"photo_id":"1332989807","filename":"file1"},{"photo_id":"1332989804","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332989804":["hashtag1","hashtag2"]},{"1332989807":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332989804, 1332989807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.967549562454224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:19:32.803992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/18/image_30012025_13_18_36_10402.jpg', '/home/pi/Desktop/images/30012025/13/19/image_30012025_13_19_26_10443.jpg', '/home/pi/Desktop/images/30012025/13/19/image_30012025_13_19_46_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/18/image_30012025_13_18_36_10402.jpg
/home/pi/Desktop/images/30012025/13/19/image_30012025_13_19_26_10443.jpg
/home/pi/Desktop/images/30012025/13/19/image_30012025_13_19_46_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332989833","1332989842","1332989838"],"photo_ids_order":["1332989833","1332989838","1332989842"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ccad542124c05d246dddc608b288910c.jpg","text":"TemporaryFile(/tmp/multipartBody9215238633186097655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239633660,"filename":"image_30012025_13_18_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/30/38c0cb69f4bd2501458056eec01b6322.jpg","text":"TemporaryFile(/tmp/multipartBody5908991641902726483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239633660,"filename":"image_30012025_13_19_46_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0a622dd27e0216fe6c4eff7dc391c684.jpg","text":"TemporaryFile(/tmp/multipartBody1180825428534412483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239633660,"filename":"image_30012025_13_19_26_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332989842","file1":"1332989838","file0":"1332989833"},"map_files_photo_id_array":[{"photo_id":"1332989842","filename":"file2"},{"photo_id":"1332989838","filename":"file1"},{"photo_id":"1332989833","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332989833":["hashtag1","hashtag2"]},{"1332989842":["hashtag1","hashtag2"]},{"1332989838":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332989833, 1332989842, 1332989838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.81876301765442 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 13:20:03.676800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/09/image_28012025_21_09_16_10407.jpg', '/home/pi/Desktop/images/28012025/21/09/image_28012025_21_09_25_9359.jpg', '/home/pi/Desktop/images/28012025/21/09/image_28012025_21_09_35_10438.jpg', '/home/pi/Desktop/images/28012025/21/09/image_28012025_21_09_45_9407.jpg', '/home/pi/Desktop/images/28012025/21/09/image_28012025_21_09_55_10485.jpg', '/home/pi/Desktop/images/28012025/21/09/image_28012025_21_10_06_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/09/image_28012025_21_09_16_10407.jpg
/home/pi/Desktop/images/28012025/21/09/image_28012025_21_09_25_9359.jpg
/home/pi/Desktop/images/28012025/21/09/image_28012025_21_09_35_10438.jpg
/home/pi/Desktop/images/28012025/21/09/image_28012025_21_09_45_9407.jpg
/home/pi/Desktop/images/28012025/21/09/image_28012025_21_09_55_10485.jpg
/home/pi/Desktop/images/28012025/21/09/image_28012025_21_10_06_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.9304218292236328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:20:32.935602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/19/image_30012025_13_19_56_10383.jpg', '/home/pi/Desktop/images/30012025/13/19/image_30012025_13_20_05_9416.jpg', '/home/pi/Desktop/images/30012025/13/20/image_30012025_13_20_16_10447.jpg', '/home/pi/Desktop/images/30012025/13/20/image_30012025_13_20_36_9355.jpg', '/home/pi/Desktop/images/30012025/13/20/image_30012025_13_20_46_10460.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/19/image_30012025_13_19_56_10383.jpg
/home/pi/Desktop/images/30012025/13/19/image_30012025_13_20_05_9416.jpg
/home/pi/Desktop/images/30012025/13/20/image_30012025_13_20_16_10447.jpg
/home/pi/Desktop/images/30012025/13/20/image_30012025_13_20_36_9355.jpg
/home/pi/Desktop/images/30012025/13/20/image_30012025_13_20_46_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":["1332990072","1332990132","1332990134","1332989980","1332990079"],"photo_ids_order":["1332989980","1332990072","1332990079","1332990132","1332990134"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a04452c48ebb3bf79ba4a69a984f0e95.jpg","text":"TemporaryFile(/tmp/multipartBody3154799439746070453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239693826,"filename":"image_30012025_13_20_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/30/1f8848f0fa54220e5d7deea947f63a1e.jpg","text":"TemporaryFile(/tmp/multipartBody5712904476738128978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239693826,"filename":"image_30012025_13_20_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/30/0f81e59cd417f54e17919e9f6881cc00.jpg","text":"TemporaryFile(/tmp/multipartBody4314657628040313933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239693826,"filename":"image_30012025_13_20_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/30/3a6ac1ef752cd2dda79ec6a7917bc569.jpg","text":"TemporaryFile(/tmp/multipartBody588151566083577721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239693826,"filename":"image_30012025_13_19_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/30/8e6344fbb2e32826f17f052f6ecc563d.jpg","text":"TemporaryFile(/tmp/multipartBody3122423445469586490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239693826,"filename":"image_30012025_13_20_16_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332990079","file1":"1332990072","file0":"1332989980","file4":"1332990134","file3":"1332990132"},"map_files_photo_id_array":[{"photo_id":"1332990079","filename":"file2"},{"photo_id":"1332990134","filename":"file4"},{"photo_id":"1332990072","filename":"file1"},{"photo_id":"1332989980","filename":"file0"},{"photo_id":"1332990132","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332990072":["hashtag1","hashtag2"]},{"1332990132":["hashtag1","hashtag2"]},{"1332990134":["hashtag1","hashtag2"]},{"1332989980":["hashtag1","hashtag2"]},{"1332990079":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332990072, 1332990132, 1332990134, 1332989980, 1332990079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.87139081954956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:21:32.292060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/20/image_30012025_13_20_55_9334.jpg', '/home/pi/Desktop/images/30012025/13/20/image_30012025_13_21_06_10365.jpg', '/home/pi/Desktop/images/30012025/13/21/image_30012025_13_21_16_10368.jpg', '/home/pi/Desktop/images/30012025/13/21/image_30012025_13_21_26_9688.jpg', '/home/pi/Desktop/images/30012025/13/21/image_30012025_13_21_46_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/20/image_30012025_13_20_55_9334.jpg
/home/pi/Desktop/images/30012025/13/20/image_30012025_13_21_06_10365.jpg
/home/pi/Desktop/images/30012025/13/21/image_30012025_13_21_16_10368.jpg
/home/pi/Desktop/images/30012025/13/21/image_30012025_13_21_26_9688.jpg
/home/pi/Desktop/images/30012025/13/21/image_30012025_13_21_46_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":["1332990204","1332990194","1332990199","1332990190","1332990186"],"photo_ids_order":["1332990186","1332990190","1332990194","1332990199","1332990204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d4c21d4909cdfa3be782fc168430b548.jpg","text":"TemporaryFile(/tmp/multipartBody7701032249465106487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239753194,"filename":"image_30012025_13_21_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/30/109e8ab536b79d371f1f98782aecc168.jpg","text":"TemporaryFile(/tmp/multipartBody6096878367436175243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239753194,"filename":"image_30012025_13_21_16_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/575dc581325dd2817602e5afb6633bd6.jpg","text":"TemporaryFile(/tmp/multipartBody99971651479754111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239753194,"filename":"image_30012025_13_21_26_9688.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/177fd0903fb8e96d44215b7399c0f9e3.jpg","text":"TemporaryFile(/tmp/multipartBody7038569245569544121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239753194,"filename":"image_30012025_13_21_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/30/c28c5bb916e8e6ff502bd00f2729b388.jpg","text":"TemporaryFile(/tmp/multipartBody565222963457852322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239753194,"filename":"image_30012025_13_20_55_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332990194","file1":"1332990190","file0":"1332990186","file4":"1332990204","file3":"1332990199"},"map_files_photo_id_array":[{"photo_id":"1332990194","filename":"file2"},{"photo_id":"1332990204","filename":"file4"},{"photo_id":"1332990190","filename":"file1"},{"photo_id":"1332990186","filename":"file0"},{"photo_id":"1332990199","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332990204":["hashtag1","hashtag2"]},{"1332990194":["hashtag1","hashtag2"]},{"1332990199":["hashtag1","hashtag2"]},{"1332990190":["hashtag1","hashtag2"]},{"1332990186":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332990204, 1332990194, 1332990199, 1332990190, 1332990186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.34393000602722 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:22:32.521506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/21/image_30012025_13_21_56_10382.jpg', '/home/pi/Desktop/images/30012025/13/21/image_30012025_13_22_06_10387.jpg', '/home/pi/Desktop/images/30012025/13/22/image_30012025_13_22_16_9330.jpg', '/home/pi/Desktop/images/30012025/13/22/image_30012025_13_22_26_10457.jpg', '/home/pi/Desktop/images/30012025/13/22/image_30012025_13_22_46_10425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/21/image_30012025_13_21_56_10382.jpg
/home/pi/Desktop/images/30012025/13/21/image_30012025_13_22_06_10387.jpg
/home/pi/Desktop/images/30012025/13/22/image_30012025_13_22_16_9330.jpg
/home/pi/Desktop/images/30012025/13/22/image_30012025_13_22_26_10457.jpg
/home/pi/Desktop/images/30012025/13/22/image_30012025_13_22_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":["1332990251","1332990269","1332990260","1332990265","1332990255"],"photo_ids_order":["1332990251","1332990255","1332990260","1332990265","1332990269"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/789537178e84ec57741bf76adfb80766.jpg","text":"TemporaryFile(/tmp/multipartBody2488423950451115728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239813409,"filename":"image_30012025_13_21_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/30/2100a05102e77bb041612ff165556550.jpg","text":"TemporaryFile(/tmp/multipartBody7772934955220476762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239813409,"filename":"image_30012025_13_22_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/30/59aec1cb981c72510715ab34e4358ac3.jpg","text":"TemporaryFile(/tmp/multipartBody7290340366839920158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239813409,"filename":"image_30012025_13_22_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/30/b0a03b8b577cbbca72bac87b75f4b616.jpg","text":"TemporaryFile(/tmp/multipartBody1088079065716908511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239813409,"filename":"image_30012025_13_22_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/30/f24c41a955adafee7cf29655ef375819.jpg","text":"TemporaryFile(/tmp/multipartBody6666717090781675396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239813409,"filename":"image_30012025_13_22_06_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332990260","file1":"1332990255","file0":"1332990251","file4":"1332990269","file3":"1332990265"},"map_files_photo_id_array":[{"photo_id":"1332990260","filename":"file2"},{"photo_id":"1332990269","filename":"file4"},{"photo_id":"1332990255","filename":"file1"},{"photo_id":"1332990251","filename":"file0"},{"photo_id":"1332990265","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332990251":["hashtag1","hashtag2"]},{"1332990269":["hashtag1","hashtag2"]},{"1332990260":["hashtag1","hashtag2"]},{"1332990265":["hashtag1","hashtag2"]},{"1332990255":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332990251, 1332990269, 1332990260, 1332990265, 1332990255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.67952275276184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:23:32.740603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/22/image_30012025_13_22_56_10353.jpg', '/home/pi/Desktop/images/30012025/13/22/image_30012025_13_23_06_9393.jpg', '/home/pi/Desktop/images/30012025/13/23/image_30012025_13_23_25_9359.jpg', '/home/pi/Desktop/images/30012025/13/23/image_30012025_13_23_36_10338.jpg', '/home/pi/Desktop/images/30012025/13/23/image_30012025_13_23_46_10436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/22/image_30012025_13_22_56_10353.jpg
/home/pi/Desktop/images/30012025/13/22/image_30012025_13_23_06_9393.jpg
/home/pi/Desktop/images/30012025/13/23/image_30012025_13_23_25_9359.jpg
/home/pi/Desktop/images/30012025/13/23/image_30012025_13_23_36_10338.jpg
/home/pi/Desktop/images/30012025/13/23/image_30012025_13_23_46_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":["1332990299","1332990344","1332990355","1332990358","1332990349"],"photo_ids_order":["1332990299","1332990344","1332990349","1332990355","1332990358"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4db94badd478415b393d8a56904af303.jpg","text":"TemporaryFile(/tmp/multipartBody253741132055924046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239873641,"filename":"image_30012025_13_22_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/30/49ad6fbc882580b990176a25da416c17.jpg","text":"TemporaryFile(/tmp/multipartBody2484154282655556789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239873641,"filename":"image_30012025_13_23_06_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/30/1c8bdc15a5ca221d1b0f40ab01c20700.jpg","text":"TemporaryFile(/tmp/multipartBody703088575551741510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239873641,"filename":"image_30012025_13_23_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/30/b812afac1ff76e48bd2a51dfcd237e0e.jpg","text":"TemporaryFile(/tmp/multipartBody3940009361265997308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239873641,"filename":"image_30012025_13_23_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/30/a108c4a6d8459b69721eee4990a25c98.jpg","text":"TemporaryFile(/tmp/multipartBody3791209461119434781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239873641,"filename":"image_30012025_13_23_25_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332990349","file1":"1332990344","file0":"1332990299","file4":"1332990358","file3":"1332990355"},"map_files_photo_id_array":[{"photo_id":"1332990349","filename":"file2"},{"photo_id":"1332990358","filename":"file4"},{"photo_id":"1332990344","filename":"file1"},{"photo_id":"1332990299","filename":"file0"},{"photo_id":"1332990355","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332990299":["hashtag1","hashtag2"]},{"1332990344":["hashtag1","hashtag2"]},{"1332990355":["hashtag1","hashtag2"]},{"1332990358":["hashtag1","hashtag2"]},{"1332990349":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332990299, 1332990344, 1332990355, 1332990358, 1332990349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.27043890953064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:24:32.922401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/23/image_30012025_13_23_56_9381.jpg', '/home/pi/Desktop/images/30012025/13/23/image_30012025_13_24_06_10423.jpg', '/home/pi/Desktop/images/30012025/13/24/image_30012025_13_24_16_10346.jpg', '/home/pi/Desktop/images/30012025/13/24/image_30012025_13_24_26_9452.jpg', '/home/pi/Desktop/images/30012025/13/24/image_30012025_13_24_36_10455.jpg', '/home/pi/Desktop/images/30012025/13/24/image_30012025_13_24_46_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/23/image_30012025_13_23_56_9381.jpg
/home/pi/Desktop/images/30012025/13/23/image_30012025_13_24_06_10423.jpg
/home/pi/Desktop/images/30012025/13/24/image_30012025_13_24_16_10346.jpg
/home/pi/Desktop/images/30012025/13/24/image_30012025_13_24_26_9452.jpg
/home/pi/Desktop/images/30012025/13/24/image_30012025_13_24_36_10455.jpg
/home/pi/Desktop/images/30012025/13/24/image_30012025_13_24_46_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":["1332990689","1332990665","1332990685","1332990643","1332990693","1332990696"],"photo_ids_order":["1332990643","1332990665","1332990685","1332990689","1332990693","1332990696"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3e5728424998e157eab8b2f2e71d787e.jpg","text":"TemporaryFile(/tmp/multipartBody3867759294271773431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239933812,"filename":"image_30012025_13_24_26_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/30/42d5999547f4e941abf496086ee1bedc.jpg","text":"TemporaryFile(/tmp/multipartBody2491261822141261706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239933812,"filename":"image_30012025_13_24_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/30/d646413103e2ba69804d5fa2ace0748f.jpg","text":"TemporaryFile(/tmp/multipartBody6679466947392611351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239933812,"filename":"image_30012025_13_24_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/30/9d0beea1f415f3fb8ed4a989e5137505.jpg","text":"TemporaryFile(/tmp/multipartBody112349043812286024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239933812,"filename":"image_30012025_13_23_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/30/bf166af828913ceb43e991ef6053a0bd.jpg","text":"TemporaryFile(/tmp/multipartBody5231983655130094268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239933812,"filename":"image_30012025_13_24_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/30/8fc170762b58a3ee9c23802354be72c9.jpg","text":"TemporaryFile(/tmp/multipartBody8115690712820691008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239933812,"filename":"image_30012025_13_24_46_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332990685","file1":"1332990665","file0":"1332990643","file4":"1332990693","file5":"1332990696","file3":"1332990689"},"map_files_photo_id_array":[{"photo_id":"1332990696","filename":"file5"},{"photo_id":"1332990685","filename":"file2"},{"photo_id":"1332990693","filename":"file4"},{"photo_id":"1332990665","filename":"file1"},{"photo_id":"1332990643","filename":"file0"},{"photo_id":"1332990689","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332990689":["hashtag1","hashtag2"]},{"1332990665":["hashtag1","hashtag2"]},{"1332990685":["hashtag1","hashtag2"]},{"1332990643":["hashtag1","hashtag2"]},{"1332990693":["hashtag1","hashtag2"]},{"1332990696":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332990689, 1332990665, 1332990685, 1332990643, 1332990693, 1332990696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29484176635742 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:25:33.129775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/24/image_30012025_13_24_56_10408.jpg', '/home/pi/Desktop/images/30012025/13/24/image_30012025_13_25_06_10334.jpg', '/home/pi/Desktop/images/30012025/13/25/image_30012025_13_25_16_9332.jpg', '/home/pi/Desktop/images/30012025/13/25/image_30012025_13_25_26_10427.jpg', '/home/pi/Desktop/images/30012025/13/25/image_30012025_13_25_36_9435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/24/image_30012025_13_24_56_10408.jpg
/home/pi/Desktop/images/30012025/13/24/image_30012025_13_25_06_10334.jpg
/home/pi/Desktop/images/30012025/13/25/image_30012025_13_25_16_9332.jpg
/home/pi/Desktop/images/30012025/13/25/image_30012025_13_25_26_10427.jpg
/home/pi/Desktop/images/30012025/13/25/image_30012025_13_25_36_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":["1332990711","1332990743","1332990722","1332990734","1332990707"],"photo_ids_order":["1332990707","1332990711","1332990722","1332990734","1332990743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a1e44f1867e9c854f7a8c9b20dbd714d.jpg","text":"TemporaryFile(/tmp/multipartBody4193581091627990862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239994014,"filename":"image_30012025_13_25_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/30/9b0009e234cacdbd65894bec9f9b1658.jpg","text":"TemporaryFile(/tmp/multipartBody2682287051103517580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239994014,"filename":"image_30012025_13_25_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/30/e42f8a1a0b769a19964824a4b4a82209.jpg","text":"TemporaryFile(/tmp/multipartBody3266721089216109126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239994014,"filename":"image_30012025_13_25_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/30/df3992298e0c7fec69d0c5b7b762d150.jpg","text":"TemporaryFile(/tmp/multipartBody7393721263858320066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239994014,"filename":"image_30012025_13_25_26_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/30/3c157671ebf3049c9ca5540cfcabff2e.jpg","text":"TemporaryFile(/tmp/multipartBody7462372769934363352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738239994014,"filename":"image_30012025_13_24_56_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332990722","file1":"1332990711","file0":"1332990707","file4":"1332990743","file3":"1332990734"},"map_files_photo_id_array":[{"photo_id":"1332990722","filename":"file2"},{"photo_id":"1332990743","filename":"file4"},{"photo_id":"1332990711","filename":"file1"},{"photo_id":"1332990707","filename":"file0"},{"photo_id":"1332990734","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332990711":["hashtag1","hashtag2"]},{"1332990743":["hashtag1","hashtag2"]},{"1332990722":["hashtag1","hashtag2"]},{"1332990734":["hashtag1","hashtag2"]},{"1332990707":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332990711, 1332990743, 1332990722, 1332990734, 1332990707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.79232215881348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:26:32.314735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/25/image_30012025_13_25_56_10335.jpg', '/home/pi/Desktop/images/30012025/13/25/image_30012025_13_26_06_9332.jpg', '/home/pi/Desktop/images/30012025/13/26/image_30012025_13_26_26_10352.jpg', '/home/pi/Desktop/images/30012025/13/26/image_30012025_13_26_36_9350.jpg', '/home/pi/Desktop/images/30012025/13/26/image_30012025_13_26_46_10456.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/25/image_30012025_13_25_56_10335.jpg
/home/pi/Desktop/images/30012025/13/25/image_30012025_13_26_06_9332.jpg
/home/pi/Desktop/images/30012025/13/26/image_30012025_13_26_26_10352.jpg
/home/pi/Desktop/images/30012025/13/26/image_30012025_13_26_36_9350.jpg
/home/pi/Desktop/images/30012025/13/26/image_30012025_13_26_46_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":["1332990770","1332991007","1332991053","1332991056","1332990885"],"photo_ids_order":["1332990770","1332990885","1332991007","1332991053","1332991056"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fb1af8d1450f1a745ae7c0806252375d.jpg","text":"TemporaryFile(/tmp/multipartBody1946204477033971529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240053202,"filename":"image_30012025_13_25_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/30/860e8d53a1f67bfcd510bc6c0564030f.jpg","text":"TemporaryFile(/tmp/multipartBody1029492830468649131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240053202,"filename":"image_30012025_13_26_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/30/5dbeef366a5a15a0f62ecc7d85c5cfce.jpg","text":"TemporaryFile(/tmp/multipartBody8557983276496196030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240053202,"filename":"image_30012025_13_26_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/30/1fb0e3873a167af4fcfb8ce9773af9ed.jpg","text":"TemporaryFile(/tmp/multipartBody837337937407692857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240053202,"filename":"image_30012025_13_26_46_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5ed3c73857d35941e22e6e0eafa30a01.jpg","text":"TemporaryFile(/tmp/multipartBody1311451812533462266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240053202,"filename":"image_30012025_13_26_06_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332991007","file1":"1332990885","file0":"1332990770","file4":"1332991056","file3":"1332991053"},"map_files_photo_id_array":[{"photo_id":"1332991007","filename":"file2"},{"photo_id":"1332991056","filename":"file4"},{"photo_id":"1332990885","filename":"file1"},{"photo_id":"1332990770","filename":"file0"},{"photo_id":"1332991053","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332990770":["hashtag1","hashtag2"]},{"1332991007":["hashtag1","hashtag2"]},{"1332991053":["hashtag1","hashtag2"]},{"1332991056":["hashtag1","hashtag2"]},{"1332990885":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332990770, 1332991007, 1332991053, 1332991056, 1332990885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.82720327377319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:27:32.641778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/26/image_30012025_13_26_55_9332.jpg', '/home/pi/Desktop/images/30012025/13/26/image_30012025_13_27_06_10456.jpg', '/home/pi/Desktop/images/30012025/13/27/image_30012025_13_27_26_9448.jpg', '/home/pi/Desktop/images/30012025/13/27/image_30012025_13_27_36_10429.jpg', '/home/pi/Desktop/images/30012025/13/27/image_30012025_13_27_45_9329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/26/image_30012025_13_26_55_9332.jpg
/home/pi/Desktop/images/30012025/13/26/image_30012025_13_27_06_10456.jpg
/home/pi/Desktop/images/30012025/13/27/image_30012025_13_27_26_9448.jpg
/home/pi/Desktop/images/30012025/13/27/image_30012025_13_27_36_10429.jpg
/home/pi/Desktop/images/30012025/13/27/image_30012025_13_27_45_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: 0.514458417892456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 13:27:42.666394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/26/image_30012025_13_26_55_9332.jpg', '/home/pi/Desktop/images/30012025/13/26/image_30012025_13_27_06_10456.jpg', '/home/pi/Desktop/images/30012025/13/27/image_30012025_13_27_26_9448.jpg', '/home/pi/Desktop/images/30012025/13/27/image_30012025_13_27_36_10429.jpg', '/home/pi/Desktop/images/30012025/13/27/image_30012025_13_27_45_9329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/26/image_30012025_13_26_55_9332.jpg
/home/pi/Desktop/images/30012025/13/26/image_30012025_13_27_06_10456.jpg
/home/pi/Desktop/images/30012025/13/27/image_30012025_13_27_26_9448.jpg
/home/pi/Desktop/images/30012025/13/27/image_30012025_13_27_36_10429.jpg
/home/pi/Desktop/images/30012025/13/27/image_30012025_13_27_45_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":["1332991240","1332991243","1332991237","1332991234","1332991242"],"photo_ids_order":["1332991234","1332991237","1332991240","1332991242","1332991243"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/94bbb89c29cf6da14af5fd457259eb37.jpg","text":"TemporaryFile(/tmp/multipartBody5626487782206117402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240123758,"filename":"image_30012025_13_27_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/30/2b51eca6d2aedd92dec8562a9d471609.jpg","text":"TemporaryFile(/tmp/multipartBody4504277214238382407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240123758,"filename":"image_30012025_13_27_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/30/7fb971008cf3ad3b5aa28a56073c157b.jpg","text":"TemporaryFile(/tmp/multipartBody3081726348341995876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240123758,"filename":"image_30012025_13_27_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/30/34ff5564b666672c85937122bf6fedcc.jpg","text":"TemporaryFile(/tmp/multipartBody1758645117633001251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240123758,"filename":"image_30012025_13_26_55_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2795213c13bae8b20661efe64236d5d5.jpg","text":"TemporaryFile(/tmp/multipartBody5844638012853581100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240123758,"filename":"image_30012025_13_27_36_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332991240","file1":"1332991237","file0":"1332991234","file4":"1332991243","file3":"1332991242"},"map_files_photo_id_array":[{"photo_id":"1332991240","filename":"file2"},{"photo_id":"1332991243","filename":"file4"},{"photo_id":"1332991237","filename":"file1"},{"photo_id":"1332991234","filename":"file0"},{"photo_id":"1332991242","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332991240":["hashtag1","hashtag2"]},{"1332991243":["hashtag1","hashtag2"]},{"1332991237":["hashtag1","hashtag2"]},{"1332991234":["hashtag1","hashtag2"]},{"1332991242":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332991240, 1332991243, 1332991237, 1332991234, 1332991242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.967915296554565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:28:32.788219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/27/image_30012025_13_27_56_10406.jpg', '/home/pi/Desktop/images/30012025/13/27/image_30012025_13_28_06_10359.jpg', '/home/pi/Desktop/images/30012025/13/28/image_30012025_13_28_16_9333.jpg', '/home/pi/Desktop/images/30012025/13/28/image_30012025_13_28_26_10353.jpg', '/home/pi/Desktop/images/30012025/13/28/image_30012025_13_28_36_10338.jpg', '/home/pi/Desktop/images/30012025/13/28/image_30012025_13_28_46_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/27/image_30012025_13_27_56_10406.jpg
/home/pi/Desktop/images/30012025/13/27/image_30012025_13_28_06_10359.jpg
/home/pi/Desktop/images/30012025/13/28/image_30012025_13_28_16_9333.jpg
/home/pi/Desktop/images/30012025/13/28/image_30012025_13_28_26_10353.jpg
/home/pi/Desktop/images/30012025/13/28/image_30012025_13_28_36_10338.jpg
/home/pi/Desktop/images/30012025/13/28/image_30012025_13_28_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":["1332991311","1332991262","1332991364","1332991331","1332991326","1332991292"],"photo_ids_order":["1332991262","1332991292","1332991311","1332991326","1332991331","1332991364"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/97be6728b36aec70c2853d5965d84e01.jpg","text":"TemporaryFile(/tmp/multipartBody6235730744975471471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240173686,"filename":"image_30012025_13_28_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/30/294e3296eacf7ee9f2d248dab4d3d2a9.jpg","text":"TemporaryFile(/tmp/multipartBody1990678939252042806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240173686,"filename":"image_30012025_13_27_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/30/88dfa00042f565502ca0f5e12474a301.jpg","text":"TemporaryFile(/tmp/multipartBody3921330560943499905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240173686,"filename":"image_30012025_13_28_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/30/08a959ca13d89c1875e3c6163807ef00.jpg","text":"TemporaryFile(/tmp/multipartBody7135362871040226498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240173686,"filename":"image_30012025_13_28_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/30/a56d68085cb7cae616b439ae59b82852.jpg","text":"TemporaryFile(/tmp/multipartBody4913825241936234853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240173686,"filename":"image_30012025_13_28_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/30/6fce8ca3d691d367bccc34a3a54c4ce2.jpg","text":"TemporaryFile(/tmp/multipartBody191950522750248550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240173686,"filename":"image_30012025_13_28_06_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332991311","file1":"1332991292","file0":"1332991262","file4":"1332991331","file5":"1332991364","file3":"1332991326"},"map_files_photo_id_array":[{"photo_id":"1332991364","filename":"file5"},{"photo_id":"1332991311","filename":"file2"},{"photo_id":"1332991331","filename":"file4"},{"photo_id":"1332991292","filename":"file1"},{"photo_id":"1332991262","filename":"file0"},{"photo_id":"1332991326","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332991311":["hashtag1","hashtag2"]},{"1332991262":["hashtag1","hashtag2"]},{"1332991364":["hashtag1","hashtag2"]},{"1332991331":["hashtag1","hashtag2"]},{"1332991326":["hashtag1","hashtag2"]},{"1332991292":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332991311, 1332991262, 1332991364, 1332991331, 1332991326, 1332991292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.79316282272339 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:29:33.191240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/28/image_30012025_13_28_56_10454.jpg', '/home/pi/Desktop/images/30012025/13/28/image_30012025_13_29_05_9341.jpg', '/home/pi/Desktop/images/30012025/13/29/image_30012025_13_29_16_10337.jpg', '/home/pi/Desktop/images/30012025/13/29/image_30012025_13_29_26_10403.jpg', '/home/pi/Desktop/images/30012025/13/29/image_30012025_13_29_36_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/28/image_30012025_13_28_56_10454.jpg
/home/pi/Desktop/images/30012025/13/28/image_30012025_13_29_05_9341.jpg
/home/pi/Desktop/images/30012025/13/29/image_30012025_13_29_16_10337.jpg
/home/pi/Desktop/images/30012025/13/29/image_30012025_13_29_26_10403.jpg
/home/pi/Desktop/images/30012025/13/29/image_30012025_13_29_36_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":["1332991388","1332991396","1332991378","1332991383","1332991392"],"photo_ids_order":["1332991378","1332991383","1332991388","1332991392","1332991396"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fe524a1e02cd501602c603d484146caf.jpg","text":"TemporaryFile(/tmp/multipartBody5251218345034270002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240234075,"filename":"image_30012025_13_29_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/30/7f069c68969c05c990f66b64fd152bcc.jpg","text":"TemporaryFile(/tmp/multipartBody3341720185945010976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240234075,"filename":"image_30012025_13_29_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/30/9f97ec35b489b3825ef38720d9e9a9f5.jpg","text":"TemporaryFile(/tmp/multipartBody8272316554401585891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240234075,"filename":"image_30012025_13_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/30/34e9e280de28823591ef31b1728bc169.jpg","text":"TemporaryFile(/tmp/multipartBody580093412627173960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240234075,"filename":"image_30012025_13_29_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/30/568482e1d61fa01e79953f241af2fd29.jpg","text":"TemporaryFile(/tmp/multipartBody1615945836455169773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240234075,"filename":"image_30012025_13_29_26_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332991388","file1":"1332991383","file0":"1332991378","file4":"1332991396","file3":"1332991392"},"map_files_photo_id_array":[{"photo_id":"1332991388","filename":"file2"},{"photo_id":"1332991396","filename":"file4"},{"photo_id":"1332991383","filename":"file1"},{"photo_id":"1332991378","filename":"file0"},{"photo_id":"1332991392","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332991388":["hashtag1","hashtag2"]},{"1332991396":["hashtag1","hashtag2"]},{"1332991378":["hashtag1","hashtag2"]},{"1332991383":["hashtag1","hashtag2"]},{"1332991392":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332991388, 1332991396, 1332991378, 1332991383, 1332991392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.06108522415161 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:30:32.132173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/29/image_30012025_13_29_56_10367.jpg', '/home/pi/Desktop/images/30012025/13/29/image_30012025_13_30_06_9334.jpg', '/home/pi/Desktop/images/30012025/13/30/image_30012025_13_30_26_10344.jpg', '/home/pi/Desktop/images/30012025/13/30/image_30012025_13_30_36_9334.jpg', '/home/pi/Desktop/images/30012025/13/30/image_30012025_13_30_46_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/29/image_30012025_13_29_56_10367.jpg
/home/pi/Desktop/images/30012025/13/29/image_30012025_13_30_06_9334.jpg
/home/pi/Desktop/images/30012025/13/30/image_30012025_13_30_26_10344.jpg
/home/pi/Desktop/images/30012025/13/30/image_30012025_13_30_36_9334.jpg
/home/pi/Desktop/images/30012025/13/30/image_30012025_13_30_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":["1332991657","1332991729","1332991560","1332991755","1332991677"],"photo_ids_order":["1332991560","1332991657","1332991677","1332991729","1332991755"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3556664d471dda46775c6f85f13787ab.jpg","text":"TemporaryFile(/tmp/multipartBody4947245494677182736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240293018,"filename":"image_30012025_13_30_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/30/d1e7dbdeebafd1fe21784bf3eadc168d.jpg","text":"TemporaryFile(/tmp/multipartBody4447868360632624257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240293018,"filename":"image_30012025_13_30_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/30/777f2bfd1e4e5a057c51fdac819ca3a1.jpg","text":"TemporaryFile(/tmp/multipartBody7657105470704382743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240293018,"filename":"image_30012025_13_29_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/30/f5b5636f50493308c964546398488b40.jpg","text":"TemporaryFile(/tmp/multipartBody595021698761430984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240293018,"filename":"image_30012025_13_30_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/30/87e05d63f7a400063d85df974632b8d0.jpg","text":"TemporaryFile(/tmp/multipartBody6675143911008703969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240293018,"filename":"image_30012025_13_30_26_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332991677","file1":"1332991657","file0":"1332991560","file4":"1332991755","file3":"1332991729"},"map_files_photo_id_array":[{"photo_id":"1332991677","filename":"file2"},{"photo_id":"1332991755","filename":"file4"},{"photo_id":"1332991657","filename":"file1"},{"photo_id":"1332991560","filename":"file0"},{"photo_id":"1332991729","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332991657":["hashtag1","hashtag2"]},{"1332991729":["hashtag1","hashtag2"]},{"1332991560":["hashtag1","hashtag2"]},{"1332991755":["hashtag1","hashtag2"]},{"1332991677":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332991657, 1332991729, 1332991560, 1332991755, 1332991677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.97520208358765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:31:32.508672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/30/image_30012025_13_30_56_10336.jpg', '/home/pi/Desktop/images/30012025/13/30/image_30012025_13_31_06_9322.jpg', '/home/pi/Desktop/images/30012025/13/31/image_30012025_13_31_16_10337.jpg', '/home/pi/Desktop/images/30012025/13/31/image_30012025_13_31_25_9397.jpg', '/home/pi/Desktop/images/30012025/13/31/image_30012025_13_31_36_10506.jpg', '/home/pi/Desktop/images/30012025/13/31/image_30012025_13_31_46_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/30/image_30012025_13_30_56_10336.jpg
/home/pi/Desktop/images/30012025/13/30/image_30012025_13_31_06_9322.jpg
/home/pi/Desktop/images/30012025/13/31/image_30012025_13_31_16_10337.jpg
/home/pi/Desktop/images/30012025/13/31/image_30012025_13_31_25_9397.jpg
/home/pi/Desktop/images/30012025/13/31/image_30012025_13_31_36_10506.jpg
/home/pi/Desktop/images/30012025/13/31/image_30012025_13_31_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":["1332991829","1332991820","1332991837","1332991825","1332991834","1332991839"],"photo_ids_order":["1332991820","1332991825","1332991829","1332991834","1332991837","1332991839"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/58ef30a0d86338ffa79d16fd4d34cc91.jpg","text":"TemporaryFile(/tmp/multipartBody5332366631249158131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240353427,"filename":"image_30012025_13_31_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/30/f2a27e1a4b2e225c10afa71ba6fa21de.jpg","text":"TemporaryFile(/tmp/multipartBody5155974425263133048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240353427,"filename":"image_30012025_13_30_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/30/6a15001127ce7062161de1c6f6dfa91b.jpg","text":"TemporaryFile(/tmp/multipartBody2445899728745355198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240353427,"filename":"image_30012025_13_31_36_10506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5b9bae1413714bfa12a1ca39dba759fa.jpg","text":"TemporaryFile(/tmp/multipartBody7048049061311490702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240353427,"filename":"image_30012025_13_31_06_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2e354e15eabc10b6079db6bb26ac43e4.jpg","text":"TemporaryFile(/tmp/multipartBody6409192404385763244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240353427,"filename":"image_30012025_13_31_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/30/391873a6f187925ffefa98383fd8bf3c.jpg","text":"TemporaryFile(/tmp/multipartBody4398381269388530912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240353427,"filename":"image_30012025_13_31_46_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332991829","file1":"1332991825","file0":"1332991820","file4":"1332991837","file5":"1332991839","file3":"1332991834"},"map_files_photo_id_array":[{"photo_id":"1332991839","filename":"file5"},{"photo_id":"1332991829","filename":"file2"},{"photo_id":"1332991837","filename":"file4"},{"photo_id":"1332991825","filename":"file1"},{"photo_id":"1332991820","filename":"file0"},{"photo_id":"1332991834","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332991829":["hashtag1","hashtag2"]},{"1332991820":["hashtag1","hashtag2"]},{"1332991837":["hashtag1","hashtag2"]},{"1332991825":["hashtag1","hashtag2"]},{"1332991834":["hashtag1","hashtag2"]},{"1332991839":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332991829, 1332991820, 1332991837, 1332991825, 1332991834, 1332991839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.856518268585205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:32:32.528334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/31/image_30012025_13_31_56_9339.jpg', '/home/pi/Desktop/images/30012025/13/31/image_30012025_13_32_06_10374.jpg', '/home/pi/Desktop/images/30012025/13/32/image_30012025_13_32_16_10366.jpg', '/home/pi/Desktop/images/30012025/13/32/image_30012025_13_32_26_9397.jpg', '/home/pi/Desktop/images/30012025/13/32/image_30012025_13_32_36_10429.jpg', '/home/pi/Desktop/images/30012025/13/32/image_30012025_13_32_46_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/31/image_30012025_13_31_56_9339.jpg
/home/pi/Desktop/images/30012025/13/31/image_30012025_13_32_06_10374.jpg
/home/pi/Desktop/images/30012025/13/32/image_30012025_13_32_16_10366.jpg
/home/pi/Desktop/images/30012025/13/32/image_30012025_13_32_26_9397.jpg
/home/pi/Desktop/images/30012025/13/32/image_30012025_13_32_36_10429.jpg
/home/pi/Desktop/images/30012025/13/32/image_30012025_13_32_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":["1332991984","1332991966","1332991981","1332991977","1332991986","1332991971"],"photo_ids_order":["1332991966","1332991971","1332991977","1332991981","1332991984","1332991986"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cea8347289fb817edd064a96be038535.jpg","text":"TemporaryFile(/tmp/multipartBody7524246883392211953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240413437,"filename":"image_30012025_13_32_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/30/eafbc9949cd8a12738290bcdf1c5c7fb.jpg","text":"TemporaryFile(/tmp/multipartBody1947165618443110023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240413437,"filename":"image_30012025_13_31_56_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/644b069927e5adfb3a0125bee2edce90.jpg","text":"TemporaryFile(/tmp/multipartBody3547804119700051089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240413437,"filename":"image_30012025_13_32_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/30/c52651b1172e1fee638903daab90cdb6.jpg","text":"TemporaryFile(/tmp/multipartBody8787920204857289515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240413437,"filename":"image_30012025_13_32_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/30/4562273857317fa792d3871383b897f5.jpg","text":"TemporaryFile(/tmp/multipartBody5826547564296993374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240413437,"filename":"image_30012025_13_32_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/30/9fa73bc8510c99dab23c4abd6bc34e09.jpg","text":"TemporaryFile(/tmp/multipartBody4184758194775930868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240413437,"filename":"image_30012025_13_32_06_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332991977","file1":"1332991971","file0":"1332991966","file4":"1332991984","file5":"1332991986","file3":"1332991981"},"map_files_photo_id_array":[{"photo_id":"1332991986","filename":"file5"},{"photo_id":"1332991977","filename":"file2"},{"photo_id":"1332991984","filename":"file4"},{"photo_id":"1332991971","filename":"file1"},{"photo_id":"1332991966","filename":"file0"},{"photo_id":"1332991981","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332991984":["hashtag1","hashtag2"]},{"1332991966":["hashtag1","hashtag2"]},{"1332991981":["hashtag1","hashtag2"]},{"1332991977":["hashtag1","hashtag2"]},{"1332991986":["hashtag1","hashtag2"]},{"1332991971":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332991984, 1332991966, 1332991981, 1332991977, 1332991986, 1332991971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26796913146973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:33:32.704288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/32/image_30012025_13_32_56_10481.jpg', '/home/pi/Desktop/images/30012025/13/32/image_30012025_13_33_06_10350.jpg', '/home/pi/Desktop/images/30012025/13/33/image_30012025_13_33_16_9320.jpg', '/home/pi/Desktop/images/30012025/13/33/image_30012025_13_33_26_10338.jpg', '/home/pi/Desktop/images/30012025/13/33/image_30012025_13_33_36_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/32/image_30012025_13_32_56_10481.jpg
/home/pi/Desktop/images/30012025/13/32/image_30012025_13_33_06_10350.jpg
/home/pi/Desktop/images/30012025/13/33/image_30012025_13_33_16_9320.jpg
/home/pi/Desktop/images/30012025/13/33/image_30012025_13_33_26_10338.jpg
/home/pi/Desktop/images/30012025/13/33/image_30012025_13_33_36_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332992171","1332992165","1332992184","1332992180","1332992177"],"photo_ids_order":["1332992165","1332992171","1332992177","1332992180","1332992184"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d7a9bea412badd910093281ae43bd164.jpg","text":"TemporaryFile(/tmp/multipartBody8287409755982206895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240473582,"filename":"image_30012025_13_33_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/30/8381815d5095dcbbd28cb7af88edbfc0.jpg","text":"TemporaryFile(/tmp/multipartBody8140273244527062162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240473582,"filename":"image_30012025_13_32_56_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/30/7133747a0d94eee3ff61541bdd584717.jpg","text":"TemporaryFile(/tmp/multipartBody4407159908272890873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240473582,"filename":"image_30012025_13_33_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/30/566ef46753f4397a163e45b5a71effba.jpg","text":"TemporaryFile(/tmp/multipartBody243974354100295546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240473582,"filename":"image_30012025_13_33_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/30/f4986acc0cabc48e9445bcef3e2bd4a8.jpg","text":"TemporaryFile(/tmp/multipartBody6555803663531678588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240473582,"filename":"image_30012025_13_33_16_9320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332992177","file1":"1332992171","file0":"1332992165","file4":"1332992184","file3":"1332992180"},"map_files_photo_id_array":[{"photo_id":"1332992177","filename":"file2"},{"photo_id":"1332992184","filename":"file4"},{"photo_id":"1332992171","filename":"file1"},{"photo_id":"1332992165","filename":"file0"},{"photo_id":"1332992180","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332992171":["hashtag1","hashtag2"]},{"1332992165":["hashtag1","hashtag2"]},{"1332992184":["hashtag1","hashtag2"]},{"1332992180":["hashtag1","hashtag2"]},{"1332992177":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332992171, 1332992165, 1332992184, 1332992180, 1332992177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.87548303604126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:34:33.073816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/33/image_30012025_13_33_46_9349.jpg', '/home/pi/Desktop/images/30012025/13/33/image_30012025_13_34_05_9349.jpg', '/home/pi/Desktop/images/30012025/13/34/image_30012025_13_34_16_10446.jpg', '/home/pi/Desktop/images/30012025/13/34/image_30012025_13_34_26_10384.jpg', '/home/pi/Desktop/images/30012025/13/34/image_30012025_13_34_36_9346.jpg', '/home/pi/Desktop/images/30012025/13/34/image_30012025_13_34_46_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/33/image_30012025_13_33_46_9349.jpg
/home/pi/Desktop/images/30012025/13/33/image_30012025_13_34_05_9349.jpg
/home/pi/Desktop/images/30012025/13/34/image_30012025_13_34_16_10446.jpg
/home/pi/Desktop/images/30012025/13/34/image_30012025_13_34_26_10384.jpg
/home/pi/Desktop/images/30012025/13/34/image_30012025_13_34_36_9346.jpg
/home/pi/Desktop/images/30012025/13/34/image_30012025_13_34_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":["1332992216","1332992257","1332992203","1332992250","1332992253","1332992229"],"photo_ids_order":["1332992203","1332992216","1332992229","1332992250","1332992253","1332992257"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4e70bbcc9a338a821f417b870d41bf10.jpg","text":"TemporaryFile(/tmp/multipartBody7543073661371393928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240534362,"filename":"image_30012025_13_34_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/30/f69657cc43dd12b539b819495c80a157.jpg","text":"TemporaryFile(/tmp/multipartBody5290871214470221661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240534362,"filename":"image_30012025_13_34_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/30/da914c0da65fe3ad80b4ab42fd234c94.jpg","text":"TemporaryFile(/tmp/multipartBody8227462153154026577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240534362,"filename":"image_30012025_13_33_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/30/fdbf62bf228012aef6293233b42fa928.jpg","text":"TemporaryFile(/tmp/multipartBody8581790613147294754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240534362,"filename":"image_30012025_13_34_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/30/928b7673246c4ff78d54f7c9422de5d0.jpg","text":"TemporaryFile(/tmp/multipartBody663272334577069724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240534362,"filename":"image_30012025_13_34_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/30/b8d381c4ff9effb3e5728cbaca68590b.jpg","text":"TemporaryFile(/tmp/multipartBody3792645247669269215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240534362,"filename":"image_30012025_13_34_16_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332992229","file1":"1332992216","file0":"1332992203","file4":"1332992253","file5":"1332992257","file3":"1332992250"},"map_files_photo_id_array":[{"photo_id":"1332992257","filename":"file5"},{"photo_id":"1332992229","filename":"file2"},{"photo_id":"1332992253","filename":"file4"},{"photo_id":"1332992216","filename":"file1"},{"photo_id":"1332992203","filename":"file0"},{"photo_id":"1332992250","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332992216":["hashtag1","hashtag2"]},{"1332992257":["hashtag1","hashtag2"]},{"1332992203":["hashtag1","hashtag2"]},{"1332992250":["hashtag1","hashtag2"]},{"1332992253":["hashtag1","hashtag2"]},{"1332992229":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332992216, 1332992257, 1332992203, 1332992250, 1332992253, 1332992229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.951603412628174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:35:32.126017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/34/image_30012025_13_34_56_10422.jpg', '/home/pi/Desktop/images/30012025/13/34/image_30012025_13_35_06_9347.jpg', '/home/pi/Desktop/images/30012025/13/35/image_30012025_13_35_16_10348.jpg', '/home/pi/Desktop/images/30012025/13/35/image_30012025_13_35_25_9336.jpg', '/home/pi/Desktop/images/30012025/13/35/image_30012025_13_35_36_10362.jpg', '/home/pi/Desktop/images/30012025/13/35/image_30012025_13_35_46_10389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/34/image_30012025_13_34_56_10422.jpg
/home/pi/Desktop/images/30012025/13/34/image_30012025_13_35_06_9347.jpg
/home/pi/Desktop/images/30012025/13/35/image_30012025_13_35_16_10348.jpg
/home/pi/Desktop/images/30012025/13/35/image_30012025_13_35_25_9336.jpg
/home/pi/Desktop/images/30012025/13/35/image_30012025_13_35_36_10362.jpg
/home/pi/Desktop/images/30012025/13/35/image_30012025_13_35_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":["1332992435","1332992263","1332992359","1332992457","1332992421","1332992387"],"photo_ids_order":["1332992263","1332992359","1332992387","1332992421","1332992435","1332992457"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9fafdd37a35f790a7be2c32ffd5fbb45.jpg","text":"TemporaryFile(/tmp/multipartBody1011100886773170083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240593032,"filename":"image_30012025_13_35_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/30/ebdddbd48b98251d4aaf19f74dc3e030.jpg","text":"TemporaryFile(/tmp/multipartBody5455571367833801129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240593032,"filename":"image_30012025_13_34_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/30/5643f61b1e9ced6ae95a164d11172e4f.jpg","text":"TemporaryFile(/tmp/multipartBody678301782750540795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240593032,"filename":"image_30012025_13_35_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/30/60af371d59fd6c3d6f85c6b78d2e0ec7.jpg","text":"TemporaryFile(/tmp/multipartBody5319473229873582830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240593032,"filename":"image_30012025_13_35_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/30/49fa9d07d0750767f9b35621cf3762c4.jpg","text":"TemporaryFile(/tmp/multipartBody6541963642995880857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240593032,"filename":"image_30012025_13_35_25_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1b6f19da33bfdfd708f5e0ab68ac621c.jpg","text":"TemporaryFile(/tmp/multipartBody4700571278310534336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240593032,"filename":"image_30012025_13_35_16_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332992387","file1":"1332992359","file0":"1332992263","file4":"1332992435","file5":"1332992457","file3":"1332992421"},"map_files_photo_id_array":[{"photo_id":"1332992457","filename":"file5"},{"photo_id":"1332992387","filename":"file2"},{"photo_id":"1332992435","filename":"file4"},{"photo_id":"1332992359","filename":"file1"},{"photo_id":"1332992263","filename":"file0"},{"photo_id":"1332992421","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332992435":["hashtag1","hashtag2"]},{"1332992263":["hashtag1","hashtag2"]},{"1332992359":["hashtag1","hashtag2"]},{"1332992457":["hashtag1","hashtag2"]},{"1332992421":["hashtag1","hashtag2"]},{"1332992387":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332992435, 1332992263, 1332992359, 1332992457, 1332992421, 1332992387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.4603316783905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:36:32.491608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/35/image_30012025_13_35_56_9335.jpg', '/home/pi/Desktop/images/30012025/13/35/image_30012025_13_36_06_10390.jpg', '/home/pi/Desktop/images/30012025/13/36/image_30012025_13_36_16_10371.jpg', '/home/pi/Desktop/images/30012025/13/36/image_30012025_13_36_26_9341.jpg', '/home/pi/Desktop/images/30012025/13/36/image_30012025_13_36_36_10437.jpg', '/home/pi/Desktop/images/30012025/13/36/image_30012025_13_36_45_9368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/35/image_30012025_13_35_56_9335.jpg
/home/pi/Desktop/images/30012025/13/35/image_30012025_13_36_06_10390.jpg
/home/pi/Desktop/images/30012025/13/36/image_30012025_13_36_16_10371.jpg
/home/pi/Desktop/images/30012025/13/36/image_30012025_13_36_26_9341.jpg
/home/pi/Desktop/images/30012025/13/36/image_30012025_13_36_36_10437.jpg
/home/pi/Desktop/images/30012025/13/36/image_30012025_13_36_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":["1332992494","1332992482","1332992487","1332992472","1332992475","1332992492"],"photo_ids_order":["1332992472","1332992475","1332992482","1332992487","1332992492","1332992494"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e9f034e73cb766b985bdc4a9e19042f1.jpg","text":"TemporaryFile(/tmp/multipartBody5176709472362185463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240653388,"filename":"image_30012025_13_36_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/30/6751ef556568fc5495522aabf7f7997b.jpg","text":"TemporaryFile(/tmp/multipartBody6238301081659829043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240653388,"filename":"image_30012025_13_36_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/30/349a2df4f43d7b9fe5a05e8e4bcb6227.jpg","text":"TemporaryFile(/tmp/multipartBody739087448141612268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240653388,"filename":"image_30012025_13_36_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/30/433071ddbcb9804d1228689d7b2cd13e.jpg","text":"TemporaryFile(/tmp/multipartBody8979710807658413470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240653388,"filename":"image_30012025_13_35_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/30/999ae90b9396d4f5cad63a16e6198284.jpg","text":"TemporaryFile(/tmp/multipartBody2261012526774756976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240653388,"filename":"image_30012025_13_36_06_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/30/f5f468f89f891f205633951e3d1c4df2.jpg","text":"TemporaryFile(/tmp/multipartBody910031447477334140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240653388,"filename":"image_30012025_13_36_36_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332992482","file1":"1332992475","file0":"1332992472","file4":"1332992492","file5":"1332992494","file3":"1332992487"},"map_files_photo_id_array":[{"photo_id":"1332992494","filename":"file5"},{"photo_id":"1332992482","filename":"file2"},{"photo_id":"1332992492","filename":"file4"},{"photo_id":"1332992475","filename":"file1"},{"photo_id":"1332992472","filename":"file0"},{"photo_id":"1332992487","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332992494":["hashtag1","hashtag2"]},{"1332992482":["hashtag1","hashtag2"]},{"1332992487":["hashtag1","hashtag2"]},{"1332992472":["hashtag1","hashtag2"]},{"1332992475":["hashtag1","hashtag2"]},{"1332992492":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332992494, 1332992482, 1332992487, 1332992472, 1332992475, 1332992492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.629539251327515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:37:32.754290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/36/image_30012025_13_36_56_10545.jpg', '/home/pi/Desktop/images/30012025/13/36/image_30012025_13_37_05_9429.jpg', '/home/pi/Desktop/images/30012025/13/37/image_30012025_13_37_16_10119.jpg', '/home/pi/Desktop/images/30012025/13/37/image_30012025_13_37_26_10449.jpg', '/home/pi/Desktop/images/30012025/13/37/image_30012025_13_37_35_9524.jpg', '/home/pi/Desktop/images/30012025/13/37/image_30012025_13_37_46_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/36/image_30012025_13_36_56_10545.jpg
/home/pi/Desktop/images/30012025/13/36/image_30012025_13_37_05_9429.jpg
/home/pi/Desktop/images/30012025/13/37/image_30012025_13_37_16_10119.jpg
/home/pi/Desktop/images/30012025/13/37/image_30012025_13_37_26_10449.jpg
/home/pi/Desktop/images/30012025/13/37/image_30012025_13_37_35_9524.jpg
/home/pi/Desktop/images/30012025/13/37/image_30012025_13_37_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":["1332992522","1332992527","1332992547","1332992541","1332992550","1332992552"],"photo_ids_order":["1332992522","1332992527","1332992541","1332992547","1332992550","1332992552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a68be9a11fbb21131f20d9046fd4da2c.jpg","text":"TemporaryFile(/tmp/multipartBody4263831734687903974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240713667,"filename":"image_30012025_13_36_56_10545.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7def87308d528697dd9498d474bfcbe0.jpg","text":"TemporaryFile(/tmp/multipartBody5908787765584965332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240713667,"filename":"image_30012025_13_37_05_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/30/d80a816adc39bb2ca040875ed006c382.jpg","text":"TemporaryFile(/tmp/multipartBody3134227355498526765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240713667,"filename":"image_30012025_13_37_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/30/76fdcb250d2f1424dbc6dc3f798c2152.jpg","text":"TemporaryFile(/tmp/multipartBody2816656363997445693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240713667,"filename":"image_30012025_13_37_16_10119.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2027289b56460f95f21467176fa30943.jpg","text":"TemporaryFile(/tmp/multipartBody1004598056928027485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240713667,"filename":"image_30012025_13_37_35_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/30/8f11f416cf8eccccdf3801aad06637d8.jpg","text":"TemporaryFile(/tmp/multipartBody8400046885875075225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240713667,"filename":"image_30012025_13_37_46_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332992541","file1":"1332992527","file0":"1332992522","file4":"1332992550","file5":"1332992552","file3":"1332992547"},"map_files_photo_id_array":[{"photo_id":"1332992552","filename":"file5"},{"photo_id":"1332992541","filename":"file2"},{"photo_id":"1332992550","filename":"file4"},{"photo_id":"1332992527","filename":"file1"},{"photo_id":"1332992522","filename":"file0"},{"photo_id":"1332992547","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332992522":["hashtag1","hashtag2"]},{"1332992527":["hashtag1","hashtag2"]},{"1332992547":["hashtag1","hashtag2"]},{"1332992541":["hashtag1","hashtag2"]},{"1332992550":["hashtag1","hashtag2"]},{"1332992552":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332992522, 1332992527, 1332992547, 1332992541, 1332992550, 1332992552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.78669357299805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:38:33.008402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/37/image_30012025_13_37_56_10385.jpg', '/home/pi/Desktop/images/30012025/13/37/image_30012025_13_38_06_9426.jpg', '/home/pi/Desktop/images/30012025/13/38/image_30012025_13_38_16_10359.jpg', '/home/pi/Desktop/images/30012025/13/38/image_30012025_13_38_25_9323.jpg', '/home/pi/Desktop/images/30012025/13/38/image_30012025_13_38_36_10353.jpg', '/home/pi/Desktop/images/30012025/13/38/image_30012025_13_38_46_10461.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/37/image_30012025_13_37_56_10385.jpg
/home/pi/Desktop/images/30012025/13/37/image_30012025_13_38_06_9426.jpg
/home/pi/Desktop/images/30012025/13/38/image_30012025_13_38_16_10359.jpg
/home/pi/Desktop/images/30012025/13/38/image_30012025_13_38_25_9323.jpg
/home/pi/Desktop/images/30012025/13/38/image_30012025_13_38_36_10353.jpg
/home/pi/Desktop/images/30012025/13/38/image_30012025_13_38_46_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":["1332992572","1332992581","1332992562","1332992559","1332992585","1332992567"],"photo_ids_order":["1332992559","1332992562","1332992567","1332992572","1332992581","1332992585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e76f55eda7a09304c10966f92f20b42c.jpg","text":"TemporaryFile(/tmp/multipartBody1093832770336296999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240773908,"filename":"image_30012025_13_38_25_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/18357fa679d4b161f819cc8ce101ef4d.jpg","text":"TemporaryFile(/tmp/multipartBody261416135899633781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240773908,"filename":"image_30012025_13_38_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/30/4ca890d0b01614972038620418f88829.jpg","text":"TemporaryFile(/tmp/multipartBody6585713013413569943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240773908,"filename":"image_30012025_13_38_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/30/1ccd9097550a24a0c00b2832419971b5.jpg","text":"TemporaryFile(/tmp/multipartBody7795535185474668360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240773908,"filename":"image_30012025_13_37_56_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/30/ecaa19b6b2ccad62d12439a370bc65b7.jpg","text":"TemporaryFile(/tmp/multipartBody7385066493124912216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240773908,"filename":"image_30012025_13_38_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/30/36e3d9a64beb2913c10a923e7fc9a16e.jpg","text":"TemporaryFile(/tmp/multipartBody3281475305588241525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240773908,"filename":"image_30012025_13_38_16_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332992567","file1":"1332992562","file0":"1332992559","file4":"1332992581","file5":"1332992585","file3":"1332992572"},"map_files_photo_id_array":[{"photo_id":"1332992585","filename":"file5"},{"photo_id":"1332992567","filename":"file2"},{"photo_id":"1332992581","filename":"file4"},{"photo_id":"1332992562","filename":"file1"},{"photo_id":"1332992559","filename":"file0"},{"photo_id":"1332992572","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332992572":["hashtag1","hashtag2"]},{"1332992581":["hashtag1","hashtag2"]},{"1332992562":["hashtag1","hashtag2"]},{"1332992559":["hashtag1","hashtag2"]},{"1332992585":["hashtag1","hashtag2"]},{"1332992567":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332992572, 1332992581, 1332992562, 1332992559, 1332992585, 1332992567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.93705677986145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:39:32.209149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/38/image_30012025_13_38_56_9332.jpg', '/home/pi/Desktop/images/30012025/13/38/image_30012025_13_39_06_10440.jpg', '/home/pi/Desktop/images/30012025/13/39/image_30012025_13_39_16_10347.jpg', '/home/pi/Desktop/images/30012025/13/39/image_30012025_13_39_26_10045.jpg', '/home/pi/Desktop/images/30012025/13/39/image_30012025_13_39_36_9322.jpg', '/home/pi/Desktop/images/30012025/13/39/image_30012025_13_39_46_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/38/image_30012025_13_38_56_9332.jpg
/home/pi/Desktop/images/30012025/13/38/image_30012025_13_39_06_10440.jpg
/home/pi/Desktop/images/30012025/13/39/image_30012025_13_39_16_10347.jpg
/home/pi/Desktop/images/30012025/13/39/image_30012025_13_39_26_10045.jpg
/home/pi/Desktop/images/30012025/13/39/image_30012025_13_39_36_9322.jpg
/home/pi/Desktop/images/30012025/13/39/image_30012025_13_39_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":["1332992599","1332992603","1332992608","1332992595","1332992610","1332992591"],"photo_ids_order":["1332992591","1332992595","1332992599","1332992603","1332992608","1332992610"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bd936a737b80d06b71874e6f1e65f711.jpg","text":"TemporaryFile(/tmp/multipartBody849026554498732157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240833108,"filename":"image_30012025_13_39_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/30/51c51840191fc7df56ac515bee17c7d8.jpg","text":"TemporaryFile(/tmp/multipartBody7127517844379173252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240833108,"filename":"image_30012025_13_39_26_10045.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d8e3388a31c5b1d01fe3ce1377328d1e.jpg","text":"TemporaryFile(/tmp/multipartBody6809461210481783084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240833108,"filename":"image_30012025_13_39_36_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/20428d43088e5f4517e3a42615538035.jpg","text":"TemporaryFile(/tmp/multipartBody5038469132937957021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240833108,"filename":"image_30012025_13_39_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/30/9249bc4b017b0f41e5dc2ea08ce9fa6f.jpg","text":"TemporaryFile(/tmp/multipartBody7264065186473977173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240833108,"filename":"image_30012025_13_39_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/30/b8062c47b7dc7fd53d5b05608cd263a2.jpg","text":"TemporaryFile(/tmp/multipartBody4723591500101004847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240833108,"filename":"image_30012025_13_38_56_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332992599","file1":"1332992595","file0":"1332992591","file4":"1332992608","file5":"1332992610","file3":"1332992603"},"map_files_photo_id_array":[{"photo_id":"1332992610","filename":"file5"},{"photo_id":"1332992599","filename":"file2"},{"photo_id":"1332992608","filename":"file4"},{"photo_id":"1332992595","filename":"file1"},{"photo_id":"1332992591","filename":"file0"},{"photo_id":"1332992603","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332992599":["hashtag1","hashtag2"]},{"1332992603":["hashtag1","hashtag2"]},{"1332992608":["hashtag1","hashtag2"]},{"1332992595":["hashtag1","hashtag2"]},{"1332992610":["hashtag1","hashtag2"]},{"1332992591":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332992599, 1332992603, 1332992608, 1332992595, 1332992610, 1332992591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7692666053772 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:40:32.414739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/39/image_30012025_13_39_55_9336.jpg', '/home/pi/Desktop/images/30012025/13/39/image_30012025_13_40_06_10333.jpg', '/home/pi/Desktop/images/30012025/13/40/image_30012025_13_40_16_10433.jpg', '/home/pi/Desktop/images/30012025/13/40/image_30012025_13_40_26_9387.jpg', '/home/pi/Desktop/images/30012025/13/40/image_30012025_13_40_36_10488.jpg', '/home/pi/Desktop/images/30012025/13/40/image_30012025_13_40_45_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/39/image_30012025_13_39_55_9336.jpg
/home/pi/Desktop/images/30012025/13/39/image_30012025_13_40_06_10333.jpg
/home/pi/Desktop/images/30012025/13/40/image_30012025_13_40_16_10433.jpg
/home/pi/Desktop/images/30012025/13/40/image_30012025_13_40_26_9387.jpg
/home/pi/Desktop/images/30012025/13/40/image_30012025_13_40_36_10488.jpg
/home/pi/Desktop/images/30012025/13/40/image_30012025_13_40_45_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332992918","1332992944","1332992923","1332992937","1332992885","1332992957"],"photo_ids_order":["1332992885","1332992918","1332992923","1332992937","1332992944","1332992957"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a53916df6df472bd06cc5b10b4541489.jpg","text":"TemporaryFile(/tmp/multipartBody6494680571167299610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240893393,"filename":"image_30012025_13_40_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/30/269c25aa3a9ef72a9a74ffb8daf3cab3.jpg","text":"TemporaryFile(/tmp/multipartBody33982235683394157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240893393,"filename":"image_30012025_13_40_36_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/30/08a4dacd92824007ed378fc0a422ff89.jpg","text":"TemporaryFile(/tmp/multipartBody2068610752244797732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240893393,"filename":"image_30012025_13_40_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/30/57af88c94698a42b7ebc2afa3466d972.jpg","text":"TemporaryFile(/tmp/multipartBody1467208251251359197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240893393,"filename":"image_30012025_13_40_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/30/a50590bc3cd1b342576bb68486dbf62e.jpg","text":"TemporaryFile(/tmp/multipartBody753385470050714938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240893393,"filename":"image_30012025_13_39_55_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/43da38e73c10cc39e67e9bebb83c6bc1.jpg","text":"TemporaryFile(/tmp/multipartBody6793962794488208194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240893393,"filename":"image_30012025_13_40_45_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332992923","file1":"1332992918","file0":"1332992885","file4":"1332992944","file5":"1332992957","file3":"1332992937"},"map_files_photo_id_array":[{"photo_id":"1332992957","filename":"file5"},{"photo_id":"1332992923","filename":"file2"},{"photo_id":"1332992944","filename":"file4"},{"photo_id":"1332992918","filename":"file1"},{"photo_id":"1332992885","filename":"file0"},{"photo_id":"1332992937","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332992918":["hashtag1","hashtag2"]},{"1332992944":["hashtag1","hashtag2"]},{"1332992923":["hashtag1","hashtag2"]},{"1332992937":["hashtag1","hashtag2"]},{"1332992885":["hashtag1","hashtag2"]},{"1332992957":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332992918, 1332992944, 1332992923, 1332992937, 1332992885, 1332992957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.879793643951416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:41:32.767744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/40/image_30012025_13_40_56_10360.jpg', '/home/pi/Desktop/images/30012025/13/40/image_30012025_13_41_06_10411.jpg', '/home/pi/Desktop/images/30012025/13/41/image_30012025_13_41_16_9350.jpg', '/home/pi/Desktop/images/30012025/13/41/image_30012025_13_41_26_10452.jpg', '/home/pi/Desktop/images/30012025/13/41/image_30012025_13_41_36_10364.jpg', '/home/pi/Desktop/images/30012025/13/41/image_30012025_13_41_46_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/40/image_30012025_13_40_56_10360.jpg
/home/pi/Desktop/images/30012025/13/40/image_30012025_13_41_06_10411.jpg
/home/pi/Desktop/images/30012025/13/41/image_30012025_13_41_16_9350.jpg
/home/pi/Desktop/images/30012025/13/41/image_30012025_13_41_26_10452.jpg
/home/pi/Desktop/images/30012025/13/41/image_30012025_13_41_36_10364.jpg
/home/pi/Desktop/images/30012025/13/41/image_30012025_13_41_46_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332993427","1332993243","1332993417","1332993204","1332993167","1332993227"],"photo_ids_order":["1332993167","1332993204","1332993227","1332993243","1332993417","1332993427"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/02201cb5428e4d7d09489c819504875d.jpg","text":"TemporaryFile(/tmp/multipartBody1290601521651458303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240953678,"filename":"image_30012025_13_41_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/30/95f97d919be1b128cf8c8ca77ba32995.jpg","text":"TemporaryFile(/tmp/multipartBody2015926845871039382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240953678,"filename":"image_30012025_13_41_26_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/30/a5fce50f9a8492e0eae3938fa06225c0.jpg","text":"TemporaryFile(/tmp/multipartBody7386898483922254860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240953678,"filename":"image_30012025_13_41_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/30/a5fcadabe7aa6f635e23e1071b1be8da.jpg","text":"TemporaryFile(/tmp/multipartBody980484331674988600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240953678,"filename":"image_30012025_13_41_06_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/235fa7866ece8ffe6273b27c98a988b7.jpg","text":"TemporaryFile(/tmp/multipartBody4915807459770634240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240953678,"filename":"image_30012025_13_40_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/30/cc5036de26b5d96aae86bbd3f9ac302b.jpg","text":"TemporaryFile(/tmp/multipartBody1013088888030924430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738240953678,"filename":"image_30012025_13_41_16_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332993227","file1":"1332993204","file0":"1332993167","file4":"1332993417","file5":"1332993427","file3":"1332993243"},"map_files_photo_id_array":[{"photo_id":"1332993427","filename":"file5"},{"photo_id":"1332993227","filename":"file2"},{"photo_id":"1332993417","filename":"file4"},{"photo_id":"1332993204","filename":"file1"},{"photo_id":"1332993167","filename":"file0"},{"photo_id":"1332993243","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332993427":["hashtag1","hashtag2"]},{"1332993243":["hashtag1","hashtag2"]},{"1332993417":["hashtag1","hashtag2"]},{"1332993204":["hashtag1","hashtag2"]},{"1332993167":["hashtag1","hashtag2"]},{"1332993227":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332993427, 1332993243, 1332993417, 1332993204, 1332993167, 1332993227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7992377281189 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:42:32.872579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/41/image_30012025_13_41_56_10350.jpg', '/home/pi/Desktop/images/30012025/13/41/image_30012025_13_42_06_10352.jpg', '/home/pi/Desktop/images/30012025/13/42/image_30012025_13_42_16_9318.jpg', '/home/pi/Desktop/images/30012025/13/42/image_30012025_13_42_26_10411.jpg', '/home/pi/Desktop/images/30012025/13/42/image_30012025_13_42_35_9352.jpg', '/home/pi/Desktop/images/30012025/13/42/image_30012025_13_42_46_10408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/41/image_30012025_13_41_56_10350.jpg
/home/pi/Desktop/images/30012025/13/41/image_30012025_13_42_06_10352.jpg
/home/pi/Desktop/images/30012025/13/42/image_30012025_13_42_16_9318.jpg
/home/pi/Desktop/images/30012025/13/42/image_30012025_13_42_26_10411.jpg
/home/pi/Desktop/images/30012025/13/42/image_30012025_13_42_35_9352.jpg
/home/pi/Desktop/images/30012025/13/42/image_30012025_13_42_46_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":["1332993502","1332993498","1332993483","1332993486","1332993494","1332993490"],"photo_ids_order":["1332993483","1332993486","1332993490","1332993494","1332993498","1332993502"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c4b7d6d3647b865ba890fd223b318c52.jpg","text":"TemporaryFile(/tmp/multipartBody4799545049084841186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241013780,"filename":"image_30012025_13_42_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/30/f318bb6408c5d1eab567ff3db5aded48.jpg","text":"TemporaryFile(/tmp/multipartBody3657539195725556113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241013780,"filename":"image_30012025_13_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/30/1fadfb3174aaeb0ae2b4c60fd521fe26.jpg","text":"TemporaryFile(/tmp/multipartBody4197517558356532558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241013780,"filename":"image_30012025_13_41_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/30/5cb419bc73931180efc49633b2ff397c.jpg","text":"TemporaryFile(/tmp/multipartBody8738727102722241640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241013780,"filename":"image_30012025_13_42_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/30/83852c628cac737ec30d5b1612f68e25.jpg","text":"TemporaryFile(/tmp/multipartBody8737812787951528395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241013780,"filename":"image_30012025_13_42_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/30/5d4bdf1881c839c4cf73972a64e837e2.jpg","text":"TemporaryFile(/tmp/multipartBody2864496149405058332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241013780,"filename":"image_30012025_13_42_16_9318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332993490","file1":"1332993486","file0":"1332993483","file4":"1332993498","file5":"1332993502","file3":"1332993494"},"map_files_photo_id_array":[{"photo_id":"1332993502","filename":"file5"},{"photo_id":"1332993490","filename":"file2"},{"photo_id":"1332993498","filename":"file4"},{"photo_id":"1332993486","filename":"file1"},{"photo_id":"1332993483","filename":"file0"},{"photo_id":"1332993494","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332993502":["hashtag1","hashtag2"]},{"1332993498":["hashtag1","hashtag2"]},{"1332993483":["hashtag1","hashtag2"]},{"1332993486":["hashtag1","hashtag2"]},{"1332993494":["hashtag1","hashtag2"]},{"1332993490":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332993502, 1332993498, 1332993483, 1332993486, 1332993494, 1332993490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.12509274482727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:43:32.119932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/42/image_30012025_13_42_56_10416.jpg', '/home/pi/Desktop/images/30012025/13/42/image_30012025_13_43_06_9328.jpg', '/home/pi/Desktop/images/30012025/13/43/image_30012025_13_43_16_10337.jpg', '/home/pi/Desktop/images/30012025/13/43/image_30012025_13_43_26_10363.jpg', '/home/pi/Desktop/images/30012025/13/43/image_30012025_13_43_36_9355.jpg', '/home/pi/Desktop/images/30012025/13/43/image_30012025_13_43_46_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/42/image_30012025_13_42_56_10416.jpg
/home/pi/Desktop/images/30012025/13/42/image_30012025_13_43_06_9328.jpg
/home/pi/Desktop/images/30012025/13/43/image_30012025_13_43_16_10337.jpg
/home/pi/Desktop/images/30012025/13/43/image_30012025_13_43_26_10363.jpg
/home/pi/Desktop/images/30012025/13/43/image_30012025_13_43_36_9355.jpg
/home/pi/Desktop/images/30012025/13/43/image_30012025_13_43_46_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":["1332993634","1332993637","1332993660","1332993630","1332993641","1332993665"],"photo_ids_order":["1332993630","1332993634","1332993637","1332993641","1332993660","1332993665"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a006e0149a2b384beae0f2ff4b07afb6.jpg","text":"TemporaryFile(/tmp/multipartBody8042300856197976927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241073036,"filename":"image_30012025_13_43_06_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4a9e49e9e3ad45f113516a555f0dda35.jpg","text":"TemporaryFile(/tmp/multipartBody1211901290070850244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241073036,"filename":"image_30012025_13_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/30/aff6fe51b7b9684656207a493f43830d.jpg","text":"TemporaryFile(/tmp/multipartBody9212603030099680961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241073036,"filename":"image_30012025_13_43_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/30/0588622a8cee9cb3d316144285335d1f.jpg","text":"TemporaryFile(/tmp/multipartBody3261075872504106166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241073036,"filename":"image_30012025_13_42_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/30/9b0442d4ff64ae1c77d3a6576ff9c8c2.jpg","text":"TemporaryFile(/tmp/multipartBody5727023195539676862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241073036,"filename":"image_30012025_13_43_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/30/4acf912bb1ebe9d9ca0b66d9f8fce07f.jpg","text":"TemporaryFile(/tmp/multipartBody5194045021067631276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241073036,"filename":"image_30012025_13_43_46_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332993637","file1":"1332993634","file0":"1332993630","file4":"1332993660","file5":"1332993665","file3":"1332993641"},"map_files_photo_id_array":[{"photo_id":"1332993665","filename":"file5"},{"photo_id":"1332993637","filename":"file2"},{"photo_id":"1332993660","filename":"file4"},{"photo_id":"1332993634","filename":"file1"},{"photo_id":"1332993630","filename":"file0"},{"photo_id":"1332993641","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332993634":["hashtag1","hashtag2"]},{"1332993637":["hashtag1","hashtag2"]},{"1332993660":["hashtag1","hashtag2"]},{"1332993630":["hashtag1","hashtag2"]},{"1332993641":["hashtag1","hashtag2"]},{"1332993665":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332993634, 1332993637, 1332993660, 1332993630, 1332993641, 1332993665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.392728328704834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:44:32.394093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/43/image_30012025_13_43_55_9355.jpg', '/home/pi/Desktop/images/30012025/13/43/image_30012025_13_44_06_10425.jpg', '/home/pi/Desktop/images/30012025/13/44/image_30012025_13_44_16_10338.jpg', '/home/pi/Desktop/images/30012025/13/44/image_30012025_13_44_26_9359.jpg', '/home/pi/Desktop/images/30012025/13/44/image_30012025_13_44_36_10416.jpg', '/home/pi/Desktop/images/30012025/13/44/image_30012025_13_44_46_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/43/image_30012025_13_43_55_9355.jpg
/home/pi/Desktop/images/30012025/13/43/image_30012025_13_44_06_10425.jpg
/home/pi/Desktop/images/30012025/13/44/image_30012025_13_44_16_10338.jpg
/home/pi/Desktop/images/30012025/13/44/image_30012025_13_44_26_9359.jpg
/home/pi/Desktop/images/30012025/13/44/image_30012025_13_44_36_10416.jpg
/home/pi/Desktop/images/30012025/13/44/image_30012025_13_44_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":["1332993856","1332993858","1332993843","1332993851","1332993854","1332993848"],"photo_ids_order":["1332993843","1332993848","1332993851","1332993854","1332993856","1332993858"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9f1ba6e366f20657c2762ce190500642.jpg","text":"TemporaryFile(/tmp/multipartBody738482279879093248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241133302,"filename":"image_30012025_13_44_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/30/622f6aff1df2da843d6d12cac64bd2fa.jpg","text":"TemporaryFile(/tmp/multipartBody6949041503481112047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241133302,"filename":"image_30012025_13_44_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/30/3750af3affcaaaa4bd122edba0f25968.jpg","text":"TemporaryFile(/tmp/multipartBody1718983489247270099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241133302,"filename":"image_30012025_13_43_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/30/7e3b198ca094d34bb2c3b12907414200.jpg","text":"TemporaryFile(/tmp/multipartBody562959577343331374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241133302,"filename":"image_30012025_13_44_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/30/aabbbc9d4b1aa9554f9a6e48fd8e8f4d.jpg","text":"TemporaryFile(/tmp/multipartBody7672434585839777593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241133302,"filename":"image_30012025_13_44_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/30/0f54afcea8e5c8038bf009847334fc3c.jpg","text":"TemporaryFile(/tmp/multipartBody7949674156100875626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241133302,"filename":"image_30012025_13_44_06_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332993851","file1":"1332993848","file0":"1332993843","file4":"1332993856","file5":"1332993858","file3":"1332993854"},"map_files_photo_id_array":[{"photo_id":"1332993858","filename":"file5"},{"photo_id":"1332993851","filename":"file2"},{"photo_id":"1332993856","filename":"file4"},{"photo_id":"1332993848","filename":"file1"},{"photo_id":"1332993843","filename":"file0"},{"photo_id":"1332993854","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332993856":["hashtag1","hashtag2"]},{"1332993858":["hashtag1","hashtag2"]},{"1332993843":["hashtag1","hashtag2"]},{"1332993851":["hashtag1","hashtag2"]},{"1332993854":["hashtag1","hashtag2"]},{"1332993848":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332993856, 1332993858, 1332993843, 1332993851, 1332993854, 1332993848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9960777759552 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:45:32.503058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/44/image_30012025_13_44_56_9335.jpg', '/home/pi/Desktop/images/30012025/13/44/image_30012025_13_45_06_10359.jpg', '/home/pi/Desktop/images/30012025/13/45/image_30012025_13_45_16_10337.jpg', '/home/pi/Desktop/images/30012025/13/45/image_30012025_13_45_26_9345.jpg', '/home/pi/Desktop/images/30012025/13/45/image_30012025_13_45_36_10340.jpg', '/home/pi/Desktop/images/30012025/13/45/image_30012025_13_45_45_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/44/image_30012025_13_44_56_9335.jpg
/home/pi/Desktop/images/30012025/13/44/image_30012025_13_45_06_10359.jpg
/home/pi/Desktop/images/30012025/13/45/image_30012025_13_45_16_10337.jpg
/home/pi/Desktop/images/30012025/13/45/image_30012025_13_45_26_9345.jpg
/home/pi/Desktop/images/30012025/13/45/image_30012025_13_45_36_10340.jpg
/home/pi/Desktop/images/30012025/13/45/image_30012025_13_45_45_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":["1332994048","1332994033","1332994102","1332994038","1332994043","1332994141"],"photo_ids_order":["1332994033","1332994038","1332994043","1332994048","1332994102","1332994141"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/54094202d1911e113002e0c948460847.jpg","text":"TemporaryFile(/tmp/multipartBody7623515312534557875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241193645,"filename":"image_30012025_13_45_26_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c3f7641ac66efa9c1fc0317f5f076270.jpg","text":"TemporaryFile(/tmp/multipartBody1761966457043213986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241193645,"filename":"image_30012025_13_44_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/30/1f23fbacceb813fc88b3d76ab83ea8f2.jpg","text":"TemporaryFile(/tmp/multipartBody5135236450256958063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241193645,"filename":"image_30012025_13_45_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/30/cd79ba6263e5254d29be0c331bae027a.jpg","text":"TemporaryFile(/tmp/multipartBody1877517998629377449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241193645,"filename":"image_30012025_13_45_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/30/aa01722978660b3c2d46a088ccad9899.jpg","text":"TemporaryFile(/tmp/multipartBody5212666504090453327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241193645,"filename":"image_30012025_13_45_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/30/7046f8262236a619c44f207ea5ab4e0f.jpg","text":"TemporaryFile(/tmp/multipartBody3022778368840522712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241193645,"filename":"image_30012025_13_45_45_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332994043","file1":"1332994038","file0":"1332994033","file4":"1332994102","file5":"1332994141","file3":"1332994048"},"map_files_photo_id_array":[{"photo_id":"1332994141","filename":"file5"},{"photo_id":"1332994043","filename":"file2"},{"photo_id":"1332994102","filename":"file4"},{"photo_id":"1332994038","filename":"file1"},{"photo_id":"1332994033","filename":"file0"},{"photo_id":"1332994048","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332994048":["hashtag1","hashtag2"]},{"1332994033":["hashtag1","hashtag2"]},{"1332994102":["hashtag1","hashtag2"]},{"1332994038":["hashtag1","hashtag2"]},{"1332994043":["hashtag1","hashtag2"]},{"1332994141":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332994048, 1332994033, 1332994102, 1332994038, 1332994043, 1332994141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84693884849548 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:46:32.908282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/45/image_30012025_13_45_56_10343.jpg', '/home/pi/Desktop/images/30012025/13/45/image_30012025_13_46_06_10393.jpg', '/home/pi/Desktop/images/30012025/13/46/image_30012025_13_46_36_10364.jpg', '/home/pi/Desktop/images/30012025/13/46/image_30012025_13_46_46_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/45/image_30012025_13_45_56_10343.jpg
/home/pi/Desktop/images/30012025/13/45/image_30012025_13_46_06_10393.jpg
/home/pi/Desktop/images/30012025/13/46/image_30012025_13_46_36_10364.jpg
/home/pi/Desktop/images/30012025/13/46/image_30012025_13_46_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":["1332994269","1332994274","1332994340","1332994294"],"photo_ids_order":["1332994269","1332994274","1332994294","1332994340"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c0413e3661ca19626a0dc4f2f948c564.jpg","text":"TemporaryFile(/tmp/multipartBody2806503217809528415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241253778,"filename":"image_30012025_13_45_56_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/589c28cd4f0daaa136007d548f1ec565.jpg","text":"TemporaryFile(/tmp/multipartBody5777945381803443888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241253778,"filename":"image_30012025_13_46_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/30/da70c4b7b5b0780488affe45e4b7f8cd.jpg","text":"TemporaryFile(/tmp/multipartBody3004987301438671064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241253778,"filename":"image_30012025_13_46_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/30/1a2682e7c18631c3e3c3d3edaea311d2.jpg","text":"TemporaryFile(/tmp/multipartBody3577469620224550634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241253778,"filename":"image_30012025_13_46_36_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332994294","file1":"1332994274","file0":"1332994269","file3":"1332994340"},"map_files_photo_id_array":[{"photo_id":"1332994294","filename":"file2"},{"photo_id":"1332994274","filename":"file1"},{"photo_id":"1332994269","filename":"file0"},{"photo_id":"1332994340","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332994269":["hashtag1","hashtag2"]},{"1332994274":["hashtag1","hashtag2"]},{"1332994340":["hashtag1","hashtag2"]},{"1332994294":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332994269, 1332994274, 1332994340, 1332994294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.955013275146484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 13:47:04.570225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/09/image_28012025_21_09_16_10407.jpg', '/home/pi/Desktop/images/28012025/21/09/image_28012025_21_09_25_9359.jpg', '/home/pi/Desktop/images/28012025/21/09/image_28012025_21_09_35_10438.jpg', '/home/pi/Desktop/images/28012025/21/09/image_28012025_21_09_45_9407.jpg', '/home/pi/Desktop/images/28012025/21/09/image_28012025_21_09_55_10485.jpg', '/home/pi/Desktop/images/28012025/21/09/image_28012025_21_10_06_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/09/image_28012025_21_09_16_10407.jpg
/home/pi/Desktop/images/28012025/21/09/image_28012025_21_09_25_9359.jpg
/home/pi/Desktop/images/28012025/21/09/image_28012025_21_09_35_10438.jpg
/home/pi/Desktop/images/28012025/21/09/image_28012025_21_09_45_9407.jpg
/home/pi/Desktop/images/28012025/21/09/image_28012025_21_09_55_10485.jpg
/home/pi/Desktop/images/28012025/21/09/image_28012025_21_10_06_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":["1332994627","1332994578","1332994700","1332994696","1332994660","1332994576"],"photo_ids_order":["1332994576","1332994578","1332994627","1332994660","1332994696","1332994700"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/aa1e0f5dfb14905232785631fbeca7b6.jpg","text":"TemporaryFile(/tmp/multipartBody1974208999833135693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241286601,"filename":"image_28012025_21_09_35_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d7f788f35e72bd6d8378585a20bf9df2.jpg","text":"TemporaryFile(/tmp/multipartBody8414862305006924964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241286601,"filename":"image_28012025_21_09_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/30/7f946a8927aea18896d950f1cf223f4b.jpg","text":"TemporaryFile(/tmp/multipartBody4299340792867705947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241286601,"filename":"image_28012025_21_10_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/30/5c77e32aa628927b033f929afc8d69df.jpg","text":"TemporaryFile(/tmp/multipartBody7436072555001524612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241286601,"filename":"image_28012025_21_09_55_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/30/2d2496bb01a4bfe569c29c0e38241ed3.jpg","text":"TemporaryFile(/tmp/multipartBody167189612993548849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241286601,"filename":"image_28012025_21_09_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/30/8779d92a93b4092a89b8a631032f810f.jpg","text":"TemporaryFile(/tmp/multipartBody3279104826137211809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241286601,"filename":"image_28012025_21_09_16_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332994627","file1":"1332994578","file0":"1332994576","file4":"1332994696","file5":"1332994700","file3":"1332994660"},"map_files_photo_id_array":[{"photo_id":"1332994700","filename":"file5"},{"photo_id":"1332994627","filename":"file2"},{"photo_id":"1332994696","filename":"file4"},{"photo_id":"1332994578","filename":"file1"},{"photo_id":"1332994576","filename":"file0"},{"photo_id":"1332994660","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332994627":["hashtag1","hashtag2"]},{"1332994578":["hashtag1","hashtag2"]},{"1332994700":["hashtag1","hashtag2"]},{"1332994696":["hashtag1","hashtag2"]},{"1332994660":["hashtag1","hashtag2"]},{"1332994576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332994627, 1332994578, 1332994700, 1332994696, 1332994660, 1332994576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.900001525878906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:47:53.002690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/46/image_30012025_13_46_56_10409.jpg', '/home/pi/Desktop/images/30012025/13/46/image_30012025_13_47_06_10334.jpg', '/home/pi/Desktop/images/30012025/13/47/image_30012025_13_47_16_9360.jpg', '/home/pi/Desktop/images/30012025/13/47/image_30012025_13_47_26_10365.jpg', '/home/pi/Desktop/images/30012025/13/47/image_30012025_13_47_35_9344.jpg', '/home/pi/Desktop/images/30012025/13/47/image_30012025_13_47_46_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/46/image_30012025_13_46_56_10409.jpg
/home/pi/Desktop/images/30012025/13/46/image_30012025_13_47_06_10334.jpg
/home/pi/Desktop/images/30012025/13/47/image_30012025_13_47_16_9360.jpg
/home/pi/Desktop/images/30012025/13/47/image_30012025_13_47_26_10365.jpg
/home/pi/Desktop/images/30012025/13/47/image_30012025_13_47_35_9344.jpg
/home/pi/Desktop/images/30012025/13/47/image_30012025_13_47_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":["1332994767","1332994761","1332994758","1332994763","1332994756","1332994765"],"photo_ids_order":["1332994756","1332994758","1332994761","1332994763","1332994765","1332994767"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2fffbbf0a70a03abab41a763d1d43e4a.jpg","text":"TemporaryFile(/tmp/multipartBody7082227174017644134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241333907,"filename":"image_30012025_13_47_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/30/febddf76ec1b2f969405095f2b1b3ec5.jpg","text":"TemporaryFile(/tmp/multipartBody4066560483138789940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241333907,"filename":"image_30012025_13_47_16_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/30/8729cf8b3c2d0076557540c82da4d946.jpg","text":"TemporaryFile(/tmp/multipartBody1822050601719054529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241333907,"filename":"image_30012025_13_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/30/bc016c7d2b4f662b6770a98e9622dbe7.jpg","text":"TemporaryFile(/tmp/multipartBody9170296918544231661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241333907,"filename":"image_30012025_13_47_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/30/b1a02869391c38f2deca365bce72ca50.jpg","text":"TemporaryFile(/tmp/multipartBody3608718229117968094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241333907,"filename":"image_30012025_13_46_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/30/6be967bb5f301e81ef43e30c8ffa77f3.jpg","text":"TemporaryFile(/tmp/multipartBody2064651862917142175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241333907,"filename":"image_30012025_13_47_35_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332994761","file1":"1332994758","file0":"1332994756","file4":"1332994765","file5":"1332994767","file3":"1332994763"},"map_files_photo_id_array":[{"photo_id":"1332994767","filename":"file5"},{"photo_id":"1332994761","filename":"file2"},{"photo_id":"1332994765","filename":"file4"},{"photo_id":"1332994758","filename":"file1"},{"photo_id":"1332994756","filename":"file0"},{"photo_id":"1332994763","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332994767":["hashtag1","hashtag2"]},{"1332994761":["hashtag1","hashtag2"]},{"1332994758":["hashtag1","hashtag2"]},{"1332994763":["hashtag1","hashtag2"]},{"1332994756":["hashtag1","hashtag2"]},{"1332994765":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332994767, 1332994761, 1332994758, 1332994763, 1332994756, 1332994765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.79434895515442 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 13:48:42.291411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/47/image_30012025_13_47_56_10352.jpg', '/home/pi/Desktop/images/30012025/13/47/image_30012025_13_48_05_9349.jpg', '/home/pi/Desktop/images/30012025/13/48/image_30012025_13_48_16_10438.jpg', '/home/pi/Desktop/images/30012025/13/48/image_30012025_13_48_36_9415.jpg', '/home/pi/Desktop/images/30012025/13/48/image_30012025_13_48_46_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/47/image_30012025_13_47_56_10352.jpg
/home/pi/Desktop/images/30012025/13/47/image_30012025_13_48_05_9349.jpg
/home/pi/Desktop/images/30012025/13/48/image_30012025_13_48_16_10438.jpg
/home/pi/Desktop/images/30012025/13/48/image_30012025_13_48_36_9415.jpg
/home/pi/Desktop/images/30012025/13/48/image_30012025_13_48_46_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.4949495792388916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:48:52.195074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/47/image_30012025_13_47_56_10352.jpg', '/home/pi/Desktop/images/30012025/13/47/image_30012025_13_48_05_9349.jpg', '/home/pi/Desktop/images/30012025/13/48/image_30012025_13_48_16_10438.jpg', '/home/pi/Desktop/images/30012025/13/48/image_30012025_13_48_36_9415.jpg', '/home/pi/Desktop/images/30012025/13/48/image_30012025_13_48_46_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/47/image_30012025_13_47_56_10352.jpg
/home/pi/Desktop/images/30012025/13/47/image_30012025_13_48_05_9349.jpg
/home/pi/Desktop/images/30012025/13/48/image_30012025_13_48_16_10438.jpg
/home/pi/Desktop/images/30012025/13/48/image_30012025_13_48_36_9415.jpg
/home/pi/Desktop/images/30012025/13/48/image_30012025_13_48_46_10429.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332994797","1332994788","1332994796","1332994792","1332994795"],"photo_ids_order":["1332994788","1332994792","1332994795","1332994796","1332994797"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e0ef78f025b0626edd160f62e1ae2fba.jpg","text":"TemporaryFile(/tmp/multipartBody8658152356843729955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241393085,"filename":"image_30012025_13_48_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/30/c80bd2f210546c99d63e6f5aea995dc1.jpg","text":"TemporaryFile(/tmp/multipartBody4022449438569905517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241393085,"filename":"image_30012025_13_47_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/30/18f30f211a6473dd5919bf1f6110a22d.jpg","text":"TemporaryFile(/tmp/multipartBody8555761803093393442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241393085,"filename":"image_30012025_13_48_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/30/0313718bd2a99e040d3fa9fd1a15eac5.jpg","text":"TemporaryFile(/tmp/multipartBody7443603529787636449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241393085,"filename":"image_30012025_13_48_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/30/e64ff5aa809e37ac0e4c80fcb9f3fa75.jpg","text":"TemporaryFile(/tmp/multipartBody3276886479893512807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241393085,"filename":"image_30012025_13_48_16_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332994795","file1":"1332994792","file0":"1332994788","file4":"1332994797","file3":"1332994796"},"map_files_photo_id_array":[{"photo_id":"1332994795","filename":"file2"},{"photo_id":"1332994797","filename":"file4"},{"photo_id":"1332994792","filename":"file1"},{"photo_id":"1332994788","filename":"file0"},{"photo_id":"1332994796","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332994797":["hashtag1","hashtag2"]},{"1332994788":["hashtag1","hashtag2"]},{"1332994796":["hashtag1","hashtag2"]},{"1332994792":["hashtag1","hashtag2"]},{"1332994795":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332994797, 1332994788, 1332994796, 1332994792, 1332994795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.289644956588745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:49:32.384331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/48/image_30012025_13_48_55_9362.jpg', '/home/pi/Desktop/images/30012025/13/48/image_30012025_13_49_06_10392.jpg', '/home/pi/Desktop/images/30012025/13/49/image_30012025_13_49_16_10343.jpg', '/home/pi/Desktop/images/30012025/13/49/image_30012025_13_49_26_9359.jpg', '/home/pi/Desktop/images/30012025/13/49/image_30012025_13_49_36_10372.jpg', '/home/pi/Desktop/images/30012025/13/49/image_30012025_13_49_46_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/48/image_30012025_13_48_55_9362.jpg
/home/pi/Desktop/images/30012025/13/48/image_30012025_13_49_06_10392.jpg
/home/pi/Desktop/images/30012025/13/49/image_30012025_13_49_16_10343.jpg
/home/pi/Desktop/images/30012025/13/49/image_30012025_13_49_26_9359.jpg
/home/pi/Desktop/images/30012025/13/49/image_30012025_13_49_36_10372.jpg
/home/pi/Desktop/images/30012025/13/49/image_30012025_13_49_46_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332994866","1332994869","1332994830","1332994871","1332994835","1332994820"],"photo_ids_order":["1332994820","1332994830","1332994835","1332994866","1332994869","1332994871"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9b207ac0f9bb4510e39fffebf087a809.jpg","text":"TemporaryFile(/tmp/multipartBody4835113156569501274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241433303,"filename":"image_30012025_13_49_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/30/15ef259ef8ada2d858008343d1240ce8.jpg","text":"TemporaryFile(/tmp/multipartBody5565535626426110364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241433303,"filename":"image_30012025_13_49_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/30/a96b2ce8abc9486ea5bfd5ef4bffaf96.jpg","text":"TemporaryFile(/tmp/multipartBody700037979340201297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241433303,"filename":"image_30012025_13_49_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/30/67eae0d9b42aaa4d7fff7936892440ae.jpg","text":"TemporaryFile(/tmp/multipartBody3030180993275873114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241433303,"filename":"image_30012025_13_49_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/30/badfd76c03822a7d36eee318d87db6f2.jpg","text":"TemporaryFile(/tmp/multipartBody568438938709747561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241433303,"filename":"image_30012025_13_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/30/85895c5f5a0dbb5c01ec31e9f0fcf4f0.jpg","text":"TemporaryFile(/tmp/multipartBody7723830995594949954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241433303,"filename":"image_30012025_13_48_55_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332994835","file1":"1332994830","file0":"1332994820","file4":"1332994869","file5":"1332994871","file3":"1332994866"},"map_files_photo_id_array":[{"photo_id":"1332994871","filename":"file5"},{"photo_id":"1332994835","filename":"file2"},{"photo_id":"1332994869","filename":"file4"},{"photo_id":"1332994830","filename":"file1"},{"photo_id":"1332994820","filename":"file0"},{"photo_id":"1332994866","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332994866":["hashtag1","hashtag2"]},{"1332994869":["hashtag1","hashtag2"]},{"1332994830":["hashtag1","hashtag2"]},{"1332994871":["hashtag1","hashtag2"]},{"1332994835":["hashtag1","hashtag2"]},{"1332994820":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332994866, 1332994869, 1332994830, 1332994871, 1332994835, 1332994820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07961559295654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:50:32.718481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/49/image_30012025_13_49_56_9324.jpg', '/home/pi/Desktop/images/30012025/13/49/image_30012025_13_50_06_10362.jpg', '/home/pi/Desktop/images/30012025/13/50/image_30012025_13_50_16_9560.jpg', '/home/pi/Desktop/images/30012025/13/50/image_30012025_13_50_26_10394.jpg', '/home/pi/Desktop/images/30012025/13/50/image_30012025_13_50_36_10333.jpg', '/home/pi/Desktop/images/30012025/13/50/image_30012025_13_50_46_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/49/image_30012025_13_49_56_9324.jpg
/home/pi/Desktop/images/30012025/13/49/image_30012025_13_50_06_10362.jpg
/home/pi/Desktop/images/30012025/13/50/image_30012025_13_50_16_9560.jpg
/home/pi/Desktop/images/30012025/13/50/image_30012025_13_50_26_10394.jpg
/home/pi/Desktop/images/30012025/13/50/image_30012025_13_50_36_10333.jpg
/home/pi/Desktop/images/30012025/13/50/image_30012025_13_50_46_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":["1332995061","1332994983","1332995010","1332995063","1332995053","1332995029"],"photo_ids_order":["1332994983","1332995010","1332995029","1332995053","1332995061","1332995063"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/febc6bc2cb39d0ec7914f677cf303a4b.jpg","text":"TemporaryFile(/tmp/multipartBody5109852933724893449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241494019,"filename":"image_30012025_13_50_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/30/d17a841b77136cfe3cabc1170d603c17.jpg","text":"TemporaryFile(/tmp/multipartBody8959417632326318115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241494019,"filename":"image_30012025_13_49_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/30/3c95e033fea40da93cddfd8c75388f9c.jpg","text":"TemporaryFile(/tmp/multipartBody3824326350744754166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241494019,"filename":"image_30012025_13_50_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/30/85e829442060e854e86b4e35d51865a6.jpg","text":"TemporaryFile(/tmp/multipartBody8849566217638896324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241494019,"filename":"image_30012025_13_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/30/88ddabc3821d206d742deadb1e3004cb.jpg","text":"TemporaryFile(/tmp/multipartBody2466397784706301090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241494019,"filename":"image_30012025_13_50_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/30/fe2c9779e8c17535567425e6ff7be4e9.jpg","text":"TemporaryFile(/tmp/multipartBody4959060148004692655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241494019,"filename":"image_30012025_13_50_16_9560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332995029","file1":"1332995010","file0":"1332994983","file4":"1332995061","file5":"1332995063","file3":"1332995053"},"map_files_photo_id_array":[{"photo_id":"1332995063","filename":"file5"},{"photo_id":"1332995029","filename":"file2"},{"photo_id":"1332995061","filename":"file4"},{"photo_id":"1332995010","filename":"file1"},{"photo_id":"1332994983","filename":"file0"},{"photo_id":"1332995053","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332995061":["hashtag1","hashtag2"]},{"1332994983":["hashtag1","hashtag2"]},{"1332995010":["hashtag1","hashtag2"]},{"1332995063":["hashtag1","hashtag2"]},{"1332995053":["hashtag1","hashtag2"]},{"1332995029":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332995061, 1332994983, 1332995010, 1332995063, 1332995053, 1332995029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.755584716796875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:51:32.927082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/50/image_30012025_13_50_56_10426.jpg', '/home/pi/Desktop/images/30012025/13/50/image_30012025_13_51_06_10351.jpg', '/home/pi/Desktop/images/30012025/13/51/image_30012025_13_51_16_9330.jpg', '/home/pi/Desktop/images/30012025/13/51/image_30012025_13_51_26_10441.jpg', '/home/pi/Desktop/images/30012025/13/51/image_30012025_13_51_36_9448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/50/image_30012025_13_50_56_10426.jpg
/home/pi/Desktop/images/30012025/13/50/image_30012025_13_51_06_10351.jpg
/home/pi/Desktop/images/30012025/13/51/image_30012025_13_51_16_9330.jpg
/home/pi/Desktop/images/30012025/13/51/image_30012025_13_51_26_10441.jpg
/home/pi/Desktop/images/30012025/13/51/image_30012025_13_51_36_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":["1332995073","1332995081","1332995084","1332995077","1332995086"],"photo_ids_order":["1332995073","1332995077","1332995081","1332995084","1332995086"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d2f0cb5bca4852d32df5f48d20596e10.jpg","text":"TemporaryFile(/tmp/multipartBody7114406252857756311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241553816,"filename":"image_30012025_13_50_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/30/262aa7f6446022494d678ef581530f00.jpg","text":"TemporaryFile(/tmp/multipartBody6832923628593415660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241553816,"filename":"image_30012025_13_51_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/30/a7177e3ae7961d88f35c85ff6f2008cb.jpg","text":"TemporaryFile(/tmp/multipartBody6694982335106874015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241553816,"filename":"image_30012025_13_51_26_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/30/132c6c0c0783ce4aae60b88119237e43.jpg","text":"TemporaryFile(/tmp/multipartBody8810938232186830435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241553816,"filename":"image_30012025_13_51_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/30/c51c08de19f47e7edd3479498c2488f7.jpg","text":"TemporaryFile(/tmp/multipartBody2981903656001070231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241553816,"filename":"image_30012025_13_51_36_9448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332995081","file1":"1332995077","file0":"1332995073","file4":"1332995086","file3":"1332995084"},"map_files_photo_id_array":[{"photo_id":"1332995081","filename":"file2"},{"photo_id":"1332995086","filename":"file4"},{"photo_id":"1332995077","filename":"file1"},{"photo_id":"1332995073","filename":"file0"},{"photo_id":"1332995084","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332995073":["hashtag1","hashtag2"]},{"1332995081":["hashtag1","hashtag2"]},{"1332995084":["hashtag1","hashtag2"]},{"1332995077":["hashtag1","hashtag2"]},{"1332995086":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332995073, 1332995081, 1332995084, 1332995077, 1332995086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.730937004089355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:52:33.057006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/51/image_30012025_13_51_46_10364.jpg', '/home/pi/Desktop/images/30012025/13/51/image_30012025_13_52_06_9346.jpg', '/home/pi/Desktop/images/30012025/13/52/image_30012025_13_52_16_10410.jpg', '/home/pi/Desktop/images/30012025/13/52/image_30012025_13_52_25_9350.jpg', '/home/pi/Desktop/images/30012025/13/52/image_30012025_13_52_36_10340.jpg', '/home/pi/Desktop/images/30012025/13/52/image_30012025_13_52_46_10428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/51/image_30012025_13_51_46_10364.jpg
/home/pi/Desktop/images/30012025/13/51/image_30012025_13_52_06_9346.jpg
/home/pi/Desktop/images/30012025/13/52/image_30012025_13_52_16_10410.jpg
/home/pi/Desktop/images/30012025/13/52/image_30012025_13_52_25_9350.jpg
/home/pi/Desktop/images/30012025/13/52/image_30012025_13_52_36_10340.jpg
/home/pi/Desktop/images/30012025/13/52/image_30012025_13_52_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":["1332995157","1332995166","1332995183","1332995185","1332995170","1332995161"],"photo_ids_order":["1332995157","1332995161","1332995166","1332995170","1332995183","1332995185"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/473b22edf65d004ef80fe467d181b09a.jpg","text":"TemporaryFile(/tmp/multipartBody2073976112889324973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241613957,"filename":"image_30012025_13_51_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/30/395bea7e258869e85d110b02aa8dd445.jpg","text":"TemporaryFile(/tmp/multipartBody1209472830528751062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241613957,"filename":"image_30012025_13_52_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/30/e7b725e0a398b580b179f91d3480c6f1.jpg","text":"TemporaryFile(/tmp/multipartBody6353105875246912325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241613957,"filename":"image_30012025_13_52_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/30/96c078525b5bc27dd31a8b0893ac8164.jpg","text":"TemporaryFile(/tmp/multipartBody6854478467692451769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241613957,"filename":"image_30012025_13_52_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/30/d0434938f9906f325bf0471e253c06bc.jpg","text":"TemporaryFile(/tmp/multipartBody5620104101976754203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241613957,"filename":"image_30012025_13_52_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/30/e08f50b8ae323aa6adfdccdea25f184c.jpg","text":"TemporaryFile(/tmp/multipartBody7672886586625436407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241613957,"filename":"image_30012025_13_52_06_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332995166","file1":"1332995161","file0":"1332995157","file4":"1332995183","file5":"1332995185","file3":"1332995170"},"map_files_photo_id_array":[{"photo_id":"1332995185","filename":"file5"},{"photo_id":"1332995166","filename":"file2"},{"photo_id":"1332995183","filename":"file4"},{"photo_id":"1332995161","filename":"file1"},{"photo_id":"1332995157","filename":"file0"},{"photo_id":"1332995170","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332995157":["hashtag1","hashtag2"]},{"1332995166":["hashtag1","hashtag2"]},{"1332995183":["hashtag1","hashtag2"]},{"1332995185":["hashtag1","hashtag2"]},{"1332995170":["hashtag1","hashtag2"]},{"1332995161":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332995157, 1332995166, 1332995183, 1332995185, 1332995170, 1332995161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.66482448577881 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:53:32.269261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/52/image_30012025_13_52_56_9410.jpg', '/home/pi/Desktop/images/30012025/13/52/image_30012025_13_53_06_10336.jpg', '/home/pi/Desktop/images/30012025/13/53/image_30012025_13_53_16_10396.jpg', '/home/pi/Desktop/images/30012025/13/53/image_30012025_13_53_26_9364.jpg', '/home/pi/Desktop/images/30012025/13/53/image_30012025_13_53_36_10394.jpg', '/home/pi/Desktop/images/30012025/13/53/image_30012025_13_53_45_9329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/52/image_30012025_13_52_56_9410.jpg
/home/pi/Desktop/images/30012025/13/52/image_30012025_13_53_06_10336.jpg
/home/pi/Desktop/images/30012025/13/53/image_30012025_13_53_16_10396.jpg
/home/pi/Desktop/images/30012025/13/53/image_30012025_13_53_26_9364.jpg
/home/pi/Desktop/images/30012025/13/53/image_30012025_13_53_36_10394.jpg
/home/pi/Desktop/images/30012025/13/53/image_30012025_13_53_45_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: 0.5073740482330322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 13:53:42.370374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/52/image_30012025_13_52_56_9410.jpg', '/home/pi/Desktop/images/30012025/13/52/image_30012025_13_53_06_10336.jpg', '/home/pi/Desktop/images/30012025/13/53/image_30012025_13_53_16_10396.jpg', '/home/pi/Desktop/images/30012025/13/53/image_30012025_13_53_26_9364.jpg', '/home/pi/Desktop/images/30012025/13/53/image_30012025_13_53_36_10394.jpg', '/home/pi/Desktop/images/30012025/13/53/image_30012025_13_53_45_9329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/52/image_30012025_13_52_56_9410.jpg
/home/pi/Desktop/images/30012025/13/52/image_30012025_13_53_06_10336.jpg
/home/pi/Desktop/images/30012025/13/53/image_30012025_13_53_16_10396.jpg
/home/pi/Desktop/images/30012025/13/53/image_30012025_13_53_26_9364.jpg
/home/pi/Desktop/images/30012025/13/53/image_30012025_13_53_36_10394.jpg
/home/pi/Desktop/images/30012025/13/53/image_30012025_13_53_45_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":["1332995295","1332995289","1332995283","1332995294","1332995292","1332995286"],"photo_ids_order":["1332995283","1332995286","1332995289","1332995292","1332995294","1332995295"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/12fa67792c3d1c7db5f26092a71f130d.jpg","text":"TemporaryFile(/tmp/multipartBody2939322525843869315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241683273,"filename":"image_30012025_13_53_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/30/3dfae76e3d907232507bb2cbaff0cc2a.jpg","text":"TemporaryFile(/tmp/multipartBody5022273740632827406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241683273,"filename":"image_30012025_13_53_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/30/ba6f9bb1e98280171226601ac58bbfc6.jpg","text":"TemporaryFile(/tmp/multipartBody3763339836657744067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241683273,"filename":"image_30012025_13_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/30/da5424ff4c464c38451573d7182b2fd2.jpg","text":"TemporaryFile(/tmp/multipartBody4819763236764857000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241683273,"filename":"image_30012025_13_53_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/30/29fe717c7dba1da74b22d0e451811a69.jpg","text":"TemporaryFile(/tmp/multipartBody7519510303644509694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241683273,"filename":"image_30012025_13_53_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/30/1c63f1d7f61551a4fc270ae1416b6829.jpg","text":"TemporaryFile(/tmp/multipartBody5920136136254407010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241683273,"filename":"image_30012025_13_53_06_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332995289","file1":"1332995286","file0":"1332995283","file4":"1332995294","file5":"1332995295","file3":"1332995292"},"map_files_photo_id_array":[{"photo_id":"1332995295","filename":"file5"},{"photo_id":"1332995289","filename":"file2"},{"photo_id":"1332995294","filename":"file4"},{"photo_id":"1332995286","filename":"file1"},{"photo_id":"1332995283","filename":"file0"},{"photo_id":"1332995292","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332995295":["hashtag1","hashtag2"]},{"1332995289":["hashtag1","hashtag2"]},{"1332995283":["hashtag1","hashtag2"]},{"1332995294":["hashtag1","hashtag2"]},{"1332995292":["hashtag1","hashtag2"]},{"1332995286":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332995295, 1332995289, 1332995283, 1332995294, 1332995292, 1332995286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.894871950149536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:54:32.348706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/53/image_30012025_13_53_56_10330.jpg', '/home/pi/Desktop/images/30012025/13/53/image_30012025_13_54_06_10412.jpg', '/home/pi/Desktop/images/30012025/13/54/image_30012025_13_54_16_9333.jpg', '/home/pi/Desktop/images/30012025/13/54/image_30012025_13_54_26_10422.jpg', '/home/pi/Desktop/images/30012025/13/54/image_30012025_13_54_36_10367.jpg', '/home/pi/Desktop/images/30012025/13/54/image_30012025_13_54_46_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/53/image_30012025_13_53_56_10330.jpg
/home/pi/Desktop/images/30012025/13/53/image_30012025_13_54_06_10412.jpg
/home/pi/Desktop/images/30012025/13/54/image_30012025_13_54_16_9333.jpg
/home/pi/Desktop/images/30012025/13/54/image_30012025_13_54_26_10422.jpg
/home/pi/Desktop/images/30012025/13/54/image_30012025_13_54_36_10367.jpg
/home/pi/Desktop/images/30012025/13/54/image_30012025_13_54_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":["1332995316","1332995369","1332995303","1332995389","1332995386","1332995308"],"photo_ids_order":["1332995303","1332995308","1332995316","1332995369","1332995386","1332995389"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/31d89e039f6319006b342c8d82d80c84.jpg","text":"TemporaryFile(/tmp/multipartBody1181501773890511502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241733257,"filename":"image_30012025_13_54_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/30/1ed9f00cc98457a54d74dd28f7ef019a.jpg","text":"TemporaryFile(/tmp/multipartBody2012150178134671719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241733257,"filename":"image_30012025_13_54_26_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/03a6a00090f87fd811844542c84d85ba.jpg","text":"TemporaryFile(/tmp/multipartBody8520333199146132662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241733257,"filename":"image_30012025_13_53_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/30/516bf5527347cdcec27a80d3e02a14fc.jpg","text":"TemporaryFile(/tmp/multipartBody832684441904996691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241733257,"filename":"image_30012025_13_54_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/30/0546c6c6f1ba3d289c1e24ca8eb15117.jpg","text":"TemporaryFile(/tmp/multipartBody2045199993614692106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241733257,"filename":"image_30012025_13_54_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/30/8643ae6392e728bdf29a1d1474a480e6.jpg","text":"TemporaryFile(/tmp/multipartBody7533038193974184275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241733257,"filename":"image_30012025_13_54_06_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332995316","file1":"1332995308","file0":"1332995303","file4":"1332995386","file5":"1332995389","file3":"1332995369"},"map_files_photo_id_array":[{"photo_id":"1332995389","filename":"file5"},{"photo_id":"1332995316","filename":"file2"},{"photo_id":"1332995386","filename":"file4"},{"photo_id":"1332995308","filename":"file1"},{"photo_id":"1332995303","filename":"file0"},{"photo_id":"1332995369","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332995316":["hashtag1","hashtag2"]},{"1332995369":["hashtag1","hashtag2"]},{"1332995303":["hashtag1","hashtag2"]},{"1332995389":["hashtag1","hashtag2"]},{"1332995386":["hashtag1","hashtag2"]},{"1332995308":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332995316, 1332995369, 1332995303, 1332995389, 1332995386, 1332995308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.82737898826599 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:55:32.832562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/54/image_30012025_13_54_56_10343.jpg', '/home/pi/Desktop/images/30012025/13/54/image_30012025_13_55_06_10340.jpg', '/home/pi/Desktop/images/30012025/13/55/image_30012025_13_55_16_9338.jpg', '/home/pi/Desktop/images/30012025/13/55/image_30012025_13_55_26_10445.jpg', '/home/pi/Desktop/images/30012025/13/55/image_30012025_13_55_35_9360.jpg', '/home/pi/Desktop/images/30012025/13/55/image_30012025_13_55_46_10427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/54/image_30012025_13_54_56_10343.jpg
/home/pi/Desktop/images/30012025/13/54/image_30012025_13_55_06_10340.jpg
/home/pi/Desktop/images/30012025/13/55/image_30012025_13_55_16_9338.jpg
/home/pi/Desktop/images/30012025/13/55/image_30012025_13_55_26_10445.jpg
/home/pi/Desktop/images/30012025/13/55/image_30012025_13_55_35_9360.jpg
/home/pi/Desktop/images/30012025/13/55/image_30012025_13_55_46_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":["1332995412","1332995406","1332995415","1332995409","1332995400","1332995402"],"photo_ids_order":["1332995400","1332995402","1332995406","1332995409","1332995412","1332995415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4323973803147e4bb62d91657b1dc5dc.jpg","text":"TemporaryFile(/tmp/multipartBody8136423524483498482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241793728,"filename":"image_30012025_13_55_35_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3f878945b574dab0adea89521273d216.jpg","text":"TemporaryFile(/tmp/multipartBody5964360204468247804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241793728,"filename":"image_30012025_13_55_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/30/1533e6b89aacdde997b4b32847993a65.jpg","text":"TemporaryFile(/tmp/multipartBody6052111103019203359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241793728,"filename":"image_30012025_13_55_46_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/625e7a23a89919912942e4fbc90db9dc.jpg","text":"TemporaryFile(/tmp/multipartBody6610523763752084178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241793728,"filename":"image_30012025_13_55_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/30/558ee105f5da4c783eb5efd34ca23dcb.jpg","text":"TemporaryFile(/tmp/multipartBody2455824583117365012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241793728,"filename":"image_30012025_13_54_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/30/11a41fc730ef878adc1c7fb1330c8c3e.jpg","text":"TemporaryFile(/tmp/multipartBody4932279659491758521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241793728,"filename":"image_30012025_13_55_06_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332995406","file1":"1332995402","file0":"1332995400","file4":"1332995412","file5":"1332995415","file3":"1332995409"},"map_files_photo_id_array":[{"photo_id":"1332995415","filename":"file5"},{"photo_id":"1332995406","filename":"file2"},{"photo_id":"1332995412","filename":"file4"},{"photo_id":"1332995402","filename":"file1"},{"photo_id":"1332995400","filename":"file0"},{"photo_id":"1332995409","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332995412":["hashtag1","hashtag2"]},{"1332995406":["hashtag1","hashtag2"]},{"1332995415":["hashtag1","hashtag2"]},{"1332995409":["hashtag1","hashtag2"]},{"1332995400":["hashtag1","hashtag2"]},{"1332995402":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332995412, 1332995406, 1332995415, 1332995409, 1332995400, 1332995402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.138327836990356 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:56:32.876627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/55/image_30012025_13_55_56_10349.jpg', '/home/pi/Desktop/images/30012025/13/55/image_30012025_13_56_06_9351.jpg', '/home/pi/Desktop/images/30012025/13/56/image_30012025_13_56_16_10394.jpg', '/home/pi/Desktop/images/30012025/13/56/image_30012025_13_56_25_9419.jpg', '/home/pi/Desktop/images/30012025/13/56/image_30012025_13_56_36_10334.jpg', '/home/pi/Desktop/images/30012025/13/56/image_30012025_13_56_46_10425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/55/image_30012025_13_55_56_10349.jpg
/home/pi/Desktop/images/30012025/13/55/image_30012025_13_56_06_9351.jpg
/home/pi/Desktop/images/30012025/13/56/image_30012025_13_56_16_10394.jpg
/home/pi/Desktop/images/30012025/13/56/image_30012025_13_56_25_9419.jpg
/home/pi/Desktop/images/30012025/13/56/image_30012025_13_56_36_10334.jpg
/home/pi/Desktop/images/30012025/13/56/image_30012025_13_56_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":["1332995445","1332995430","1332995459","1332995441","1332995437","1332995425"],"photo_ids_order":["1332995425","1332995430","1332995437","1332995441","1332995445","1332995459"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4244a0dd3b7639e88141b013c3c665a7.jpg","text":"TemporaryFile(/tmp/multipartBody5347684453514727440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241853788,"filename":"image_30012025_13_56_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/30/beb9f87d740d442e4073a4a6a1f11dd4.jpg","text":"TemporaryFile(/tmp/multipartBody8769659742258633004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241853788,"filename":"image_30012025_13_56_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/30/2ee370af51c0e81d3d700bf4164198d5.jpg","text":"TemporaryFile(/tmp/multipartBody827740455311657597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241853788,"filename":"image_30012025_13_56_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/30/2be2471c509b295b1056b38837a522be.jpg","text":"TemporaryFile(/tmp/multipartBody7518195564090100819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241853788,"filename":"image_30012025_13_56_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/30/ba5c634fb086d960864dd7b859b37dc9.jpg","text":"TemporaryFile(/tmp/multipartBody340803297216345804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241853788,"filename":"image_30012025_13_56_16_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/379e3c9485843a1aed3639e8a6cebbcf.jpg","text":"TemporaryFile(/tmp/multipartBody3343577738589417189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738241853788,"filename":"image_30012025_13_55_56_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332995437","file1":"1332995430","file0":"1332995425","file4":"1332995445","file5":"1332995459","file3":"1332995441"},"map_files_photo_id_array":[{"photo_id":"1332995459","filename":"file5"},{"photo_id":"1332995437","filename":"file2"},{"photo_id":"1332995445","filename":"file4"},{"photo_id":"1332995430","filename":"file1"},{"photo_id":"1332995425","filename":"file0"},{"photo_id":"1332995441","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332995445":["hashtag1","hashtag2"]},{"1332995430":["hashtag1","hashtag2"]},{"1332995459":["hashtag1","hashtag2"]},{"1332995441":["hashtag1","hashtag2"]},{"1332995437":["hashtag1","hashtag2"]},{"1332995425":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332995445, 1332995430, 1332995459, 1332995441, 1332995437, 1332995425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.384886741638184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:57:33.122357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/56/image_30012025_13_56_56_9334.jpg', '/home/pi/Desktop/images/30012025/13/56/image_30012025_13_57_06_10464.jpg', '/home/pi/Desktop/images/30012025/13/57/image_30012025_13_57_16_10368.jpg', '/home/pi/Desktop/images/30012025/13/57/image_30012025_13_57_26_9343.jpg', '/home/pi/Desktop/images/30012025/13/57/image_30012025_13_57_36_10393.jpg', '/home/pi/Desktop/images/30012025/13/57/image_30012025_13_57_45_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/56/image_30012025_13_56_56_9334.jpg
/home/pi/Desktop/images/30012025/13/56/image_30012025_13_57_06_10464.jpg
/home/pi/Desktop/images/30012025/13/57/image_30012025_13_57_16_10368.jpg
/home/pi/Desktop/images/30012025/13/57/image_30012025_13_57_26_9343.jpg
/home/pi/Desktop/images/30012025/13/57/image_30012025_13_57_36_10393.jpg
/home/pi/Desktop/images/30012025/13/57/image_30012025_13_57_45_9355.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-30 13:59:04.136288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/56/image_30012025_13_56_56_9334.jpg', '/home/pi/Desktop/images/30012025/13/56/image_30012025_13_57_06_10464.jpg', '/home/pi/Desktop/images/30012025/13/57/image_30012025_13_57_16_10368.jpg', '/home/pi/Desktop/images/30012025/13/57/image_30012025_13_57_26_9343.jpg', '/home/pi/Desktop/images/30012025/13/57/image_30012025_13_57_36_10393.jpg', '/home/pi/Desktop/images/30012025/13/57/image_30012025_13_57_45_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/56/image_30012025_13_56_56_9334.jpg
/home/pi/Desktop/images/30012025/13/56/image_30012025_13_57_06_10464.jpg
/home/pi/Desktop/images/30012025/13/57/image_30012025_13_57_16_10368.jpg
/home/pi/Desktop/images/30012025/13/57/image_30012025_13_57_26_9343.jpg
/home/pi/Desktop/images/30012025/13/57/image_30012025_13_57_36_10393.jpg
/home/pi/Desktop/images/30012025/13/57/image_30012025_13_57_45_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":["1332996417","1332996402","1332996411","1332996395","1332996407","1332996399"],"photo_ids_order":["1332996395","1332996399","1332996402","1332996407","1332996411","1332996417"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/920923bc3668e1bd093e9041ba881139.jpg","text":"TemporaryFile(/tmp/multipartBody7033689288211188328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242005085,"filename":"image_30012025_13_57_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/30/0206b9625d211911ef9eebb72f1eb0fa.jpg","text":"TemporaryFile(/tmp/multipartBody6351766046501174577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242005085,"filename":"image_30012025_13_57_16_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f71f48ef195abf671a25cb482bd45c72.jpg","text":"TemporaryFile(/tmp/multipartBody4845753105268684423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242005085,"filename":"image_30012025_13_57_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/30/598644b2aaa8203309a0b184ea81c200.jpg","text":"TemporaryFile(/tmp/multipartBody629701832558092361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242005085,"filename":"image_30012025_13_56_56_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/30/30d2f8d7e9e29bd11b146790614e5506.jpg","text":"TemporaryFile(/tmp/multipartBody8460619641836293918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242005085,"filename":"image_30012025_13_57_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/30/6add75c5ba9df8ab8f3f640d87824b3a.jpg","text":"TemporaryFile(/tmp/multipartBody5419184689881150100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242005085,"filename":"image_30012025_13_57_06_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332996402","file1":"1332996399","file0":"1332996395","file4":"1332996411","file5":"1332996417","file3":"1332996407"},"map_files_photo_id_array":[{"photo_id":"1332996417","filename":"file5"},{"photo_id":"1332996402","filename":"file2"},{"photo_id":"1332996411","filename":"file4"},{"photo_id":"1332996399","filename":"file1"},{"photo_id":"1332996395","filename":"file0"},{"photo_id":"1332996407","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332996417":["hashtag1","hashtag2"]},{"1332996402":["hashtag1","hashtag2"]},{"1332996411":["hashtag1","hashtag2"]},{"1332996395":["hashtag1","hashtag2"]},{"1332996407":["hashtag1","hashtag2"]},{"1332996399":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332996417, 1332996402, 1332996411, 1332996395, 1332996407, 1332996399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.925793409347534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 13:59:52.930697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/57/image_30012025_13_57_56_10520.jpg', '/home/pi/Desktop/images/30012025/13/57/image_30012025_13_58_06_10340.jpg', '/home/pi/Desktop/images/30012025/13/58/image_30012025_13_58_16_9439.jpg', '/home/pi/Desktop/images/30012025/13/58/image_30012025_13_58_26_10345.jpg', '/home/pi/Desktop/images/30012025/13/58/image_30012025_13_58_35_9363.jpg', '/home/pi/Desktop/images/30012025/13/58/image_30012025_13_58_46_10501.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/57/image_30012025_13_57_56_10520.jpg
/home/pi/Desktop/images/30012025/13/57/image_30012025_13_58_06_10340.jpg
/home/pi/Desktop/images/30012025/13/58/image_30012025_13_58_16_9439.jpg
/home/pi/Desktop/images/30012025/13/58/image_30012025_13_58_26_10345.jpg
/home/pi/Desktop/images/30012025/13/58/image_30012025_13_58_35_9363.jpg
/home/pi/Desktop/images/30012025/13/58/image_30012025_13_58_46_10501.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332996985","1332997210","1332996430","1332997215","1332996672","1332996432"],"photo_ids_order":["1332996430","1332996432","1332996672","1332996985","1332997210","1332997215"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e4d4e58c43f81c39a0919c70663213a7.jpg","text":"TemporaryFile(/tmp/multipartBody3829186798991258033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242053832,"filename":"image_30012025_13_58_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/30/dbdbca9e4ff0449a5b2342309ce79030.jpg","text":"TemporaryFile(/tmp/multipartBody1692961630480183800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242053832,"filename":"image_30012025_13_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/30/53e16719d45cfed60a158aaaf1f85220.jpg","text":"TemporaryFile(/tmp/multipartBody3869022892109231966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242053832,"filename":"image_30012025_13_57_56_10520.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c4259c35ff4ec6cf50d457a77964c68d.jpg","text":"TemporaryFile(/tmp/multipartBody3215701425448739799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242053832,"filename":"image_30012025_13_58_46_10501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5630070069c5f16030afaa1af677b4db.jpg","text":"TemporaryFile(/tmp/multipartBody7104179588579361507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242053832,"filename":"image_30012025_13_58_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/30/b4e69ae8ce32e3ffe7de117fa375657a.jpg","text":"TemporaryFile(/tmp/multipartBody6301910907696193774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242053832,"filename":"image_30012025_13_58_06_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332996672","file1":"1332996432","file0":"1332996430","file4":"1332997210","file5":"1332997215","file3":"1332996985"},"map_files_photo_id_array":[{"photo_id":"1332997215","filename":"file5"},{"photo_id":"1332996672","filename":"file2"},{"photo_id":"1332997210","filename":"file4"},{"photo_id":"1332996432","filename":"file1"},{"photo_id":"1332996430","filename":"file0"},{"photo_id":"1332996985","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332996985":["hashtag1","hashtag2"]},{"1332997210":["hashtag1","hashtag2"]},{"1332996430":["hashtag1","hashtag2"]},{"1332997215":["hashtag1","hashtag2"]},{"1332996672":["hashtag1","hashtag2"]},{"1332996432":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332996985, 1332997210, 1332996430, 1332997215, 1332996672, 1332996432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.45937490463257 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 14:00:42.140439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/58/image_30012025_13_58_56_10329.jpg', '/home/pi/Desktop/images/30012025/13/58/image_30012025_13_59_06_9348.jpg', '/home/pi/Desktop/images/30012025/13/59/image_30012025_13_59_16_10334.jpg', '/home/pi/Desktop/images/30012025/13/59/image_30012025_13_59_26_10333.jpg', '/home/pi/Desktop/images/30012025/13/59/image_30012025_13_59_36_9427.jpg', '/home/pi/Desktop/images/30012025/13/59/image_30012025_13_59_46_10449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/58/image_30012025_13_58_56_10329.jpg
/home/pi/Desktop/images/30012025/13/58/image_30012025_13_59_06_9348.jpg
/home/pi/Desktop/images/30012025/13/59/image_30012025_13_59_16_10334.jpg
/home/pi/Desktop/images/30012025/13/59/image_30012025_13_59_26_10333.jpg
/home/pi/Desktop/images/30012025/13/59/image_30012025_13_59_36_9427.jpg
/home/pi/Desktop/images/30012025/13/59/image_30012025_13_59_46_10449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332997404","1332997337","1332997403","1332997374","1332997398","1332997401"],"photo_ids_order":["1332997337","1332997374","1332997398","1332997401","1332997403","1332997404"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9a0b46d1cb36648e184126e88d967c2a.jpg","text":"TemporaryFile(/tmp/multipartBody1070553073032022197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242103054,"filename":"image_30012025_13_59_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/30/37a1c5d9036405a4bd2e495a2af7deb8.jpg","text":"TemporaryFile(/tmp/multipartBody1124093930026183840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242103054,"filename":"image_30012025_13_58_56_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/55ae4eb81057d955051adefc07b8229c.jpg","text":"TemporaryFile(/tmp/multipartBody1053431001020888203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242103054,"filename":"image_30012025_13_59_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/30/3db047f9c5fb2e94fcb602e154404c39.jpg","text":"TemporaryFile(/tmp/multipartBody7139627776673627057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242103054,"filename":"image_30012025_13_59_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/30/4ec0d02c84ce7651a34ea39f3ea049d6.jpg","text":"TemporaryFile(/tmp/multipartBody6066322560009984676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242103054,"filename":"image_30012025_13_59_16_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1a74b6abfd23e281c906f17ee7cf27a7.jpg","text":"TemporaryFile(/tmp/multipartBody4721389018349583472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242103054,"filename":"image_30012025_13_59_26_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332997398","file1":"1332997374","file0":"1332997337","file4":"1332997403","file5":"1332997404","file3":"1332997401"},"map_files_photo_id_array":[{"photo_id":"1332997404","filename":"file5"},{"photo_id":"1332997398","filename":"file2"},{"photo_id":"1332997403","filename":"file4"},{"photo_id":"1332997374","filename":"file1"},{"photo_id":"1332997337","filename":"file0"},{"photo_id":"1332997401","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332997404":["hashtag1","hashtag2"]},{"1332997337":["hashtag1","hashtag2"]},{"1332997403":["hashtag1","hashtag2"]},{"1332997374":["hashtag1","hashtag2"]},{"1332997398":["hashtag1","hashtag2"]},{"1332997401":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332997404, 1332997337, 1332997403, 1332997374, 1332997398, 1332997401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.87134027481079 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:01:32.531227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/13/59/image_30012025_13_59_56_9344.jpg', '/home/pi/Desktop/images/30012025/14/01/image_30012025_14_01_14_10076.jpg', '/home/pi/Desktop/images/30012025/14/01/image_30012025_14_01_24_10344.jpg', '/home/pi/Desktop/images/30012025/14/01/image_30012025_14_01_35_10365.jpg', '/home/pi/Desktop/images/30012025/14/01/image_30012025_14_01_44_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/13/59/image_30012025_13_59_56_9344.jpg
/home/pi/Desktop/images/30012025/14/01/image_30012025_14_01_14_10076.jpg
/home/pi/Desktop/images/30012025/14/01/image_30012025_14_01_24_10344.jpg
/home/pi/Desktop/images/30012025/14/01/image_30012025_14_01_35_10365.jpg
/home/pi/Desktop/images/30012025/14/01/image_30012025_14_01_44_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":["1332997852","1332997744","1332997695","1332997821","1332997737"],"photo_ids_order":["1332997695","1332997737","1332997744","1332997821","1332997852"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/28ce87bf1c599b415f638aeb4fd5f15d.jpg","text":"TemporaryFile(/tmp/multipartBody8693689007290601331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242153420,"filename":"image_30012025_14_01_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/30/a40f5f9383de47aa8a402cf0ebe76114.jpg","text":"TemporaryFile(/tmp/multipartBody3209978825031360684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242153420,"filename":"image_30012025_14_01_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/30/77952e7f97486a5a021cd8dff3ef4c28.jpg","text":"TemporaryFile(/tmp/multipartBody1767074389422882073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242153420,"filename":"image_30012025_13_59_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/30/7d079fc42f18dc17cf50ca3350a1b5b3.jpg","text":"TemporaryFile(/tmp/multipartBody5880677185935687084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242153420,"filename":"image_30012025_14_01_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/30/e8a3a592a44b1d039cb90d5e15d3038b.jpg","text":"TemporaryFile(/tmp/multipartBody6953058841590839200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242153420,"filename":"image_30012025_14_01_14_10076.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332997744","file1":"1332997737","file0":"1332997695","file4":"1332997852","file3":"1332997821"},"map_files_photo_id_array":[{"photo_id":"1332997744","filename":"file2"},{"photo_id":"1332997852","filename":"file4"},{"photo_id":"1332997737","filename":"file1"},{"photo_id":"1332997695","filename":"file0"},{"photo_id":"1332997821","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332997852":["hashtag1","hashtag2"]},{"1332997744":["hashtag1","hashtag2"]},{"1332997695":["hashtag1","hashtag2"]},{"1332997821":["hashtag1","hashtag2"]},{"1332997737":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332997852, 1332997744, 1332997695, 1332997821, 1332997737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.68651604652405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:02:32.745517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/01/image_30012025_14_01_55_10445.jpg', '/home/pi/Desktop/images/30012025/14/01/image_30012025_14_02_05_10401.jpg', '/home/pi/Desktop/images/30012025/14/02/image_30012025_14_02_14_9341.jpg', '/home/pi/Desktop/images/30012025/14/02/image_30012025_14_02_25_10346.jpg', '/home/pi/Desktop/images/30012025/14/02/image_30012025_14_02_34_9454.jpg', '/home/pi/Desktop/images/30012025/14/02/image_30012025_14_02_45_10453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/01/image_30012025_14_01_55_10445.jpg
/home/pi/Desktop/images/30012025/14/01/image_30012025_14_02_05_10401.jpg
/home/pi/Desktop/images/30012025/14/02/image_30012025_14_02_14_9341.jpg
/home/pi/Desktop/images/30012025/14/02/image_30012025_14_02_25_10346.jpg
/home/pi/Desktop/images/30012025/14/02/image_30012025_14_02_34_9454.jpg
/home/pi/Desktop/images/30012025/14/02/image_30012025_14_02_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":["1332997870","1332997867","1332997881","1332997884","1332997878","1332997875"],"photo_ids_order":["1332997867","1332997870","1332997875","1332997878","1332997881","1332997884"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cc721bc0cb07b036b9368c8dfcd6bf99.jpg","text":"TemporaryFile(/tmp/multipartBody3269879953259685602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242213661,"filename":"image_30012025_14_02_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/30/2e0703c85703831f8497906bf32fa26d.jpg","text":"TemporaryFile(/tmp/multipartBody1626240020715497740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242213661,"filename":"image_30012025_14_01_55_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/30/09c69e1d2fdbd30def700fe6079d47bf.jpg","text":"TemporaryFile(/tmp/multipartBody2448275739941692380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242213661,"filename":"image_30012025_14_02_34_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/57574816753f656d552fba12359ee595.jpg","text":"TemporaryFile(/tmp/multipartBody2182525766815974274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242213661,"filename":"image_30012025_14_02_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/30/1f9dc3e11e9789d57b897864a043e6f6.jpg","text":"TemporaryFile(/tmp/multipartBody5451430175829281479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242213661,"filename":"image_30012025_14_02_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/30/b0266bbf0fc85cb6577db3f961c9c2c1.jpg","text":"TemporaryFile(/tmp/multipartBody846949547499387125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242213661,"filename":"image_30012025_14_02_14_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332997875","file1":"1332997870","file0":"1332997867","file4":"1332997881","file5":"1332997884","file3":"1332997878"},"map_files_photo_id_array":[{"photo_id":"1332997884","filename":"file5"},{"photo_id":"1332997875","filename":"file2"},{"photo_id":"1332997881","filename":"file4"},{"photo_id":"1332997870","filename":"file1"},{"photo_id":"1332997867","filename":"file0"},{"photo_id":"1332997878","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332997870":["hashtag1","hashtag2"]},{"1332997867":["hashtag1","hashtag2"]},{"1332997881":["hashtag1","hashtag2"]},{"1332997884":["hashtag1","hashtag2"]},{"1332997878":["hashtag1","hashtag2"]},{"1332997875":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332997870, 1332997867, 1332997881, 1332997884, 1332997878, 1332997875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.19186878204346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:03:33.043998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/02/image_30012025_14_02_54_9425.jpg', '/home/pi/Desktop/images/30012025/14/02/image_30012025_14_03_04_10368.jpg', '/home/pi/Desktop/images/30012025/14/03/image_30012025_14_03_15_10326.jpg', '/home/pi/Desktop/images/30012025/14/03/image_30012025_14_03_24_9340.jpg', '/home/pi/Desktop/images/30012025/14/03/image_30012025_14_03_34_10344.jpg', '/home/pi/Desktop/images/30012025/14/03/image_30012025_14_03_45_10397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/02/image_30012025_14_02_54_9425.jpg
/home/pi/Desktop/images/30012025/14/02/image_30012025_14_03_04_10368.jpg
/home/pi/Desktop/images/30012025/14/03/image_30012025_14_03_15_10326.jpg
/home/pi/Desktop/images/30012025/14/03/image_30012025_14_03_24_9340.jpg
/home/pi/Desktop/images/30012025/14/03/image_30012025_14_03_34_10344.jpg
/home/pi/Desktop/images/30012025/14/03/image_30012025_14_03_45_10397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332997913","1332997901","1332997909","1332997914","1332997911","1332997905"],"photo_ids_order":["1332997901","1332997905","1332997909","1332997911","1332997913","1332997914"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e9c6db0f399ec0c9f47ebb10b712fef7.jpg","text":"TemporaryFile(/tmp/multipartBody1449156250504900200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242273943,"filename":"image_30012025_14_03_34_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/016972e0115a766598dad9b542697fe4.jpg","text":"TemporaryFile(/tmp/multipartBody6376327526541993109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242273943,"filename":"image_30012025_14_02_54_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/30/f87804950ff6cad9ffd99c5550bf2546.jpg","text":"TemporaryFile(/tmp/multipartBody330950548768548624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242273943,"filename":"image_30012025_14_03_15_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ebb292d209905f19991588439e1009c4.jpg","text":"TemporaryFile(/tmp/multipartBody8239057903235362041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242273943,"filename":"image_30012025_14_03_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/30/43b4c6dc9ba63c2d750485d580522d73.jpg","text":"TemporaryFile(/tmp/multipartBody6140264309158396452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242273943,"filename":"image_30012025_14_03_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/30/d18090da77aae1f62bb1e1c00b5e0ba4.jpg","text":"TemporaryFile(/tmp/multipartBody5216046852407310566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242273943,"filename":"image_30012025_14_03_04_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332997909","file1":"1332997905","file0":"1332997901","file4":"1332997913","file5":"1332997914","file3":"1332997911"},"map_files_photo_id_array":[{"photo_id":"1332997914","filename":"file5"},{"photo_id":"1332997909","filename":"file2"},{"photo_id":"1332997913","filename":"file4"},{"photo_id":"1332997905","filename":"file1"},{"photo_id":"1332997901","filename":"file0"},{"photo_id":"1332997911","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332997913":["hashtag1","hashtag2"]},{"1332997901":["hashtag1","hashtag2"]},{"1332997909":["hashtag1","hashtag2"]},{"1332997914":["hashtag1","hashtag2"]},{"1332997911":["hashtag1","hashtag2"]},{"1332997905":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332997913, 1332997901, 1332997909, 1332997914, 1332997911, 1332997905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8492271900177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:04:32.413970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/03/image_30012025_14_03_54_9458.jpg', '/home/pi/Desktop/images/30012025/14/03/image_30012025_14_04_05_10381.jpg', '/home/pi/Desktop/images/30012025/14/04/image_30012025_14_04_24_10442.jpg', '/home/pi/Desktop/images/30012025/14/04/image_30012025_14_04_35_10351.jpg', '/home/pi/Desktop/images/30012025/14/04/image_30012025_14_04_44_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/03/image_30012025_14_03_54_9458.jpg
/home/pi/Desktop/images/30012025/14/03/image_30012025_14_04_05_10381.jpg
/home/pi/Desktop/images/30012025/14/04/image_30012025_14_04_24_10442.jpg
/home/pi/Desktop/images/30012025/14/04/image_30012025_14_04_35_10351.jpg
/home/pi/Desktop/images/30012025/14/04/image_30012025_14_04_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":["1332997949","1332997952","1332997945","1332997956","1332997959"],"photo_ids_order":["1332997945","1332997949","1332997952","1332997956","1332997959"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fe79d7283525ecc94e1949bd0ee469e8.jpg","text":"TemporaryFile(/tmp/multipartBody8696100547165141954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242333294,"filename":"image_30012025_14_04_05_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/30/82671accec56451a44844d0c36c59025.jpg","text":"TemporaryFile(/tmp/multipartBody7945400386034587247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242333294,"filename":"image_30012025_14_04_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/30/f7884a96ada1ad82f51846a7171d8dbb.jpg","text":"TemporaryFile(/tmp/multipartBody2854091789718084439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242333294,"filename":"image_30012025_14_03_54_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/30/3b4124b6dc19d1c9b08f4e19546a7188.jpg","text":"TemporaryFile(/tmp/multipartBody8106706233065779915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242333294,"filename":"image_30012025_14_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/30/d40476536ea5412f4daf66535042d9d7.jpg","text":"TemporaryFile(/tmp/multipartBody6852759606594238792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242333294,"filename":"image_30012025_14_04_44_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332997952","file1":"1332997949","file0":"1332997945","file4":"1332997959","file3":"1332997956"},"map_files_photo_id_array":[{"photo_id":"1332997952","filename":"file2"},{"photo_id":"1332997959","filename":"file4"},{"photo_id":"1332997949","filename":"file1"},{"photo_id":"1332997945","filename":"file0"},{"photo_id":"1332997956","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332997949":["hashtag1","hashtag2"]},{"1332997952":["hashtag1","hashtag2"]},{"1332997945":["hashtag1","hashtag2"]},{"1332997956":["hashtag1","hashtag2"]},{"1332997959":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332997949, 1332997952, 1332997945, 1332997956, 1332997959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.83634400367737 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:05:32.519703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/04/image_30012025_14_04_54_10366.jpg', '/home/pi/Desktop/images/30012025/14/04/image_30012025_14_05_04_9469.jpg', '/home/pi/Desktop/images/30012025/14/05/image_30012025_14_05_14_10357.jpg', '/home/pi/Desktop/images/30012025/14/05/image_30012025_14_05_25_10365.jpg', '/home/pi/Desktop/images/30012025/14/05/image_30012025_14_05_34_9355.jpg', '/home/pi/Desktop/images/30012025/14/05/image_30012025_14_05_44_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/04/image_30012025_14_04_54_10366.jpg
/home/pi/Desktop/images/30012025/14/04/image_30012025_14_05_04_9469.jpg
/home/pi/Desktop/images/30012025/14/05/image_30012025_14_05_14_10357.jpg
/home/pi/Desktop/images/30012025/14/05/image_30012025_14_05_25_10365.jpg
/home/pi/Desktop/images/30012025/14/05/image_30012025_14_05_34_9355.jpg
/home/pi/Desktop/images/30012025/14/05/image_30012025_14_05_44_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":["1332998875","1332998884","1332998699","1332998885","1332998879","1332998882"],"photo_ids_order":["1332998699","1332998875","1332998879","1332998882","1332998884","1332998885"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5a9ed9cb1691fb6d6d079a9b278795fe.jpg","text":"TemporaryFile(/tmp/multipartBody8218734450729372193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242393449,"filename":"image_30012025_14_05_04_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/30/1a9e503c6a3abc4b3a00a168f62eca93.jpg","text":"TemporaryFile(/tmp/multipartBody3638615418762532566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242393449,"filename":"image_30012025_14_05_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/30/12103b9f3ed4c3808592ee44004c75b6.jpg","text":"TemporaryFile(/tmp/multipartBody7556846791892671785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242393449,"filename":"image_30012025_14_04_54_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ed157a68e319e42bf03e0f27ec4f70ab.jpg","text":"TemporaryFile(/tmp/multipartBody8276652748089376979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242393449,"filename":"image_30012025_14_05_44_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/30/010284ef97ad5a989a0a737467030d28.jpg","text":"TemporaryFile(/tmp/multipartBody6978550759591565182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242393449,"filename":"image_30012025_14_05_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/30/aca11aa68ae86308f066b9006e9a2b45.jpg","text":"TemporaryFile(/tmp/multipartBody4344562648345535079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242393449,"filename":"image_30012025_14_05_25_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332998879","file1":"1332998875","file0":"1332998699","file4":"1332998884","file5":"1332998885","file3":"1332998882"},"map_files_photo_id_array":[{"photo_id":"1332998885","filename":"file5"},{"photo_id":"1332998879","filename":"file2"},{"photo_id":"1332998884","filename":"file4"},{"photo_id":"1332998875","filename":"file1"},{"photo_id":"1332998699","filename":"file0"},{"photo_id":"1332998882","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332998875":["hashtag1","hashtag2"]},{"1332998884":["hashtag1","hashtag2"]},{"1332998699":["hashtag1","hashtag2"]},{"1332998885":["hashtag1","hashtag2"]},{"1332998879":["hashtag1","hashtag2"]},{"1332998882":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332998875, 1332998884, 1332998699, 1332998885, 1332998879, 1332998882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57609963417053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:06:32.790313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/05/image_30012025_14_05_55_10350.jpg', '/home/pi/Desktop/images/30012025/14/05/image_30012025_14_06_04_9435.jpg', '/home/pi/Desktop/images/30012025/14/06/image_30012025_14_06_15_10341.jpg', '/home/pi/Desktop/images/30012025/14/06/image_30012025_14_06_24_9474.jpg', '/home/pi/Desktop/images/30012025/14/06/image_30012025_14_06_34_10353.jpg', '/home/pi/Desktop/images/30012025/14/06/image_30012025_14_06_45_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/05/image_30012025_14_05_55_10350.jpg
/home/pi/Desktop/images/30012025/14/05/image_30012025_14_06_04_9435.jpg
/home/pi/Desktop/images/30012025/14/06/image_30012025_14_06_15_10341.jpg
/home/pi/Desktop/images/30012025/14/06/image_30012025_14_06_24_9474.jpg
/home/pi/Desktop/images/30012025/14/06/image_30012025_14_06_34_10353.jpg
/home/pi/Desktop/images/30012025/14/06/image_30012025_14_06_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":["1332999066","1332999141","1332998905","1332999143","1332998948","1332999172"],"photo_ids_order":["1332998905","1332998948","1332999066","1332999141","1332999143","1332999172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2f923908444783f2581bf67a4a7844c1.jpg","text":"TemporaryFile(/tmp/multipartBody218115903815910619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242453689,"filename":"image_30012025_14_06_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/30/ecbc6799aa49d8381b8ecd504999530c.jpg","text":"TemporaryFile(/tmp/multipartBody6272533727280774726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242453689,"filename":"image_30012025_14_06_24_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/30/14844a4c1ce33cc6fbcf155f33a40fb6.jpg","text":"TemporaryFile(/tmp/multipartBody4652801877121201384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242453689,"filename":"image_30012025_14_05_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/30/91cc14ba31bc7d8c77f645d92362c129.jpg","text":"TemporaryFile(/tmp/multipartBody4072044888204967040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242453689,"filename":"image_30012025_14_06_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/30/3bc17d71fb9abd4f50bb1d054204fd14.jpg","text":"TemporaryFile(/tmp/multipartBody2283133094879124333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242453689,"filename":"image_30012025_14_06_04_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a382f61dba6613794c39949cb8bb33ca.jpg","text":"TemporaryFile(/tmp/multipartBody2352917975422397324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242453689,"filename":"image_30012025_14_06_45_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332999066","file1":"1332998948","file0":"1332998905","file4":"1332999143","file5":"1332999172","file3":"1332999141"},"map_files_photo_id_array":[{"photo_id":"1332999172","filename":"file5"},{"photo_id":"1332999066","filename":"file2"},{"photo_id":"1332999143","filename":"file4"},{"photo_id":"1332998948","filename":"file1"},{"photo_id":"1332998905","filename":"file0"},{"photo_id":"1332999141","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332999066":["hashtag1","hashtag2"]},{"1332999141":["hashtag1","hashtag2"]},{"1332998905":["hashtag1","hashtag2"]},{"1332999143":["hashtag1","hashtag2"]},{"1332998948":["hashtag1","hashtag2"]},{"1332999172":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332999066, 1332999141, 1332998905, 1332999143, 1332998948, 1332999172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.10542345046997 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:07:32.905720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/06/image_30012025_14_06_54_9355.jpg', '/home/pi/Desktop/images/30012025/14/06/image_30012025_14_07_04_10431.jpg', '/home/pi/Desktop/images/30012025/14/07/image_30012025_14_07_14_9454.jpg', '/home/pi/Desktop/images/30012025/14/07/image_30012025_14_07_24_10366.jpg', '/home/pi/Desktop/images/30012025/14/07/image_30012025_14_07_35_10423.jpg', '/home/pi/Desktop/images/30012025/14/07/image_30012025_14_07_44_9375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/06/image_30012025_14_06_54_9355.jpg
/home/pi/Desktop/images/30012025/14/06/image_30012025_14_07_04_10431.jpg
/home/pi/Desktop/images/30012025/14/07/image_30012025_14_07_14_9454.jpg
/home/pi/Desktop/images/30012025/14/07/image_30012025_14_07_24_10366.jpg
/home/pi/Desktop/images/30012025/14/07/image_30012025_14_07_35_10423.jpg
/home/pi/Desktop/images/30012025/14/07/image_30012025_14_07_44_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":["1332999685","1332999870","1332999906","1332999857","1332999740","1332999908"],"photo_ids_order":["1332999685","1332999740","1332999857","1332999870","1332999906","1332999908"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/35bb0baa76ae29be53728fe77527d8d5.jpg","text":"TemporaryFile(/tmp/multipartBody8264950022650424471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242513795,"filename":"image_30012025_14_06_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/30/49e7a0b210fd544f48e89721506f2e76.jpg","text":"TemporaryFile(/tmp/multipartBody1782885810271310657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242513795,"filename":"image_30012025_14_07_24_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/30/68f7f296a3bc46a8be4b298998b449d2.jpg","text":"TemporaryFile(/tmp/multipartBody1083401183566904875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242513795,"filename":"image_30012025_14_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/30/acbb5544cf88fb4ab2bf4c885d1ac14e.jpg","text":"TemporaryFile(/tmp/multipartBody3674070478239924654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242513795,"filename":"image_30012025_14_07_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/30/a4b62aaad100770817655ce8374045e0.jpg","text":"TemporaryFile(/tmp/multipartBody3286357953655789256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242513795,"filename":"image_30012025_14_07_04_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/30/deac939ba90d4e79b0b7e9c05a6639b2.jpg","text":"TemporaryFile(/tmp/multipartBody9001810178300479691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242513795,"filename":"image_30012025_14_07_44_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332999857","file1":"1332999740","file0":"1332999685","file4":"1332999906","file5":"1332999908","file3":"1332999870"},"map_files_photo_id_array":[{"photo_id":"1332999908","filename":"file5"},{"photo_id":"1332999857","filename":"file2"},{"photo_id":"1332999906","filename":"file4"},{"photo_id":"1332999740","filename":"file1"},{"photo_id":"1332999685","filename":"file0"},{"photo_id":"1332999870","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332999685":["hashtag1","hashtag2"]},{"1332999870":["hashtag1","hashtag2"]},{"1332999906":["hashtag1","hashtag2"]},{"1332999857":["hashtag1","hashtag2"]},{"1332999740":["hashtag1","hashtag2"]},{"1332999908":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332999685, 1332999870, 1332999906, 1332999857, 1332999740, 1332999908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.733336448669434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:08:32.245188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/07/image_30012025_14_07_54_10352.jpg', '/home/pi/Desktop/images/30012025/14/07/image_30012025_14_08_04_9456.jpg', '/home/pi/Desktop/images/30012025/14/08/image_30012025_14_08_14_10347.jpg', '/home/pi/Desktop/images/30012025/14/08/image_30012025_14_08_25_10337.jpg', '/home/pi/Desktop/images/30012025/14/08/image_30012025_14_08_34_9333.jpg', '/home/pi/Desktop/images/30012025/14/08/image_30012025_14_08_44_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/07/image_30012025_14_07_54_10352.jpg
/home/pi/Desktop/images/30012025/14/07/image_30012025_14_08_04_9456.jpg
/home/pi/Desktop/images/30012025/14/08/image_30012025_14_08_14_10347.jpg
/home/pi/Desktop/images/30012025/14/08/image_30012025_14_08_25_10337.jpg
/home/pi/Desktop/images/30012025/14/08/image_30012025_14_08_34_9333.jpg
/home/pi/Desktop/images/30012025/14/08/image_30012025_14_08_44_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":["1332999940","1332999937","1332999934","1332999924","1332999918","1332999929"],"photo_ids_order":["1332999918","1332999924","1332999929","1332999934","1332999937","1332999940"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7a574603b83501f83b3b0c23e8c6c475.jpg","text":"TemporaryFile(/tmp/multipartBody5912756936122308413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242573139,"filename":"image_30012025_14_08_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/30/d223fb5fe6f084c988c9b624de1a98bb.jpg","text":"TemporaryFile(/tmp/multipartBody2099067650483263790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242573139,"filename":"image_30012025_14_08_34_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/30/69f080920cf6ac046b223b8c66bd9980.jpg","text":"TemporaryFile(/tmp/multipartBody1219274395046482326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242573139,"filename":"image_30012025_14_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/30/83e4d44ba44fe3d6c157c8dc1080ef5e.jpg","text":"TemporaryFile(/tmp/multipartBody4751197910369379179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242573139,"filename":"image_30012025_14_08_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/30/c85e7fb7575d44d8f3fa9caff2102815.jpg","text":"TemporaryFile(/tmp/multipartBody1414977535303680123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242573139,"filename":"image_30012025_14_07_54_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d538d192a2cb7be17ac9cb9a2d3d7a25.jpg","text":"TemporaryFile(/tmp/multipartBody5377969913017938371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242573139,"filename":"image_30012025_14_08_14_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332999929","file1":"1332999924","file0":"1332999918","file4":"1332999937","file5":"1332999940","file3":"1332999934"},"map_files_photo_id_array":[{"photo_id":"1332999940","filename":"file5"},{"photo_id":"1332999929","filename":"file2"},{"photo_id":"1332999937","filename":"file4"},{"photo_id":"1332999924","filename":"file1"},{"photo_id":"1332999918","filename":"file0"},{"photo_id":"1332999934","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1332999940":["hashtag1","hashtag2"]},{"1332999937":["hashtag1","hashtag2"]},{"1332999934":["hashtag1","hashtag2"]},{"1332999924":["hashtag1","hashtag2"]},{"1332999918":["hashtag1","hashtag2"]},{"1332999929":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1332999940, 1332999937, 1332999934, 1332999924, 1332999918, 1332999929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.10147666931152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:09:32.354882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/08/image_30012025_14_08_55_10421.jpg', '/home/pi/Desktop/images/30012025/14/09/image_30012025_14_09_14_10329.jpg', '/home/pi/Desktop/images/30012025/14/09/image_30012025_14_09_24_9484.jpg', '/home/pi/Desktop/images/30012025/14/09/image_30012025_14_09_34_10354.jpg', '/home/pi/Desktop/images/30012025/14/09/image_30012025_14_09_45_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/08/image_30012025_14_08_55_10421.jpg
/home/pi/Desktop/images/30012025/14/09/image_30012025_14_09_14_10329.jpg
/home/pi/Desktop/images/30012025/14/09/image_30012025_14_09_24_9484.jpg
/home/pi/Desktop/images/30012025/14/09/image_30012025_14_09_34_10354.jpg
/home/pi/Desktop/images/30012025/14/09/image_30012025_14_09_45_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333000149","1333000140","1333000145","1333000136","1333000132"],"photo_ids_order":["1333000132","1333000136","1333000140","1333000145","1333000149"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f720ae906fbf7fa7f29d47a887ead740.jpg","text":"TemporaryFile(/tmp/multipartBody7220052779673550665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242633240,"filename":"image_30012025_14_09_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/30/f1e1d92cdb9836b71affc94ccded3fde.jpg","text":"TemporaryFile(/tmp/multipartBody8437231463695508393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242633240,"filename":"image_30012025_14_09_24_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/30/f4e4c213e35b7dbc9b0b724baf8c9fd4.jpg","text":"TemporaryFile(/tmp/multipartBody2630406183057962549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242633240,"filename":"image_30012025_14_09_34_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/02d29eb697b0c8203828743c13aac46e.jpg","text":"TemporaryFile(/tmp/multipartBody3214966586510882188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242633240,"filename":"image_30012025_14_09_14_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/30/ad7651bc86d67fba07de1125f155cf2d.jpg","text":"TemporaryFile(/tmp/multipartBody9100275606688596870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242633240,"filename":"image_30012025_14_08_55_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333000140","file1":"1333000136","file0":"1333000132","file4":"1333000149","file3":"1333000145"},"map_files_photo_id_array":[{"photo_id":"1333000140","filename":"file2"},{"photo_id":"1333000149","filename":"file4"},{"photo_id":"1333000136","filename":"file1"},{"photo_id":"1333000132","filename":"file0"},{"photo_id":"1333000145","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333000149":["hashtag1","hashtag2"]},{"1333000140":["hashtag1","hashtag2"]},{"1333000145":["hashtag1","hashtag2"]},{"1333000136":["hashtag1","hashtag2"]},{"1333000132":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333000149, 1333000140, 1333000145, 1333000136, 1333000132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.76956605911255 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:10:32.534199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/09/image_30012025_14_09_54_9334.jpg', '/home/pi/Desktop/images/30012025/14/09/image_30012025_14_10_04_10355.jpg', '/home/pi/Desktop/images/30012025/14/10/image_30012025_14_10_15_10360.jpg', '/home/pi/Desktop/images/30012025/14/10/image_30012025_14_10_24_9331.jpg', '/home/pi/Desktop/images/30012025/14/10/image_30012025_14_10_34_10356.jpg', '/home/pi/Desktop/images/30012025/14/10/image_30012025_14_10_45_10375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/09/image_30012025_14_09_54_9334.jpg
/home/pi/Desktop/images/30012025/14/09/image_30012025_14_10_04_10355.jpg
/home/pi/Desktop/images/30012025/14/10/image_30012025_14_10_15_10360.jpg
/home/pi/Desktop/images/30012025/14/10/image_30012025_14_10_24_9331.jpg
/home/pi/Desktop/images/30012025/14/10/image_30012025_14_10_34_10356.jpg
/home/pi/Desktop/images/30012025/14/10/image_30012025_14_10_45_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":["1333000200","1333000206","1333000379","1333000211","1333000366","1333000381"],"photo_ids_order":["1333000200","1333000206","1333000211","1333000366","1333000379","1333000381"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/433955a5c483f0a9f608badf9d5c6c13.jpg","text":"TemporaryFile(/tmp/multipartBody4464837717076946465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242693463,"filename":"image_30012025_14_09_54_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1fbee721708fdc5f21f882e459239cc2.jpg","text":"TemporaryFile(/tmp/multipartBody2532125334157066611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242693463,"filename":"image_30012025_14_10_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/30/550e1d6ebb9cd4ddc27fda6ead28cddb.jpg","text":"TemporaryFile(/tmp/multipartBody3438017272611116338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242693463,"filename":"image_30012025_14_10_34_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2bd2a710631b72a2cdec978602c08ea9.jpg","text":"TemporaryFile(/tmp/multipartBody966369750640402539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242693463,"filename":"image_30012025_14_10_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bd67890dc560578e09468ebe484e13b7.jpg","text":"TemporaryFile(/tmp/multipartBody4392133564551043050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242693463,"filename":"image_30012025_14_10_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/30/4d9ca2829089f86230c82eb5320f62f1.jpg","text":"TemporaryFile(/tmp/multipartBody154872436638450091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242693463,"filename":"image_30012025_14_10_45_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333000211","file1":"1333000206","file0":"1333000200","file4":"1333000379","file5":"1333000381","file3":"1333000366"},"map_files_photo_id_array":[{"photo_id":"1333000381","filename":"file5"},{"photo_id":"1333000211","filename":"file2"},{"photo_id":"1333000379","filename":"file4"},{"photo_id":"1333000206","filename":"file1"},{"photo_id":"1333000200","filename":"file0"},{"photo_id":"1333000366","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333000200":["hashtag1","hashtag2"]},{"1333000206":["hashtag1","hashtag2"]},{"1333000379":["hashtag1","hashtag2"]},{"1333000211":["hashtag1","hashtag2"]},{"1333000366":["hashtag1","hashtag2"]},{"1333000381":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333000200, 1333000206, 1333000379, 1333000211, 1333000366, 1333000381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.7997465133667 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:11:32.704763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/10/image_30012025_14_10_54_9328.jpg', '/home/pi/Desktop/images/30012025/14/10/image_30012025_14_11_05_10421.jpg', '/home/pi/Desktop/images/30012025/14/11/image_30012025_14_11_14_9448.jpg', '/home/pi/Desktop/images/30012025/14/11/image_30012025_14_11_24_10374.jpg', '/home/pi/Desktop/images/30012025/14/11/image_30012025_14_11_35_10568.jpg', '/home/pi/Desktop/images/30012025/14/11/image_30012025_14_11_44_9423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/10/image_30012025_14_10_54_9328.jpg
/home/pi/Desktop/images/30012025/14/10/image_30012025_14_11_05_10421.jpg
/home/pi/Desktop/images/30012025/14/11/image_30012025_14_11_14_9448.jpg
/home/pi/Desktop/images/30012025/14/11/image_30012025_14_11_24_10374.jpg
/home/pi/Desktop/images/30012025/14/11/image_30012025_14_11_35_10568.jpg
/home/pi/Desktop/images/30012025/14/11/image_30012025_14_11_44_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":["1333000512","1333000500","1333000495","1333000514","1333000508","1333000504"],"photo_ids_order":["1333000495","1333000500","1333000504","1333000508","1333000512","1333000514"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/87750259c30d2244f91e50992865d8f4.jpg","text":"TemporaryFile(/tmp/multipartBody3033335143883461094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242753620,"filename":"image_30012025_14_11_35_10568.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/623204d5f79e504af46ade5a2b70de04.jpg","text":"TemporaryFile(/tmp/multipartBody7369738503141406190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242753620,"filename":"image_30012025_14_11_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/30/2829113f4104a531959334d9c86ad06f.jpg","text":"TemporaryFile(/tmp/multipartBody595336986607345059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242753620,"filename":"image_30012025_14_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/30/11661fb1ad9e07aa9214249d5fa40bf1.jpg","text":"TemporaryFile(/tmp/multipartBody3668959984583071896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242753620,"filename":"image_30012025_14_11_44_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/588623ef912d66302cedde84150c4298.jpg","text":"TemporaryFile(/tmp/multipartBody3323043315702760615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242753620,"filename":"image_30012025_14_11_24_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/30/0bf022581e5be8399c944a867671fdb6.jpg","text":"TemporaryFile(/tmp/multipartBody7258003267537533969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242753620,"filename":"image_30012025_14_11_14_9448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333000504","file1":"1333000500","file0":"1333000495","file4":"1333000512","file5":"1333000514","file3":"1333000508"},"map_files_photo_id_array":[{"photo_id":"1333000514","filename":"file5"},{"photo_id":"1333000504","filename":"file2"},{"photo_id":"1333000512","filename":"file4"},{"photo_id":"1333000500","filename":"file1"},{"photo_id":"1333000495","filename":"file0"},{"photo_id":"1333000508","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333000512":["hashtag1","hashtag2"]},{"1333000500":["hashtag1","hashtag2"]},{"1333000495":["hashtag1","hashtag2"]},{"1333000514":["hashtag1","hashtag2"]},{"1333000508":["hashtag1","hashtag2"]},{"1333000504":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333000512, 1333000500, 1333000495, 1333000514, 1333000508, 1333000504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.668832540512085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:12:32.905761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/11/image_30012025_14_11_55_10350.jpg', '/home/pi/Desktop/images/30012025/14/11/image_30012025_14_12_05_9930.jpg', '/home/pi/Desktop/images/30012025/14/12/image_30012025_14_12_24_10358.jpg', '/home/pi/Desktop/images/30012025/14/12/image_30012025_14_12_35_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/11/image_30012025_14_11_55_10350.jpg
/home/pi/Desktop/images/30012025/14/11/image_30012025_14_12_05_9930.jpg
/home/pi/Desktop/images/30012025/14/12/image_30012025_14_12_24_10358.jpg
/home/pi/Desktop/images/30012025/14/12/image_30012025_14_12_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":["1333000529","1333000538","1333000534","1333000525"],"photo_ids_order":["1333000525","1333000529","1333000534","1333000538"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b8c4af8bd7b82ce847c809a505082977.jpg","text":"TemporaryFile(/tmp/multipartBody8470071280117973598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242813770,"filename":"image_30012025_14_12_05_9930.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b973bdbeedf401707cebde9b9ab67cf4.jpg","text":"TemporaryFile(/tmp/multipartBody716051100025333073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242813770,"filename":"image_30012025_14_12_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/30/e18a81f0c0c132c9453f32ce8c90618c.jpg","text":"TemporaryFile(/tmp/multipartBody6601431745733644352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242813770,"filename":"image_30012025_14_12_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/30/a197627db56f3e3a80f7e713695b14b0.jpg","text":"TemporaryFile(/tmp/multipartBody5965864490120193667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242813770,"filename":"image_30012025_14_11_55_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333000534","file1":"1333000529","file0":"1333000525","file3":"1333000538"},"map_files_photo_id_array":[{"photo_id":"1333000534","filename":"file2"},{"photo_id":"1333000529","filename":"file1"},{"photo_id":"1333000525","filename":"file0"},{"photo_id":"1333000538","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333000529":["hashtag1","hashtag2"]},{"1333000538":["hashtag1","hashtag2"]},{"1333000534":["hashtag1","hashtag2"]},{"1333000525":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333000529, 1333000538, 1333000534, 1333000525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.948357343673706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:13:32.141693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/12/image_30012025_14_12_54_10362.jpg', '/home/pi/Desktop/images/30012025/14/12/image_30012025_14_13_05_10335.jpg', '/home/pi/Desktop/images/30012025/14/13/image_30012025_14_13_14_9381.jpg', '/home/pi/Desktop/images/30012025/14/13/image_30012025_14_13_25_10416.jpg', '/home/pi/Desktop/images/30012025/14/13/image_30012025_14_13_34_9366.jpg', '/home/pi/Desktop/images/30012025/14/13/image_30012025_14_13_44_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/12/image_30012025_14_12_54_10362.jpg
/home/pi/Desktop/images/30012025/14/12/image_30012025_14_13_05_10335.jpg
/home/pi/Desktop/images/30012025/14/13/image_30012025_14_13_14_9381.jpg
/home/pi/Desktop/images/30012025/14/13/image_30012025_14_13_25_10416.jpg
/home/pi/Desktop/images/30012025/14/13/image_30012025_14_13_34_9366.jpg
/home/pi/Desktop/images/30012025/14/13/image_30012025_14_13_44_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":["1333000598","1333000602","1333000604","1333000594","1333000585","1333000590"],"photo_ids_order":["1333000585","1333000590","1333000594","1333000598","1333000602","1333000604"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ab6d67c719e08ccdbd79d92634a971c7.jpg","text":"TemporaryFile(/tmp/multipartBody2430526963017067703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242873062,"filename":"image_30012025_14_13_25_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/35c5f15ab12d4ba3eb78b8b5adeb99a1.jpg","text":"TemporaryFile(/tmp/multipartBody3658778511284992124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242873062,"filename":"image_30012025_14_13_34_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/30/263d362913442244b0f54e223ab8b798.jpg","text":"TemporaryFile(/tmp/multipartBody124012892703915117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242873062,"filename":"image_30012025_14_13_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/30/fd9f9bf9beb97e9ec26c43e4c8cdca03.jpg","text":"TemporaryFile(/tmp/multipartBody4994063532965727749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242873062,"filename":"image_30012025_14_13_14_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/30/21ca644c3de701eac359f7fba590d687.jpg","text":"TemporaryFile(/tmp/multipartBody366395958225084297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242873062,"filename":"image_30012025_14_12_54_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/30/a3e96d7cbbeb12d25f67d0cc9845195e.jpg","text":"TemporaryFile(/tmp/multipartBody4627244744629755686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242873062,"filename":"image_30012025_14_13_05_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333000594","file1":"1333000590","file0":"1333000585","file4":"1333000602","file5":"1333000604","file3":"1333000598"},"map_files_photo_id_array":[{"photo_id":"1333000604","filename":"file5"},{"photo_id":"1333000594","filename":"file2"},{"photo_id":"1333000602","filename":"file4"},{"photo_id":"1333000590","filename":"file1"},{"photo_id":"1333000585","filename":"file0"},{"photo_id":"1333000598","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333000598":["hashtag1","hashtag2"]},{"1333000602":["hashtag1","hashtag2"]},{"1333000604":["hashtag1","hashtag2"]},{"1333000594":["hashtag1","hashtag2"]},{"1333000585":["hashtag1","hashtag2"]},{"1333000590":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333000598, 1333000602, 1333000604, 1333000594, 1333000585, 1333000590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20916676521301 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:14:32.380013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/13/image_30012025_14_13_55_10340.jpg', '/home/pi/Desktop/images/30012025/14/13/image_30012025_14_14_04_9355.jpg', '/home/pi/Desktop/images/30012025/14/14/image_30012025_14_14_14_10365.jpg', '/home/pi/Desktop/images/30012025/14/14/image_30012025_14_14_34_9412.jpg', '/home/pi/Desktop/images/30012025/14/14/image_30012025_14_14_45_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/13/image_30012025_14_13_55_10340.jpg
/home/pi/Desktop/images/30012025/14/13/image_30012025_14_14_04_9355.jpg
/home/pi/Desktop/images/30012025/14/14/image_30012025_14_14_14_10365.jpg
/home/pi/Desktop/images/30012025/14/14/image_30012025_14_14_34_9412.jpg
/home/pi/Desktop/images/30012025/14/14/image_30012025_14_14_45_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333000638","1333000628","1333000622","1333000633","1333000615"],"photo_ids_order":["1333000615","1333000622","1333000628","1333000633","1333000638"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8718560558ac27ff3a4e28f41852ce76.jpg","text":"TemporaryFile(/tmp/multipartBody4417986349724945775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242933273,"filename":"image_30012025_14_14_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9df8fa5a660327608d61f84ac66244e8.jpg","text":"TemporaryFile(/tmp/multipartBody9217857963212998471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242933273,"filename":"image_30012025_14_14_14_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/278f168696455406a589805ca4b1cc0e.jpg","text":"TemporaryFile(/tmp/multipartBody4626572693578240110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242933273,"filename":"image_30012025_14_14_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/30/fb96d5e0a600019517d670080818f60e.jpg","text":"TemporaryFile(/tmp/multipartBody8012812119098740882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242933273,"filename":"image_30012025_14_14_34_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ecd0810ffc5060dcba03bcfc3b3a86e5.jpg","text":"TemporaryFile(/tmp/multipartBody583281623948177847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242933273,"filename":"image_30012025_14_13_55_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333000628","file1":"1333000622","file0":"1333000615","file4":"1333000638","file3":"1333000633"},"map_files_photo_id_array":[{"photo_id":"1333000628","filename":"file2"},{"photo_id":"1333000638","filename":"file4"},{"photo_id":"1333000622","filename":"file1"},{"photo_id":"1333000615","filename":"file0"},{"photo_id":"1333000633","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333000638":["hashtag1","hashtag2"]},{"1333000628":["hashtag1","hashtag2"]},{"1333000622":["hashtag1","hashtag2"]},{"1333000633":["hashtag1","hashtag2"]},{"1333000615":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333000638, 1333000628, 1333000622, 1333000633, 1333000615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.9843327999115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:15:32.540416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/14/image_30012025_14_14_55_10384.jpg', '/home/pi/Desktop/images/30012025/14/14/image_30012025_14_15_04_9342.jpg', '/home/pi/Desktop/images/30012025/14/15/image_30012025_14_15_15_10362.jpg', '/home/pi/Desktop/images/30012025/14/15/image_30012025_14_15_24_9399.jpg', '/home/pi/Desktop/images/30012025/14/15/image_30012025_14_15_34_10377.jpg', '/home/pi/Desktop/images/30012025/14/15/image_30012025_14_15_45_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/14/image_30012025_14_14_55_10384.jpg
/home/pi/Desktop/images/30012025/14/14/image_30012025_14_15_04_9342.jpg
/home/pi/Desktop/images/30012025/14/15/image_30012025_14_15_15_10362.jpg
/home/pi/Desktop/images/30012025/14/15/image_30012025_14_15_24_9399.jpg
/home/pi/Desktop/images/30012025/14/15/image_30012025_14_15_34_10377.jpg
/home/pi/Desktop/images/30012025/14/15/image_30012025_14_15_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":["1333001177","1333001219","1333000981","1333000876","1333001262","1333001241"],"photo_ids_order":["1333000876","1333000981","1333001177","1333001219","1333001241","1333001262"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b1af0de89f998ce91c383f16316723d6.jpg","text":"TemporaryFile(/tmp/multipartBody4970564222495585816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242993479,"filename":"image_30012025_14_15_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/30/279a5f9b93663375d84b204ec8009267.jpg","text":"TemporaryFile(/tmp/multipartBody7125911603158147539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242993479,"filename":"image_30012025_14_15_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/30/086afce24b69d740f578f31db76b1468.jpg","text":"TemporaryFile(/tmp/multipartBody6950849879768317713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242993479,"filename":"image_30012025_14_15_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/30/7507a00000fb30faeff8afdd59d6b404.jpg","text":"TemporaryFile(/tmp/multipartBody4086465890677605216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242993479,"filename":"image_30012025_14_14_55_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/30/51671cb4aa313d7a01eafed931323254.jpg","text":"TemporaryFile(/tmp/multipartBody1053040199539552492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242993479,"filename":"image_30012025_14_15_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/30/6f10648ea58b20c7b240b454672a3d61.jpg","text":"TemporaryFile(/tmp/multipartBody4981321347685197323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738242993479,"filename":"image_30012025_14_15_34_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333001177","file1":"1333000981","file0":"1333000876","file4":"1333001241","file5":"1333001262","file3":"1333001219"},"map_files_photo_id_array":[{"photo_id":"1333001262","filename":"file5"},{"photo_id":"1333001177","filename":"file2"},{"photo_id":"1333001241","filename":"file4"},{"photo_id":"1333000981","filename":"file1"},{"photo_id":"1333000876","filename":"file0"},{"photo_id":"1333001219","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333001177":["hashtag1","hashtag2"]},{"1333001219":["hashtag1","hashtag2"]},{"1333000981":["hashtag1","hashtag2"]},{"1333000876":["hashtag1","hashtag2"]},{"1333001262":["hashtag1","hashtag2"]},{"1333001241":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333001177, 1333001219, 1333000981, 1333000876, 1333001262, 1333001241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78703546524048 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:16:32.749598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/15/image_30012025_14_15_54_9410.jpg', '/home/pi/Desktop/images/30012025/14/15/image_30012025_14_16_05_10358.jpg', '/home/pi/Desktop/images/30012025/14/16/image_30012025_14_16_24_10409.jpg', '/home/pi/Desktop/images/30012025/14/16/image_30012025_14_16_35_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/15/image_30012025_14_15_54_9410.jpg
/home/pi/Desktop/images/30012025/14/15/image_30012025_14_16_05_10358.jpg
/home/pi/Desktop/images/30012025/14/16/image_30012025_14_16_24_10409.jpg
/home/pi/Desktop/images/30012025/14/16/image_30012025_14_16_35_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333001348","1333001353","1333001358","1333001322"],"photo_ids_order":["1333001322","1333001348","1333001353","1333001358"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8271eea368aeed729db96f2d3afd2582.jpg","text":"TemporaryFile(/tmp/multipartBody3725593922421767627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243053622,"filename":"image_30012025_14_16_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/30/a1ecdec20109fc6652e182b2e9902160.jpg","text":"TemporaryFile(/tmp/multipartBody2958156966627499420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243053622,"filename":"image_30012025_14_16_24_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/30/9be87c98a492adb867d44e94909b420a.jpg","text":"TemporaryFile(/tmp/multipartBody8686452067469903055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243053622,"filename":"image_30012025_14_16_35_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5f8b30c3c652e3502abec64f6d180652.jpg","text":"TemporaryFile(/tmp/multipartBody7023362372640191951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243053622,"filename":"image_30012025_14_15_54_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333001353","file1":"1333001348","file0":"1333001322","file3":"1333001358"},"map_files_photo_id_array":[{"photo_id":"1333001353","filename":"file2"},{"photo_id":"1333001348","filename":"file1"},{"photo_id":"1333001322","filename":"file0"},{"photo_id":"1333001358","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333001348":["hashtag1","hashtag2"]},{"1333001353":["hashtag1","hashtag2"]},{"1333001358":["hashtag1","hashtag2"]},{"1333001322":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333001348, 1333001353, 1333001358, 1333001322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.269859075546265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 14:17:04.430896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/10/image_28012025_21_10_15_9345.jpg', '/home/pi/Desktop/images/28012025/21/10/image_28012025_21_10_25_10452.jpg', '/home/pi/Desktop/images/28012025/21/10/image_28012025_21_10_35_9375.jpg', '/home/pi/Desktop/images/28012025/21/10/image_28012025_21_10_45_10349.jpg', '/home/pi/Desktop/images/28012025/21/10/image_28012025_21_10_56_10473.jpg', '/home/pi/Desktop/images/28012025/21/10/image_28012025_21_11_05_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/21/10/image_28012025_21_10_15_9345.jpg
/home/pi/Desktop/images/28012025/21/10/image_28012025_21_10_25_10452.jpg
/home/pi/Desktop/images/28012025/21/10/image_28012025_21_10_35_9375.jpg
/home/pi/Desktop/images/28012025/21/10/image_28012025_21_10_45_10349.jpg
/home/pi/Desktop/images/28012025/21/10/image_28012025_21_10_56_10473.jpg
/home/pi/Desktop/images/28012025/21/10/image_28012025_21_11_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":["1333001366","1333001363","1333001362","1333001368","1333001370","1333001364"],"photo_ids_order":["1333001362","1333001363","1333001364","1333001366","1333001368","1333001370"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/eb44bfb463a3d0038d749b7c4c26ed84.jpg","text":"TemporaryFile(/tmp/multipartBody8910885964141665727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243086398,"filename":"image_28012025_21_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/30/20ec51f6951bbd6bad18c8a1b618ac0f.jpg","text":"TemporaryFile(/tmp/multipartBody4782701217709669771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243086398,"filename":"image_28012025_21_10_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/30/d8853d50bf12c7befae899dbe5ea0192.jpg","text":"TemporaryFile(/tmp/multipartBody511709337281866797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243086398,"filename":"image_28012025_21_10_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/30/4791af8842dcfc8a35d5438662fd51c7.jpg","text":"TemporaryFile(/tmp/multipartBody1663400184708792158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243086398,"filename":"image_28012025_21_10_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/30/39e6e2b430da0d99028e50846a6fdeeb.jpg","text":"TemporaryFile(/tmp/multipartBody3060849471467910075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243086398,"filename":"image_28012025_21_11_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/30/3da144aae440c6ce4bc89a0273e109d1.jpg","text":"TemporaryFile(/tmp/multipartBody320690063706620305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243086398,"filename":"image_28012025_21_10_35_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333001364","file1":"1333001363","file0":"1333001362","file4":"1333001368","file5":"1333001370","file3":"1333001366"},"map_files_photo_id_array":[{"photo_id":"1333001370","filename":"file5"},{"photo_id":"1333001364","filename":"file2"},{"photo_id":"1333001368","filename":"file4"},{"photo_id":"1333001363","filename":"file1"},{"photo_id":"1333001362","filename":"file0"},{"photo_id":"1333001366","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333001366":["hashtag1","hashtag2"]},{"1333001363":["hashtag1","hashtag2"]},{"1333001362":["hashtag1","hashtag2"]},{"1333001368":["hashtag1","hashtag2"]},{"1333001370":["hashtag1","hashtag2"]},{"1333001364":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333001366, 1333001363, 1333001362, 1333001368, 1333001370, 1333001364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.49734449386597 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:17:53.026714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/16/image_30012025_14_16_44_9439.jpg', '/home/pi/Desktop/images/30012025/14/17/image_30012025_14_17_25_10496.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/16/image_30012025_14_16_44_9439.jpg
/home/pi/Desktop/images/30012025/14/17/image_30012025_14_17_25_10496.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333001391","1333001388"],"photo_ids_order":["1333001388","1333001391"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/854d1f11f41ef317f0112d1edeef76ec.jpg","text":"TemporaryFile(/tmp/multipartBody2725514810268855198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243133869,"filename":"image_30012025_14_17_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/30/b803df067cc4d32f66fef3ceda3eb3d3.jpg","text":"TemporaryFile(/tmp/multipartBody6374557252172190362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243133869,"filename":"image_30012025_14_16_44_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1333001391","file0":"1333001388"},"map_files_photo_id_array":[{"photo_id":"1333001391","filename":"file1"},{"photo_id":"1333001388","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333001391":["hashtag1","hashtag2"]},{"1333001388":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333001391, 1333001388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.16447877883911 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:18:32.230413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/17/image_30012025_14_17_34_9425.jpg', '/home/pi/Desktop/images/30012025/14/18/image_30012025_14_18_14_9492.jpg', '/home/pi/Desktop/images/30012025/14/18/image_30012025_14_18_24_10363.jpg', '/home/pi/Desktop/images/30012025/14/18/image_30012025_14_18_35_10403.jpg', '/home/pi/Desktop/images/30012025/14/18/image_30012025_14_18_44_9407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/17/image_30012025_14_17_34_9425.jpg
/home/pi/Desktop/images/30012025/14/18/image_30012025_14_18_14_9492.jpg
/home/pi/Desktop/images/30012025/14/18/image_30012025_14_18_24_10363.jpg
/home/pi/Desktop/images/30012025/14/18/image_30012025_14_18_35_10403.jpg
/home/pi/Desktop/images/30012025/14/18/image_30012025_14_18_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":["1333001399","1333001408","1333001413","1333001404","1333001418"],"photo_ids_order":["1333001399","1333001404","1333001408","1333001413","1333001418"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1d270882e13ccde69397126b18974893.jpg","text":"TemporaryFile(/tmp/multipartBody7779400548209155780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243173128,"filename":"image_30012025_14_17_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/30/e4d7fa64f581905095a8c71f7dbfa76e.jpg","text":"TemporaryFile(/tmp/multipartBody4972582735328629992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243173128,"filename":"image_30012025_14_18_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/30/e01f8294f5026601264bbb3d005b0a7c.jpg","text":"TemporaryFile(/tmp/multipartBody7639605048472197103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243173128,"filename":"image_30012025_14_18_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/30/786835af4bdff33bb9db703116f47ef6.jpg","text":"TemporaryFile(/tmp/multipartBody3772927800339020185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243173128,"filename":"image_30012025_14_18_14_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/30/c130f4156adf57485a76e3cb9c771cb9.jpg","text":"TemporaryFile(/tmp/multipartBody5432175700927339014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243173128,"filename":"image_30012025_14_18_44_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333001408","file1":"1333001404","file0":"1333001399","file4":"1333001418","file3":"1333001413"},"map_files_photo_id_array":[{"photo_id":"1333001408","filename":"file2"},{"photo_id":"1333001418","filename":"file4"},{"photo_id":"1333001404","filename":"file1"},{"photo_id":"1333001399","filename":"file0"},{"photo_id":"1333001413","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333001399":["hashtag1","hashtag2"]},{"1333001408":["hashtag1","hashtag2"]},{"1333001413":["hashtag1","hashtag2"]},{"1333001404":["hashtag1","hashtag2"]},{"1333001418":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333001399, 1333001408, 1333001413, 1333001404, 1333001418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.87104868888855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:19:32.690096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/18/image_30012025_14_18_55_10384.jpg', '/home/pi/Desktop/images/30012025/14/18/image_30012025_14_19_04_9503.jpg', '/home/pi/Desktop/images/30012025/14/19/image_30012025_14_19_14_10333.jpg', '/home/pi/Desktop/images/30012025/14/19/image_30012025_14_19_25_10355.jpg', '/home/pi/Desktop/images/30012025/14/19/image_30012025_14_19_34_9400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/18/image_30012025_14_18_55_10384.jpg
/home/pi/Desktop/images/30012025/14/18/image_30012025_14_19_04_9503.jpg
/home/pi/Desktop/images/30012025/14/19/image_30012025_14_19_14_10333.jpg
/home/pi/Desktop/images/30012025/14/19/image_30012025_14_19_25_10355.jpg
/home/pi/Desktop/images/30012025/14/19/image_30012025_14_19_34_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":["1333001477","1333001491","1333001488","1333001443","1333001448"],"photo_ids_order":["1333001443","1333001448","1333001477","1333001488","1333001491"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/09f64829b00d4fb8e0a04c10f90383b5.jpg","text":"TemporaryFile(/tmp/multipartBody5902090182854559390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243233577,"filename":"image_30012025_14_19_14_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/30/b0e12dcf30d7212df7059105a66f9092.jpg","text":"TemporaryFile(/tmp/multipartBody1071904525769400405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243233577,"filename":"image_30012025_14_19_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/30/21ec2279b8a816e6af44030f060ab155.jpg","text":"TemporaryFile(/tmp/multipartBody5856955956090752809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243233577,"filename":"image_30012025_14_19_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/30/1f275cf54b0bc03ea28e51a97f755772.jpg","text":"TemporaryFile(/tmp/multipartBody2056186986227290745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243233577,"filename":"image_30012025_14_18_55_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/30/89185436331da47ba195c6be0138696f.jpg","text":"TemporaryFile(/tmp/multipartBody1446182467107399376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243233577,"filename":"image_30012025_14_19_04_9503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333001477","file1":"1333001448","file0":"1333001443","file4":"1333001491","file3":"1333001488"},"map_files_photo_id_array":[{"photo_id":"1333001477","filename":"file2"},{"photo_id":"1333001491","filename":"file4"},{"photo_id":"1333001448","filename":"file1"},{"photo_id":"1333001443","filename":"file0"},{"photo_id":"1333001488","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333001477":["hashtag1","hashtag2"]},{"1333001491":["hashtag1","hashtag2"]},{"1333001488":["hashtag1","hashtag2"]},{"1333001443":["hashtag1","hashtag2"]},{"1333001448":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333001477, 1333001491, 1333001488, 1333001443, 1333001448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.15812134742737 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:20:32.889568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/19/image_30012025_14_19_54_9403.jpg', '/home/pi/Desktop/images/30012025/14/19/image_30012025_14_20_04_10339.jpg', '/home/pi/Desktop/images/30012025/14/20/image_30012025_14_20_15_10363.jpg', '/home/pi/Desktop/images/30012025/14/20/image_30012025_14_20_24_9337.jpg', '/home/pi/Desktop/images/30012025/14/20/image_30012025_14_20_34_10349.jpg', '/home/pi/Desktop/images/30012025/14/20/image_30012025_14_20_45_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/19/image_30012025_14_19_54_9403.jpg
/home/pi/Desktop/images/30012025/14/19/image_30012025_14_20_04_10339.jpg
/home/pi/Desktop/images/30012025/14/20/image_30012025_14_20_15_10363.jpg
/home/pi/Desktop/images/30012025/14/20/image_30012025_14_20_24_9337.jpg
/home/pi/Desktop/images/30012025/14/20/image_30012025_14_20_34_10349.jpg
/home/pi/Desktop/images/30012025/14/20/image_30012025_14_20_45_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333001514","1333001726","1333001695","1333001734","1333001646","1333001640"],"photo_ids_order":["1333001514","1333001640","1333001646","1333001695","1333001726","1333001734"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b3b520939be30cee5a865b929949346a.jpg","text":"TemporaryFile(/tmp/multipartBody6544064467213707739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243293786,"filename":"image_30012025_14_19_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/30/3f5836cc2d8d4e25c10b2d45b20f6f43.jpg","text":"TemporaryFile(/tmp/multipartBody8454371015497035637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243293786,"filename":"image_30012025_14_20_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/30/a6b7ca701e0fc2d0b64beefa6b027ba2.jpg","text":"TemporaryFile(/tmp/multipartBody7167046512437269125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243293786,"filename":"image_30012025_14_20_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/30/64349d78be9b0d6239ed38369fc9433c.jpg","text":"TemporaryFile(/tmp/multipartBody8296980874916056382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243293786,"filename":"image_30012025_14_20_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/30/c9e45d525baaeb3cb348df3600f50184.jpg","text":"TemporaryFile(/tmp/multipartBody7363876817962632884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243293786,"filename":"image_30012025_14_20_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/30/fe8919d47a97ce1f0c2122bd7eeaee42.jpg","text":"TemporaryFile(/tmp/multipartBody5620614553268737431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243293786,"filename":"image_30012025_14_20_04_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333001646","file1":"1333001640","file0":"1333001514","file4":"1333001726","file5":"1333001734","file3":"1333001695"},"map_files_photo_id_array":[{"photo_id":"1333001734","filename":"file5"},{"photo_id":"1333001646","filename":"file2"},{"photo_id":"1333001726","filename":"file4"},{"photo_id":"1333001640","filename":"file1"},{"photo_id":"1333001514","filename":"file0"},{"photo_id":"1333001695","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333001514":["hashtag1","hashtag2"]},{"1333001726":["hashtag1","hashtag2"]},{"1333001695":["hashtag1","hashtag2"]},{"1333001734":["hashtag1","hashtag2"]},{"1333001646":["hashtag1","hashtag2"]},{"1333001640":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333001514, 1333001726, 1333001695, 1333001734, 1333001646, 1333001640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.43411326408386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:21:33.027131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/20/image_30012025_14_20_54_9336.jpg', '/home/pi/Desktop/images/30012025/14/20/image_30012025_14_21_04_10364.jpg', '/home/pi/Desktop/images/30012025/14/21/image_30012025_14_21_15_10324.jpg', '/home/pi/Desktop/images/30012025/14/21/image_30012025_14_21_24_9460.jpg', '/home/pi/Desktop/images/30012025/14/21/image_30012025_14_21_34_10340.jpg', '/home/pi/Desktop/images/30012025/14/21/image_30012025_14_21_44_9475.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/20/image_30012025_14_20_54_9336.jpg
/home/pi/Desktop/images/30012025/14/20/image_30012025_14_21_04_10364.jpg
/home/pi/Desktop/images/30012025/14/21/image_30012025_14_21_15_10324.jpg
/home/pi/Desktop/images/30012025/14/21/image_30012025_14_21_24_9460.jpg
/home/pi/Desktop/images/30012025/14/21/image_30012025_14_21_34_10340.jpg
/home/pi/Desktop/images/30012025/14/21/image_30012025_14_21_44_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":["1333001774","1333001777","1333001753","1333001758","1333001763","1333001769"],"photo_ids_order":["1333001753","1333001758","1333001763","1333001769","1333001774","1333001777"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ac2cc6ed3a665dd0a2b9f086c97bc703.jpg","text":"TemporaryFile(/tmp/multipartBody6425452113650943119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243353930,"filename":"image_30012025_14_21_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/30/879beb6fbf6c84ca7f4176ece86cda86.jpg","text":"TemporaryFile(/tmp/multipartBody5699952767175970176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243353930,"filename":"image_30012025_14_21_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/30/2295caaf5ff8e11b931050d57446e49f.jpg","text":"TemporaryFile(/tmp/multipartBody2499166320375069446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243353930,"filename":"image_30012025_14_20_54_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0f68a59e0691e0fd8cc438f5807beb89.jpg","text":"TemporaryFile(/tmp/multipartBody4362421468634206212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243353930,"filename":"image_30012025_14_21_04_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/30/a17fb2b09b6876e7393a5b4a2ab72fae.jpg","text":"TemporaryFile(/tmp/multipartBody7145858582843710360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243353930,"filename":"image_30012025_14_21_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/30/60d14104fbea3702544ca6f3ea78b141.jpg","text":"TemporaryFile(/tmp/multipartBody240374544619004221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243353930,"filename":"image_30012025_14_21_24_9460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333001763","file1":"1333001758","file0":"1333001753","file4":"1333001774","file5":"1333001777","file3":"1333001769"},"map_files_photo_id_array":[{"photo_id":"1333001777","filename":"file5"},{"photo_id":"1333001763","filename":"file2"},{"photo_id":"1333001774","filename":"file4"},{"photo_id":"1333001758","filename":"file1"},{"photo_id":"1333001753","filename":"file0"},{"photo_id":"1333001769","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333001774":["hashtag1","hashtag2"]},{"1333001777":["hashtag1","hashtag2"]},{"1333001753":["hashtag1","hashtag2"]},{"1333001758":["hashtag1","hashtag2"]},{"1333001763":["hashtag1","hashtag2"]},{"1333001769":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333001774, 1333001777, 1333001753, 1333001758, 1333001763, 1333001769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.41323924064636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:22:32.099457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/21/image_30012025_14_21_54_10350.jpg', '/home/pi/Desktop/images/30012025/14/21/image_30012025_14_22_05_10453.jpg', '/home/pi/Desktop/images/30012025/14/22/image_30012025_14_22_14_9436.jpg', '/home/pi/Desktop/images/30012025/14/22/image_30012025_14_22_25_10331.jpg', '/home/pi/Desktop/images/30012025/14/22/image_30012025_14_22_34_9438.jpg', '/home/pi/Desktop/images/30012025/14/22/image_30012025_14_22_44_10435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/21/image_30012025_14_21_54_10350.jpg
/home/pi/Desktop/images/30012025/14/21/image_30012025_14_22_05_10453.jpg
/home/pi/Desktop/images/30012025/14/22/image_30012025_14_22_14_9436.jpg
/home/pi/Desktop/images/30012025/14/22/image_30012025_14_22_25_10331.jpg
/home/pi/Desktop/images/30012025/14/22/image_30012025_14_22_34_9438.jpg
/home/pi/Desktop/images/30012025/14/22/image_30012025_14_22_44_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":["1333002056","1333002050","1333002091","1333001794","1333001812","1333001808"],"photo_ids_order":["1333001794","1333001808","1333001812","1333002050","1333002056","1333002091"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/51c884ccaaa95cdce82a92903cf2595e.jpg","text":"TemporaryFile(/tmp/multipartBody7026196821698080635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243413003,"filename":"image_30012025_14_22_34_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/30/958245a776be3c75822cf07222e0520c.jpg","text":"TemporaryFile(/tmp/multipartBody1928551674351689847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243413003,"filename":"image_30012025_14_22_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/30/4d70c2d95a82d836ac046bdb302e9259.jpg","text":"TemporaryFile(/tmp/multipartBody7990575651676874920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243413003,"filename":"image_30012025_14_22_44_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/30/f6c25711925c65fdee51b86e51728fd8.jpg","text":"TemporaryFile(/tmp/multipartBody3362001394676652572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243413003,"filename":"image_30012025_14_21_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/30/6c9d5f6aa574fabb67eaeead4fb36461.jpg","text":"TemporaryFile(/tmp/multipartBody5672786726458396659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243413003,"filename":"image_30012025_14_22_14_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/439076a4d54ed8a439c855dfc56c3a89.jpg","text":"TemporaryFile(/tmp/multipartBody9117972526760969391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243413003,"filename":"image_30012025_14_22_05_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333001812","file1":"1333001808","file0":"1333001794","file4":"1333002056","file5":"1333002091","file3":"1333002050"},"map_files_photo_id_array":[{"photo_id":"1333002091","filename":"file5"},{"photo_id":"1333001812","filename":"file2"},{"photo_id":"1333002056","filename":"file4"},{"photo_id":"1333001808","filename":"file1"},{"photo_id":"1333001794","filename":"file0"},{"photo_id":"1333002050","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333002056":["hashtag1","hashtag2"]},{"1333002050":["hashtag1","hashtag2"]},{"1333002091":["hashtag1","hashtag2"]},{"1333001794":["hashtag1","hashtag2"]},{"1333001812":["hashtag1","hashtag2"]},{"1333001808":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333002056, 1333002050, 1333002091, 1333001794, 1333001812, 1333001808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2098445892334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:23:32.354870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/22/image_30012025_14_22_55_10381.jpg', '/home/pi/Desktop/images/30012025/14/22/image_30012025_14_23_04_9401.jpg', '/home/pi/Desktop/images/30012025/14/23/image_30012025_14_23_15_10346.jpg', '/home/pi/Desktop/images/30012025/14/23/image_30012025_14_23_24_9405.jpg', '/home/pi/Desktop/images/30012025/14/23/image_30012025_14_23_34_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/22/image_30012025_14_22_55_10381.jpg
/home/pi/Desktop/images/30012025/14/22/image_30012025_14_23_04_9401.jpg
/home/pi/Desktop/images/30012025/14/23/image_30012025_14_23_15_10346.jpg
/home/pi/Desktop/images/30012025/14/23/image_30012025_14_23_24_9405.jpg
/home/pi/Desktop/images/30012025/14/23/image_30012025_14_23_34_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":["1333002218","1333002203","1333002199","1333002214","1333002207"],"photo_ids_order":["1333002199","1333002203","1333002207","1333002214","1333002218"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ecf7a1f402c730daa9d66f89391bceab.jpg","text":"TemporaryFile(/tmp/multipartBody4458948082820116134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243473246,"filename":"image_30012025_14_23_34_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/30/9101b937a61cace2020efe043b61df52.jpg","text":"TemporaryFile(/tmp/multipartBody1833013440592880738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243473246,"filename":"image_30012025_14_23_04_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/30/d505c2f4ce9510a27b4c2a89b524e3d9.jpg","text":"TemporaryFile(/tmp/multipartBody2879824021535838763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243473246,"filename":"image_30012025_14_22_55_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6dcd68623de5d3b9fc4a67ac677163eb.jpg","text":"TemporaryFile(/tmp/multipartBody969502789997455453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243473246,"filename":"image_30012025_14_23_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/30/45f66ccc8ebf75106839a94b393ac732.jpg","text":"TemporaryFile(/tmp/multipartBody6312699452848763536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243473246,"filename":"image_30012025_14_23_15_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333002207","file1":"1333002203","file0":"1333002199","file4":"1333002218","file3":"1333002214"},"map_files_photo_id_array":[{"photo_id":"1333002207","filename":"file2"},{"photo_id":"1333002218","filename":"file4"},{"photo_id":"1333002203","filename":"file1"},{"photo_id":"1333002199","filename":"file0"},{"photo_id":"1333002214","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333002218":["hashtag1","hashtag2"]},{"1333002203":["hashtag1","hashtag2"]},{"1333002199":["hashtag1","hashtag2"]},{"1333002214":["hashtag1","hashtag2"]},{"1333002207":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333002218, 1333002203, 1333002199, 1333002214, 1333002207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.573180198669434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:24:32.533611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/23/image_30012025_14_23_54_9440.jpg', '/home/pi/Desktop/images/30012025/14/23/image_30012025_14_24_05_10429.jpg', '/home/pi/Desktop/images/30012025/14/24/image_30012025_14_24_14_9526.jpg', '/home/pi/Desktop/images/30012025/14/24/image_30012025_14_24_24_10362.jpg', '/home/pi/Desktop/images/30012025/14/24/image_30012025_14_24_35_10397.jpg', '/home/pi/Desktop/images/30012025/14/24/image_30012025_14_24_44_9426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/23/image_30012025_14_23_54_9440.jpg
/home/pi/Desktop/images/30012025/14/23/image_30012025_14_24_05_10429.jpg
/home/pi/Desktop/images/30012025/14/24/image_30012025_14_24_14_9526.jpg
/home/pi/Desktop/images/30012025/14/24/image_30012025_14_24_24_10362.jpg
/home/pi/Desktop/images/30012025/14/24/image_30012025_14_24_35_10397.jpg
/home/pi/Desktop/images/30012025/14/24/image_30012025_14_24_44_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":["1333002254","1333002248","1333002256","1333002264","1333002243","1333002251"],"photo_ids_order":["1333002243","1333002248","1333002251","1333002254","1333002256","1333002264"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6174489dfa318214ee5b95a5d53f92ce.jpg","text":"TemporaryFile(/tmp/multipartBody977813265870781441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243533427,"filename":"image_30012025_14_24_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/30/3c88b5e6f9f89abd59456111adc3a098.jpg","text":"TemporaryFile(/tmp/multipartBody758175715144559738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243533427,"filename":"image_30012025_14_24_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/30/6f1ec8ea128c94d632f286ca78ffcf87.jpg","text":"TemporaryFile(/tmp/multipartBody193339041297584469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243533427,"filename":"image_30012025_14_24_35_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/30/c04a3c83746427ed27e7f4933bd7feac.jpg","text":"TemporaryFile(/tmp/multipartBody6210332466196565380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243533427,"filename":"image_30012025_14_24_44_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/30/6e7359acefdb11ce3fecb5d269663fb6.jpg","text":"TemporaryFile(/tmp/multipartBody6478466774477363503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243533427,"filename":"image_30012025_14_23_54_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6cfb25e75997a7469547fb379e5a0dfe.jpg","text":"TemporaryFile(/tmp/multipartBody1738452998377457337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243533427,"filename":"image_30012025_14_24_14_9526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333002251","file1":"1333002248","file0":"1333002243","file4":"1333002256","file5":"1333002264","file3":"1333002254"},"map_files_photo_id_array":[{"photo_id":"1333002264","filename":"file5"},{"photo_id":"1333002251","filename":"file2"},{"photo_id":"1333002256","filename":"file4"},{"photo_id":"1333002248","filename":"file1"},{"photo_id":"1333002243","filename":"file0"},{"photo_id":"1333002254","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333002254":["hashtag1","hashtag2"]},{"1333002248":["hashtag1","hashtag2"]},{"1333002256":["hashtag1","hashtag2"]},{"1333002264":["hashtag1","hashtag2"]},{"1333002243":["hashtag1","hashtag2"]},{"1333002251":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333002254, 1333002248, 1333002256, 1333002264, 1333002243, 1333002251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.153040409088135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:25:32.805487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/24/image_30012025_14_24_55_10362.jpg', '/home/pi/Desktop/images/30012025/14/24/image_30012025_14_25_04_9398.jpg', '/home/pi/Desktop/images/30012025/14/25/image_30012025_14_25_14_10340.jpg', '/home/pi/Desktop/images/30012025/14/25/image_30012025_14_25_25_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/24/image_30012025_14_24_55_10362.jpg
/home/pi/Desktop/images/30012025/14/24/image_30012025_14_25_04_9398.jpg
/home/pi/Desktop/images/30012025/14/25/image_30012025_14_25_14_10340.jpg
/home/pi/Desktop/images/30012025/14/25/image_30012025_14_25_25_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":["1333002326","1333002320","1333002337","1333002331"],"photo_ids_order":["1333002320","1333002326","1333002331","1333002337"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c4de2f14731a13adcef3769184843e5d.jpg","text":"TemporaryFile(/tmp/multipartBody350162182080185251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243593668,"filename":"image_30012025_14_25_04_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/30/bec9af2f2aa7a031ca5fbb1a2a321f27.jpg","text":"TemporaryFile(/tmp/multipartBody194841998925840206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243593668,"filename":"image_30012025_14_24_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/30/2a61cb696cf34b86fc3af27e4dda9ff2.jpg","text":"TemporaryFile(/tmp/multipartBody8942165452741221152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243593668,"filename":"image_30012025_14_25_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/30/a3361801f315a527c6158131f71ece8e.jpg","text":"TemporaryFile(/tmp/multipartBody8816569439925345658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243593668,"filename":"image_30012025_14_25_14_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333002331","file1":"1333002326","file0":"1333002320","file3":"1333002337"},"map_files_photo_id_array":[{"photo_id":"1333002331","filename":"file2"},{"photo_id":"1333002326","filename":"file1"},{"photo_id":"1333002320","filename":"file0"},{"photo_id":"1333002337","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333002326":["hashtag1","hashtag2"]},{"1333002320":["hashtag1","hashtag2"]},{"1333002337":["hashtag1","hashtag2"]},{"1333002331":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333002326, 1333002320, 1333002337, 1333002331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.85503840446472 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 14:26:03.669632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/11/image_28012025_21_11_15_10417.jpg', '/home/pi/Desktop/images/28012025/21/11/image_28012025_21_11_25_9369.jpg', '/home/pi/Desktop/images/28012025/21/11/image_28012025_21_11_35_10346.jpg', '/home/pi/Desktop/images/28012025/21/11/image_28012025_21_11_45_10409.jpg', '/home/pi/Desktop/images/28012025/21/11/image_28012025_21_11_55_9384.jpg', '/home/pi/Desktop/images/28012025/21/11/image_28012025_21_12_05_10395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/11/image_28012025_21_11_15_10417.jpg
/home/pi/Desktop/images/28012025/21/11/image_28012025_21_11_25_9369.jpg
/home/pi/Desktop/images/28012025/21/11/image_28012025_21_11_35_10346.jpg
/home/pi/Desktop/images/28012025/21/11/image_28012025_21_11_45_10409.jpg
/home/pi/Desktop/images/28012025/21/11/image_28012025_21_11_55_9384.jpg
/home/pi/Desktop/images/28012025/21/11/image_28012025_21_12_05_10395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333002355","1333002358","1333002351","1333002354","1333002348","1333002362"],"photo_ids_order":["1333002348","1333002351","1333002354","1333002355","1333002358","1333002362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a5f957d251d8cb15bf1242945ae09d82.jpg","text":"TemporaryFile(/tmp/multipartBody1124584082799052957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243625399,"filename":"image_28012025_21_11_45_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7e16a3ed75cc8d8e7397c9ec427a70a6.jpg","text":"TemporaryFile(/tmp/multipartBody8377916237642525229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243625399,"filename":"image_28012025_21_11_55_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ac3c86e2fa354d3010c8c491c7da5e80.jpg","text":"TemporaryFile(/tmp/multipartBody234808995086224698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243625399,"filename":"image_28012025_21_11_25_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2195ece5219356763a1c9aef407d3ad8.jpg","text":"TemporaryFile(/tmp/multipartBody5810920867212821144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243625399,"filename":"image_28012025_21_11_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/30/818cc2ce5a66bcfcb8aae3c0db017e34.jpg","text":"TemporaryFile(/tmp/multipartBody1000678001532715693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243625399,"filename":"image_28012025_21_11_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/30/949c148bc1a769f9ed25daf501de90a8.jpg","text":"TemporaryFile(/tmp/multipartBody418158462952547130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243625399,"filename":"image_28012025_21_12_05_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333002354","file1":"1333002351","file0":"1333002348","file4":"1333002358","file5":"1333002362","file3":"1333002355"},"map_files_photo_id_array":[{"photo_id":"1333002362","filename":"file5"},{"photo_id":"1333002354","filename":"file2"},{"photo_id":"1333002358","filename":"file4"},{"photo_id":"1333002351","filename":"file1"},{"photo_id":"1333002348","filename":"file0"},{"photo_id":"1333002355","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333002355":["hashtag1","hashtag2"]},{"1333002358":["hashtag1","hashtag2"]},{"1333002351":["hashtag1","hashtag2"]},{"1333002354":["hashtag1","hashtag2"]},{"1333002348":["hashtag1","hashtag2"]},{"1333002362":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333002355, 1333002358, 1333002351, 1333002354, 1333002348, 1333002362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.939433574676514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:26:52.963191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/25/image_30012025_14_25_54_9448.jpg', '/home/pi/Desktop/images/30012025/14/25/image_30012025_14_26_04_10340.jpg', '/home/pi/Desktop/images/30012025/14/26/image_30012025_14_26_15_10327.jpg', '/home/pi/Desktop/images/30012025/14/26/image_30012025_14_26_24_9457.jpg', '/home/pi/Desktop/images/30012025/14/26/image_30012025_14_26_34_10379.jpg', '/home/pi/Desktop/images/30012025/14/26/image_30012025_14_26_45_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/25/image_30012025_14_25_54_9448.jpg
/home/pi/Desktop/images/30012025/14/25/image_30012025_14_26_04_10340.jpg
/home/pi/Desktop/images/30012025/14/26/image_30012025_14_26_15_10327.jpg
/home/pi/Desktop/images/30012025/14/26/image_30012025_14_26_24_9457.jpg
/home/pi/Desktop/images/30012025/14/26/image_30012025_14_26_34_10379.jpg
/home/pi/Desktop/images/30012025/14/26/image_30012025_14_26_45_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333002385","1333002388","1333002382","1333002399","1333002392","1333002395"],"photo_ids_order":["1333002382","1333002385","1333002388","1333002392","1333002395","1333002399"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/26b5e6dfb4c4a5feef7884966667c665.jpg","text":"TemporaryFile(/tmp/multipartBody7375016087096054488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243673856,"filename":"image_30012025_14_26_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/30/b1f5d9755a52be1a80d56077440b1e12.jpg","text":"TemporaryFile(/tmp/multipartBody3040713550520874758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243673856,"filename":"image_30012025_14_26_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/30/4edf7554136235330de9898bf664df2e.jpg","text":"TemporaryFile(/tmp/multipartBody5990640833640030567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243673856,"filename":"image_30012025_14_25_54_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3ea0ebe446c343d9a5ab84b3d0096f49.jpg","text":"TemporaryFile(/tmp/multipartBody4098906194112898544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243673856,"filename":"image_30012025_14_26_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/30/9cefe1ec1bb798ee035e16dfcef260a6.jpg","text":"TemporaryFile(/tmp/multipartBody1389266556028385425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243673856,"filename":"image_30012025_14_26_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/30/3938f3bd3e308965cf487d2887856819.jpg","text":"TemporaryFile(/tmp/multipartBody5763115189284809862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243673856,"filename":"image_30012025_14_26_34_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333002388","file1":"1333002385","file0":"1333002382","file4":"1333002395","file5":"1333002399","file3":"1333002392"},"map_files_photo_id_array":[{"photo_id":"1333002399","filename":"file5"},{"photo_id":"1333002388","filename":"file2"},{"photo_id":"1333002395","filename":"file4"},{"photo_id":"1333002385","filename":"file1"},{"photo_id":"1333002382","filename":"file0"},{"photo_id":"1333002392","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333002385":["hashtag1","hashtag2"]},{"1333002388":["hashtag1","hashtag2"]},{"1333002382":["hashtag1","hashtag2"]},{"1333002399":["hashtag1","hashtag2"]},{"1333002392":["hashtag1","hashtag2"]},{"1333002395":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333002385, 1333002388, 1333002382, 1333002399, 1333002392, 1333002395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.02355670928955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 14:27:42.281089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/26/image_30012025_14_26_54_9366.jpg', '/home/pi/Desktop/images/30012025/14/26/image_30012025_14_27_05_10343.jpg', '/home/pi/Desktop/images/30012025/14/27/image_30012025_14_27_14_9334.jpg', '/home/pi/Desktop/images/30012025/14/27/image_30012025_14_27_24_10355.jpg', '/home/pi/Desktop/images/30012025/14/27/image_30012025_14_27_35_10341.jpg', '/home/pi/Desktop/images/30012025/14/27/image_30012025_14_27_44_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/26/image_30012025_14_26_54_9366.jpg
/home/pi/Desktop/images/30012025/14/26/image_30012025_14_27_05_10343.jpg
/home/pi/Desktop/images/30012025/14/27/image_30012025_14_27_14_9334.jpg
/home/pi/Desktop/images/30012025/14/27/image_30012025_14_27_24_10355.jpg
/home/pi/Desktop/images/30012025/14/27/image_30012025_14_27_35_10341.jpg
/home/pi/Desktop/images/30012025/14/27/image_30012025_14_27_44_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":["1333002422","1333002460","1333002454","1333002457","1333002427","1333002464"],"photo_ids_order":["1333002422","1333002427","1333002454","1333002457","1333002460","1333002464"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/281332110996791b1532b259c825db73.jpg","text":"TemporaryFile(/tmp/multipartBody7053461435689981117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243723179,"filename":"image_30012025_14_26_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/30/056d1a2694dbecc59f727f69c81055e2.jpg","text":"TemporaryFile(/tmp/multipartBody8921182845702162068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243723179,"filename":"image_30012025_14_27_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/30/04905b80636aa4f0fe259ab41156d817.jpg","text":"TemporaryFile(/tmp/multipartBody6538487455723324761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243723179,"filename":"image_30012025_14_27_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/30/59504835269b90832f5a544e4fd0eec1.jpg","text":"TemporaryFile(/tmp/multipartBody4686668463255656217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243723179,"filename":"image_30012025_14_27_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/30/23ce27d6ee62cab6c00b7dfe0dce42d3.jpg","text":"TemporaryFile(/tmp/multipartBody2377652328084444256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243723179,"filename":"image_30012025_14_27_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/30/f471364421d9de99990fca6d761dcf52.jpg","text":"TemporaryFile(/tmp/multipartBody1010305420135628947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243723179,"filename":"image_30012025_14_27_44_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333002454","file1":"1333002427","file0":"1333002422","file4":"1333002460","file5":"1333002464","file3":"1333002457"},"map_files_photo_id_array":[{"photo_id":"1333002464","filename":"file5"},{"photo_id":"1333002454","filename":"file2"},{"photo_id":"1333002460","filename":"file4"},{"photo_id":"1333002427","filename":"file1"},{"photo_id":"1333002422","filename":"file0"},{"photo_id":"1333002457","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333002422":["hashtag1","hashtag2"]},{"1333002460":["hashtag1","hashtag2"]},{"1333002454":["hashtag1","hashtag2"]},{"1333002457":["hashtag1","hashtag2"]},{"1333002427":["hashtag1","hashtag2"]},{"1333002464":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333002422, 1333002460, 1333002454, 1333002457, 1333002427, 1333002464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.969632625579834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:28:32.450282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/27/image_30012025_14_27_54_10403.jpg', '/home/pi/Desktop/images/30012025/14/27/image_30012025_14_28_05_10355.jpg', '/home/pi/Desktop/images/30012025/14/28/image_30012025_14_28_14_9343.jpg', '/home/pi/Desktop/images/30012025/14/28/image_30012025_14_28_24_10348.jpg', '/home/pi/Desktop/images/30012025/14/28/image_30012025_14_28_35_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/27/image_30012025_14_27_54_10403.jpg
/home/pi/Desktop/images/30012025/14/27/image_30012025_14_28_05_10355.jpg
/home/pi/Desktop/images/30012025/14/28/image_30012025_14_28_14_9343.jpg
/home/pi/Desktop/images/30012025/14/28/image_30012025_14_28_24_10348.jpg
/home/pi/Desktop/images/30012025/14/28/image_30012025_14_28_35_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.5074594020843506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 14:28:42.513519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/27/image_30012025_14_27_54_10403.jpg', '/home/pi/Desktop/images/30012025/14/27/image_30012025_14_28_05_10355.jpg', '/home/pi/Desktop/images/30012025/14/28/image_30012025_14_28_14_9343.jpg', '/home/pi/Desktop/images/30012025/14/28/image_30012025_14_28_24_10348.jpg', '/home/pi/Desktop/images/30012025/14/28/image_30012025_14_28_35_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/27/image_30012025_14_27_54_10403.jpg
/home/pi/Desktop/images/30012025/14/27/image_30012025_14_28_05_10355.jpg
/home/pi/Desktop/images/30012025/14/28/image_30012025_14_28_14_9343.jpg
/home/pi/Desktop/images/30012025/14/28/image_30012025_14_28_24_10348.jpg
/home/pi/Desktop/images/30012025/14/28/image_30012025_14_28_35_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":["1333002506","1333002490","1333002508","1333002504","1333002497"],"photo_ids_order":["1333002490","1333002497","1333002504","1333002506","1333002508"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4898ca7fcfdb4ef6444c39c9f348264f.jpg","text":"TemporaryFile(/tmp/multipartBody8106706783483117172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243783399,"filename":"image_30012025_14_28_24_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/154ae74209f9985b5384d613058158b1.jpg","text":"TemporaryFile(/tmp/multipartBody2186442661952121025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243783399,"filename":"image_30012025_14_27_54_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/30/f59f90ff3472589c0edaad5f9c185815.jpg","text":"TemporaryFile(/tmp/multipartBody6920262754390960866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243783399,"filename":"image_30012025_14_28_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/30/6a7ee29d5d2506a550036e0aac436025.jpg","text":"TemporaryFile(/tmp/multipartBody2537161079324948591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243783399,"filename":"image_30012025_14_28_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/30/2abdc0874612c316bb7019ea74f5836c.jpg","text":"TemporaryFile(/tmp/multipartBody3634126254519274033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243783399,"filename":"image_30012025_14_28_05_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333002504","file1":"1333002497","file0":"1333002490","file4":"1333002508","file3":"1333002506"},"map_files_photo_id_array":[{"photo_id":"1333002504","filename":"file2"},{"photo_id":"1333002508","filename":"file4"},{"photo_id":"1333002497","filename":"file1"},{"photo_id":"1333002490","filename":"file0"},{"photo_id":"1333002506","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333002506":["hashtag1","hashtag2"]},{"1333002490":["hashtag1","hashtag2"]},{"1333002508":["hashtag1","hashtag2"]},{"1333002504":["hashtag1","hashtag2"]},{"1333002497":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333002506, 1333002490, 1333002508, 1333002504, 1333002497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.97755527496338 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:29:32.617889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/28/image_30012025_14_28_44_9393.jpg', '/home/pi/Desktop/images/30012025/14/28/image_30012025_14_29_05_10388.jpg', '/home/pi/Desktop/images/30012025/14/29/image_30012025_14_29_14_9347.jpg', '/home/pi/Desktop/images/30012025/14/29/image_30012025_14_29_25_10354.jpg', '/home/pi/Desktop/images/30012025/14/29/image_30012025_14_29_34_9344.jpg', '/home/pi/Desktop/images/30012025/14/29/image_30012025_14_29_44_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/28/image_30012025_14_28_44_9393.jpg
/home/pi/Desktop/images/30012025/14/28/image_30012025_14_29_05_10388.jpg
/home/pi/Desktop/images/30012025/14/29/image_30012025_14_29_14_9347.jpg
/home/pi/Desktop/images/30012025/14/29/image_30012025_14_29_25_10354.jpg
/home/pi/Desktop/images/30012025/14/29/image_30012025_14_29_34_9344.jpg
/home/pi/Desktop/images/30012025/14/29/image_30012025_14_29_44_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":["1333002551","1333002545","1333002524","1333002538","1333002532","1333002557"],"photo_ids_order":["1333002524","1333002532","1333002538","1333002545","1333002551","1333002557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c396ed590c1b793649035142c5e8830e.jpg","text":"TemporaryFile(/tmp/multipartBody1097505133491570415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243833585,"filename":"image_30012025_14_29_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/30/34aa391db2d568a99dc95a2ff4bb6fc9.jpg","text":"TemporaryFile(/tmp/multipartBody5673539391069287520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243833585,"filename":"image_30012025_14_29_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/30/e2b8a43a2bfbb8a0bc28d41ea88b3e96.jpg","text":"TemporaryFile(/tmp/multipartBody600735670529371561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243833585,"filename":"image_30012025_14_28_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/30/a2311cf5c90ccea0f79edb689d89c909.jpg","text":"TemporaryFile(/tmp/multipartBody2693094412256713496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243833585,"filename":"image_30012025_14_29_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/30/93889bd996574d494be7f3eeb3b2ac67.jpg","text":"TemporaryFile(/tmp/multipartBody8485119508316210083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243833585,"filename":"image_30012025_14_29_05_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/30/52f3d171a2491cd530209d129eed8a98.jpg","text":"TemporaryFile(/tmp/multipartBody1509181390364470605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243833585,"filename":"image_30012025_14_29_44_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333002538","file1":"1333002532","file0":"1333002524","file4":"1333002551","file5":"1333002557","file3":"1333002545"},"map_files_photo_id_array":[{"photo_id":"1333002557","filename":"file5"},{"photo_id":"1333002538","filename":"file2"},{"photo_id":"1333002551","filename":"file4"},{"photo_id":"1333002532","filename":"file1"},{"photo_id":"1333002524","filename":"file0"},{"photo_id":"1333002545","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333002551":["hashtag1","hashtag2"]},{"1333002545":["hashtag1","hashtag2"]},{"1333002524":["hashtag1","hashtag2"]},{"1333002538":["hashtag1","hashtag2"]},{"1333002532":["hashtag1","hashtag2"]},{"1333002557":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333002551, 1333002545, 1333002524, 1333002538, 1333002532, 1333002557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.02830696105957 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:30:32.923450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/29/image_30012025_14_29_55_10344.jpg', '/home/pi/Desktop/images/30012025/14/30/image_30012025_14_30_15_10367.jpg', '/home/pi/Desktop/images/30012025/14/30/image_30012025_14_30_25_10399.jpg', '/home/pi/Desktop/images/30012025/14/30/image_30012025_14_30_34_9336.jpg', '/home/pi/Desktop/images/30012025/14/30/image_30012025_14_30_45_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/29/image_30012025_14_29_55_10344.jpg
/home/pi/Desktop/images/30012025/14/30/image_30012025_14_30_15_10367.jpg
/home/pi/Desktop/images/30012025/14/30/image_30012025_14_30_25_10399.jpg
/home/pi/Desktop/images/30012025/14/30/image_30012025_14_30_34_9336.jpg
/home/pi/Desktop/images/30012025/14/30/image_30012025_14_30_45_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333002598","1333002613","1333002607","1333002579","1333002587"],"photo_ids_order":["1333002579","1333002587","1333002598","1333002607","1333002613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6427b3b3edb34c8b14eb793f5f0600f4.jpg","text":"TemporaryFile(/tmp/multipartBody5565108461505165214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243893800,"filename":"image_30012025_14_30_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/30/88fc2ce1e65cdb5a79def964084f032e.jpg","text":"TemporaryFile(/tmp/multipartBody3719266625070820359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243893800,"filename":"image_30012025_14_30_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/30/31d090730f3b8abda21c99bb9d9662dc.jpg","text":"TemporaryFile(/tmp/multipartBody881313498842159823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243893800,"filename":"image_30012025_14_30_34_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/38b4be2931aa8a8181a2772721481bdb.jpg","text":"TemporaryFile(/tmp/multipartBody5324508459706879168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243893800,"filename":"image_30012025_14_29_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/30/2dc3183d41b3cce61faf00c68eb63302.jpg","text":"TemporaryFile(/tmp/multipartBody4371352873652715996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243893800,"filename":"image_30012025_14_30_15_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333002598","file1":"1333002587","file0":"1333002579","file4":"1333002613","file3":"1333002607"},"map_files_photo_id_array":[{"photo_id":"1333002598","filename":"file2"},{"photo_id":"1333002613","filename":"file4"},{"photo_id":"1333002587","filename":"file1"},{"photo_id":"1333002579","filename":"file0"},{"photo_id":"1333002607","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333002598":["hashtag1","hashtag2"]},{"1333002613":["hashtag1","hashtag2"]},{"1333002607":["hashtag1","hashtag2"]},{"1333002579":["hashtag1","hashtag2"]},{"1333002587":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333002598, 1333002613, 1333002607, 1333002579, 1333002587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.81504034996033 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:31:32.231524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/30/image_30012025_14_30_54_9355.jpg', '/home/pi/Desktop/images/30012025/14/30/image_30012025_14_31_04_10373.jpg', '/home/pi/Desktop/images/30012025/14/31/image_30012025_14_31_15_10327.jpg', '/home/pi/Desktop/images/30012025/14/31/image_30012025_14_31_24_9467.jpg', '/home/pi/Desktop/images/30012025/14/31/image_30012025_14_31_34_10331.jpg', '/home/pi/Desktop/images/30012025/14/31/image_30012025_14_31_44_9482.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/30/image_30012025_14_30_54_9355.jpg
/home/pi/Desktop/images/30012025/14/30/image_30012025_14_31_04_10373.jpg
/home/pi/Desktop/images/30012025/14/31/image_30012025_14_31_15_10327.jpg
/home/pi/Desktop/images/30012025/14/31/image_30012025_14_31_24_9467.jpg
/home/pi/Desktop/images/30012025/14/31/image_30012025_14_31_34_10331.jpg
/home/pi/Desktop/images/30012025/14/31/image_30012025_14_31_44_9482.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333003258","1333003215","1333003200","1333003101","1333003206","1333003106"],"photo_ids_order":["1333003101","1333003106","1333003200","1333003206","1333003215","1333003258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1ae9b56b6315ddfdcfe1cb6ab401ee1e.jpg","text":"TemporaryFile(/tmp/multipartBody2874325099173521800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243953137,"filename":"image_30012025_14_31_44_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/30/79f6c8fcc6524039cdeb248b7c08a020.jpg","text":"TemporaryFile(/tmp/multipartBody5845585359666179397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243953137,"filename":"image_30012025_14_31_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/30/cfac9b38960534b09e4cba67d351ffc8.jpg","text":"TemporaryFile(/tmp/multipartBody6741925845293641262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243953137,"filename":"image_30012025_14_31_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/30/4e8f1261dbec0059d9da0b6da018a295.jpg","text":"TemporaryFile(/tmp/multipartBody328527124262176151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243953137,"filename":"image_30012025_14_30_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/30/1ff9d6782b5214e5679397913f9778b4.jpg","text":"TemporaryFile(/tmp/multipartBody9221924276757159048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243953137,"filename":"image_30012025_14_31_24_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/30/3eb95cfa6661e140f09084c5bf89f124.jpg","text":"TemporaryFile(/tmp/multipartBody122950596104047778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738243953137,"filename":"image_30012025_14_31_04_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333003200","file1":"1333003106","file0":"1333003101","file4":"1333003215","file5":"1333003258","file3":"1333003206"},"map_files_photo_id_array":[{"photo_id":"1333003258","filename":"file5"},{"photo_id":"1333003200","filename":"file2"},{"photo_id":"1333003215","filename":"file4"},{"photo_id":"1333003106","filename":"file1"},{"photo_id":"1333003101","filename":"file0"},{"photo_id":"1333003206","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333003258":["hashtag1","hashtag2"]},{"1333003215":["hashtag1","hashtag2"]},{"1333003200":["hashtag1","hashtag2"]},{"1333003101":["hashtag1","hashtag2"]},{"1333003206":["hashtag1","hashtag2"]},{"1333003106":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333003258, 1333003215, 1333003200, 1333003101, 1333003206, 1333003106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.20504283905029 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:32:32.554528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/31/image_30012025_14_31_54_10332.jpg', '/home/pi/Desktop/images/30012025/14/31/image_30012025_14_32_05_10372.jpg', '/home/pi/Desktop/images/30012025/14/32/image_30012025_14_32_14_9324.jpg', '/home/pi/Desktop/images/30012025/14/32/image_30012025_14_32_24_10358.jpg', '/home/pi/Desktop/images/30012025/14/32/image_30012025_14_32_35_10447.jpg', '/home/pi/Desktop/images/30012025/14/32/image_30012025_14_32_44_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/31/image_30012025_14_31_54_10332.jpg
/home/pi/Desktop/images/30012025/14/31/image_30012025_14_32_05_10372.jpg
/home/pi/Desktop/images/30012025/14/32/image_30012025_14_32_14_9324.jpg
/home/pi/Desktop/images/30012025/14/32/image_30012025_14_32_24_10358.jpg
/home/pi/Desktop/images/30012025/14/32/image_30012025_14_32_35_10447.jpg
/home/pi/Desktop/images/30012025/14/32/image_30012025_14_32_44_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":["1333003415","1333003399","1333003387","1333003392","1333003410","1333003404"],"photo_ids_order":["1333003387","1333003392","1333003399","1333003404","1333003410","1333003415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/756df270ded4d3dafb7ffdd46c4f090a.jpg","text":"TemporaryFile(/tmp/multipartBody4313937992369954068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244013472,"filename":"image_30012025_14_32_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/30/0d0a210d6a348fc9fd7f847375d4d8f1.jpg","text":"TemporaryFile(/tmp/multipartBody7513544242991228765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244013472,"filename":"image_30012025_14_32_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/30/3bcb1325f51e3d3e856c405e9ee1e5d9.jpg","text":"TemporaryFile(/tmp/multipartBody2690013968187486693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244013472,"filename":"image_30012025_14_31_54_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/30/d7561dab318e376e740f48c8510c3747.jpg","text":"TemporaryFile(/tmp/multipartBody4034626715008784294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244013472,"filename":"image_30012025_14_32_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/30/d68b5a577b8c27c8e4a933db347557d0.jpg","text":"TemporaryFile(/tmp/multipartBody5584221056958088981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244013472,"filename":"image_30012025_14_32_35_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/30/a1ec93d07d5405b76308ba3bd56502ae.jpg","text":"TemporaryFile(/tmp/multipartBody3279192306847724057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244013472,"filename":"image_30012025_14_32_24_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333003399","file1":"1333003392","file0":"1333003387","file4":"1333003410","file5":"1333003415","file3":"1333003404"},"map_files_photo_id_array":[{"photo_id":"1333003415","filename":"file5"},{"photo_id":"1333003399","filename":"file2"},{"photo_id":"1333003410","filename":"file4"},{"photo_id":"1333003392","filename":"file1"},{"photo_id":"1333003387","filename":"file0"},{"photo_id":"1333003404","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333003415":["hashtag1","hashtag2"]},{"1333003399":["hashtag1","hashtag2"]},{"1333003387":["hashtag1","hashtag2"]},{"1333003392":["hashtag1","hashtag2"]},{"1333003410":["hashtag1","hashtag2"]},{"1333003404":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333003415, 1333003399, 1333003387, 1333003392, 1333003410, 1333003404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.65617299079895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:33:32.734937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/32/image_30012025_14_32_55_10377.jpg', '/home/pi/Desktop/images/30012025/14/32/image_30012025_14_33_04_9329.jpg', '/home/pi/Desktop/images/30012025/14/33/image_30012025_14_33_14_10340.jpg', '/home/pi/Desktop/images/30012025/14/33/image_30012025_14_33_25_10363.jpg', '/home/pi/Desktop/images/30012025/14/33/image_30012025_14_33_34_9433.jpg', '/home/pi/Desktop/images/30012025/14/33/image_30012025_14_33_44_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/32/image_30012025_14_32_55_10377.jpg
/home/pi/Desktop/images/30012025/14/32/image_30012025_14_33_04_9329.jpg
/home/pi/Desktop/images/30012025/14/33/image_30012025_14_33_14_10340.jpg
/home/pi/Desktop/images/30012025/14/33/image_30012025_14_33_25_10363.jpg
/home/pi/Desktop/images/30012025/14/33/image_30012025_14_33_34_9433.jpg
/home/pi/Desktop/images/30012025/14/33/image_30012025_14_33_44_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.501417875289917 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 14:33:42.807875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/32/image_30012025_14_32_55_10377.jpg', '/home/pi/Desktop/images/30012025/14/32/image_30012025_14_33_04_9329.jpg', '/home/pi/Desktop/images/30012025/14/33/image_30012025_14_33_14_10340.jpg', '/home/pi/Desktop/images/30012025/14/33/image_30012025_14_33_25_10363.jpg', '/home/pi/Desktop/images/30012025/14/33/image_30012025_14_33_34_9433.jpg', '/home/pi/Desktop/images/30012025/14/33/image_30012025_14_33_44_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/32/image_30012025_14_32_55_10377.jpg
/home/pi/Desktop/images/30012025/14/32/image_30012025_14_33_04_9329.jpg
/home/pi/Desktop/images/30012025/14/33/image_30012025_14_33_14_10340.jpg
/home/pi/Desktop/images/30012025/14/33/image_30012025_14_33_25_10363.jpg
/home/pi/Desktop/images/30012025/14/33/image_30012025_14_33_34_9433.jpg
/home/pi/Desktop/images/30012025/14/33/image_30012025_14_33_44_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":["1333003861","1333003762","1333003770","1333003773","1333003752","1333003976"],"photo_ids_order":["1333003752","1333003762","1333003770","1333003773","1333003861","1333003976"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/30732499fe19529b0e2bc38c1d558c01.jpg","text":"TemporaryFile(/tmp/multipartBody5377843491248781609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244083722,"filename":"image_30012025_14_33_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/30/4be417b69762608a55bd07bd9729d6d1.jpg","text":"TemporaryFile(/tmp/multipartBody144179004666793766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244083722,"filename":"image_30012025_14_33_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/30/b49ee209ee65f1f92fcd9e95322af94d.jpg","text":"TemporaryFile(/tmp/multipartBody1199191545038844681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244083722,"filename":"image_30012025_14_33_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/30/b5d19b9091168744c6e1fbb09c4308b0.jpg","text":"TemporaryFile(/tmp/multipartBody4655057628550916367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244083722,"filename":"image_30012025_14_33_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/30/eae02c730a049653c9d382a75c8fb79c.jpg","text":"TemporaryFile(/tmp/multipartBody5675856895464115032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244083722,"filename":"image_30012025_14_32_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/30/e3a8e8ff1fa614f57bd738f7ba6a5fc2.jpg","text":"TemporaryFile(/tmp/multipartBody5060173719376410694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244083722,"filename":"image_30012025_14_33_44_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333003770","file1":"1333003762","file0":"1333003752","file4":"1333003861","file5":"1333003976","file3":"1333003773"},"map_files_photo_id_array":[{"photo_id":"1333003976","filename":"file5"},{"photo_id":"1333003770","filename":"file2"},{"photo_id":"1333003861","filename":"file4"},{"photo_id":"1333003762","filename":"file1"},{"photo_id":"1333003752","filename":"file0"},{"photo_id":"1333003773","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333003861":["hashtag1","hashtag2"]},{"1333003762":["hashtag1","hashtag2"]},{"1333003770":["hashtag1","hashtag2"]},{"1333003773":["hashtag1","hashtag2"]},{"1333003752":["hashtag1","hashtag2"]},{"1333003976":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333003861, 1333003762, 1333003770, 1333003773, 1333003752, 1333003976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30672740936279 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:34:32.918623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/33/image_30012025_14_33_55_10433.jpg', '/home/pi/Desktop/images/30012025/14/33/image_30012025_14_34_04_9356.jpg', '/home/pi/Desktop/images/30012025/14/34/image_30012025_14_34_15_10339.jpg', '/home/pi/Desktop/images/30012025/14/34/image_30012025_14_34_24_9344.jpg', '/home/pi/Desktop/images/30012025/14/34/image_30012025_14_34_34_10449.jpg', '/home/pi/Desktop/images/30012025/14/34/image_30012025_14_34_45_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/33/image_30012025_14_33_55_10433.jpg
/home/pi/Desktop/images/30012025/14/33/image_30012025_14_34_04_9356.jpg
/home/pi/Desktop/images/30012025/14/34/image_30012025_14_34_15_10339.jpg
/home/pi/Desktop/images/30012025/14/34/image_30012025_14_34_24_9344.jpg
/home/pi/Desktop/images/30012025/14/34/image_30012025_14_34_34_10449.jpg
/home/pi/Desktop/images/30012025/14/34/image_30012025_14_34_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":["1333004079","1333004189","1333004216","1333004219","1333004194","1333004089"],"photo_ids_order":["1333004079","1333004089","1333004189","1333004194","1333004216","1333004219"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a3593d8f9eea32dcbcf88f74db906bd5.jpg","text":"TemporaryFile(/tmp/multipartBody8140788608789229576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244133824,"filename":"image_30012025_14_33_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/30/823874cb59d3e6a2c03919f3c37f1b0d.jpg","text":"TemporaryFile(/tmp/multipartBody6732342859857081253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244133824,"filename":"image_30012025_14_34_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/30/2232de36acd27cea53e6f1b29d7506db.jpg","text":"TemporaryFile(/tmp/multipartBody3047040083820374963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244133824,"filename":"image_30012025_14_34_34_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5d77c5bfb299883a52802965dab6bf7a.jpg","text":"TemporaryFile(/tmp/multipartBody969534685309468766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244133824,"filename":"image_30012025_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/30/6145b625c78d26bcec876d622ac8e835.jpg","text":"TemporaryFile(/tmp/multipartBody8098602396730114037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244133824,"filename":"image_30012025_14_34_24_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/30/7aa583c04ee8cb5cb8f6d52e3d45f24e.jpg","text":"TemporaryFile(/tmp/multipartBody3326456283344635214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244133824,"filename":"image_30012025_14_34_04_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333004189","file1":"1333004089","file0":"1333004079","file4":"1333004216","file5":"1333004219","file3":"1333004194"},"map_files_photo_id_array":[{"photo_id":"1333004219","filename":"file5"},{"photo_id":"1333004189","filename":"file2"},{"photo_id":"1333004216","filename":"file4"},{"photo_id":"1333004089","filename":"file1"},{"photo_id":"1333004079","filename":"file0"},{"photo_id":"1333004194","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333004079":["hashtag1","hashtag2"]},{"1333004189":["hashtag1","hashtag2"]},{"1333004216":["hashtag1","hashtag2"]},{"1333004219":["hashtag1","hashtag2"]},{"1333004194":["hashtag1","hashtag2"]},{"1333004089":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333004079, 1333004189, 1333004216, 1333004219, 1333004194, 1333004089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.3661789894104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:35:33.078215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/34/image_30012025_14_34_54_9442.jpg', '/home/pi/Desktop/images/30012025/14/34/image_30012025_14_35_05_10349.jpg', '/home/pi/Desktop/images/30012025/14/35/image_30012025_14_35_14_9375.jpg', '/home/pi/Desktop/images/30012025/14/35/image_30012025_14_35_24_10346.jpg', '/home/pi/Desktop/images/30012025/14/35/image_30012025_14_35_35_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/34/image_30012025_14_34_54_9442.jpg
/home/pi/Desktop/images/30012025/14/34/image_30012025_14_35_05_10349.jpg
/home/pi/Desktop/images/30012025/14/35/image_30012025_14_35_14_9375.jpg
/home/pi/Desktop/images/30012025/14/35/image_30012025_14_35_24_10346.jpg
/home/pi/Desktop/images/30012025/14/35/image_30012025_14_35_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":["1333004254","1333004248","1333004241","1333004232","1333004251"],"photo_ids_order":["1333004232","1333004241","1333004248","1333004251","1333004254"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/16a1069dcbd0fe3b401ad397f54e5e3a.jpg","text":"TemporaryFile(/tmp/multipartBody7010402469996548226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244193950,"filename":"image_30012025_14_35_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/30/db32575fef6c1482e2eaa9445cb18156.jpg","text":"TemporaryFile(/tmp/multipartBody8903758108335044453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244193950,"filename":"image_30012025_14_35_14_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d93dea6beedb3d2977410530a0605bad.jpg","text":"TemporaryFile(/tmp/multipartBody7763124560329675561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244193950,"filename":"image_30012025_14_35_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/30/e05f8d8d974b2efe9135260f9a27e368.jpg","text":"TemporaryFile(/tmp/multipartBody5164136279393493225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244193950,"filename":"image_30012025_14_34_54_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/30/621f29c05499a9a42ad075566c3818c0.jpg","text":"TemporaryFile(/tmp/multipartBody3406727375013268432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244193950,"filename":"image_30012025_14_35_24_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333004248","file1":"1333004241","file0":"1333004232","file4":"1333004254","file3":"1333004251"},"map_files_photo_id_array":[{"photo_id":"1333004248","filename":"file2"},{"photo_id":"1333004254","filename":"file4"},{"photo_id":"1333004241","filename":"file1"},{"photo_id":"1333004232","filename":"file0"},{"photo_id":"1333004251","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333004254":["hashtag1","hashtag2"]},{"1333004248":["hashtag1","hashtag2"]},{"1333004241":["hashtag1","hashtag2"]},{"1333004232":["hashtag1","hashtag2"]},{"1333004251":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333004254, 1333004248, 1333004241, 1333004232, 1333004251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.722495555877686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:36:32.248255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/35/image_30012025_14_35_44_9349.jpg', '/home/pi/Desktop/images/30012025/14/35/image_30012025_14_36_05_10360.jpg', '/home/pi/Desktop/images/30012025/14/36/image_30012025_14_36_14_9379.jpg', '/home/pi/Desktop/images/30012025/14/36/image_30012025_14_36_24_10345.jpg', '/home/pi/Desktop/images/30012025/14/36/image_30012025_14_36_35_10495.jpg', '/home/pi/Desktop/images/30012025/14/36/image_30012025_14_36_44_9400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/35/image_30012025_14_35_44_9349.jpg
/home/pi/Desktop/images/30012025/14/35/image_30012025_14_36_05_10360.jpg
/home/pi/Desktop/images/30012025/14/36/image_30012025_14_36_14_9379.jpg
/home/pi/Desktop/images/30012025/14/36/image_30012025_14_36_24_10345.jpg
/home/pi/Desktop/images/30012025/14/36/image_30012025_14_36_35_10495.jpg
/home/pi/Desktop/images/30012025/14/36/image_30012025_14_36_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":["1333004280","1333004313","1333004285","1333004293","1333004306","1333004299"],"photo_ids_order":["1333004280","1333004285","1333004293","1333004299","1333004306","1333004313"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/776d550f858b9007e0b8123605dbf212.jpg","text":"TemporaryFile(/tmp/multipartBody3272986236447996351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244253166,"filename":"image_30012025_14_35_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/30/b875659d582f16895a95b7b6e9403aa1.jpg","text":"TemporaryFile(/tmp/multipartBody6736707788899341214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244253166,"filename":"image_30012025_14_36_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/30/af0a8a5757f15797a2f22361ca480b80.jpg","text":"TemporaryFile(/tmp/multipartBody8474251666866467214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244253166,"filename":"image_30012025_14_36_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/30/500f4eec43267717f9a7aff939b70b06.jpg","text":"TemporaryFile(/tmp/multipartBody8940316393543096547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244253166,"filename":"image_30012025_14_36_14_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/14bc0222ac3cce3600d66a30b748d47b.jpg","text":"TemporaryFile(/tmp/multipartBody6126994454360409504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244253166,"filename":"image_30012025_14_36_35_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/30/9652ea62b64e79504749a4f1c3726c97.jpg","text":"TemporaryFile(/tmp/multipartBody8516648393244402029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244253166,"filename":"image_30012025_14_36_24_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333004293","file1":"1333004285","file0":"1333004280","file4":"1333004306","file5":"1333004313","file3":"1333004299"},"map_files_photo_id_array":[{"photo_id":"1333004313","filename":"file5"},{"photo_id":"1333004293","filename":"file2"},{"photo_id":"1333004306","filename":"file4"},{"photo_id":"1333004285","filename":"file1"},{"photo_id":"1333004280","filename":"file0"},{"photo_id":"1333004299","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333004280":["hashtag1","hashtag2"]},{"1333004313":["hashtag1","hashtag2"]},{"1333004285":["hashtag1","hashtag2"]},{"1333004293":["hashtag1","hashtag2"]},{"1333004306":["hashtag1","hashtag2"]},{"1333004299":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333004280, 1333004313, 1333004285, 1333004293, 1333004306, 1333004299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.994128465652466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:37:32.595370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/36/image_30012025_14_36_55_10347.jpg', '/home/pi/Desktop/images/30012025/14/36/image_30012025_14_37_04_9343.jpg', '/home/pi/Desktop/images/30012025/14/37/image_30012025_14_37_14_10350.jpg', '/home/pi/Desktop/images/30012025/14/37/image_30012025_14_37_25_10384.jpg', '/home/pi/Desktop/images/30012025/14/37/image_30012025_14_37_44_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/36/image_30012025_14_36_55_10347.jpg
/home/pi/Desktop/images/30012025/14/36/image_30012025_14_37_04_9343.jpg
/home/pi/Desktop/images/30012025/14/37/image_30012025_14_37_14_10350.jpg
/home/pi/Desktop/images/30012025/14/37/image_30012025_14_37_25_10384.jpg
/home/pi/Desktop/images/30012025/14/37/image_30012025_14_37_44_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":["1333004397","1333004385","1333004404","1333004408","1333004392"],"photo_ids_order":["1333004385","1333004392","1333004397","1333004404","1333004408"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/49f2791c36367c20848b0c757bedcf6d.jpg","text":"TemporaryFile(/tmp/multipartBody4010565787558671197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244313496,"filename":"image_30012025_14_37_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/30/76d460f6fa336468a938e8450bc6ee36.jpg","text":"TemporaryFile(/tmp/multipartBody455935173988848931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244313496,"filename":"image_30012025_14_36_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/30/d1c982ec31bbec670d432c16fbada5f5.jpg","text":"TemporaryFile(/tmp/multipartBody3903054140768102188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244313496,"filename":"image_30012025_14_37_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/30/00fb03a7f90bb30d33f684a25fe304ce.jpg","text":"TemporaryFile(/tmp/multipartBody4168776529163040685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244313496,"filename":"image_30012025_14_37_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/30/117ae95d7cf8654262649bbe3fa140ca.jpg","text":"TemporaryFile(/tmp/multipartBody3358373970194839720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244313496,"filename":"image_30012025_14_37_04_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333004397","file1":"1333004392","file0":"1333004385","file4":"1333004408","file3":"1333004404"},"map_files_photo_id_array":[{"photo_id":"1333004397","filename":"file2"},{"photo_id":"1333004408","filename":"file4"},{"photo_id":"1333004392","filename":"file1"},{"photo_id":"1333004385","filename":"file0"},{"photo_id":"1333004404","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333004397":["hashtag1","hashtag2"]},{"1333004385":["hashtag1","hashtag2"]},{"1333004404":["hashtag1","hashtag2"]},{"1333004408":["hashtag1","hashtag2"]},{"1333004392":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333004397, 1333004385, 1333004404, 1333004408, 1333004392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.663684368133545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:38:32.875417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/37/image_30012025_14_37_55_10418.jpg', '/home/pi/Desktop/images/30012025/14/37/image_30012025_14_38_04_9339.jpg', '/home/pi/Desktop/images/30012025/14/38/image_30012025_14_38_15_10335.jpg', '/home/pi/Desktop/images/30012025/14/38/image_30012025_14_38_24_9477.jpg', '/home/pi/Desktop/images/30012025/14/38/image_30012025_14_38_34_10381.jpg', '/home/pi/Desktop/images/30012025/14/38/image_30012025_14_38_45_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/37/image_30012025_14_37_55_10418.jpg
/home/pi/Desktop/images/30012025/14/37/image_30012025_14_38_04_9339.jpg
/home/pi/Desktop/images/30012025/14/38/image_30012025_14_38_15_10335.jpg
/home/pi/Desktop/images/30012025/14/38/image_30012025_14_38_24_9477.jpg
/home/pi/Desktop/images/30012025/14/38/image_30012025_14_38_34_10381.jpg
/home/pi/Desktop/images/30012025/14/38/image_30012025_14_38_45_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333005010","1333004815","1333004691","1333005006","1333004954","1333005001"],"photo_ids_order":["1333004691","1333004815","1333004954","1333005001","1333005006","1333005010"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2d4f0699b3362d9e782e0004eb820f64.jpg","text":"TemporaryFile(/tmp/multipartBody188780970961346374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244373764,"filename":"image_30012025_14_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/30/c7765c96e402125a355b1f1eeea1cdf0.jpg","text":"TemporaryFile(/tmp/multipartBody792367651732095119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244373764,"filename":"image_30012025_14_38_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/30/712f080fb772b3f27b2b33c8ba409800.jpg","text":"TemporaryFile(/tmp/multipartBody860188893206523651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244373764,"filename":"image_30012025_14_37_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/30/a04996789f62b428dcefe5fab5db20c8.jpg","text":"TemporaryFile(/tmp/multipartBody3315554451501444845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244373764,"filename":"image_30012025_14_38_34_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/30/6679698fb9c2b59aa10168ad0149e394.jpg","text":"TemporaryFile(/tmp/multipartBody7553031323909545380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244373764,"filename":"image_30012025_14_38_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/30/ff7e625373130255c1d70cdb8fcf88f0.jpg","text":"TemporaryFile(/tmp/multipartBody4394899678867945378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244373764,"filename":"image_30012025_14_38_24_9477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333004954","file1":"1333004815","file0":"1333004691","file4":"1333005006","file5":"1333005010","file3":"1333005001"},"map_files_photo_id_array":[{"photo_id":"1333005010","filename":"file5"},{"photo_id":"1333004954","filename":"file2"},{"photo_id":"1333005006","filename":"file4"},{"photo_id":"1333004815","filename":"file1"},{"photo_id":"1333004691","filename":"file0"},{"photo_id":"1333005001","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333005010":["hashtag1","hashtag2"]},{"1333004815":["hashtag1","hashtag2"]},{"1333004691":["hashtag1","hashtag2"]},{"1333005006":["hashtag1","hashtag2"]},{"1333004954":["hashtag1","hashtag2"]},{"1333005001":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333005010, 1333004815, 1333004691, 1333005006, 1333004954, 1333005001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.33765411376953 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:39:33.137367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/38/image_30012025_14_38_54_9345.jpg', '/home/pi/Desktop/images/30012025/14/38/image_30012025_14_39_04_10377.jpg', '/home/pi/Desktop/images/30012025/14/39/image_30012025_14_39_15_10421.jpg', '/home/pi/Desktop/images/30012025/14/39/image_30012025_14_39_24_9354.jpg', '/home/pi/Desktop/images/30012025/14/39/image_30012025_14_39_35_10323.jpg', '/home/pi/Desktop/images/30012025/14/39/image_30012025_14_39_44_9455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/38/image_30012025_14_38_54_9345.jpg
/home/pi/Desktop/images/30012025/14/38/image_30012025_14_39_04_10377.jpg
/home/pi/Desktop/images/30012025/14/39/image_30012025_14_39_15_10421.jpg
/home/pi/Desktop/images/30012025/14/39/image_30012025_14_39_24_9354.jpg
/home/pi/Desktop/images/30012025/14/39/image_30012025_14_39_35_10323.jpg
/home/pi/Desktop/images/30012025/14/39/image_30012025_14_39_44_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":["1333005252","1333005243","1333005248","1333005190","1333005184","1333005238"],"photo_ids_order":["1333005184","1333005190","1333005238","1333005243","1333005248","1333005252"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7299e6acf4ed8c53ef770540504cb807.jpg","text":"TemporaryFile(/tmp/multipartBody2048564365488925658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244434023,"filename":"image_30012025_14_39_44_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bc5304f2040855dd71894621d6de9900.jpg","text":"TemporaryFile(/tmp/multipartBody1447765478052981556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244434023,"filename":"image_30012025_14_39_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/30/94190285016932cdcc0e33d6563cfe71.jpg","text":"TemporaryFile(/tmp/multipartBody5385810417208554887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244434023,"filename":"image_30012025_14_39_35_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/30/27e6f2255dd931c4d163d3f408937221.jpg","text":"TemporaryFile(/tmp/multipartBody8493338253693394008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244434023,"filename":"image_30012025_14_39_04_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/30/d7cb0dd3fd562188434e451bffb0d7ff.jpg","text":"TemporaryFile(/tmp/multipartBody2455352393718516374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244434023,"filename":"image_30012025_14_38_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/30/7ae777cfdfbee2d4e3220592c1ee213d.jpg","text":"TemporaryFile(/tmp/multipartBody3052742494884513850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244434023,"filename":"image_30012025_14_39_15_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333005238","file1":"1333005190","file0":"1333005184","file4":"1333005248","file5":"1333005252","file3":"1333005243"},"map_files_photo_id_array":[{"photo_id":"1333005252","filename":"file5"},{"photo_id":"1333005238","filename":"file2"},{"photo_id":"1333005248","filename":"file4"},{"photo_id":"1333005190","filename":"file1"},{"photo_id":"1333005184","filename":"file0"},{"photo_id":"1333005243","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333005252":["hashtag1","hashtag2"]},{"1333005243":["hashtag1","hashtag2"]},{"1333005248":["hashtag1","hashtag2"]},{"1333005190":["hashtag1","hashtag2"]},{"1333005184":["hashtag1","hashtag2"]},{"1333005238":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333005252, 1333005243, 1333005248, 1333005190, 1333005184, 1333005238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.116909980773926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:40:32.509951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/39/image_30012025_14_39_54_10349.jpg', '/home/pi/Desktop/images/30012025/14/39/image_30012025_14_40_05_10363.jpg', '/home/pi/Desktop/images/30012025/14/40/image_30012025_14_40_14_9402.jpg', '/home/pi/Desktop/images/30012025/14/40/image_30012025_14_40_24_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/39/image_30012025_14_39_54_10349.jpg
/home/pi/Desktop/images/30012025/14/39/image_30012025_14_40_05_10363.jpg
/home/pi/Desktop/images/30012025/14/40/image_30012025_14_40_14_9402.jpg
/home/pi/Desktop/images/30012025/14/40/image_30012025_14_40_24_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":["1333005395","1333005545","1333005502","1333005526"],"photo_ids_order":["1333005395","1333005502","1333005526","1333005545"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9b4149a7bc281b91b31d61cb8aee106e.jpg","text":"TemporaryFile(/tmp/multipartBody8768303889371290664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244493381,"filename":"image_30012025_14_39_54_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1bbb857943192152beb908317263d5e5.jpg","text":"TemporaryFile(/tmp/multipartBody2846162883417773489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244493381,"filename":"image_30012025_14_40_24_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/30/75cb0dce008158cc423d2af7cf42bf7d.jpg","text":"TemporaryFile(/tmp/multipartBody2861561497361229305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244493381,"filename":"image_30012025_14_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/30/5fc3ddb44d6e2b152bb1eaa2f2255350.jpg","text":"TemporaryFile(/tmp/multipartBody4731970964401547846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244493381,"filename":"image_30012025_14_40_14_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333005526","file1":"1333005502","file0":"1333005395","file3":"1333005545"},"map_files_photo_id_array":[{"photo_id":"1333005526","filename":"file2"},{"photo_id":"1333005502","filename":"file1"},{"photo_id":"1333005395","filename":"file0"},{"photo_id":"1333005545","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333005395":["hashtag1","hashtag2"]},{"1333005545":["hashtag1","hashtag2"]},{"1333005502":["hashtag1","hashtag2"]},{"1333005526":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333005395, 1333005545, 1333005502, 1333005526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.639992237091064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 14:41:04.009354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/12/image_28012025_21_12_16_10343.jpg', '/home/pi/Desktop/images/28012025/21/12/image_28012025_21_12_25_9356.jpg', '/home/pi/Desktop/images/28012025/21/12/image_28012025_21_12_35_10354.jpg', '/home/pi/Desktop/images/28012025/21/12/image_28012025_21_12_46_10346.jpg', '/home/pi/Desktop/images/28012025/21/12/image_28012025_21_12_55_9366.jpg', '/home/pi/Desktop/images/28012025/21/12/image_28012025_21_13_05_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/12/image_28012025_21_12_16_10343.jpg
/home/pi/Desktop/images/28012025/21/12/image_28012025_21_12_25_9356.jpg
/home/pi/Desktop/images/28012025/21/12/image_28012025_21_12_35_10354.jpg
/home/pi/Desktop/images/28012025/21/12/image_28012025_21_12_46_10346.jpg
/home/pi/Desktop/images/28012025/21/12/image_28012025_21_12_55_9366.jpg
/home/pi/Desktop/images/28012025/21/12/image_28012025_21_13_05_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":["1333005636","1333005633","1333005606","1333005629","1333005644","1333005640"],"photo_ids_order":["1333005606","1333005629","1333005633","1333005636","1333005640","1333005644"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6d8ec3e0d91998a4ac1c5e327b00d0dd.jpg","text":"TemporaryFile(/tmp/multipartBody6061443052715588760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244525842,"filename":"image_28012025_21_12_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/30/067e734adbcaed813f9ac5c033a3494a.jpg","text":"TemporaryFile(/tmp/multipartBody6958539475158527656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244525842,"filename":"image_28012025_21_12_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/30/d744497275b589f71c79d8c7dd6f8fbe.jpg","text":"TemporaryFile(/tmp/multipartBody7564338056869338514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244525842,"filename":"image_28012025_21_12_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/30/24e1ef7e8a0d607f9d7c378b76d938f2.jpg","text":"TemporaryFile(/tmp/multipartBody7563113194142336025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244525842,"filename":"image_28012025_21_12_25_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fbbe0254175933ae2863a0d84753110d.jpg","text":"TemporaryFile(/tmp/multipartBody7871858501869084632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244525842,"filename":"image_28012025_21_13_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/30/6ec1128a9ca41e6ad656e46369b82349.jpg","text":"TemporaryFile(/tmp/multipartBody6876433032831963770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244525842,"filename":"image_28012025_21_12_55_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333005633","file1":"1333005629","file0":"1333005606","file4":"1333005640","file5":"1333005644","file3":"1333005636"},"map_files_photo_id_array":[{"photo_id":"1333005644","filename":"file5"},{"photo_id":"1333005633","filename":"file2"},{"photo_id":"1333005640","filename":"file4"},{"photo_id":"1333005629","filename":"file1"},{"photo_id":"1333005606","filename":"file0"},{"photo_id":"1333005636","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333005636":["hashtag1","hashtag2"]},{"1333005633":["hashtag1","hashtag2"]},{"1333005606":["hashtag1","hashtag2"]},{"1333005629":["hashtag1","hashtag2"]},{"1333005644":["hashtag1","hashtag2"]},{"1333005640":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333005636, 1333005633, 1333005606, 1333005629, 1333005644, 1333005640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.04093956947327 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:41:52.662784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/40/image_30012025_14_40_44_9390.jpg', '/home/pi/Desktop/images/30012025/14/40/image_30012025_14_41_04_9396.jpg', '/home/pi/Desktop/images/30012025/14/41/image_30012025_14_41_14_10354.jpg', '/home/pi/Desktop/images/30012025/14/41/image_30012025_14_41_25_10360.jpg', '/home/pi/Desktop/images/30012025/14/41/image_30012025_14_41_34_9341.jpg', '/home/pi/Desktop/images/30012025/14/41/image_30012025_14_41_44_10376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/40/image_30012025_14_40_44_9390.jpg
/home/pi/Desktop/images/30012025/14/40/image_30012025_14_41_04_9396.jpg
/home/pi/Desktop/images/30012025/14/41/image_30012025_14_41_14_10354.jpg
/home/pi/Desktop/images/30012025/14/41/image_30012025_14_41_25_10360.jpg
/home/pi/Desktop/images/30012025/14/41/image_30012025_14_41_34_9341.jpg
/home/pi/Desktop/images/30012025/14/41/image_30012025_14_41_44_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":["1333005681","1333005675","1333005669","1333005694","1333005667","1333005672"],"photo_ids_order":["1333005667","1333005669","1333005672","1333005675","1333005681","1333005694"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d20bb5505a4ce4a23caa275af5e81912.jpg","text":"TemporaryFile(/tmp/multipartBody3652703335738937383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244573565,"filename":"image_30012025_14_41_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/30/43f794ea895f036242879f098dd88309.jpg","text":"TemporaryFile(/tmp/multipartBody1714477247761267780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244573565,"filename":"image_30012025_14_41_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/30/30341cbd126c4208f32db7878ca8540b.jpg","text":"TemporaryFile(/tmp/multipartBody586347694635597544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244573565,"filename":"image_30012025_14_41_04_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a2a18b37e266466b73d47e798f0aa605.jpg","text":"TemporaryFile(/tmp/multipartBody9081915293402449657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244573565,"filename":"image_30012025_14_41_44_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/30/00b73c280c2f0176f9870dc7ef0e3560.jpg","text":"TemporaryFile(/tmp/multipartBody267509094154703392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244573565,"filename":"image_30012025_14_40_44_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/15ba7bb90149ae1c0ce9cf5a813a8d48.jpg","text":"TemporaryFile(/tmp/multipartBody3858114509831964485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244573565,"filename":"image_30012025_14_41_14_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333005672","file1":"1333005669","file0":"1333005667","file4":"1333005681","file5":"1333005694","file3":"1333005675"},"map_files_photo_id_array":[{"photo_id":"1333005694","filename":"file5"},{"photo_id":"1333005672","filename":"file2"},{"photo_id":"1333005681","filename":"file4"},{"photo_id":"1333005669","filename":"file1"},{"photo_id":"1333005667","filename":"file0"},{"photo_id":"1333005675","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333005681":["hashtag1","hashtag2"]},{"1333005675":["hashtag1","hashtag2"]},{"1333005669":["hashtag1","hashtag2"]},{"1333005694":["hashtag1","hashtag2"]},{"1333005667":["hashtag1","hashtag2"]},{"1333005672":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333005681, 1333005675, 1333005669, 1333005694, 1333005667, 1333005672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.898417472839355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 14:42:42.936569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/41/image_30012025_14_41_55_10359.jpg', '/home/pi/Desktop/images/30012025/14/41/image_30012025_14_42_04_9372.jpg', '/home/pi/Desktop/images/30012025/14/42/image_30012025_14_42_24_9337.jpg', '/home/pi/Desktop/images/30012025/14/42/image_30012025_14_42_45_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/41/image_30012025_14_41_55_10359.jpg
/home/pi/Desktop/images/30012025/14/41/image_30012025_14_42_04_9372.jpg
/home/pi/Desktop/images/30012025/14/42/image_30012025_14_42_24_9337.jpg
/home/pi/Desktop/images/30012025/14/42/image_30012025_14_42_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":["1333005722","1333005719","1333005710","1333005715"],"photo_ids_order":["1333005710","1333005715","1333005719","1333005722"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/34282bdab703c07bd08fa54da0a32652.jpg","text":"TemporaryFile(/tmp/multipartBody2981584227180691584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244623808,"filename":"image_30012025_14_42_45_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c178e1c4d016c25a74f038859d276bb2.jpg","text":"TemporaryFile(/tmp/multipartBody1411856033148539846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244623808,"filename":"image_30012025_14_42_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/30/344f9c82d76f776c7bbf1c12bcd9a825.jpg","text":"TemporaryFile(/tmp/multipartBody8755870002628103321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244623808,"filename":"image_30012025_14_41_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/30/10faefe3711f19ed3d0b55316231da2b.jpg","text":"TemporaryFile(/tmp/multipartBody3134798876481630372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244623808,"filename":"image_30012025_14_42_04_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333005719","file1":"1333005715","file0":"1333005710","file3":"1333005722"},"map_files_photo_id_array":[{"photo_id":"1333005719","filename":"file2"},{"photo_id":"1333005715","filename":"file1"},{"photo_id":"1333005710","filename":"file0"},{"photo_id":"1333005722","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333005722":["hashtag1","hashtag2"]},{"1333005719":["hashtag1","hashtag2"]},{"1333005710":["hashtag1","hashtag2"]},{"1333005715":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333005722, 1333005719, 1333005710, 1333005715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.736498594284058 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:43:33.072760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/42/image_30012025_14_42_54_9428.jpg', '/home/pi/Desktop/images/30012025/14/42/image_30012025_14_43_04_10353.jpg', '/home/pi/Desktop/images/30012025/14/43/image_30012025_14_43_15_10336.jpg', '/home/pi/Desktop/images/30012025/14/43/image_30012025_14_43_24_9431.jpg', '/home/pi/Desktop/images/30012025/14/43/image_30012025_14_43_35_10407.jpg', '/home/pi/Desktop/images/30012025/14/43/image_30012025_14_43_44_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/42/image_30012025_14_42_54_9428.jpg
/home/pi/Desktop/images/30012025/14/42/image_30012025_14_43_04_10353.jpg
/home/pi/Desktop/images/30012025/14/43/image_30012025_14_43_15_10336.jpg
/home/pi/Desktop/images/30012025/14/43/image_30012025_14_43_24_9431.jpg
/home/pi/Desktop/images/30012025/14/43/image_30012025_14_43_35_10407.jpg
/home/pi/Desktop/images/30012025/14/43/image_30012025_14_43_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":["1333005759","1333005744","1333005779","1333005749","1333005800","1333005739"],"photo_ids_order":["1333005739","1333005744","1333005749","1333005759","1333005779","1333005800"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2bfbf5c8af7c40f6c3754e0c534d7873.jpg","text":"TemporaryFile(/tmp/multipartBody4614727971165012578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244673968,"filename":"image_30012025_14_43_24_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/30/fa3de6ee29f6f959268f317b240588cd.jpg","text":"TemporaryFile(/tmp/multipartBody8857474064354901920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244673968,"filename":"image_30012025_14_43_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/30/0fddf364f584bbc31cee27f561dc621f.jpg","text":"TemporaryFile(/tmp/multipartBody6176077989113039873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244673968,"filename":"image_30012025_14_43_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/30/42680144c332a7748af25e0728e0fe34.jpg","text":"TemporaryFile(/tmp/multipartBody725816681250201035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244673968,"filename":"image_30012025_14_43_15_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b5ff7b4dea109f09f5a3978938c8b9af.jpg","text":"TemporaryFile(/tmp/multipartBody4262400232781978976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244673968,"filename":"image_30012025_14_43_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/30/9f66eb93f36659ce488f7d12a2e1f787.jpg","text":"TemporaryFile(/tmp/multipartBody121229066779378948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244673968,"filename":"image_30012025_14_42_54_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333005749","file1":"1333005744","file0":"1333005739","file4":"1333005779","file5":"1333005800","file3":"1333005759"},"map_files_photo_id_array":[{"photo_id":"1333005800","filename":"file5"},{"photo_id":"1333005749","filename":"file2"},{"photo_id":"1333005779","filename":"file4"},{"photo_id":"1333005744","filename":"file1"},{"photo_id":"1333005739","filename":"file0"},{"photo_id":"1333005759","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333005759":["hashtag1","hashtag2"]},{"1333005744":["hashtag1","hashtag2"]},{"1333005779":["hashtag1","hashtag2"]},{"1333005749":["hashtag1","hashtag2"]},{"1333005800":["hashtag1","hashtag2"]},{"1333005739":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333005759, 1333005744, 1333005779, 1333005749, 1333005800, 1333005739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.45861315727234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:44:32.347122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/43/image_30012025_14_43_54_10336.jpg', '/home/pi/Desktop/images/30012025/14/43/image_30012025_14_44_05_10349.jpg', '/home/pi/Desktop/images/30012025/14/44/image_30012025_14_44_14_9437.jpg', '/home/pi/Desktop/images/30012025/14/44/image_30012025_14_44_24_10351.jpg', '/home/pi/Desktop/images/30012025/14/44/image_30012025_14_44_35_10337.jpg', '/home/pi/Desktop/images/30012025/14/44/image_30012025_14_44_44_9413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/43/image_30012025_14_43_54_10336.jpg
/home/pi/Desktop/images/30012025/14/43/image_30012025_14_44_05_10349.jpg
/home/pi/Desktop/images/30012025/14/44/image_30012025_14_44_14_9437.jpg
/home/pi/Desktop/images/30012025/14/44/image_30012025_14_44_24_10351.jpg
/home/pi/Desktop/images/30012025/14/44/image_30012025_14_44_35_10337.jpg
/home/pi/Desktop/images/30012025/14/44/image_30012025_14_44_44_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":["1333005840","1333005837","1333005825","1333005819","1333005833","1333005829"],"photo_ids_order":["1333005819","1333005825","1333005829","1333005833","1333005837","1333005840"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8f6c46fa4338cda988be3b9becc02ed5.jpg","text":"TemporaryFile(/tmp/multipartBody7097606945647940389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244733236,"filename":"image_30012025_14_44_44_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/30/22c15684985dd409c4ab7a855aa82a06.jpg","text":"TemporaryFile(/tmp/multipartBody5290915389785862767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244733236,"filename":"image_30012025_14_44_35_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1669fdf489efb5db77d2cc92a8b2d1ae.jpg","text":"TemporaryFile(/tmp/multipartBody6770603324373697777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244733236,"filename":"image_30012025_14_44_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/30/b49098d7b1268c2557a06a8e285f6f12.jpg","text":"TemporaryFile(/tmp/multipartBody2719593965580394279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244733236,"filename":"image_30012025_14_43_54_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/30/81a6932e45f9d910198a04dd85ff9a18.jpg","text":"TemporaryFile(/tmp/multipartBody400041875301625257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244733236,"filename":"image_30012025_14_44_24_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0a720dafe918638cd78bce29487ae7eb.jpg","text":"TemporaryFile(/tmp/multipartBody6618870386334541404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244733236,"filename":"image_30012025_14_44_14_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333005829","file1":"1333005825","file0":"1333005819","file4":"1333005837","file5":"1333005840","file3":"1333005833"},"map_files_photo_id_array":[{"photo_id":"1333005840","filename":"file5"},{"photo_id":"1333005829","filename":"file2"},{"photo_id":"1333005837","filename":"file4"},{"photo_id":"1333005825","filename":"file1"},{"photo_id":"1333005819","filename":"file0"},{"photo_id":"1333005833","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333005840":["hashtag1","hashtag2"]},{"1333005837":["hashtag1","hashtag2"]},{"1333005825":["hashtag1","hashtag2"]},{"1333005819":["hashtag1","hashtag2"]},{"1333005833":["hashtag1","hashtag2"]},{"1333005829":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333005840, 1333005837, 1333005825, 1333005819, 1333005833, 1333005829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8616406917572 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:45:32.543257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/44/image_30012025_14_44_55_10358.jpg', '/home/pi/Desktop/images/30012025/14/44/image_30012025_14_45_04_9445.jpg', '/home/pi/Desktop/images/30012025/14/45/image_30012025_14_45_14_10357.jpg', '/home/pi/Desktop/images/30012025/14/45/image_30012025_14_45_25_10350.jpg', '/home/pi/Desktop/images/30012025/14/45/image_30012025_14_45_34_9335.jpg', '/home/pi/Desktop/images/30012025/14/45/image_30012025_14_45_44_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/44/image_30012025_14_44_55_10358.jpg
/home/pi/Desktop/images/30012025/14/44/image_30012025_14_45_04_9445.jpg
/home/pi/Desktop/images/30012025/14/45/image_30012025_14_45_14_10357.jpg
/home/pi/Desktop/images/30012025/14/45/image_30012025_14_45_25_10350.jpg
/home/pi/Desktop/images/30012025/14/45/image_30012025_14_45_34_9335.jpg
/home/pi/Desktop/images/30012025/14/45/image_30012025_14_45_44_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":["1333006014","1333006008","1333006004","1333006021","1333006018","1333005997"],"photo_ids_order":["1333005997","1333006004","1333006008","1333006014","1333006018","1333006021"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b4e61a71cc8245bff70577dc11d3bcf2.jpg","text":"TemporaryFile(/tmp/multipartBody6811778606806187482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244793433,"filename":"image_30012025_14_45_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/30/e33d6d72c2e11d3e10f2af809bff5b5d.jpg","text":"TemporaryFile(/tmp/multipartBody865348549993462642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244793433,"filename":"image_30012025_14_45_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/30/b2208e614d579b69bf02a81ef942e578.jpg","text":"TemporaryFile(/tmp/multipartBody4228735740592490032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244793433,"filename":"image_30012025_14_45_04_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/07076796731c35a548dc378b1daf938e.jpg","text":"TemporaryFile(/tmp/multipartBody5555655888823024634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244793433,"filename":"image_30012025_14_45_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/30/b43fd9739a5ebba45b1c628a4b914c54.jpg","text":"TemporaryFile(/tmp/multipartBody3366260876152943419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244793433,"filename":"image_30012025_14_45_34_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/30/4def810024055f5b1e85c966ec55381a.jpg","text":"TemporaryFile(/tmp/multipartBody3001636383955606314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244793433,"filename":"image_30012025_14_44_55_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333006008","file1":"1333006004","file0":"1333005997","file4":"1333006018","file5":"1333006021","file3":"1333006014"},"map_files_photo_id_array":[{"photo_id":"1333006021","filename":"file5"},{"photo_id":"1333006008","filename":"file2"},{"photo_id":"1333006018","filename":"file4"},{"photo_id":"1333006004","filename":"file1"},{"photo_id":"1333005997","filename":"file0"},{"photo_id":"1333006014","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333006014":["hashtag1","hashtag2"]},{"1333006008":["hashtag1","hashtag2"]},{"1333006004":["hashtag1","hashtag2"]},{"1333006021":["hashtag1","hashtag2"]},{"1333006018":["hashtag1","hashtag2"]},{"1333005997":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333006014, 1333006008, 1333006004, 1333006021, 1333006018, 1333005997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.478060722351074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:46:32.831972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/45/image_30012025_14_45_55_10355.jpg', '/home/pi/Desktop/images/30012025/14/45/image_30012025_14_46_04_9403.jpg', '/home/pi/Desktop/images/30012025/14/46/image_30012025_14_46_15_10466.jpg', '/home/pi/Desktop/images/30012025/14/46/image_30012025_14_46_24_9423.jpg', '/home/pi/Desktop/images/30012025/14/46/image_30012025_14_46_34_10357.jpg', '/home/pi/Desktop/images/30012025/14/46/image_30012025_14_46_45_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/45/image_30012025_14_45_55_10355.jpg
/home/pi/Desktop/images/30012025/14/45/image_30012025_14_46_04_9403.jpg
/home/pi/Desktop/images/30012025/14/46/image_30012025_14_46_15_10466.jpg
/home/pi/Desktop/images/30012025/14/46/image_30012025_14_46_24_9423.jpg
/home/pi/Desktop/images/30012025/14/46/image_30012025_14_46_34_10357.jpg
/home/pi/Desktop/images/30012025/14/46/image_30012025_14_46_45_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333006056","1333006064","1333006046","1333006060","1333006051","1333006074"],"photo_ids_order":["1333006046","1333006051","1333006056","1333006060","1333006064","1333006074"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fa747086dc8fe0187d3eaefc82e647c5.jpg","text":"TemporaryFile(/tmp/multipartBody5528957487518348993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244853736,"filename":"image_30012025_14_46_15_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/30/566e2cf51b25cf7ff98dc6a5eb612856.jpg","text":"TemporaryFile(/tmp/multipartBody4884123074062357460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244853736,"filename":"image_30012025_14_46_34_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0fd6a5f4c71daab3b27a64f774a9da05.jpg","text":"TemporaryFile(/tmp/multipartBody4145377996271908769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244853736,"filename":"image_30012025_14_45_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/30/f28d507588d8b63d948e9a5f42da9842.jpg","text":"TemporaryFile(/tmp/multipartBody2393873852589237228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244853736,"filename":"image_30012025_14_46_24_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7addd1cadb3233c28d2b7ec89217dfed.jpg","text":"TemporaryFile(/tmp/multipartBody6475519651555090881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244853736,"filename":"image_30012025_14_46_04_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e520f11b1bd0db4e7c5a1ba1665ed0b2.jpg","text":"TemporaryFile(/tmp/multipartBody7936498808414436203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244853736,"filename":"image_30012025_14_46_45_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333006056","file1":"1333006051","file0":"1333006046","file4":"1333006064","file5":"1333006074","file3":"1333006060"},"map_files_photo_id_array":[{"photo_id":"1333006074","filename":"file5"},{"photo_id":"1333006056","filename":"file2"},{"photo_id":"1333006064","filename":"file4"},{"photo_id":"1333006051","filename":"file1"},{"photo_id":"1333006046","filename":"file0"},{"photo_id":"1333006060","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333006056":["hashtag1","hashtag2"]},{"1333006064":["hashtag1","hashtag2"]},{"1333006046":["hashtag1","hashtag2"]},{"1333006060":["hashtag1","hashtag2"]},{"1333006051":["hashtag1","hashtag2"]},{"1333006074":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333006056, 1333006064, 1333006046, 1333006060, 1333006051, 1333006074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.01062631607056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:47:32.959130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/46/image_30012025_14_46_54_9427.jpg', '/home/pi/Desktop/images/30012025/14/46/image_30012025_14_47_05_10370.jpg', '/home/pi/Desktop/images/30012025/14/47/image_30012025_14_47_14_9385.jpg', '/home/pi/Desktop/images/30012025/14/47/image_30012025_14_47_24_10413.jpg', '/home/pi/Desktop/images/30012025/14/47/image_30012025_14_47_35_10337.jpg', '/home/pi/Desktop/images/30012025/14/47/image_30012025_14_47_44_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/46/image_30012025_14_46_54_9427.jpg
/home/pi/Desktop/images/30012025/14/46/image_30012025_14_47_05_10370.jpg
/home/pi/Desktop/images/30012025/14/47/image_30012025_14_47_14_9385.jpg
/home/pi/Desktop/images/30012025/14/47/image_30012025_14_47_24_10413.jpg
/home/pi/Desktop/images/30012025/14/47/image_30012025_14_47_35_10337.jpg
/home/pi/Desktop/images/30012025/14/47/image_30012025_14_47_44_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":["1333006236","1333006196","1333006241","1333006247","1333006245","1333006230"],"photo_ids_order":["1333006196","1333006230","1333006236","1333006241","1333006245","1333006247"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b0ef9919d415f92fd8e61e592c7123b4.jpg","text":"TemporaryFile(/tmp/multipartBody6572237289840671497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244914107,"filename":"image_30012025_14_47_14_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/30/6178a62614b739a1a962acb38e51e12b.jpg","text":"TemporaryFile(/tmp/multipartBody3935666255398675821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244914107,"filename":"image_30012025_14_46_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/30/726958db3398c2a80b27768a269d3451.jpg","text":"TemporaryFile(/tmp/multipartBody5730168550034505924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244914107,"filename":"image_30012025_14_47_24_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ff8b39847df9e82e222fcf6872bee903.jpg","text":"TemporaryFile(/tmp/multipartBody1957956983978348575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244914107,"filename":"image_30012025_14_47_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/30/686c47af9cdb152706d3ba6638166b10.jpg","text":"TemporaryFile(/tmp/multipartBody5334939442619087725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244914107,"filename":"image_30012025_14_47_35_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/37f51a1229edc1ace3bca8a8aac0d714.jpg","text":"TemporaryFile(/tmp/multipartBody3374431241671993768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244914107,"filename":"image_30012025_14_47_05_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333006236","file1":"1333006230","file0":"1333006196","file4":"1333006245","file5":"1333006247","file3":"1333006241"},"map_files_photo_id_array":[{"photo_id":"1333006247","filename":"file5"},{"photo_id":"1333006236","filename":"file2"},{"photo_id":"1333006245","filename":"file4"},{"photo_id":"1333006230","filename":"file1"},{"photo_id":"1333006196","filename":"file0"},{"photo_id":"1333006241","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333006236":["hashtag1","hashtag2"]},{"1333006196":["hashtag1","hashtag2"]},{"1333006241":["hashtag1","hashtag2"]},{"1333006247":["hashtag1","hashtag2"]},{"1333006245":["hashtag1","hashtag2"]},{"1333006230":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333006236, 1333006196, 1333006241, 1333006247, 1333006245, 1333006230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.452600955963135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:48:32.151085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/47/image_30012025_14_47_54_10339.jpg', '/home/pi/Desktop/images/30012025/14/47/image_30012025_14_48_05_10376.jpg', '/home/pi/Desktop/images/30012025/14/48/image_30012025_14_48_14_9321.jpg', '/home/pi/Desktop/images/30012025/14/48/image_30012025_14_48_24_10404.jpg', '/home/pi/Desktop/images/30012025/14/48/image_30012025_14_48_35_10405.jpg', '/home/pi/Desktop/images/30012025/14/48/image_30012025_14_48_44_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/47/image_30012025_14_47_54_10339.jpg
/home/pi/Desktop/images/30012025/14/47/image_30012025_14_48_05_10376.jpg
/home/pi/Desktop/images/30012025/14/48/image_30012025_14_48_14_9321.jpg
/home/pi/Desktop/images/30012025/14/48/image_30012025_14_48_24_10404.jpg
/home/pi/Desktop/images/30012025/14/48/image_30012025_14_48_35_10405.jpg
/home/pi/Desktop/images/30012025/14/48/image_30012025_14_48_44_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333006302","1333006879","1333006648","1333006528","1333006414","1333006767"],"photo_ids_order":["1333006302","1333006414","1333006528","1333006648","1333006767","1333006879"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0ecd2c152650ee18feb7dc82f16e590a.jpg","text":"TemporaryFile(/tmp/multipartBody4764493097609631948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244973036,"filename":"image_30012025_14_47_54_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/30/5d3ae4eaebd007e7c1d82bb45a91870d.jpg","text":"TemporaryFile(/tmp/multipartBody1394163577736325538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244973036,"filename":"image_30012025_14_48_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/30/8dc7aa70ed304b8f8192b8c1d44b2442.jpg","text":"TemporaryFile(/tmp/multipartBody7247883442054956342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244973036,"filename":"image_30012025_14_48_24_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/30/492f4b1846c688d6ef399a6b5717962b.jpg","text":"TemporaryFile(/tmp/multipartBody8834774490810896698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244973036,"filename":"image_30012025_14_48_14_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/30/2f47742ede9aee6153e5de3e1fcf93b6.jpg","text":"TemporaryFile(/tmp/multipartBody2630684258858991285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244973036,"filename":"image_30012025_14_48_05_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/30/65654a1d45755741d26d39f44a37780c.jpg","text":"TemporaryFile(/tmp/multipartBody3383837874475836447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738244973036,"filename":"image_30012025_14_48_35_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333006528","file1":"1333006414","file0":"1333006302","file4":"1333006767","file5":"1333006879","file3":"1333006648"},"map_files_photo_id_array":[{"photo_id":"1333006879","filename":"file5"},{"photo_id":"1333006528","filename":"file2"},{"photo_id":"1333006767","filename":"file4"},{"photo_id":"1333006414","filename":"file1"},{"photo_id":"1333006302","filename":"file0"},{"photo_id":"1333006648","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333006302":["hashtag1","hashtag2"]},{"1333006879":["hashtag1","hashtag2"]},{"1333006648":["hashtag1","hashtag2"]},{"1333006528":["hashtag1","hashtag2"]},{"1333006414":["hashtag1","hashtag2"]},{"1333006767":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333006302, 1333006879, 1333006648, 1333006528, 1333006414, 1333006767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8821542263031 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:49:32.377983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/48/image_30012025_14_48_55_10346.jpg', '/home/pi/Desktop/images/30012025/14/48/image_30012025_14_49_04_9449.jpg', '/home/pi/Desktop/images/30012025/14/49/image_30012025_14_49_14_10337.jpg', '/home/pi/Desktop/images/30012025/14/49/image_30012025_14_49_25_10346.jpg', '/home/pi/Desktop/images/30012025/14/49/image_30012025_14_49_34_9338.jpg', '/home/pi/Desktop/images/30012025/14/49/image_30012025_14_49_44_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/48/image_30012025_14_48_55_10346.jpg
/home/pi/Desktop/images/30012025/14/48/image_30012025_14_49_04_9449.jpg
/home/pi/Desktop/images/30012025/14/49/image_30012025_14_49_14_10337.jpg
/home/pi/Desktop/images/30012025/14/49/image_30012025_14_49_25_10346.jpg
/home/pi/Desktop/images/30012025/14/49/image_30012025_14_49_34_9338.jpg
/home/pi/Desktop/images/30012025/14/49/image_30012025_14_49_44_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":["1333007363","1333007202","1333007057","1333007359","1333007037","1333007025"],"photo_ids_order":["1333007025","1333007037","1333007057","1333007202","1333007359","1333007363"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/489ec7ed7f2bf79eddfa1d432fc4be18.jpg","text":"TemporaryFile(/tmp/multipartBody175320011913098312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245033269,"filename":"image_30012025_14_49_44_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/29e50db70b5c77c9218a009875763abb.jpg","text":"TemporaryFile(/tmp/multipartBody6714033258209384670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245033269,"filename":"image_30012025_14_49_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/30/a7367c5ebf2405a6fd527ee5366656ef.jpg","text":"TemporaryFile(/tmp/multipartBody5135178904203065663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245033269,"filename":"image_30012025_14_49_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/30/027761e24c26a60e48e46f3c1158b0de.jpg","text":"TemporaryFile(/tmp/multipartBody8799937566154681870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245033269,"filename":"image_30012025_14_49_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/30/b0b8e329db7bb40db45077293c329ebc.jpg","text":"TemporaryFile(/tmp/multipartBody7169500630536447023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245033269,"filename":"image_30012025_14_49_04_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/30/3ae1104a3b6f865c05e01b179d200030.jpg","text":"TemporaryFile(/tmp/multipartBody6942152911317115231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245033269,"filename":"image_30012025_14_48_55_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333007057","file1":"1333007037","file0":"1333007025","file4":"1333007359","file5":"1333007363","file3":"1333007202"},"map_files_photo_id_array":[{"photo_id":"1333007363","filename":"file5"},{"photo_id":"1333007057","filename":"file2"},{"photo_id":"1333007359","filename":"file4"},{"photo_id":"1333007037","filename":"file1"},{"photo_id":"1333007025","filename":"file0"},{"photo_id":"1333007202","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333007363":["hashtag1","hashtag2"]},{"1333007202":["hashtag1","hashtag2"]},{"1333007057":["hashtag1","hashtag2"]},{"1333007359":["hashtag1","hashtag2"]},{"1333007037":["hashtag1","hashtag2"]},{"1333007025":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333007363, 1333007202, 1333007057, 1333007359, 1333007037, 1333007025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65090823173523 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:50:32.754383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/49/image_30012025_14_49_55_10365.jpg', '/home/pi/Desktop/images/30012025/14/49/image_30012025_14_50_04_9427.jpg', '/home/pi/Desktop/images/30012025/14/50/image_30012025_14_50_15_10364.jpg', '/home/pi/Desktop/images/30012025/14/50/image_30012025_14_50_24_9389.jpg', '/home/pi/Desktop/images/30012025/14/50/image_30012025_14_50_34_10360.jpg', '/home/pi/Desktop/images/30012025/14/50/image_30012025_14_50_45_10400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/49/image_30012025_14_49_55_10365.jpg
/home/pi/Desktop/images/30012025/14/49/image_30012025_14_50_04_9427.jpg
/home/pi/Desktop/images/30012025/14/50/image_30012025_14_50_15_10364.jpg
/home/pi/Desktop/images/30012025/14/50/image_30012025_14_50_24_9389.jpg
/home/pi/Desktop/images/30012025/14/50/image_30012025_14_50_34_10360.jpg
/home/pi/Desktop/images/30012025/14/50/image_30012025_14_50_45_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":["1333007582","1333007590","1333007632","1333007628","1333007622","1333007610"],"photo_ids_order":["1333007582","1333007590","1333007610","1333007622","1333007628","1333007632"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d98e1a04cdb93c0e13673d93b70b5ffd.jpg","text":"TemporaryFile(/tmp/multipartBody8552177087691533338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245093637,"filename":"image_30012025_14_49_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/30/3ab929bbb85f9bc8095fc6296fb7721d.jpg","text":"TemporaryFile(/tmp/multipartBody5656328455465001692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245093637,"filename":"image_30012025_14_50_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/30/47a0488b6707fdefc5920b56fd893193.jpg","text":"TemporaryFile(/tmp/multipartBody3867618024828485524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245093637,"filename":"image_30012025_14_50_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/30/c20f667e4f1265a95b572e83ee61b4de.jpg","text":"TemporaryFile(/tmp/multipartBody4510743520145618252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245093637,"filename":"image_30012025_14_50_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/30/8e3be00d06218737d74dd468e2b053bf.jpg","text":"TemporaryFile(/tmp/multipartBody4506011752459780933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245093637,"filename":"image_30012025_14_50_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/30/5a3b3b5f87167d53f05dd1cefba289f3.jpg","text":"TemporaryFile(/tmp/multipartBody5823616823330506040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245093637,"filename":"image_30012025_14_50_15_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333007610","file1":"1333007590","file0":"1333007582","file4":"1333007628","file5":"1333007632","file3":"1333007622"},"map_files_photo_id_array":[{"photo_id":"1333007632","filename":"file5"},{"photo_id":"1333007610","filename":"file2"},{"photo_id":"1333007628","filename":"file4"},{"photo_id":"1333007590","filename":"file1"},{"photo_id":"1333007582","filename":"file0"},{"photo_id":"1333007622","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333007582":["hashtag1","hashtag2"]},{"1333007590":["hashtag1","hashtag2"]},{"1333007632":["hashtag1","hashtag2"]},{"1333007628":["hashtag1","hashtag2"]},{"1333007622":["hashtag1","hashtag2"]},{"1333007610":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333007582, 1333007590, 1333007632, 1333007628, 1333007622, 1333007610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95916795730591 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:51:32.919751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/50/image_30012025_14_50_54_9333.jpg', '/home/pi/Desktop/images/30012025/14/50/image_30012025_14_51_05_10469.jpg', '/home/pi/Desktop/images/30012025/14/51/image_30012025_14_51_15_10398.jpg', '/home/pi/Desktop/images/30012025/14/51/image_30012025_14_51_24_9421.jpg', '/home/pi/Desktop/images/30012025/14/51/image_30012025_14_51_35_10347.jpg', '/home/pi/Desktop/images/30012025/14/51/image_30012025_14_51_44_9438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/50/image_30012025_14_50_54_9333.jpg
/home/pi/Desktop/images/30012025/14/50/image_30012025_14_51_05_10469.jpg
/home/pi/Desktop/images/30012025/14/51/image_30012025_14_51_15_10398.jpg
/home/pi/Desktop/images/30012025/14/51/image_30012025_14_51_24_9421.jpg
/home/pi/Desktop/images/30012025/14/51/image_30012025_14_51_35_10347.jpg
/home/pi/Desktop/images/30012025/14/51/image_30012025_14_51_44_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":["1333007681","1333007665","1333007650","1333007676","1333007670","1333007658"],"photo_ids_order":["1333007650","1333007658","1333007665","1333007670","1333007676","1333007681"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6bb0a3df2964997ca90951841ff61e33.jpg","text":"TemporaryFile(/tmp/multipartBody3043996162173566276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245153823,"filename":"image_30012025_14_51_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/30/48f773e6add33f03fb8b2b338ff0a5e5.jpg","text":"TemporaryFile(/tmp/multipartBody8679198213539337118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245153823,"filename":"image_30012025_14_51_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/30/053e5b08e6843347cb91b0e6c87c15e7.jpg","text":"TemporaryFile(/tmp/multipartBody3676103829833951207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245153823,"filename":"image_30012025_14_50_54_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/30/6f78043e47109981348b66a17ea63ccb.jpg","text":"TemporaryFile(/tmp/multipartBody6616027879145121121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245153823,"filename":"image_30012025_14_51_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/30/c8b23bf2fad62f5520f439048249e83f.jpg","text":"TemporaryFile(/tmp/multipartBody3459850286362211833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245153823,"filename":"image_30012025_14_51_24_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7b3321b377ca1714c05f9e9448d95ec6.jpg","text":"TemporaryFile(/tmp/multipartBody3600803661168830734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245153823,"filename":"image_30012025_14_51_05_10469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333007665","file1":"1333007658","file0":"1333007650","file4":"1333007676","file5":"1333007681","file3":"1333007670"},"map_files_photo_id_array":[{"photo_id":"1333007681","filename":"file5"},{"photo_id":"1333007665","filename":"file2"},{"photo_id":"1333007676","filename":"file4"},{"photo_id":"1333007658","filename":"file1"},{"photo_id":"1333007650","filename":"file0"},{"photo_id":"1333007670","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333007681":["hashtag1","hashtag2"]},{"1333007665":["hashtag1","hashtag2"]},{"1333007650":["hashtag1","hashtag2"]},{"1333007676":["hashtag1","hashtag2"]},{"1333007670":["hashtag1","hashtag2"]},{"1333007658":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333007681, 1333007665, 1333007650, 1333007676, 1333007670, 1333007658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.96898818016052 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:52:32.960029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/51/image_30012025_14_51_54_10337.jpg', '/home/pi/Desktop/images/30012025/14/51/image_30012025_14_52_05_10358.jpg', '/home/pi/Desktop/images/30012025/14/52/image_30012025_14_52_14_9340.jpg', '/home/pi/Desktop/images/30012025/14/52/image_30012025_14_52_25_10371.jpg', '/home/pi/Desktop/images/30012025/14/52/image_30012025_14_52_35_10403.jpg', '/home/pi/Desktop/images/30012025/14/52/image_30012025_14_52_44_9388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/51/image_30012025_14_51_54_10337.jpg
/home/pi/Desktop/images/30012025/14/51/image_30012025_14_52_05_10358.jpg
/home/pi/Desktop/images/30012025/14/52/image_30012025_14_52_14_9340.jpg
/home/pi/Desktop/images/30012025/14/52/image_30012025_14_52_25_10371.jpg
/home/pi/Desktop/images/30012025/14/52/image_30012025_14_52_35_10403.jpg
/home/pi/Desktop/images/30012025/14/52/image_30012025_14_52_44_9388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333007726","1333007728","1333007706","1333007721","1333007715","1333007699"],"photo_ids_order":["1333007699","1333007706","1333007715","1333007721","1333007726","1333007728"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/25e7c2aeb91e35f1739a6a535db4c6e4.jpg","text":"TemporaryFile(/tmp/multipartBody2022975719769528420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245213868,"filename":"image_30012025_14_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/30/c5ea564fe194cd8349395466cf4c12f5.jpg","text":"TemporaryFile(/tmp/multipartBody4571399430004879451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245213868,"filename":"image_30012025_14_52_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/30/a3207efd0420ff14d2d0472ce61ce2d3.jpg","text":"TemporaryFile(/tmp/multipartBody7048219111136279904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245213868,"filename":"image_30012025_14_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/30/8d5e5d488e151319c2879118f81350f5.jpg","text":"TemporaryFile(/tmp/multipartBody3731255107353243751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245213868,"filename":"image_30012025_14_52_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/30/6cf1b3cc74388b1f9b213438fd4c4b88.jpg","text":"TemporaryFile(/tmp/multipartBody2047885037805503918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245213868,"filename":"image_30012025_14_52_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/30/f5a242d34c99486d1a681af7eeee9e30.jpg","text":"TemporaryFile(/tmp/multipartBody8486800900880785741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245213868,"filename":"image_30012025_14_51_54_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333007715","file1":"1333007706","file0":"1333007699","file4":"1333007726","file5":"1333007728","file3":"1333007721"},"map_files_photo_id_array":[{"photo_id":"1333007728","filename":"file5"},{"photo_id":"1333007715","filename":"file2"},{"photo_id":"1333007726","filename":"file4"},{"photo_id":"1333007706","filename":"file1"},{"photo_id":"1333007699","filename":"file0"},{"photo_id":"1333007721","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333007726":["hashtag1","hashtag2"]},{"1333007728":["hashtag1","hashtag2"]},{"1333007706":["hashtag1","hashtag2"]},{"1333007721":["hashtag1","hashtag2"]},{"1333007715":["hashtag1","hashtag2"]},{"1333007699":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333007726, 1333007728, 1333007706, 1333007721, 1333007715, 1333007699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.93850779533386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:53:32.136211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/52/image_30012025_14_52_55_10347.jpg', '/home/pi/Desktop/images/30012025/14/52/image_30012025_14_53_04_9342.jpg', '/home/pi/Desktop/images/30012025/14/53/image_30012025_14_53_14_10360.jpg', '/home/pi/Desktop/images/30012025/14/53/image_30012025_14_53_25_10366.jpg', '/home/pi/Desktop/images/30012025/14/53/image_30012025_14_53_34_9633.jpg', '/home/pi/Desktop/images/30012025/14/53/image_30012025_14_53_45_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/52/image_30012025_14_52_55_10347.jpg
/home/pi/Desktop/images/30012025/14/52/image_30012025_14_53_04_9342.jpg
/home/pi/Desktop/images/30012025/14/53/image_30012025_14_53_14_10360.jpg
/home/pi/Desktop/images/30012025/14/53/image_30012025_14_53_25_10366.jpg
/home/pi/Desktop/images/30012025/14/53/image_30012025_14_53_34_9633.jpg
/home/pi/Desktop/images/30012025/14/53/image_30012025_14_53_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":["1333007822","1333007813","1333007830","1333007827","1333007808","1333007817"],"photo_ids_order":["1333007808","1333007813","1333007817","1333007822","1333007827","1333007830"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3c7f4ebd183b91771656010470f3b640.jpg","text":"TemporaryFile(/tmp/multipartBody2924977331456702426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245273028,"filename":"image_30012025_14_53_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/30/68b5371dc1aec515d22635a06809e514.jpg","text":"TemporaryFile(/tmp/multipartBody7152493269522159562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245273028,"filename":"image_30012025_14_53_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/30/f754d75f24a3a5b7029205596d89adc2.jpg","text":"TemporaryFile(/tmp/multipartBody9153200039391000573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245273028,"filename":"image_30012025_14_53_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/30/c77967be045ca5bd18d65d1886c174ab.jpg","text":"TemporaryFile(/tmp/multipartBody3183139916348032847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245273028,"filename":"image_30012025_14_53_34_9633.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d39f17d9a721a399db856eefba8d1fdd.jpg","text":"TemporaryFile(/tmp/multipartBody285340397105074708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245273028,"filename":"image_30012025_14_52_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/30/ce423f49d195298d59f240fb5fd2d89f.jpg","text":"TemporaryFile(/tmp/multipartBody6204628283513540429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245273028,"filename":"image_30012025_14_53_14_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333007817","file1":"1333007813","file0":"1333007808","file4":"1333007827","file5":"1333007830","file3":"1333007822"},"map_files_photo_id_array":[{"photo_id":"1333007830","filename":"file5"},{"photo_id":"1333007817","filename":"file2"},{"photo_id":"1333007827","filename":"file4"},{"photo_id":"1333007813","filename":"file1"},{"photo_id":"1333007808","filename":"file0"},{"photo_id":"1333007822","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333007822":["hashtag1","hashtag2"]},{"1333007813":["hashtag1","hashtag2"]},{"1333007830":["hashtag1","hashtag2"]},{"1333007827":["hashtag1","hashtag2"]},{"1333007808":["hashtag1","hashtag2"]},{"1333007817":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333007822, 1333007813, 1333007830, 1333007827, 1333007808, 1333007817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.02370548248291 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:54:32.420717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/53/image_30012025_14_53_54_9404.jpg', '/home/pi/Desktop/images/30012025/14/53/image_30012025_14_54_04_10342.jpg', '/home/pi/Desktop/images/30012025/14/54/image_30012025_14_54_15_10460.jpg', '/home/pi/Desktop/images/30012025/14/54/image_30012025_14_54_24_9332.jpg', '/home/pi/Desktop/images/30012025/14/54/image_30012025_14_54_35_10348.jpg', '/home/pi/Desktop/images/30012025/14/54/image_30012025_14_54_44_9435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/53/image_30012025_14_53_54_9404.jpg
/home/pi/Desktop/images/30012025/14/53/image_30012025_14_54_04_10342.jpg
/home/pi/Desktop/images/30012025/14/54/image_30012025_14_54_15_10460.jpg
/home/pi/Desktop/images/30012025/14/54/image_30012025_14_54_24_9332.jpg
/home/pi/Desktop/images/30012025/14/54/image_30012025_14_54_35_10348.jpg
/home/pi/Desktop/images/30012025/14/54/image_30012025_14_54_44_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":["1333007873","1333007876","1333007869","1333007880","1333007865","1333007859"],"photo_ids_order":["1333007859","1333007865","1333007869","1333007873","1333007876","1333007880"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a9b1d83cea23dfe8529730db2705fb8e.jpg","text":"TemporaryFile(/tmp/multipartBody7037031024618144961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245333310,"filename":"image_30012025_14_54_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/30/442b9587637c669d2c2739f0731306b4.jpg","text":"TemporaryFile(/tmp/multipartBody5122893188273328174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245333310,"filename":"image_30012025_14_54_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/30/78b5ff5cc9783c42c9a0599b22535c5e.jpg","text":"TemporaryFile(/tmp/multipartBody8772585448038437803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245333310,"filename":"image_30012025_14_54_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/30/9b4d3e3c94f56f74b0129ef7f7f98aa6.jpg","text":"TemporaryFile(/tmp/multipartBody4344202487324738446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245333310,"filename":"image_30012025_14_54_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/30/bb681dd2393adb70f0979342b2c59925.jpg","text":"TemporaryFile(/tmp/multipartBody505666460022040619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245333310,"filename":"image_30012025_14_54_04_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/30/8cecbe0787480bde953195a4b5f4fce9.jpg","text":"TemporaryFile(/tmp/multipartBody7382203343667071984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245333310,"filename":"image_30012025_14_53_54_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333007869","file1":"1333007865","file0":"1333007859","file4":"1333007876","file5":"1333007880","file3":"1333007873"},"map_files_photo_id_array":[{"photo_id":"1333007880","filename":"file5"},{"photo_id":"1333007869","filename":"file2"},{"photo_id":"1333007876","filename":"file4"},{"photo_id":"1333007865","filename":"file1"},{"photo_id":"1333007859","filename":"file0"},{"photo_id":"1333007873","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333007873":["hashtag1","hashtag2"]},{"1333007876":["hashtag1","hashtag2"]},{"1333007869":["hashtag1","hashtag2"]},{"1333007880":["hashtag1","hashtag2"]},{"1333007865":["hashtag1","hashtag2"]},{"1333007859":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333007873, 1333007876, 1333007869, 1333007880, 1333007865, 1333007859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.15350341796875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:55:32.709048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/54/image_30012025_14_54_54_10345.jpg', '/home/pi/Desktop/images/30012025/14/54/image_30012025_14_55_05_10372.jpg', '/home/pi/Desktop/images/30012025/14/55/image_30012025_14_55_14_9394.jpg', '/home/pi/Desktop/images/30012025/14/55/image_30012025_14_55_25_10405.jpg', '/home/pi/Desktop/images/30012025/14/55/image_30012025_14_55_34_9471.jpg', '/home/pi/Desktop/images/30012025/14/55/image_30012025_14_55_44_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/54/image_30012025_14_54_54_10345.jpg
/home/pi/Desktop/images/30012025/14/54/image_30012025_14_55_05_10372.jpg
/home/pi/Desktop/images/30012025/14/55/image_30012025_14_55_14_9394.jpg
/home/pi/Desktop/images/30012025/14/55/image_30012025_14_55_25_10405.jpg
/home/pi/Desktop/images/30012025/14/55/image_30012025_14_55_34_9471.jpg
/home/pi/Desktop/images/30012025/14/55/image_30012025_14_55_44_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":["1333008088","1333007921","1333008085","1333007929","1333008000","1333007925"],"photo_ids_order":["1333007921","1333007925","1333007929","1333008000","1333008085","1333008088"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1d1fe74e08cc0e5ca3e909cc4da64642.jpg","text":"TemporaryFile(/tmp/multipartBody2962327484996248416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245393600,"filename":"image_30012025_14_55_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/30/9d9884cea9d22351bfccbcd3b7aed652.jpg","text":"TemporaryFile(/tmp/multipartBody4948974583436125977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245393600,"filename":"image_30012025_14_54_54_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/30/97e3519f7ce395071319d885d5f6d5a7.jpg","text":"TemporaryFile(/tmp/multipartBody292343495459076307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245393600,"filename":"image_30012025_14_55_34_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/30/79215b6426e6a9df414775373efb43b6.jpg","text":"TemporaryFile(/tmp/multipartBody6850293316436986683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245393600,"filename":"image_30012025_14_55_14_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/30/d9db74470275762ea188cf412ead363d.jpg","text":"TemporaryFile(/tmp/multipartBody4662399166667937317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245393600,"filename":"image_30012025_14_55_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/30/27fd3b3d213a818e1a2eb0ca2b99eed2.jpg","text":"TemporaryFile(/tmp/multipartBody3706898766218093790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245393600,"filename":"image_30012025_14_55_05_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333007929","file1":"1333007925","file0":"1333007921","file4":"1333008085","file5":"1333008088","file3":"1333008000"},"map_files_photo_id_array":[{"photo_id":"1333008088","filename":"file5"},{"photo_id":"1333007929","filename":"file2"},{"photo_id":"1333008085","filename":"file4"},{"photo_id":"1333007925","filename":"file1"},{"photo_id":"1333007921","filename":"file0"},{"photo_id":"1333008000","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333008088":["hashtag1","hashtag2"]},{"1333007921":["hashtag1","hashtag2"]},{"1333008085":["hashtag1","hashtag2"]},{"1333007929":["hashtag1","hashtag2"]},{"1333008000":["hashtag1","hashtag2"]},{"1333007925":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333008088, 1333007921, 1333008085, 1333007929, 1333008000, 1333007925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.46988582611084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:56:33.024785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/55/image_30012025_14_55_55_10402.jpg', '/home/pi/Desktop/images/30012025/14/55/image_30012025_14_56_04_9333.jpg', '/home/pi/Desktop/images/30012025/14/56/image_30012025_14_56_14_10378.jpg', '/home/pi/Desktop/images/30012025/14/56/image_30012025_14_56_25_10408.jpg', '/home/pi/Desktop/images/30012025/14/56/image_30012025_14_56_34_9365.jpg', '/home/pi/Desktop/images/30012025/14/56/image_30012025_14_56_45_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/55/image_30012025_14_55_55_10402.jpg
/home/pi/Desktop/images/30012025/14/55/image_30012025_14_56_04_9333.jpg
/home/pi/Desktop/images/30012025/14/56/image_30012025_14_56_14_10378.jpg
/home/pi/Desktop/images/30012025/14/56/image_30012025_14_56_25_10408.jpg
/home/pi/Desktop/images/30012025/14/56/image_30012025_14_56_34_9365.jpg
/home/pi/Desktop/images/30012025/14/56/image_30012025_14_56_45_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333008227","1333008218","1333008208","1333008231","1333008213","1333008230"],"photo_ids_order":["1333008208","1333008213","1333008218","1333008227","1333008230","1333008231"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ecf6d6e47adb17f2f14a58da20c9abce.jpg","text":"TemporaryFile(/tmp/multipartBody6857029540948207731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245453927,"filename":"image_30012025_14_56_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/30/993efbfc61fb8caba801673206e05bee.jpg","text":"TemporaryFile(/tmp/multipartBody5127407701601044199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245453927,"filename":"image_30012025_14_56_14_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/30/6767a2c6af8ad28949205ec5baee9b92.jpg","text":"TemporaryFile(/tmp/multipartBody7760559966748973031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245453927,"filename":"image_30012025_14_55_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/30/97e82565478b36ae0a4e7886bb9ddf35.jpg","text":"TemporaryFile(/tmp/multipartBody5639679421552943210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245453927,"filename":"image_30012025_14_56_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/30/3b417162c9dc2418500e6bb0211ed8fe.jpg","text":"TemporaryFile(/tmp/multipartBody306684084944631555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245453927,"filename":"image_30012025_14_56_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/30/fc1984af199ef1b598a99bca47de9cbe.jpg","text":"TemporaryFile(/tmp/multipartBody2904787067837201108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245453927,"filename":"image_30012025_14_56_34_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333008218","file1":"1333008213","file0":"1333008208","file4":"1333008230","file5":"1333008231","file3":"1333008227"},"map_files_photo_id_array":[{"photo_id":"1333008231","filename":"file5"},{"photo_id":"1333008218","filename":"file2"},{"photo_id":"1333008230","filename":"file4"},{"photo_id":"1333008213","filename":"file1"},{"photo_id":"1333008208","filename":"file0"},{"photo_id":"1333008227","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333008227":["hashtag1","hashtag2"]},{"1333008218":["hashtag1","hashtag2"]},{"1333008208":["hashtag1","hashtag2"]},{"1333008231":["hashtag1","hashtag2"]},{"1333008213":["hashtag1","hashtag2"]},{"1333008230":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333008227, 1333008218, 1333008208, 1333008231, 1333008213, 1333008230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29408097267151 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 14:57:32.335836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/56/image_30012025_14_56_54_9415.jpg', '/home/pi/Desktop/images/30012025/14/56/image_30012025_14_57_04_10339.jpg', '/home/pi/Desktop/images/30012025/14/57/image_30012025_14_57_15_10330.jpg', '/home/pi/Desktop/images/30012025/14/57/image_30012025_14_57_24_9408.jpg', '/home/pi/Desktop/images/30012025/14/57/image_30012025_14_57_34_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/56/image_30012025_14_56_54_9415.jpg
/home/pi/Desktop/images/30012025/14/56/image_30012025_14_57_04_10339.jpg
/home/pi/Desktop/images/30012025/14/57/image_30012025_14_57_15_10330.jpg
/home/pi/Desktop/images/30012025/14/57/image_30012025_14_57_24_9408.jpg
/home/pi/Desktop/images/30012025/14/57/image_30012025_14_57_34_10350.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-30 14:59:03.944938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/56/image_30012025_14_56_54_9415.jpg', '/home/pi/Desktop/images/30012025/14/56/image_30012025_14_57_04_10339.jpg', '/home/pi/Desktop/images/30012025/14/57/image_30012025_14_57_15_10330.jpg', '/home/pi/Desktop/images/30012025/14/57/image_30012025_14_57_24_9408.jpg', '/home/pi/Desktop/images/30012025/14/57/image_30012025_14_57_34_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/56/image_30012025_14_56_54_9415.jpg
/home/pi/Desktop/images/30012025/14/56/image_30012025_14_57_04_10339.jpg
/home/pi/Desktop/images/30012025/14/57/image_30012025_14_57_15_10330.jpg
/home/pi/Desktop/images/30012025/14/57/image_30012025_14_57_24_9408.jpg
/home/pi/Desktop/images/30012025/14/57/image_30012025_14_57_34_10350.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333008431","1333008419","1333008385","1333008388","1333008408"],"photo_ids_order":["1333008385","1333008388","1333008408","1333008419","1333008431"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9466579c253baaf7bfb1f5b1ca017623.jpg","text":"TemporaryFile(/tmp/multipartBody1542003116819992389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245604980,"filename":"image_30012025_14_57_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/30/181c783e62751042547cb8e48ba179d3.jpg","text":"TemporaryFile(/tmp/multipartBody1785845766068304918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245604980,"filename":"image_30012025_14_57_24_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/88f52a64284d4dd2b75453d1885d3c6a.jpg","text":"TemporaryFile(/tmp/multipartBody3988157335423349425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245604980,"filename":"image_30012025_14_56_54_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d916c97df4cb219a6b02d3829075c5a6.jpg","text":"TemporaryFile(/tmp/multipartBody3882417305165351444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245604980,"filename":"image_30012025_14_57_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/30/5ffcbe7daee0f0f57f9ba75d451c0dd8.jpg","text":"TemporaryFile(/tmp/multipartBody8744219352417552685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245604980,"filename":"image_30012025_14_57_15_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333008408","file1":"1333008388","file0":"1333008385","file4":"1333008431","file3":"1333008419"},"map_files_photo_id_array":[{"photo_id":"1333008408","filename":"file2"},{"photo_id":"1333008431","filename":"file4"},{"photo_id":"1333008388","filename":"file1"},{"photo_id":"1333008385","filename":"file0"},{"photo_id":"1333008419","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333008431":["hashtag1","hashtag2"]},{"1333008419":["hashtag1","hashtag2"]},{"1333008385":["hashtag1","hashtag2"]},{"1333008388":["hashtag1","hashtag2"]},{"1333008408":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333008431, 1333008419, 1333008385, 1333008388, 1333008408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.447021484375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 14:59:42.646792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/57/image_30012025_14_57_45_10364.jpg', '/home/pi/Desktop/images/30012025/14/57/image_30012025_14_58_05_10340.jpg', '/home/pi/Desktop/images/30012025/14/58/image_30012025_14_58_15_10379.jpg', '/home/pi/Desktop/images/30012025/14/58/image_30012025_14_58_24_9332.jpg', '/home/pi/Desktop/images/30012025/14/58/image_30012025_14_58_35_10349.jpg', '/home/pi/Desktop/images/30012025/14/58/image_30012025_14_58_44_9458.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/57/image_30012025_14_57_45_10364.jpg
/home/pi/Desktop/images/30012025/14/57/image_30012025_14_58_05_10340.jpg
/home/pi/Desktop/images/30012025/14/58/image_30012025_14_58_15_10379.jpg
/home/pi/Desktop/images/30012025/14/58/image_30012025_14_58_24_9332.jpg
/home/pi/Desktop/images/30012025/14/58/image_30012025_14_58_35_10349.jpg
/home/pi/Desktop/images/30012025/14/58/image_30012025_14_58_44_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":["1333008551","1333008545","1333008565","1333008561","1333008557","1333008536"],"photo_ids_order":["1333008536","1333008545","1333008551","1333008557","1333008561","1333008565"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/65bf912de058568bef4e53d9360dd3a5.jpg","text":"TemporaryFile(/tmp/multipartBody1744957947880502939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245643552,"filename":"image_30012025_14_58_15_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/50db306f80aafb124537cbc4dda70fb3.jpg","text":"TemporaryFile(/tmp/multipartBody5372765307079111428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245643552,"filename":"image_30012025_14_58_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/30/d7f7b1dd96b71b744bd282dbcbfe4354.jpg","text":"TemporaryFile(/tmp/multipartBody1046185453746854639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245643552,"filename":"image_30012025_14_58_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/30/e4ea5f40e54f930e29275256046a92f6.jpg","text":"TemporaryFile(/tmp/multipartBody5330907561319953854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245643552,"filename":"image_30012025_14_58_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/30/344b1c6164396b7c5b8aa432b61141d2.jpg","text":"TemporaryFile(/tmp/multipartBody3530465142503541824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245643552,"filename":"image_30012025_14_58_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/30/d847cec553b2eae965a911f4e9964409.jpg","text":"TemporaryFile(/tmp/multipartBody2613354774469240380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245643552,"filename":"image_30012025_14_57_45_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333008551","file1":"1333008545","file0":"1333008536","file4":"1333008561","file5":"1333008565","file3":"1333008557"},"map_files_photo_id_array":[{"photo_id":"1333008565","filename":"file5"},{"photo_id":"1333008551","filename":"file2"},{"photo_id":"1333008561","filename":"file4"},{"photo_id":"1333008545","filename":"file1"},{"photo_id":"1333008536","filename":"file0"},{"photo_id":"1333008557","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333008551":["hashtag1","hashtag2"]},{"1333008545":["hashtag1","hashtag2"]},{"1333008565":["hashtag1","hashtag2"]},{"1333008561":["hashtag1","hashtag2"]},{"1333008557":["hashtag1","hashtag2"]},{"1333008536":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333008551, 1333008545, 1333008565, 1333008561, 1333008557, 1333008536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.03587627410889 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:00:33.078598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/58/image_30012025_14_58_54_10337.jpg', '/home/pi/Desktop/images/30012025/14/58/image_30012025_14_59_05_10489.jpg', '/home/pi/Desktop/images/30012025/14/59/image_30012025_14_59_14_9359.jpg', '/home/pi/Desktop/images/30012025/14/59/image_30012025_14_59_25_10356.jpg', '/home/pi/Desktop/images/30012025/14/59/image_30012025_14_59_34_9432.jpg', '/home/pi/Desktop/images/30012025/14/59/image_30012025_14_59_44_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/58/image_30012025_14_58_54_10337.jpg
/home/pi/Desktop/images/30012025/14/58/image_30012025_14_59_05_10489.jpg
/home/pi/Desktop/images/30012025/14/59/image_30012025_14_59_14_9359.jpg
/home/pi/Desktop/images/30012025/14/59/image_30012025_14_59_25_10356.jpg
/home/pi/Desktop/images/30012025/14/59/image_30012025_14_59_34_9432.jpg
/home/pi/Desktop/images/30012025/14/59/image_30012025_14_59_44_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":["1333008676","1333008685","1333008655","1333008672","1333008681","1333008663"],"photo_ids_order":["1333008655","1333008663","1333008672","1333008676","1333008681","1333008685"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/79372ffff2d39f16743a0a6d45924c6f.jpg","text":"TemporaryFile(/tmp/multipartBody3479248930735318062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245694374,"filename":"image_30012025_14_59_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/30/454a5b2d335222349792916d6c4466a2.jpg","text":"TemporaryFile(/tmp/multipartBody1380056673560474594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245694374,"filename":"image_30012025_14_59_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/30/66b50b2c0f4078ea72c719c8a3e34e18.jpg","text":"TemporaryFile(/tmp/multipartBody9046879818162876314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245694374,"filename":"image_30012025_14_58_54_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0df513a600008037c183e0baf0ca89c7.jpg","text":"TemporaryFile(/tmp/multipartBody5919471342017185755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245694374,"filename":"image_30012025_14_59_14_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/656a19806788d6b9b76f303e3c103a31.jpg","text":"TemporaryFile(/tmp/multipartBody2382153644673231977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245694374,"filename":"image_30012025_14_59_34_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/169fe006f37796d0a1b63d6c59d4b9f4.jpg","text":"TemporaryFile(/tmp/multipartBody2111284840137738276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245694374,"filename":"image_30012025_14_59_05_10489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333008672","file1":"1333008663","file0":"1333008655","file4":"1333008681","file5":"1333008685","file3":"1333008676"},"map_files_photo_id_array":[{"photo_id":"1333008685","filename":"file5"},{"photo_id":"1333008672","filename":"file2"},{"photo_id":"1333008681","filename":"file4"},{"photo_id":"1333008663","filename":"file1"},{"photo_id":"1333008655","filename":"file0"},{"photo_id":"1333008676","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333008676":["hashtag1","hashtag2"]},{"1333008685":["hashtag1","hashtag2"]},{"1333008655":["hashtag1","hashtag2"]},{"1333008672":["hashtag1","hashtag2"]},{"1333008681":["hashtag1","hashtag2"]},{"1333008663":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333008676, 1333008685, 1333008655, 1333008672, 1333008681, 1333008663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.272066831588745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:01:32.119881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/14/59/image_30012025_14_59_55_10347.jpg', '/home/pi/Desktop/images/30012025/15/00/image_30012025_15_00_16_10073.jpg', '/home/pi/Desktop/images/30012025/15/00/image_30012025_15_00_26_10376.jpg', '/home/pi/Desktop/images/30012025/15/00/image_30012025_15_00_37_10357.jpg', '/home/pi/Desktop/images/30012025/15/00/image_30012025_15_00_46_9436.jpg', '/home/pi/Desktop/images/30012025/15/00/image_30012025_15_00_56_10409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/14/59/image_30012025_14_59_55_10347.jpg
/home/pi/Desktop/images/30012025/15/00/image_30012025_15_00_16_10073.jpg
/home/pi/Desktop/images/30012025/15/00/image_30012025_15_00_26_10376.jpg
/home/pi/Desktop/images/30012025/15/00/image_30012025_15_00_37_10357.jpg
/home/pi/Desktop/images/30012025/15/00/image_30012025_15_00_46_9436.jpg
/home/pi/Desktop/images/30012025/15/00/image_30012025_15_00_56_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":["1333009003","1333009053","1333009032","1333008993","1333008933","1333008927"],"photo_ids_order":["1333008927","1333008933","1333008993","1333009003","1333009032","1333009053"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6aaf7bfbd60a4fa2d8c2badda20dd8d1.jpg","text":"TemporaryFile(/tmp/multipartBody4231264572548732965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245753079,"filename":"image_30012025_15_00_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/30/0233c9bbf318fb133b468a437f47c873.jpg","text":"TemporaryFile(/tmp/multipartBody2089331876974523402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245753079,"filename":"image_30012025_15_00_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/30/de1684a61dde9a373c6344e42a30c2a1.jpg","text":"TemporaryFile(/tmp/multipartBody564331322647041824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245753079,"filename":"image_30012025_15_00_46_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/30/21e97dea70ecca958b6b4462e87befd0.jpg","text":"TemporaryFile(/tmp/multipartBody7428644216540490955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245753079,"filename":"image_30012025_15_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/30/a0b9d96aa3bc678cd62dba8226575f6e.jpg","text":"TemporaryFile(/tmp/multipartBody6169662333503930184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245753079,"filename":"image_30012025_15_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/30/bb884957ab857c900cdb88f1b5f82595.jpg","text":"TemporaryFile(/tmp/multipartBody7965943245001130195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245753079,"filename":"image_30012025_14_59_55_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333008993","file1":"1333008933","file0":"1333008927","file4":"1333009032","file5":"1333009053","file3":"1333009003"},"map_files_photo_id_array":[{"photo_id":"1333009053","filename":"file5"},{"photo_id":"1333008993","filename":"file2"},{"photo_id":"1333009032","filename":"file4"},{"photo_id":"1333008933","filename":"file1"},{"photo_id":"1333008927","filename":"file0"},{"photo_id":"1333009003","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333009003":["hashtag1","hashtag2"]},{"1333009053":["hashtag1","hashtag2"]},{"1333009032":["hashtag1","hashtag2"]},{"1333008993":["hashtag1","hashtag2"]},{"1333008933":["hashtag1","hashtag2"]},{"1333008927":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333009003, 1333009053, 1333009032, 1333008993, 1333008933, 1333008927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.70106267929077 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:02:32.371051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/00/image_30012025_15_01_06_9437.jpg', '/home/pi/Desktop/images/30012025/15/01/image_30012025_15_01_16_10339.jpg', '/home/pi/Desktop/images/30012025/15/01/image_30012025_15_01_26_10341.jpg', '/home/pi/Desktop/images/30012025/15/01/image_30012025_15_01_36_9370.jpg', '/home/pi/Desktop/images/30012025/15/01/image_30012025_15_01_46_10439.jpg', '/home/pi/Desktop/images/30012025/15/01/image_30012025_15_01_57_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/00/image_30012025_15_01_06_9437.jpg
/home/pi/Desktop/images/30012025/15/01/image_30012025_15_01_16_10339.jpg
/home/pi/Desktop/images/30012025/15/01/image_30012025_15_01_26_10341.jpg
/home/pi/Desktop/images/30012025/15/01/image_30012025_15_01_36_9370.jpg
/home/pi/Desktop/images/30012025/15/01/image_30012025_15_01_46_10439.jpg
/home/pi/Desktop/images/30012025/15/01/image_30012025_15_01_57_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":["1333009402","1333009341","1333009394","1333009337","1333009331","1333009406"],"photo_ids_order":["1333009331","1333009337","1333009341","1333009394","1333009402","1333009406"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0b5446872df8bca3620894db7ecff0a4.jpg","text":"TemporaryFile(/tmp/multipartBody3061902906658897970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245813261,"filename":"image_30012025_15_01_46_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/eaefc52e58a615287aec7fff1ab81599.jpg","text":"TemporaryFile(/tmp/multipartBody5093040224959493052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245813261,"filename":"image_30012025_15_01_26_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/818c3f771f11d798b88925bfb9c62ddd.jpg","text":"TemporaryFile(/tmp/multipartBody4066507805615024227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245813261,"filename":"image_30012025_15_01_36_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/30/f0965c76ed8c0428c051f4cc4f5f9f5b.jpg","text":"TemporaryFile(/tmp/multipartBody7313331093139866395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245813261,"filename":"image_30012025_15_01_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/30/d2bfb5dcb068e4c3b63130d7ada36971.jpg","text":"TemporaryFile(/tmp/multipartBody967624308969244636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245813261,"filename":"image_30012025_15_01_06_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/212fba3e092e81a04696802c1342bf93.jpg","text":"TemporaryFile(/tmp/multipartBody7811517128738323909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245813261,"filename":"image_30012025_15_01_57_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333009341","file1":"1333009337","file0":"1333009331","file4":"1333009402","file5":"1333009406","file3":"1333009394"},"map_files_photo_id_array":[{"photo_id":"1333009406","filename":"file5"},{"photo_id":"1333009341","filename":"file2"},{"photo_id":"1333009402","filename":"file4"},{"photo_id":"1333009337","filename":"file1"},{"photo_id":"1333009331","filename":"file0"},{"photo_id":"1333009394","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333009402":["hashtag1","hashtag2"]},{"1333009341":["hashtag1","hashtag2"]},{"1333009394":["hashtag1","hashtag2"]},{"1333009337":["hashtag1","hashtag2"]},{"1333009331":["hashtag1","hashtag2"]},{"1333009406":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333009402, 1333009341, 1333009394, 1333009337, 1333009331, 1333009406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.75312829017639 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:03:32.661689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/01/image_30012025_15_02_06_9391.jpg', '/home/pi/Desktop/images/30012025/15/02/image_30012025_15_02_16_10331.jpg', '/home/pi/Desktop/images/30012025/15/02/image_30012025_15_02_27_10349.jpg', '/home/pi/Desktop/images/30012025/15/02/image_30012025_15_02_36_9384.jpg', '/home/pi/Desktop/images/30012025/15/02/image_30012025_15_02_46_10358.jpg', '/home/pi/Desktop/images/30012025/15/02/image_30012025_15_02_56_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/01/image_30012025_15_02_06_9391.jpg
/home/pi/Desktop/images/30012025/15/02/image_30012025_15_02_16_10331.jpg
/home/pi/Desktop/images/30012025/15/02/image_30012025_15_02_27_10349.jpg
/home/pi/Desktop/images/30012025/15/02/image_30012025_15_02_36_9384.jpg
/home/pi/Desktop/images/30012025/15/02/image_30012025_15_02_46_10358.jpg
/home/pi/Desktop/images/30012025/15/02/image_30012025_15_02_56_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":["1333009597","1333009516","1333009521","1333009512","1333009608","1333009604"],"photo_ids_order":["1333009512","1333009516","1333009521","1333009597","1333009604","1333009608"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/404746aa7694da7194a1515b5d859d4d.jpg","text":"TemporaryFile(/tmp/multipartBody3052871798550553847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245873569,"filename":"image_30012025_15_02_36_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/30/3c04e27df1435258331d8d084f8f3fc1.jpg","text":"TemporaryFile(/tmp/multipartBody8909932817929321000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245873569,"filename":"image_30012025_15_02_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/30/0f2316926a868a162cdd75b8725c1f74.jpg","text":"TemporaryFile(/tmp/multipartBody779950367868908147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245873569,"filename":"image_30012025_15_02_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/30/1706517c6bde3ff533de85b2d2269173.jpg","text":"TemporaryFile(/tmp/multipartBody1459811775262490419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245873569,"filename":"image_30012025_15_02_06_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/30/6c4d9129d3ab49a5b509220afddc5d54.jpg","text":"TemporaryFile(/tmp/multipartBody8706459419192697416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245873569,"filename":"image_30012025_15_02_56_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/30/116d549ce8af6a8c0420e9f62843d463.jpg","text":"TemporaryFile(/tmp/multipartBody223713860861390556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245873569,"filename":"image_30012025_15_02_46_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333009521","file1":"1333009516","file0":"1333009512","file4":"1333009604","file5":"1333009608","file3":"1333009597"},"map_files_photo_id_array":[{"photo_id":"1333009608","filename":"file5"},{"photo_id":"1333009521","filename":"file2"},{"photo_id":"1333009604","filename":"file4"},{"photo_id":"1333009516","filename":"file1"},{"photo_id":"1333009512","filename":"file0"},{"photo_id":"1333009597","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333009597":["hashtag1","hashtag2"]},{"1333009516":["hashtag1","hashtag2"]},{"1333009521":["hashtag1","hashtag2"]},{"1333009512":["hashtag1","hashtag2"]},{"1333009608":["hashtag1","hashtag2"]},{"1333009604":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333009597, 1333009516, 1333009521, 1333009512, 1333009608, 1333009604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.59284043312073 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:04:32.885772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/02/image_30012025_15_03_06_10397.jpg', '/home/pi/Desktop/images/30012025/15/03/image_30012025_15_03_17_10328.jpg', '/home/pi/Desktop/images/30012025/15/03/image_30012025_15_03_36_10333.jpg', '/home/pi/Desktop/images/30012025/15/03/image_30012025_15_03_47_10330.jpg', '/home/pi/Desktop/images/30012025/15/03/image_30012025_15_03_56_9411.jpg', '/home/pi/Desktop/images/30012025/15/03/image_30012025_15_04_06_10402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/02/image_30012025_15_03_06_10397.jpg
/home/pi/Desktop/images/30012025/15/03/image_30012025_15_03_17_10328.jpg
/home/pi/Desktop/images/30012025/15/03/image_30012025_15_03_36_10333.jpg
/home/pi/Desktop/images/30012025/15/03/image_30012025_15_03_47_10330.jpg
/home/pi/Desktop/images/30012025/15/03/image_30012025_15_03_56_9411.jpg
/home/pi/Desktop/images/30012025/15/03/image_30012025_15_04_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":["1333009630","1333009624","1333009635","1333009643","1333009646","1333009640"],"photo_ids_order":["1333009624","1333009630","1333009635","1333009640","1333009643","1333009646"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/18acf9e27518a09ef535ec2702f38a3e.jpg","text":"TemporaryFile(/tmp/multipartBody5975059327995085249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245933798,"filename":"image_30012025_15_03_17_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/517906bd9ab071f275b7406e50dcbe37.jpg","text":"TemporaryFile(/tmp/multipartBody6654131316862614987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245933798,"filename":"image_30012025_15_03_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/30/815a5a61bbbb5e8d7c00ae4ff4b21fb8.jpg","text":"TemporaryFile(/tmp/multipartBody2099127183699029498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245933798,"filename":"image_30012025_15_03_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/30/9e54a8f91e3e8e2455102275a31c5f69.jpg","text":"TemporaryFile(/tmp/multipartBody4107640591021239913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245933798,"filename":"image_30012025_15_03_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/30/fd4c91ae1338bb5a4b5e82d090dcc7dd.jpg","text":"TemporaryFile(/tmp/multipartBody4625281991334114582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245933798,"filename":"image_30012025_15_04_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/30/228ba8e6c77acb10ef9d34d1a0253a78.jpg","text":"TemporaryFile(/tmp/multipartBody8668680490468453147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245933798,"filename":"image_30012025_15_03_47_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333009635","file1":"1333009630","file0":"1333009624","file4":"1333009643","file5":"1333009646","file3":"1333009640"},"map_files_photo_id_array":[{"photo_id":"1333009646","filename":"file5"},{"photo_id":"1333009635","filename":"file2"},{"photo_id":"1333009643","filename":"file4"},{"photo_id":"1333009630","filename":"file1"},{"photo_id":"1333009624","filename":"file0"},{"photo_id":"1333009640","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333009630":["hashtag1","hashtag2"]},{"1333009624":["hashtag1","hashtag2"]},{"1333009635":["hashtag1","hashtag2"]},{"1333009643":["hashtag1","hashtag2"]},{"1333009646":["hashtag1","hashtag2"]},{"1333009640":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333009630, 1333009624, 1333009635, 1333009643, 1333009646, 1333009640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.272690534591675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:05:33.181788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/04/image_30012025_15_04_16_9335.jpg', '/home/pi/Desktop/images/30012025/15/04/image_30012025_15_04_26_10440.jpg', '/home/pi/Desktop/images/30012025/15/04/image_30012025_15_04_37_10341.jpg', '/home/pi/Desktop/images/30012025/15/04/image_30012025_15_04_46_9423.jpg', '/home/pi/Desktop/images/30012025/15/04/image_30012025_15_04_56_10328.jpg', '/home/pi/Desktop/images/30012025/15/04/image_30012025_15_05_07_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/04/image_30012025_15_04_16_9335.jpg
/home/pi/Desktop/images/30012025/15/04/image_30012025_15_04_26_10440.jpg
/home/pi/Desktop/images/30012025/15/04/image_30012025_15_04_37_10341.jpg
/home/pi/Desktop/images/30012025/15/04/image_30012025_15_04_46_9423.jpg
/home/pi/Desktop/images/30012025/15/04/image_30012025_15_04_56_10328.jpg
/home/pi/Desktop/images/30012025/15/04/image_30012025_15_05_07_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":["1333010205","1333010028","1333009949","1333009934","1333009925","1333009765"],"photo_ids_order":["1333009765","1333009925","1333009934","1333009949","1333010028","1333010205"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3507782645dc30acc2151fc65fbfd311.jpg","text":"TemporaryFile(/tmp/multipartBody7251760363907571870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245994088,"filename":"image_30012025_15_05_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/30/0f3baa0cfcbec347d8bdd8d103932d11.jpg","text":"TemporaryFile(/tmp/multipartBody4203717671241277213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245994088,"filename":"image_30012025_15_04_56_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/30/9e2c12f0b2df16814c8cc23dba3ae63d.jpg","text":"TemporaryFile(/tmp/multipartBody8824689643753270784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245994088,"filename":"image_30012025_15_04_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/30/1182d8ec83ed4a35450a7192728b07c2.jpg","text":"TemporaryFile(/tmp/multipartBody4305549241895148955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245994088,"filename":"image_30012025_15_04_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/30/c07959724697348677a5e53774120cb0.jpg","text":"TemporaryFile(/tmp/multipartBody9209178259393872983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245994088,"filename":"image_30012025_15_04_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/30/ef2ddb0808c3692c5f982366f9c3c238.jpg","text":"TemporaryFile(/tmp/multipartBody6980856754678122385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738245994088,"filename":"image_30012025_15_04_16_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333009934","file1":"1333009925","file0":"1333009765","file4":"1333010028","file5":"1333010205","file3":"1333009949"},"map_files_photo_id_array":[{"photo_id":"1333010205","filename":"file5"},{"photo_id":"1333009934","filename":"file2"},{"photo_id":"1333010028","filename":"file4"},{"photo_id":"1333009925","filename":"file1"},{"photo_id":"1333009765","filename":"file0"},{"photo_id":"1333009949","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333010205":["hashtag1","hashtag2"]},{"1333010028":["hashtag1","hashtag2"]},{"1333009949":["hashtag1","hashtag2"]},{"1333009934":["hashtag1","hashtag2"]},{"1333009925":["hashtag1","hashtag2"]},{"1333009765":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333010205, 1333010028, 1333009949, 1333009934, 1333009925, 1333009765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.77843952178955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:06:32.199485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/05/image_30012025_15_05_16_9417.jpg', '/home/pi/Desktop/images/30012025/15/05/image_30012025_15_05_26_10430.jpg', '/home/pi/Desktop/images/30012025/15/05/image_30012025_15_05_36_9487.jpg', '/home/pi/Desktop/images/30012025/15/05/image_30012025_15_05_46_10362.jpg', '/home/pi/Desktop/images/30012025/15/05/image_30012025_15_06_06_9324.jpg', '/home/pi/Desktop/images/30012025/15/06/image_30012025_15_06_16_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/05/image_30012025_15_05_16_9417.jpg
/home/pi/Desktop/images/30012025/15/05/image_30012025_15_05_26_10430.jpg
/home/pi/Desktop/images/30012025/15/05/image_30012025_15_05_36_9487.jpg
/home/pi/Desktop/images/30012025/15/05/image_30012025_15_05_46_10362.jpg
/home/pi/Desktop/images/30012025/15/05/image_30012025_15_06_06_9324.jpg
/home/pi/Desktop/images/30012025/15/06/image_30012025_15_06_16_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":["1333011394","1333011376","1333011396","1333011150","1333010928","1333010703"],"photo_ids_order":["1333010703","1333010928","1333011150","1333011376","1333011394","1333011396"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b9c8d6c82b88ac662b984607a7469ac1.jpg","text":"TemporaryFile(/tmp/multipartBody264139166223017181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246053093,"filename":"image_30012025_15_06_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/30/ece09eb8afe3687e6497daf9c5e75b8b.jpg","text":"TemporaryFile(/tmp/multipartBody245212685253351062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246053093,"filename":"image_30012025_15_05_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/30/74e711bbbc6d5d5d84b0d4ee6f539301.jpg","text":"TemporaryFile(/tmp/multipartBody8073667205785842714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246053093,"filename":"image_30012025_15_06_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/30/9f3da8a221c8efac4f1f393ac677cb31.jpg","text":"TemporaryFile(/tmp/multipartBody6607711214349955130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246053093,"filename":"image_30012025_15_05_36_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/30/062b80c6d60045df998a99650580627f.jpg","text":"TemporaryFile(/tmp/multipartBody940502465605262196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246053093,"filename":"image_30012025_15_05_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/30/eff646e7e3737f003e5323c6a0751854.jpg","text":"TemporaryFile(/tmp/multipartBody4705223865139364718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246053093,"filename":"image_30012025_15_05_16_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333011150","file1":"1333010928","file0":"1333010703","file4":"1333011394","file5":"1333011396","file3":"1333011376"},"map_files_photo_id_array":[{"photo_id":"1333011396","filename":"file5"},{"photo_id":"1333011150","filename":"file2"},{"photo_id":"1333011394","filename":"file4"},{"photo_id":"1333010928","filename":"file1"},{"photo_id":"1333010703","filename":"file0"},{"photo_id":"1333011376","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333011394":["hashtag1","hashtag2"]},{"1333011376":["hashtag1","hashtag2"]},{"1333011396":["hashtag1","hashtag2"]},{"1333011150":["hashtag1","hashtag2"]},{"1333010928":["hashtag1","hashtag2"]},{"1333010703":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333011394, 1333011376, 1333011396, 1333011150, 1333010928, 1333010703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.15506720542908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:07:32.473726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/06/image_30012025_15_06_36_10415.jpg', '/home/pi/Desktop/images/30012025/15/06/image_30012025_15_06_47_10359.jpg', '/home/pi/Desktop/images/30012025/15/06/image_30012025_15_06_56_9412.jpg', '/home/pi/Desktop/images/30012025/15/06/image_30012025_15_07_06_10340.jpg', '/home/pi/Desktop/images/30012025/15/07/image_30012025_15_07_17_10350.jpg', '/home/pi/Desktop/images/30012025/15/07/image_30012025_15_07_26_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/06/image_30012025_15_06_36_10415.jpg
/home/pi/Desktop/images/30012025/15/06/image_30012025_15_06_47_10359.jpg
/home/pi/Desktop/images/30012025/15/06/image_30012025_15_06_56_9412.jpg
/home/pi/Desktop/images/30012025/15/06/image_30012025_15_07_06_10340.jpg
/home/pi/Desktop/images/30012025/15/07/image_30012025_15_07_17_10350.jpg
/home/pi/Desktop/images/30012025/15/07/image_30012025_15_07_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":["1333011436","1333011430","1333011453","1333011420","1333011425","1333011463"],"photo_ids_order":["1333011420","1333011425","1333011430","1333011436","1333011453","1333011463"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b5ff98acbd7df170b78a3340ccd107f7.jpg","text":"TemporaryFile(/tmp/multipartBody5448719632537085485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246113374,"filename":"image_30012025_15_07_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/30/eddb3be32db8f7fba396adadd3999186.jpg","text":"TemporaryFile(/tmp/multipartBody6401860587596891660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246113374,"filename":"image_30012025_15_06_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/30/3aca12fba8411485391f7f857fe34ff1.jpg","text":"TemporaryFile(/tmp/multipartBody1826322275857482337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246113374,"filename":"image_30012025_15_07_17_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c9a872bc72af84571e87403eaf6d1903.jpg","text":"TemporaryFile(/tmp/multipartBody3261710938262945269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246113374,"filename":"image_30012025_15_06_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/30/b78c2736af2ba82e1712efff21d2a8c6.jpg","text":"TemporaryFile(/tmp/multipartBody6426151282277255081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246113374,"filename":"image_30012025_15_06_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/30/8e0b684a9df6d62ef709a462e2e6a518.jpg","text":"TemporaryFile(/tmp/multipartBody806191338429441971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246113374,"filename":"image_30012025_15_07_26_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333011430","file1":"1333011425","file0":"1333011420","file4":"1333011453","file5":"1333011463","file3":"1333011436"},"map_files_photo_id_array":[{"photo_id":"1333011463","filename":"file5"},{"photo_id":"1333011430","filename":"file2"},{"photo_id":"1333011453","filename":"file4"},{"photo_id":"1333011425","filename":"file1"},{"photo_id":"1333011420","filename":"file0"},{"photo_id":"1333011436","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333011436":["hashtag1","hashtag2"]},{"1333011430":["hashtag1","hashtag2"]},{"1333011453":["hashtag1","hashtag2"]},{"1333011420":["hashtag1","hashtag2"]},{"1333011425":["hashtag1","hashtag2"]},{"1333011463":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333011436, 1333011430, 1333011453, 1333011420, 1333011425, 1333011463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.928860664367676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:08:32.625099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/07/image_30012025_15_07_36_10353.jpg', '/home/pi/Desktop/images/30012025/15/07/image_30012025_15_07_46_9450.jpg', '/home/pi/Desktop/images/30012025/15/07/image_30012025_15_07_56_10383.jpg', '/home/pi/Desktop/images/30012025/15/08/image_30012025_15_08_16_9406.jpg', '/home/pi/Desktop/images/30012025/15/08/image_30012025_15_08_26_10386.jpg', '/home/pi/Desktop/images/30012025/15/08/image_30012025_15_08_37_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/07/image_30012025_15_07_36_10353.jpg
/home/pi/Desktop/images/30012025/15/07/image_30012025_15_07_46_9450.jpg
/home/pi/Desktop/images/30012025/15/07/image_30012025_15_07_56_10383.jpg
/home/pi/Desktop/images/30012025/15/08/image_30012025_15_08_16_9406.jpg
/home/pi/Desktop/images/30012025/15/08/image_30012025_15_08_26_10386.jpg
/home/pi/Desktop/images/30012025/15/08/image_30012025_15_08_37_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":["1333011523","1333011927","1333011497","1333012087","1333011602","1333011515"],"photo_ids_order":["1333011497","1333011515","1333011523","1333011602","1333011927","1333012087"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8f10729bc6c681a8dbb52dda75518350.jpg","text":"TemporaryFile(/tmp/multipartBody2462397493196365985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246173540,"filename":"image_30012025_15_07_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/30/2ce0fb05c9e8d5548b2b3bd5c4f7e288.jpg","text":"TemporaryFile(/tmp/multipartBody2814677595447396606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246173540,"filename":"image_30012025_15_08_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/30/70fa46f25c4f789fcefdf6e76b976cf1.jpg","text":"TemporaryFile(/tmp/multipartBody5260424277530749804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246173540,"filename":"image_30012025_15_07_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/30/576571222ff258348f79c48d7d7f856f.jpg","text":"TemporaryFile(/tmp/multipartBody39906211550832428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246173540,"filename":"image_30012025_15_08_37_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4f1b7d9a930b2a1c8965876ec6708caa.jpg","text":"TemporaryFile(/tmp/multipartBody7228381779752485891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246173540,"filename":"image_30012025_15_08_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/30/0439a161c99df1a4bf88f7d1b9577e41.jpg","text":"TemporaryFile(/tmp/multipartBody6577287445926287955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246173540,"filename":"image_30012025_15_07_46_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333011523","file1":"1333011515","file0":"1333011497","file4":"1333011927","file5":"1333012087","file3":"1333011602"},"map_files_photo_id_array":[{"photo_id":"1333012087","filename":"file5"},{"photo_id":"1333011523","filename":"file2"},{"photo_id":"1333011927","filename":"file4"},{"photo_id":"1333011515","filename":"file1"},{"photo_id":"1333011497","filename":"file0"},{"photo_id":"1333011602","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333011523":["hashtag1","hashtag2"]},{"1333011927":["hashtag1","hashtag2"]},{"1333011497":["hashtag1","hashtag2"]},{"1333012087":["hashtag1","hashtag2"]},{"1333011602":["hashtag1","hashtag2"]},{"1333011515":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333011523, 1333011927, 1333011497, 1333012087, 1333011602, 1333011515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.8652982711792 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:09:32.866559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/08/image_30012025_15_08_46_9451.jpg', '/home/pi/Desktop/images/30012025/15/08/image_30012025_15_08_56_10353.jpg', '/home/pi/Desktop/images/30012025/15/08/image_30012025_15_09_06_9332.jpg', '/home/pi/Desktop/images/30012025/15/09/image_30012025_15_09_16_10403.jpg', '/home/pi/Desktop/images/30012025/15/09/image_30012025_15_09_26_10340.jpg', '/home/pi/Desktop/images/30012025/15/09/image_30012025_15_09_36_9390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/08/image_30012025_15_08_46_9451.jpg
/home/pi/Desktop/images/30012025/15/08/image_30012025_15_08_56_10353.jpg
/home/pi/Desktop/images/30012025/15/08/image_30012025_15_09_06_9332.jpg
/home/pi/Desktop/images/30012025/15/09/image_30012025_15_09_16_10403.jpg
/home/pi/Desktop/images/30012025/15/09/image_30012025_15_09_26_10340.jpg
/home/pi/Desktop/images/30012025/15/09/image_30012025_15_09_36_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":["1333012164","1333012272","1333012305","1333012308","1333012298","1333012168"],"photo_ids_order":["1333012164","1333012168","1333012272","1333012298","1333012305","1333012308"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8fe24fa02803aa714a3fc8d856aabd65.jpg","text":"TemporaryFile(/tmp/multipartBody8782590488200317474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246233779,"filename":"image_30012025_15_08_46_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/30/ad2866c26418ba9b7ed9d0b7d0321397.jpg","text":"TemporaryFile(/tmp/multipartBody3563071815424291900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246233779,"filename":"image_30012025_15_09_06_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5f0f5d493a7f2e146a2693f486b8c3c5.jpg","text":"TemporaryFile(/tmp/multipartBody7468847717494978274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246233779,"filename":"image_30012025_15_09_26_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6151f013ee1809ec9bcedeed410e0bbe.jpg","text":"TemporaryFile(/tmp/multipartBody3359743126973951397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246233779,"filename":"image_30012025_15_09_36_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/30/66fe56ea51db7a1b68a0e047bf1edfb3.jpg","text":"TemporaryFile(/tmp/multipartBody4100004817781223585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246233779,"filename":"image_30012025_15_09_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/30/cdecc1e299db3862390928468d8bdd22.jpg","text":"TemporaryFile(/tmp/multipartBody8860123465972005454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246233779,"filename":"image_30012025_15_08_56_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333012272","file1":"1333012168","file0":"1333012164","file4":"1333012305","file5":"1333012308","file3":"1333012298"},"map_files_photo_id_array":[{"photo_id":"1333012308","filename":"file5"},{"photo_id":"1333012272","filename":"file2"},{"photo_id":"1333012305","filename":"file4"},{"photo_id":"1333012168","filename":"file1"},{"photo_id":"1333012164","filename":"file0"},{"photo_id":"1333012298","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333012164":["hashtag1","hashtag2"]},{"1333012272":["hashtag1","hashtag2"]},{"1333012305":["hashtag1","hashtag2"]},{"1333012308":["hashtag1","hashtag2"]},{"1333012298":["hashtag1","hashtag2"]},{"1333012168":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333012164, 1333012272, 1333012305, 1333012308, 1333012298, 1333012168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.18508195877075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:10:32.936244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/09/image_30012025_15_09_46_10348.jpg', '/home/pi/Desktop/images/30012025/15/09/image_30012025_15_09_57_10367.jpg', '/home/pi/Desktop/images/30012025/15/09/image_30012025_15_10_06_9338.jpg', '/home/pi/Desktop/images/30012025/15/10/image_30012025_15_10_16_10343.jpg', '/home/pi/Desktop/images/30012025/15/10/image_30012025_15_10_27_10362.jpg', '/home/pi/Desktop/images/30012025/15/10/image_30012025_15_10_36_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/09/image_30012025_15_09_46_10348.jpg
/home/pi/Desktop/images/30012025/15/09/image_30012025_15_09_57_10367.jpg
/home/pi/Desktop/images/30012025/15/09/image_30012025_15_10_06_9338.jpg
/home/pi/Desktop/images/30012025/15/10/image_30012025_15_10_16_10343.jpg
/home/pi/Desktop/images/30012025/15/10/image_30012025_15_10_27_10362.jpg
/home/pi/Desktop/images/30012025/15/10/image_30012025_15_10_36_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":["1333012342","1333012350","1333012326","1333012370","1333012460","1333012378"],"photo_ids_order":["1333012326","1333012342","1333012350","1333012370","1333012378","1333012460"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e74f9652dc37bd947a32005a12802bdf.jpg","text":"TemporaryFile(/tmp/multipartBody3856068396421492491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246293822,"filename":"image_30012025_15_09_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/30/1284740b35c9ae28bfb0c201da2dd93d.jpg","text":"TemporaryFile(/tmp/multipartBody7161361008591582723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246293822,"filename":"image_30012025_15_10_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/30/ca29079cfd9f229f235f21b8bba98685.jpg","text":"TemporaryFile(/tmp/multipartBody9073771371018299254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246293822,"filename":"image_30012025_15_09_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/30/2e39c047071d314070cc3545f0c14ab5.jpg","text":"TemporaryFile(/tmp/multipartBody702976403161441572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246293822,"filename":"image_30012025_15_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/30/0a1d35cd5df24991910928d612b5a599.jpg","text":"TemporaryFile(/tmp/multipartBody4825512897888254012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246293822,"filename":"image_30012025_15_10_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/30/7dc24732a7f179ce1ef7a88c32135927.jpg","text":"TemporaryFile(/tmp/multipartBody5016254803893839774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246293822,"filename":"image_30012025_15_10_27_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333012350","file1":"1333012342","file0":"1333012326","file4":"1333012378","file5":"1333012460","file3":"1333012370"},"map_files_photo_id_array":[{"photo_id":"1333012460","filename":"file5"},{"photo_id":"1333012350","filename":"file2"},{"photo_id":"1333012378","filename":"file4"},{"photo_id":"1333012342","filename":"file1"},{"photo_id":"1333012326","filename":"file0"},{"photo_id":"1333012370","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333012342":["hashtag1","hashtag2"]},{"1333012350":["hashtag1","hashtag2"]},{"1333012326":["hashtag1","hashtag2"]},{"1333012370":["hashtag1","hashtag2"]},{"1333012460":["hashtag1","hashtag2"]},{"1333012378":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333012342, 1333012350, 1333012326, 1333012370, 1333012460, 1333012378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.90197730064392 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:11:32.156506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/10/image_30012025_15_10_46_10359.jpg', '/home/pi/Desktop/images/30012025/15/10/image_30012025_15_10_57_10339.jpg', '/home/pi/Desktop/images/30012025/15/10/image_30012025_15_11_06_9406.jpg', '/home/pi/Desktop/images/30012025/15/11/image_30012025_15_11_16_10327.jpg', '/home/pi/Desktop/images/30012025/15/11/image_30012025_15_11_26_9335.jpg', '/home/pi/Desktop/images/30012025/15/11/image_30012025_15_11_36_10385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/10/image_30012025_15_10_46_10359.jpg
/home/pi/Desktop/images/30012025/15/10/image_30012025_15_10_57_10339.jpg
/home/pi/Desktop/images/30012025/15/10/image_30012025_15_11_06_9406.jpg
/home/pi/Desktop/images/30012025/15/11/image_30012025_15_11_16_10327.jpg
/home/pi/Desktop/images/30012025/15/11/image_30012025_15_11_26_9335.jpg
/home/pi/Desktop/images/30012025/15/11/image_30012025_15_11_36_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333012686","1333012694","1333012649","1333012690","1333012681","1333012636"],"photo_ids_order":["1333012636","1333012649","1333012681","1333012686","1333012690","1333012694"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4637e079601d270a79904e616e5a31f1.jpg","text":"TemporaryFile(/tmp/multipartBody3313427571335186785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246353063,"filename":"image_30012025_15_11_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/30/c050e0bd936e875bd1919a345de750d6.jpg","text":"TemporaryFile(/tmp/multipartBody7801165998279337647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246353063,"filename":"image_30012025_15_11_36_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e81d24918c708dabb5a909291bb11c97.jpg","text":"TemporaryFile(/tmp/multipartBody8744273677763516196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246353063,"filename":"image_30012025_15_10_57_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/aa10295e4b8513baf76ab9596738d101.jpg","text":"TemporaryFile(/tmp/multipartBody3192873669903283382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246353063,"filename":"image_30012025_15_11_26_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a0d96b6e687bb325bc7e858ad85c184b.jpg","text":"TemporaryFile(/tmp/multipartBody5565877496810673785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246353063,"filename":"image_30012025_15_11_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/30/cb0b7c789745220caf9324c4a57cf0b2.jpg","text":"TemporaryFile(/tmp/multipartBody6551095561147986485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246353063,"filename":"image_30012025_15_10_46_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333012681","file1":"1333012649","file0":"1333012636","file4":"1333012690","file5":"1333012694","file3":"1333012686"},"map_files_photo_id_array":[{"photo_id":"1333012694","filename":"file5"},{"photo_id":"1333012681","filename":"file2"},{"photo_id":"1333012690","filename":"file4"},{"photo_id":"1333012649","filename":"file1"},{"photo_id":"1333012636","filename":"file0"},{"photo_id":"1333012686","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333012686":["hashtag1","hashtag2"]},{"1333012694":["hashtag1","hashtag2"]},{"1333012649":["hashtag1","hashtag2"]},{"1333012690":["hashtag1","hashtag2"]},{"1333012681":["hashtag1","hashtag2"]},{"1333012636":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333012686, 1333012694, 1333012649, 1333012690, 1333012681, 1333012636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.424968957901 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:12:32.501881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/11/image_30012025_15_11_47_10380.jpg', '/home/pi/Desktop/images/30012025/15/11/image_30012025_15_11_56_9371.jpg', '/home/pi/Desktop/images/30012025/15/11/image_30012025_15_12_06_10344.jpg', '/home/pi/Desktop/images/30012025/15/12/image_30012025_15_12_17_10330.jpg', '/home/pi/Desktop/images/30012025/15/12/image_30012025_15_12_26_9448.jpg', '/home/pi/Desktop/images/30012025/15/12/image_30012025_15_12_36_10396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/11/image_30012025_15_11_47_10380.jpg
/home/pi/Desktop/images/30012025/15/11/image_30012025_15_11_56_9371.jpg
/home/pi/Desktop/images/30012025/15/11/image_30012025_15_12_06_10344.jpg
/home/pi/Desktop/images/30012025/15/12/image_30012025_15_12_17_10330.jpg
/home/pi/Desktop/images/30012025/15/12/image_30012025_15_12_26_9448.jpg
/home/pi/Desktop/images/30012025/15/12/image_30012025_15_12_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":["1333012708","1333012713","1333012725","1333012719","1333012873","1333012729"],"photo_ids_order":["1333012708","1333012713","1333012719","1333012725","1333012729","1333012873"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2be2998449f13b70abcb4c377f19b30b.jpg","text":"TemporaryFile(/tmp/multipartBody5294660450146001104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246413410,"filename":"image_30012025_15_11_47_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/30/3391658c0489731d1d366aa70a6f0458.jpg","text":"TemporaryFile(/tmp/multipartBody609042040859812916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246413410,"filename":"image_30012025_15_11_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/30/fd3091605b3ea41b22cedcd663c4b15c.jpg","text":"TemporaryFile(/tmp/multipartBody5583368810996208953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246413410,"filename":"image_30012025_15_12_17_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/30/214b1408967efb43176f3c46823d347b.jpg","text":"TemporaryFile(/tmp/multipartBody6456888635370126024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246413410,"filename":"image_30012025_15_12_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/30/c464760bc43f4f2e6c0703bc3a47129d.jpg","text":"TemporaryFile(/tmp/multipartBody7365150920669392991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246413410,"filename":"image_30012025_15_12_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/30/10da898fb20f8bd489c8c6bdb75d5914.jpg","text":"TemporaryFile(/tmp/multipartBody6742447853979034786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246413410,"filename":"image_30012025_15_12_26_9448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333012719","file1":"1333012713","file0":"1333012708","file4":"1333012729","file5":"1333012873","file3":"1333012725"},"map_files_photo_id_array":[{"photo_id":"1333012873","filename":"file5"},{"photo_id":"1333012719","filename":"file2"},{"photo_id":"1333012729","filename":"file4"},{"photo_id":"1333012713","filename":"file1"},{"photo_id":"1333012708","filename":"file0"},{"photo_id":"1333012725","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333012708":["hashtag1","hashtag2"]},{"1333012713":["hashtag1","hashtag2"]},{"1333012725":["hashtag1","hashtag2"]},{"1333012719":["hashtag1","hashtag2"]},{"1333012873":["hashtag1","hashtag2"]},{"1333012729":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333012708, 1333012713, 1333012725, 1333012719, 1333012873, 1333012729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.6917245388031 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:13:32.658560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/12/image_30012025_15_12_46_9328.jpg', '/home/pi/Desktop/images/30012025/15/12/image_30012025_15_12_56_10399.jpg', '/home/pi/Desktop/images/30012025/15/12/image_30012025_15_13_06_10332.jpg', '/home/pi/Desktop/images/30012025/15/13/image_30012025_15_13_16_9391.jpg', '/home/pi/Desktop/images/30012025/15/13/image_30012025_15_13_26_10409.jpg', '/home/pi/Desktop/images/30012025/15/13/image_30012025_15_13_37_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/12/image_30012025_15_12_46_9328.jpg
/home/pi/Desktop/images/30012025/15/12/image_30012025_15_12_56_10399.jpg
/home/pi/Desktop/images/30012025/15/12/image_30012025_15_13_06_10332.jpg
/home/pi/Desktop/images/30012025/15/13/image_30012025_15_13_16_9391.jpg
/home/pi/Desktop/images/30012025/15/13/image_30012025_15_13_26_10409.jpg
/home/pi/Desktop/images/30012025/15/13/image_30012025_15_13_37_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":["1333013130","1333013075","1333013006","1333013098","1333013134","1333013104"],"photo_ids_order":["1333013006","1333013075","1333013098","1333013104","1333013130","1333013134"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/aecd70d5469c8bed8c0e7313a4fc84fc.jpg","text":"TemporaryFile(/tmp/multipartBody9113180023618456237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246473587,"filename":"image_30012025_15_13_26_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c11aac8386b3eea95de17242742f0e29.jpg","text":"TemporaryFile(/tmp/multipartBody6070249359845771459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246473587,"filename":"image_30012025_15_12_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/30/2e0f4654d8ea85cbe6285a9a4329b0ef.jpg","text":"TemporaryFile(/tmp/multipartBody2716349602532604236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246473587,"filename":"image_30012025_15_12_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/30/2a12ab25865384cfdc2485763c8a49eb.jpg","text":"TemporaryFile(/tmp/multipartBody65630350512392476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246473587,"filename":"image_30012025_15_13_06_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0172f3d37b3ed69788da23819dde74d4.jpg","text":"TemporaryFile(/tmp/multipartBody2955940374074542622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246473587,"filename":"image_30012025_15_13_37_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6f5c536d87a4f63d1c851a3d3acdf558.jpg","text":"TemporaryFile(/tmp/multipartBody853657135881348635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246473587,"filename":"image_30012025_15_13_16_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333013098","file1":"1333013075","file0":"1333013006","file4":"1333013130","file5":"1333013134","file3":"1333013104"},"map_files_photo_id_array":[{"photo_id":"1333013134","filename":"file5"},{"photo_id":"1333013098","filename":"file2"},{"photo_id":"1333013130","filename":"file4"},{"photo_id":"1333013075","filename":"file1"},{"photo_id":"1333013006","filename":"file0"},{"photo_id":"1333013104","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333013130":["hashtag1","hashtag2"]},{"1333013075":["hashtag1","hashtag2"]},{"1333013006":["hashtag1","hashtag2"]},{"1333013098":["hashtag1","hashtag2"]},{"1333013134":["hashtag1","hashtag2"]},{"1333013104":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333013130, 1333013075, 1333013006, 1333013098, 1333013134, 1333013104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.537341356277466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:14:33.032570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/13/image_30012025_15_13_46_9409.jpg', '/home/pi/Desktop/images/30012025/15/13/image_30012025_15_13_56_10341.jpg', '/home/pi/Desktop/images/30012025/15/13/image_30012025_15_14_06_9327.jpg', '/home/pi/Desktop/images/30012025/15/14/image_30012025_15_14_16_10411.jpg', '/home/pi/Desktop/images/30012025/15/14/image_30012025_15_14_26_10336.jpg', '/home/pi/Desktop/images/30012025/15/14/image_30012025_15_14_36_9449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/13/image_30012025_15_13_46_9409.jpg
/home/pi/Desktop/images/30012025/15/13/image_30012025_15_13_56_10341.jpg
/home/pi/Desktop/images/30012025/15/13/image_30012025_15_14_06_9327.jpg
/home/pi/Desktop/images/30012025/15/14/image_30012025_15_14_16_10411.jpg
/home/pi/Desktop/images/30012025/15/14/image_30012025_15_14_26_10336.jpg
/home/pi/Desktop/images/30012025/15/14/image_30012025_15_14_36_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":["1333013270","1333013261","1333013281","1333013275","1333013284","1333013266"],"photo_ids_order":["1333013261","1333013266","1333013270","1333013275","1333013281","1333013284"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/22750596c733523b5c02e7cbd48e2a3b.jpg","text":"TemporaryFile(/tmp/multipartBody5569061758920146027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246534020,"filename":"image_30012025_15_14_06_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4056e05892abce0773ad9bfa02101714.jpg","text":"TemporaryFile(/tmp/multipartBody6367392497596346312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246534020,"filename":"image_30012025_15_13_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/30/b2af4de81a02655872ded132c70183b3.jpg","text":"TemporaryFile(/tmp/multipartBody8836784743931290397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246534020,"filename":"image_30012025_15_14_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/30/1f669b8a4dc5f74cffb177f4d37d3fa6.jpg","text":"TemporaryFile(/tmp/multipartBody7211900932563301026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246534020,"filename":"image_30012025_15_14_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/30/65a16c1ecad62b0cf47a847b8690d505.jpg","text":"TemporaryFile(/tmp/multipartBody7620618591711625221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246534020,"filename":"image_30012025_15_14_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/30/e9b5d068e26837b74e391c808cf2b414.jpg","text":"TemporaryFile(/tmp/multipartBody3092680336514275455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246534020,"filename":"image_30012025_15_13_56_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333013270","file1":"1333013266","file0":"1333013261","file4":"1333013281","file5":"1333013284","file3":"1333013275"},"map_files_photo_id_array":[{"photo_id":"1333013284","filename":"file5"},{"photo_id":"1333013270","filename":"file2"},{"photo_id":"1333013281","filename":"file4"},{"photo_id":"1333013266","filename":"file1"},{"photo_id":"1333013261","filename":"file0"},{"photo_id":"1333013275","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333013270":["hashtag1","hashtag2"]},{"1333013261":["hashtag1","hashtag2"]},{"1333013281":["hashtag1","hashtag2"]},{"1333013275":["hashtag1","hashtag2"]},{"1333013284":["hashtag1","hashtag2"]},{"1333013266":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333013270, 1333013261, 1333013281, 1333013275, 1333013284, 1333013266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09298515319824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:15:33.152556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/14/image_30012025_15_14_46_10375.jpg', '/home/pi/Desktop/images/30012025/15/14/image_30012025_15_14_57_10345.jpg', '/home/pi/Desktop/images/30012025/15/14/image_30012025_15_15_06_9402.jpg', '/home/pi/Desktop/images/30012025/15/15/image_30012025_15_15_16_10400.jpg', '/home/pi/Desktop/images/30012025/15/15/image_30012025_15_15_26_9522.jpg', '/home/pi/Desktop/images/30012025/15/15/image_30012025_15_15_36_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/14/image_30012025_15_14_46_10375.jpg
/home/pi/Desktop/images/30012025/15/14/image_30012025_15_14_57_10345.jpg
/home/pi/Desktop/images/30012025/15/14/image_30012025_15_15_06_9402.jpg
/home/pi/Desktop/images/30012025/15/15/image_30012025_15_15_16_10400.jpg
/home/pi/Desktop/images/30012025/15/15/image_30012025_15_15_26_9522.jpg
/home/pi/Desktop/images/30012025/15/15/image_30012025_15_15_36_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":["1333013325","1333013313","1333013303","1333013320","1333013308","1333013317"],"photo_ids_order":["1333013303","1333013308","1333013313","1333013317","1333013320","1333013325"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b22dfc8ea3b6886679402a169213f236.jpg","text":"TemporaryFile(/tmp/multipartBody4996979897652404671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246594047,"filename":"image_30012025_15_15_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/30/f05e157ca5ccb4d8f4107a8bc7bf4722.jpg","text":"TemporaryFile(/tmp/multipartBody7799198222093299643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246594047,"filename":"image_30012025_15_15_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/30/3ec61f0ed88fc715defe085d04802ecb.jpg","text":"TemporaryFile(/tmp/multipartBody6208045118348268556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246594047,"filename":"image_30012025_15_14_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/30/f623e5ad29a6f5f7326171d10b96b2be.jpg","text":"TemporaryFile(/tmp/multipartBody3382539922042757868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246594047,"filename":"image_30012025_15_15_26_9522.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3182076c911b5c35859f7d5b96c8752f.jpg","text":"TemporaryFile(/tmp/multipartBody7095916841678707759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246594047,"filename":"image_30012025_15_14_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/30/a7e01fd74764754e48d8a9d1cbf0f255.jpg","text":"TemporaryFile(/tmp/multipartBody9193590341310677648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246594047,"filename":"image_30012025_15_15_16_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333013313","file1":"1333013308","file0":"1333013303","file4":"1333013320","file5":"1333013325","file3":"1333013317"},"map_files_photo_id_array":[{"photo_id":"1333013325","filename":"file5"},{"photo_id":"1333013313","filename":"file2"},{"photo_id":"1333013320","filename":"file4"},{"photo_id":"1333013308","filename":"file1"},{"photo_id":"1333013303","filename":"file0"},{"photo_id":"1333013317","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333013325":["hashtag1","hashtag2"]},{"1333013313":["hashtag1","hashtag2"]},{"1333013303":["hashtag1","hashtag2"]},{"1333013320":["hashtag1","hashtag2"]},{"1333013308":["hashtag1","hashtag2"]},{"1333013317":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333013325, 1333013313, 1333013303, 1333013320, 1333013308, 1333013317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.20259189605713 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:16:32.439120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/15/image_30012025_15_15_47_10339.jpg', '/home/pi/Desktop/images/30012025/15/15/image_30012025_15_15_56_9363.jpg', '/home/pi/Desktop/images/30012025/15/15/image_30012025_15_16_06_10351.jpg', '/home/pi/Desktop/images/30012025/15/16/image_30012025_15_16_16_9329.jpg', '/home/pi/Desktop/images/30012025/15/16/image_30012025_15_16_26_10341.jpg', '/home/pi/Desktop/images/30012025/15/16/image_30012025_15_16_36_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/15/image_30012025_15_15_47_10339.jpg
/home/pi/Desktop/images/30012025/15/15/image_30012025_15_15_56_9363.jpg
/home/pi/Desktop/images/30012025/15/15/image_30012025_15_16_06_10351.jpg
/home/pi/Desktop/images/30012025/15/16/image_30012025_15_16_16_9329.jpg
/home/pi/Desktop/images/30012025/15/16/image_30012025_15_16_26_10341.jpg
/home/pi/Desktop/images/30012025/15/16/image_30012025_15_16_36_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333013670","1333013664","1333013579","1333013465","1333013354","1333013344"],"photo_ids_order":["1333013344","1333013354","1333013465","1333013579","1333013664","1333013670"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/59a93e78cad2bf346add87eab1bbe525.jpg","text":"TemporaryFile(/tmp/multipartBody6444542776194808792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246653337,"filename":"image_30012025_15_16_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/30/b4e891e8179e6ed7e00e40b1bb418740.jpg","text":"TemporaryFile(/tmp/multipartBody4517499896433340029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246653337,"filename":"image_30012025_15_16_26_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/335ab0975eb6bf508e319ad10a36f39f.jpg","text":"TemporaryFile(/tmp/multipartBody2529722561961426348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246653337,"filename":"image_30012025_15_16_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/30/b795b3900cec9bc887cc88d2f17bee4a.jpg","text":"TemporaryFile(/tmp/multipartBody1808634387920931616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246653337,"filename":"image_30012025_15_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/30/676f7b15968658fde80aa1e55cff809f.jpg","text":"TemporaryFile(/tmp/multipartBody7989858833674095396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246653337,"filename":"image_30012025_15_15_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/30/201643c4f1bc9bfcf0ab4c5ede850a36.jpg","text":"TemporaryFile(/tmp/multipartBody29917479656478298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246653337,"filename":"image_30012025_15_15_47_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333013465","file1":"1333013354","file0":"1333013344","file4":"1333013664","file5":"1333013670","file3":"1333013579"},"map_files_photo_id_array":[{"photo_id":"1333013670","filename":"file5"},{"photo_id":"1333013465","filename":"file2"},{"photo_id":"1333013664","filename":"file4"},{"photo_id":"1333013354","filename":"file1"},{"photo_id":"1333013344","filename":"file0"},{"photo_id":"1333013579","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333013670":["hashtag1","hashtag2"]},{"1333013664":["hashtag1","hashtag2"]},{"1333013579":["hashtag1","hashtag2"]},{"1333013465":["hashtag1","hashtag2"]},{"1333013354":["hashtag1","hashtag2"]},{"1333013344":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333013670, 1333013664, 1333013579, 1333013465, 1333013354, 1333013344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.834848165512085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:17:32.659221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/16/image_30012025_15_16_46_9337.jpg', '/home/pi/Desktop/images/30012025/15/16/image_30012025_15_16_56_10406.jpg', '/home/pi/Desktop/images/30012025/15/16/image_30012025_15_17_07_10366.jpg', '/home/pi/Desktop/images/30012025/15/17/image_30012025_15_17_16_9376.jpg', '/home/pi/Desktop/images/30012025/15/17/image_30012025_15_17_26_10366.jpg', '/home/pi/Desktop/images/30012025/15/17/image_30012025_15_17_37_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/16/image_30012025_15_16_46_9337.jpg
/home/pi/Desktop/images/30012025/15/16/image_30012025_15_16_56_10406.jpg
/home/pi/Desktop/images/30012025/15/16/image_30012025_15_17_07_10366.jpg
/home/pi/Desktop/images/30012025/15/17/image_30012025_15_17_16_9376.jpg
/home/pi/Desktop/images/30012025/15/17/image_30012025_15_17_26_10366.jpg
/home/pi/Desktop/images/30012025/15/17/image_30012025_15_17_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":["1333013885","1333014037","1333013912","1333013890","1333013880","1333013874"],"photo_ids_order":["1333013874","1333013880","1333013885","1333013890","1333013912","1333014037"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c82dd7b6db10f1cd51b25545b51521d5.jpg","text":"TemporaryFile(/tmp/multipartBody2697572358562254978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246713575,"filename":"image_30012025_15_17_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/30/4d19b9f662ef0a7dddb57871e704ce09.jpg","text":"TemporaryFile(/tmp/multipartBody1755852967587397857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246713575,"filename":"image_30012025_15_17_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/30/a32b21cff6b2ea1c6c173e3ebb06a40a.jpg","text":"TemporaryFile(/tmp/multipartBody8899346601077810053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246713575,"filename":"image_30012025_15_17_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/30/2347b91b25a7460f2944973c1d9146a8.jpg","text":"TemporaryFile(/tmp/multipartBody381480406564674076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246713575,"filename":"image_30012025_15_17_16_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f61b26ba2debc08042fcb2086ad1c6ba.jpg","text":"TemporaryFile(/tmp/multipartBody5828919737634932910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246713575,"filename":"image_30012025_15_16_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/30/79bc668443ef0f223f2c25dc09017aab.jpg","text":"TemporaryFile(/tmp/multipartBody840482061646311471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246713575,"filename":"image_30012025_15_16_46_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333013885","file1":"1333013880","file0":"1333013874","file4":"1333013912","file5":"1333014037","file3":"1333013890"},"map_files_photo_id_array":[{"photo_id":"1333014037","filename":"file5"},{"photo_id":"1333013885","filename":"file2"},{"photo_id":"1333013912","filename":"file4"},{"photo_id":"1333013880","filename":"file1"},{"photo_id":"1333013874","filename":"file0"},{"photo_id":"1333013890","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333013885":["hashtag1","hashtag2"]},{"1333014037":["hashtag1","hashtag2"]},{"1333013912":["hashtag1","hashtag2"]},{"1333013890":["hashtag1","hashtag2"]},{"1333013880":["hashtag1","hashtag2"]},{"1333013874":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333013885, 1333014037, 1333013912, 1333013890, 1333013880, 1333013874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.720218658447266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:18:32.810480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/17/image_30012025_15_17_46_9429.jpg', '/home/pi/Desktop/images/30012025/15/17/image_30012025_15_17_56_10329.jpg', '/home/pi/Desktop/images/30012025/15/17/image_30012025_15_18_06_9330.jpg', '/home/pi/Desktop/images/30012025/15/18/image_30012025_15_18_16_10426.jpg', '/home/pi/Desktop/images/30012025/15/18/image_30012025_15_18_27_10371.jpg', '/home/pi/Desktop/images/30012025/15/18/image_30012025_15_18_36_9393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/17/image_30012025_15_17_46_9429.jpg
/home/pi/Desktop/images/30012025/15/17/image_30012025_15_17_56_10329.jpg
/home/pi/Desktop/images/30012025/15/17/image_30012025_15_18_06_9330.jpg
/home/pi/Desktop/images/30012025/15/18/image_30012025_15_18_16_10426.jpg
/home/pi/Desktop/images/30012025/15/18/image_30012025_15_18_27_10371.jpg
/home/pi/Desktop/images/30012025/15/18/image_30012025_15_18_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":["1333014203","1333014280","1333014277","1333014241","1333014273","1333014261"],"photo_ids_order":["1333014203","1333014241","1333014261","1333014273","1333014277","1333014280"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/407660c9759a1bb90fbeaf82b055ce35.jpg","text":"TemporaryFile(/tmp/multipartBody1535904595968205363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246773702,"filename":"image_30012025_15_17_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/30/0d55f5d75e5cc49a843a76485fdd48b4.jpg","text":"TemporaryFile(/tmp/multipartBody6145723754348137301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246773702,"filename":"image_30012025_15_18_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/30/1f37be9380d6a986db5b2c652c546f62.jpg","text":"TemporaryFile(/tmp/multipartBody2619225824267635349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246773702,"filename":"image_30012025_15_18_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/30/b8149642a7a7880fb8129d5216bb5ba4.jpg","text":"TemporaryFile(/tmp/multipartBody3915560761573613474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246773702,"filename":"image_30012025_15_17_56_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a8b609a4705171681a4960e4db1f9860.jpg","text":"TemporaryFile(/tmp/multipartBody406648227202009988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246773702,"filename":"image_30012025_15_18_16_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f5b2f9db6daada9deda8aca2cd2e2308.jpg","text":"TemporaryFile(/tmp/multipartBody5221292426012007644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246773702,"filename":"image_30012025_15_18_06_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333014261","file1":"1333014241","file0":"1333014203","file4":"1333014277","file5":"1333014280","file3":"1333014273"},"map_files_photo_id_array":[{"photo_id":"1333014280","filename":"file5"},{"photo_id":"1333014261","filename":"file2"},{"photo_id":"1333014277","filename":"file4"},{"photo_id":"1333014241","filename":"file1"},{"photo_id":"1333014203","filename":"file0"},{"photo_id":"1333014273","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333014203":["hashtag1","hashtag2"]},{"1333014280":["hashtag1","hashtag2"]},{"1333014277":["hashtag1","hashtag2"]},{"1333014241":["hashtag1","hashtag2"]},{"1333014273":["hashtag1","hashtag2"]},{"1333014261":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333014203, 1333014280, 1333014277, 1333014241, 1333014273, 1333014261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.43481731414795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:19:32.933125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/18/image_30012025_15_18_46_10406.jpg', '/home/pi/Desktop/images/30012025/15/18/image_30012025_15_18_57_10360.jpg', '/home/pi/Desktop/images/30012025/15/18/image_30012025_15_19_06_9343.jpg', '/home/pi/Desktop/images/30012025/15/19/image_30012025_15_19_16_10342.jpg', '/home/pi/Desktop/images/30012025/15/19/image_30012025_15_19_26_9356.jpg', '/home/pi/Desktop/images/30012025/15/19/image_30012025_15_19_36_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/18/image_30012025_15_18_46_10406.jpg
/home/pi/Desktop/images/30012025/15/18/image_30012025_15_18_57_10360.jpg
/home/pi/Desktop/images/30012025/15/18/image_30012025_15_19_06_9343.jpg
/home/pi/Desktop/images/30012025/15/19/image_30012025_15_19_16_10342.jpg
/home/pi/Desktop/images/30012025/15/19/image_30012025_15_19_26_9356.jpg
/home/pi/Desktop/images/30012025/15/19/image_30012025_15_19_36_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":["1333014434","1333014362","1333014359","1333014425","1333014328","1333014351"],"photo_ids_order":["1333014328","1333014351","1333014359","1333014362","1333014425","1333014434"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/79824b82a5dc47e0f1e7a3d99ab55bd3.jpg","text":"TemporaryFile(/tmp/multipartBody5021014007955682188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246833828,"filename":"image_30012025_15_19_36_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/be370979ceaf50b01a3f2a0ca862f1ca.jpg","text":"TemporaryFile(/tmp/multipartBody1162005321347014803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246833828,"filename":"image_30012025_15_19_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/30/48c026993b1c32f2c46289c9bf65b97c.jpg","text":"TemporaryFile(/tmp/multipartBody3995640669962390865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246833828,"filename":"image_30012025_15_19_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/30/6409a1c4180468b9a58989ef342d3d85.jpg","text":"TemporaryFile(/tmp/multipartBody8099487267204767522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246833828,"filename":"image_30012025_15_19_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/30/ceb9cd3d33182b7864709a7582cc7060.jpg","text":"TemporaryFile(/tmp/multipartBody8389272429037598987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246833828,"filename":"image_30012025_15_18_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/30/67ec4238234e6e5e752c360726988939.jpg","text":"TemporaryFile(/tmp/multipartBody5896766435773228694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246833828,"filename":"image_30012025_15_18_57_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333014359","file1":"1333014351","file0":"1333014328","file4":"1333014425","file5":"1333014434","file3":"1333014362"},"map_files_photo_id_array":[{"photo_id":"1333014434","filename":"file5"},{"photo_id":"1333014359","filename":"file2"},{"photo_id":"1333014425","filename":"file4"},{"photo_id":"1333014351","filename":"file1"},{"photo_id":"1333014328","filename":"file0"},{"photo_id":"1333014362","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333014434":["hashtag1","hashtag2"]},{"1333014362":["hashtag1","hashtag2"]},{"1333014359":["hashtag1","hashtag2"]},{"1333014425":["hashtag1","hashtag2"]},{"1333014328":["hashtag1","hashtag2"]},{"1333014351":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333014434, 1333014362, 1333014359, 1333014425, 1333014328, 1333014351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.7708101272583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:20:32.125000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/19/image_30012025_15_19_46_10339.jpg', '/home/pi/Desktop/images/30012025/15/19/image_30012025_15_19_56_9330.jpg', '/home/pi/Desktop/images/30012025/15/19/image_30012025_15_20_06_10378.jpg', '/home/pi/Desktop/images/30012025/15/20/image_30012025_15_20_16_10321.jpg', '/home/pi/Desktop/images/30012025/15/20/image_30012025_15_20_26_9331.jpg', '/home/pi/Desktop/images/30012025/15/20/image_30012025_15_20_36_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/19/image_30012025_15_19_46_10339.jpg
/home/pi/Desktop/images/30012025/15/19/image_30012025_15_19_56_9330.jpg
/home/pi/Desktop/images/30012025/15/19/image_30012025_15_20_06_10378.jpg
/home/pi/Desktop/images/30012025/15/20/image_30012025_15_20_16_10321.jpg
/home/pi/Desktop/images/30012025/15/20/image_30012025_15_20_26_9331.jpg
/home/pi/Desktop/images/30012025/15/20/image_30012025_15_20_36_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333014574","1333014506","1333014643","1333014565","1333014579","1333014558"],"photo_ids_order":["1333014506","1333014558","1333014565","1333014574","1333014579","1333014643"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1224d22827bf94ee45228aedaa71c228.jpg","text":"TemporaryFile(/tmp/multipartBody1355185102055087236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246893022,"filename":"image_30012025_15_20_16_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/30/70850a6c3f5ef329e6e263abbb4fed8b.jpg","text":"TemporaryFile(/tmp/multipartBody8904658788657258562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246893022,"filename":"image_30012025_15_19_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/30/406422e6a157279b29d79570bb3f8dbb.jpg","text":"TemporaryFile(/tmp/multipartBody7957600856194756337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246893022,"filename":"image_30012025_15_20_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/30/64f64e7edc9e585d4dbd3caf65818d29.jpg","text":"TemporaryFile(/tmp/multipartBody4351043590959595924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246893022,"filename":"image_30012025_15_20_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/30/fdaf2128101dd506c6b10b9a37b97098.jpg","text":"TemporaryFile(/tmp/multipartBody5806571695320247571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246893022,"filename":"image_30012025_15_20_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/30/1ce6ab6c6756703abebdad913bcd7c99.jpg","text":"TemporaryFile(/tmp/multipartBody9105991491078379820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246893022,"filename":"image_30012025_15_19_56_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333014565","file1":"1333014558","file0":"1333014506","file4":"1333014579","file5":"1333014643","file3":"1333014574"},"map_files_photo_id_array":[{"photo_id":"1333014643","filename":"file5"},{"photo_id":"1333014565","filename":"file2"},{"photo_id":"1333014579","filename":"file4"},{"photo_id":"1333014558","filename":"file1"},{"photo_id":"1333014506","filename":"file0"},{"photo_id":"1333014574","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333014574":["hashtag1","hashtag2"]},{"1333014506":["hashtag1","hashtag2"]},{"1333014643":["hashtag1","hashtag2"]},{"1333014565":["hashtag1","hashtag2"]},{"1333014579":["hashtag1","hashtag2"]},{"1333014558":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333014574, 1333014506, 1333014643, 1333014565, 1333014579, 1333014558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.066624879837036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:21:32.311870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/20/image_30012025_15_20_46_10356.jpg', '/home/pi/Desktop/images/30012025/15/20/image_30012025_15_20_56_9376.jpg', '/home/pi/Desktop/images/30012025/15/20/image_30012025_15_21_06_10340.jpg', '/home/pi/Desktop/images/30012025/15/21/image_30012025_15_21_17_10334.jpg', '/home/pi/Desktop/images/30012025/15/21/image_30012025_15_21_26_9388.jpg', '/home/pi/Desktop/images/30012025/15/21/image_30012025_15_21_47_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/20/image_30012025_15_20_46_10356.jpg
/home/pi/Desktop/images/30012025/15/20/image_30012025_15_20_56_9376.jpg
/home/pi/Desktop/images/30012025/15/20/image_30012025_15_21_06_10340.jpg
/home/pi/Desktop/images/30012025/15/21/image_30012025_15_21_17_10334.jpg
/home/pi/Desktop/images/30012025/15/21/image_30012025_15_21_26_9388.jpg
/home/pi/Desktop/images/30012025/15/21/image_30012025_15_21_47_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":["1333014869","1333015211","1333015642","1333014885","1333014879","1333014873"],"photo_ids_order":["1333014869","1333014873","1333014879","1333014885","1333015211","1333015642"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f32c55736c6e0073c11a99130e5ad657.jpg","text":"TemporaryFile(/tmp/multipartBody5712946436367406466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246953234,"filename":"image_30012025_15_20_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/30/5ac3176745edff5d1d6cd18c357d198a.jpg","text":"TemporaryFile(/tmp/multipartBody2137780681796072634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246953234,"filename":"image_30012025_15_21_26_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c7a701872cc40a04fec5d7ba86ee36de.jpg","text":"TemporaryFile(/tmp/multipartBody1922992776694877241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246953234,"filename":"image_30012025_15_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/30/41e38a55f47924209fd9fbcf999f19b4.jpg","text":"TemporaryFile(/tmp/multipartBody716861057128467486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246953234,"filename":"image_30012025_15_21_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/30/3d03b329e5cccab033cb1706092a59ba.jpg","text":"TemporaryFile(/tmp/multipartBody5949923986387261290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246953234,"filename":"image_30012025_15_21_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/30/937f98e3e053becd238ee6b4f1c12ef0.jpg","text":"TemporaryFile(/tmp/multipartBody4911872239453236490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738246953234,"filename":"image_30012025_15_20_56_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333014879","file1":"1333014873","file0":"1333014869","file4":"1333015211","file5":"1333015642","file3":"1333014885"},"map_files_photo_id_array":[{"photo_id":"1333015642","filename":"file5"},{"photo_id":"1333014879","filename":"file2"},{"photo_id":"1333015211","filename":"file4"},{"photo_id":"1333014873","filename":"file1"},{"photo_id":"1333014869","filename":"file0"},{"photo_id":"1333014885","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333014869":["hashtag1","hashtag2"]},{"1333015211":["hashtag1","hashtag2"]},{"1333015642":["hashtag1","hashtag2"]},{"1333014885":["hashtag1","hashtag2"]},{"1333014879":["hashtag1","hashtag2"]},{"1333014873":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333014869, 1333015211, 1333015642, 1333014885, 1333014879, 1333014873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.637221813201904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:22:32.724924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/21/image_30012025_15_21_56_9409.jpg', '/home/pi/Desktop/images/30012025/15/21/image_30012025_15_22_06_10333.jpg', '/home/pi/Desktop/images/30012025/15/22/image_30012025_15_22_16_9380.jpg', '/home/pi/Desktop/images/30012025/15/22/image_30012025_15_22_26_10418.jpg', '/home/pi/Desktop/images/30012025/15/22/image_30012025_15_22_37_10334.jpg', '/home/pi/Desktop/images/30012025/15/22/image_30012025_15_22_46_9416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/21/image_30012025_15_21_56_9409.jpg
/home/pi/Desktop/images/30012025/15/21/image_30012025_15_22_06_10333.jpg
/home/pi/Desktop/images/30012025/15/22/image_30012025_15_22_16_9380.jpg
/home/pi/Desktop/images/30012025/15/22/image_30012025_15_22_26_10418.jpg
/home/pi/Desktop/images/30012025/15/22/image_30012025_15_22_37_10334.jpg
/home/pi/Desktop/images/30012025/15/22/image_30012025_15_22_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":["1333015862","1333015865","1333015859","1333015879","1333015869","1333015874"],"photo_ids_order":["1333015859","1333015862","1333015865","1333015869","1333015874","1333015879"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/53eee510941fd15184b8a4aeae7cdce1.jpg","text":"TemporaryFile(/tmp/multipartBody1004407139896472520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247013614,"filename":"image_30012025_15_22_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/30/9bb35e9ada04d813a41109bf42ff7af6.jpg","text":"TemporaryFile(/tmp/multipartBody2959532020257298852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247013614,"filename":"image_30012025_15_22_16_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/30/2efc8fe873a6ecb3edc667ff59eaf267.jpg","text":"TemporaryFile(/tmp/multipartBody2513627877027385098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247013614,"filename":"image_30012025_15_21_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/30/29d3b2f825b7b3b81d5b38be7e9a8368.jpg","text":"TemporaryFile(/tmp/multipartBody8313583811977683236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247013614,"filename":"image_30012025_15_22_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/30/73442705ade2526827ae8fadfac84de8.jpg","text":"TemporaryFile(/tmp/multipartBody5323078692304228953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247013614,"filename":"image_30012025_15_22_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/30/2b49426875f9c58957c971e228f1bde2.jpg","text":"TemporaryFile(/tmp/multipartBody4165343207678862751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247013614,"filename":"image_30012025_15_22_37_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333015865","file1":"1333015862","file0":"1333015859","file4":"1333015874","file5":"1333015879","file3":"1333015869"},"map_files_photo_id_array":[{"photo_id":"1333015879","filename":"file5"},{"photo_id":"1333015865","filename":"file2"},{"photo_id":"1333015874","filename":"file4"},{"photo_id":"1333015862","filename":"file1"},{"photo_id":"1333015859","filename":"file0"},{"photo_id":"1333015869","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333015862":["hashtag1","hashtag2"]},{"1333015865":["hashtag1","hashtag2"]},{"1333015859":["hashtag1","hashtag2"]},{"1333015879":["hashtag1","hashtag2"]},{"1333015869":["hashtag1","hashtag2"]},{"1333015874":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333015862, 1333015865, 1333015859, 1333015879, 1333015869, 1333015874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.73913025856018 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:23:33.012449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/22/image_30012025_15_22_56_10358.jpg', '/home/pi/Desktop/images/30012025/15/22/image_30012025_15_23_06_9349.jpg', '/home/pi/Desktop/images/30012025/15/23/image_30012025_15_23_16_10340.jpg', '/home/pi/Desktop/images/30012025/15/23/image_30012025_15_23_26_10342.jpg', '/home/pi/Desktop/images/30012025/15/23/image_30012025_15_23_36_9347.jpg', '/home/pi/Desktop/images/30012025/15/23/image_30012025_15_23_46_10422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/22/image_30012025_15_22_56_10358.jpg
/home/pi/Desktop/images/30012025/15/22/image_30012025_15_23_06_9349.jpg
/home/pi/Desktop/images/30012025/15/23/image_30012025_15_23_16_10340.jpg
/home/pi/Desktop/images/30012025/15/23/image_30012025_15_23_26_10342.jpg
/home/pi/Desktop/images/30012025/15/23/image_30012025_15_23_36_9347.jpg
/home/pi/Desktop/images/30012025/15/23/image_30012025_15_23_46_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":["1333016230","1333016221","1333016238","1333016226","1333016240","1333016234"],"photo_ids_order":["1333016221","1333016226","1333016230","1333016234","1333016238","1333016240"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a62fb2fe3f99257cf5da7ee09f689d3a.jpg","text":"TemporaryFile(/tmp/multipartBody3087750178394693759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247073917,"filename":"image_30012025_15_23_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/30/c55903af5955d52f913af603488a4694.jpg","text":"TemporaryFile(/tmp/multipartBody6377651738264034596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247073917,"filename":"image_30012025_15_22_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/30/23e93891f928c5b139fb5086488f6f07.jpg","text":"TemporaryFile(/tmp/multipartBody7804336733940104382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247073917,"filename":"image_30012025_15_23_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/30/edb7435c623406f9ab0bd0b976e7152d.jpg","text":"TemporaryFile(/tmp/multipartBody1907352115479634776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247073917,"filename":"image_30012025_15_23_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/30/5b8472671642903f5350e23a893a09f5.jpg","text":"TemporaryFile(/tmp/multipartBody1261775373786337644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247073917,"filename":"image_30012025_15_23_46_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/30/f4e19fbb1a605354406a7a28eb6d228b.jpg","text":"TemporaryFile(/tmp/multipartBody4378517768921493115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247073917,"filename":"image_30012025_15_23_26_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333016230","file1":"1333016226","file0":"1333016221","file4":"1333016238","file5":"1333016240","file3":"1333016234"},"map_files_photo_id_array":[{"photo_id":"1333016240","filename":"file5"},{"photo_id":"1333016230","filename":"file2"},{"photo_id":"1333016238","filename":"file4"},{"photo_id":"1333016226","filename":"file1"},{"photo_id":"1333016221","filename":"file0"},{"photo_id":"1333016234","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333016230":["hashtag1","hashtag2"]},{"1333016221":["hashtag1","hashtag2"]},{"1333016238":["hashtag1","hashtag2"]},{"1333016226":["hashtag1","hashtag2"]},{"1333016240":["hashtag1","hashtag2"]},{"1333016234":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333016230, 1333016221, 1333016238, 1333016226, 1333016240, 1333016234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08930730819702 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:24:32.330520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/23/image_30012025_15_23_56_10324.jpg', '/home/pi/Desktop/images/30012025/15/23/image_30012025_15_24_06_9440.jpg', '/home/pi/Desktop/images/30012025/15/24/image_30012025_15_24_16_10330.jpg', '/home/pi/Desktop/images/30012025/15/24/image_30012025_15_24_27_10366.jpg', '/home/pi/Desktop/images/30012025/15/24/image_30012025_15_24_36_9441.jpg', '/home/pi/Desktop/images/30012025/15/24/image_30012025_15_24_46_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/23/image_30012025_15_23_56_10324.jpg
/home/pi/Desktop/images/30012025/15/23/image_30012025_15_24_06_9440.jpg
/home/pi/Desktop/images/30012025/15/24/image_30012025_15_24_16_10330.jpg
/home/pi/Desktop/images/30012025/15/24/image_30012025_15_24_27_10366.jpg
/home/pi/Desktop/images/30012025/15/24/image_30012025_15_24_36_9441.jpg
/home/pi/Desktop/images/30012025/15/24/image_30012025_15_24_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":["1333016470","1333016458","1333016490","1333016466","1333016454","1333016462"],"photo_ids_order":["1333016454","1333016458","1333016462","1333016466","1333016470","1333016490"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ed1952ca12d7d354bdfee56b50846adf.jpg","text":"TemporaryFile(/tmp/multipartBody8669115779080188838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247133232,"filename":"image_30012025_15_24_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/30/5cfb0f5523a95a3fd3a678130021f5e4.jpg","text":"TemporaryFile(/tmp/multipartBody4322900314410413748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247133232,"filename":"image_30012025_15_24_06_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/30/16e8c130242f4b869c28679d8e708adf.jpg","text":"TemporaryFile(/tmp/multipartBody5181687675261485852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247133232,"filename":"image_30012025_15_24_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/30/1362c1cc60a3f6a52752891216a981b2.jpg","text":"TemporaryFile(/tmp/multipartBody2926341324760230780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247133232,"filename":"image_30012025_15_24_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/30/2ec2b1d5a4352ed0c918fe3c5c4efe9e.jpg","text":"TemporaryFile(/tmp/multipartBody3365213748855416727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247133232,"filename":"image_30012025_15_23_56_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/30/c078d15238d0dfbd3d96d760c95ffa25.jpg","text":"TemporaryFile(/tmp/multipartBody6828748129162555095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247133232,"filename":"image_30012025_15_24_16_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333016462","file1":"1333016458","file0":"1333016454","file4":"1333016470","file5":"1333016490","file3":"1333016466"},"map_files_photo_id_array":[{"photo_id":"1333016490","filename":"file5"},{"photo_id":"1333016462","filename":"file2"},{"photo_id":"1333016470","filename":"file4"},{"photo_id":"1333016458","filename":"file1"},{"photo_id":"1333016454","filename":"file0"},{"photo_id":"1333016466","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333016470":["hashtag1","hashtag2"]},{"1333016458":["hashtag1","hashtag2"]},{"1333016490":["hashtag1","hashtag2"]},{"1333016466":["hashtag1","hashtag2"]},{"1333016454":["hashtag1","hashtag2"]},{"1333016462":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333016470, 1333016458, 1333016490, 1333016466, 1333016454, 1333016462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.86651253700256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:25:32.741458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/24/image_30012025_15_24_56_9327.jpg', '/home/pi/Desktop/images/30012025/15/24/image_30012025_15_25_06_10351.jpg', '/home/pi/Desktop/images/30012025/15/25/image_30012025_15_25_16_10348.jpg', '/home/pi/Desktop/images/30012025/15/25/image_30012025_15_25_26_9460.jpg', '/home/pi/Desktop/images/30012025/15/25/image_30012025_15_25_36_10349.jpg', '/home/pi/Desktop/images/30012025/15/25/image_30012025_15_25_47_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/24/image_30012025_15_24_56_9327.jpg
/home/pi/Desktop/images/30012025/15/24/image_30012025_15_25_06_10351.jpg
/home/pi/Desktop/images/30012025/15/25/image_30012025_15_25_16_10348.jpg
/home/pi/Desktop/images/30012025/15/25/image_30012025_15_25_26_9460.jpg
/home/pi/Desktop/images/30012025/15/25/image_30012025_15_25_36_10349.jpg
/home/pi/Desktop/images/30012025/15/25/image_30012025_15_25_47_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333016887","1333016881","1333016871","1333016877","1333016885","1333016873"],"photo_ids_order":["1333016871","1333016873","1333016877","1333016881","1333016885","1333016887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2667c3c02dbb7fd99b3b5cd260453d02.jpg","text":"TemporaryFile(/tmp/multipartBody4379755151054286778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247193655,"filename":"image_30012025_15_25_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/30/9f624684d1c04dbb3f4dff3dde888ac8.jpg","text":"TemporaryFile(/tmp/multipartBody829264410799540319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247193655,"filename":"image_30012025_15_25_26_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/30/1136fd5937a035848643a59780c9e5eb.jpg","text":"TemporaryFile(/tmp/multipartBody5286113304670440341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247193655,"filename":"image_30012025_15_24_56_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/30/bdb3a0412e7f84e400fafa97a2d8d087.jpg","text":"TemporaryFile(/tmp/multipartBody7248387700760011122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247193655,"filename":"image_30012025_15_25_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/30/75c3f88202785ffc39b94a3ef11faa1a.jpg","text":"TemporaryFile(/tmp/multipartBody8361330331221023177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247193655,"filename":"image_30012025_15_25_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/30/30a4323a66683dcea4e502f4692fedaa.jpg","text":"TemporaryFile(/tmp/multipartBody6271791730420160284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247193655,"filename":"image_30012025_15_25_06_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333016877","file1":"1333016873","file0":"1333016871","file4":"1333016885","file5":"1333016887","file3":"1333016881"},"map_files_photo_id_array":[{"photo_id":"1333016887","filename":"file5"},{"photo_id":"1333016877","filename":"file2"},{"photo_id":"1333016885","filename":"file4"},{"photo_id":"1333016873","filename":"file1"},{"photo_id":"1333016871","filename":"file0"},{"photo_id":"1333016881","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333016887":["hashtag1","hashtag2"]},{"1333016881":["hashtag1","hashtag2"]},{"1333016871":["hashtag1","hashtag2"]},{"1333016877":["hashtag1","hashtag2"]},{"1333016885":["hashtag1","hashtag2"]},{"1333016873":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333016887, 1333016881, 1333016871, 1333016877, 1333016885, 1333016873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.50941872596741 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:26:32.713368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/25/image_30012025_15_25_56_9355.jpg', '/home/pi/Desktop/images/30012025/15/25/image_30012025_15_26_06_10432.jpg', '/home/pi/Desktop/images/30012025/15/26/image_30012025_15_26_16_9315.jpg', '/home/pi/Desktop/images/30012025/15/26/image_30012025_15_26_26_10338.jpg', '/home/pi/Desktop/images/30012025/15/26/image_30012025_15_26_36_10420.jpg', '/home/pi/Desktop/images/30012025/15/26/image_30012025_15_26_47_10166.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/25/image_30012025_15_25_56_9355.jpg
/home/pi/Desktop/images/30012025/15/25/image_30012025_15_26_06_10432.jpg
/home/pi/Desktop/images/30012025/15/26/image_30012025_15_26_16_9315.jpg
/home/pi/Desktop/images/30012025/15/26/image_30012025_15_26_26_10338.jpg
/home/pi/Desktop/images/30012025/15/26/image_30012025_15_26_36_10420.jpg
/home/pi/Desktop/images/30012025/15/26/image_30012025_15_26_47_10166.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333017294","1333017207","1333017365","1333017368","1333017203","1333017166"],"photo_ids_order":["1333017166","1333017203","1333017207","1333017294","1333017365","1333017368"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c81ee63db4f06d496cfbebe7d82ca67a.jpg","text":"TemporaryFile(/tmp/multipartBody2849695054738498965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247253628,"filename":"image_30012025_15_26_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/30/7e05cc8c823188bcf2a5818168abbf8a.jpg","text":"TemporaryFile(/tmp/multipartBody3810758254811202500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247253628,"filename":"image_30012025_15_26_16_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f0ff1768d96a9d37d0c538f273ee4a17.jpg","text":"TemporaryFile(/tmp/multipartBody5193746368224466700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247253628,"filename":"image_30012025_15_26_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/30/dfedf5f937ec9b200195289bb88fde65.jpg","text":"TemporaryFile(/tmp/multipartBody2334493712936347970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247253628,"filename":"image_30012025_15_26_47_10166.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e89e2551a6b413c0558d5ac418275ea0.jpg","text":"TemporaryFile(/tmp/multipartBody5775830401077843991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247253628,"filename":"image_30012025_15_26_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/30/8a0aabab388d7f1fc9b333d7e3b17e24.jpg","text":"TemporaryFile(/tmp/multipartBody7341451430092514406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247253628,"filename":"image_30012025_15_25_56_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333017207","file1":"1333017203","file0":"1333017166","file4":"1333017365","file5":"1333017368","file3":"1333017294"},"map_files_photo_id_array":[{"photo_id":"1333017368","filename":"file5"},{"photo_id":"1333017207","filename":"file2"},{"photo_id":"1333017365","filename":"file4"},{"photo_id":"1333017203","filename":"file1"},{"photo_id":"1333017166","filename":"file0"},{"photo_id":"1333017294","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333017294":["hashtag1","hashtag2"]},{"1333017207":["hashtag1","hashtag2"]},{"1333017365":["hashtag1","hashtag2"]},{"1333017368":["hashtag1","hashtag2"]},{"1333017203":["hashtag1","hashtag2"]},{"1333017166":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333017294, 1333017207, 1333017365, 1333017368, 1333017203, 1333017166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33445143699646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:27:32.924490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/26/image_30012025_15_26_56_9335.jpg', '/home/pi/Desktop/images/30012025/15/26/image_30012025_15_27_06_10466.jpg', '/home/pi/Desktop/images/30012025/15/27/image_30012025_15_27_16_9336.jpg', '/home/pi/Desktop/images/30012025/15/27/image_30012025_15_27_26_10398.jpg', '/home/pi/Desktop/images/30012025/15/27/image_30012025_15_27_37_10361.jpg', '/home/pi/Desktop/images/30012025/15/27/image_30012025_15_27_46_9422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/26/image_30012025_15_26_56_9335.jpg
/home/pi/Desktop/images/30012025/15/26/image_30012025_15_27_06_10466.jpg
/home/pi/Desktop/images/30012025/15/27/image_30012025_15_27_16_9336.jpg
/home/pi/Desktop/images/30012025/15/27/image_30012025_15_27_26_10398.jpg
/home/pi/Desktop/images/30012025/15/27/image_30012025_15_27_37_10361.jpg
/home/pi/Desktop/images/30012025/15/27/image_30012025_15_27_46_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":["1333017430","1333017427","1333017423","1333017398","1333017419","1333017410"],"photo_ids_order":["1333017398","1333017410","1333017419","1333017423","1333017427","1333017430"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f0fad24dab85ed28ec931290b27d6eaf.jpg","text":"TemporaryFile(/tmp/multipartBody694040652912755903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247313818,"filename":"image_30012025_15_27_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/30/ffc1f561093ce5ae5f8a48bd2513a0b5.jpg","text":"TemporaryFile(/tmp/multipartBody2973177507040187458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247313818,"filename":"image_30012025_15_27_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/30/2f1211124aa19a4baa36c22e0c43d8a0.jpg","text":"TemporaryFile(/tmp/multipartBody7955892830321717415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247313818,"filename":"image_30012025_15_27_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/30/ad273a55a40b6bd9051ff0f29805d440.jpg","text":"TemporaryFile(/tmp/multipartBody3465373383266521996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247313818,"filename":"image_30012025_15_26_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/30/0a97175ca27b75c285e23c983186a22c.jpg","text":"TemporaryFile(/tmp/multipartBody4107655594644236979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247313818,"filename":"image_30012025_15_27_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/30/10fe56f559ab665b1dee0114d5cc9eac.jpg","text":"TemporaryFile(/tmp/multipartBody5058309797144026871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247313818,"filename":"image_30012025_15_27_06_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333017419","file1":"1333017410","file0":"1333017398","file4":"1333017427","file5":"1333017430","file3":"1333017423"},"map_files_photo_id_array":[{"photo_id":"1333017430","filename":"file5"},{"photo_id":"1333017419","filename":"file2"},{"photo_id":"1333017427","filename":"file4"},{"photo_id":"1333017410","filename":"file1"},{"photo_id":"1333017398","filename":"file0"},{"photo_id":"1333017423","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333017430":["hashtag1","hashtag2"]},{"1333017427":["hashtag1","hashtag2"]},{"1333017423":["hashtag1","hashtag2"]},{"1333017398":["hashtag1","hashtag2"]},{"1333017419":["hashtag1","hashtag2"]},{"1333017410":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333017430, 1333017427, 1333017423, 1333017398, 1333017419, 1333017410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.349104166030884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:28:33.101428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/27/image_30012025_15_27_56_10329.jpg', '/home/pi/Desktop/images/30012025/15/27/image_30012025_15_28_07_10356.jpg', '/home/pi/Desktop/images/30012025/15/28/image_30012025_15_28_16_9325.jpg', '/home/pi/Desktop/images/30012025/15/28/image_30012025_15_28_26_10356.jpg', '/home/pi/Desktop/images/30012025/15/28/image_30012025_15_28_37_10354.jpg', '/home/pi/Desktop/images/30012025/15/28/image_30012025_15_28_46_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/27/image_30012025_15_27_56_10329.jpg
/home/pi/Desktop/images/30012025/15/27/image_30012025_15_28_07_10356.jpg
/home/pi/Desktop/images/30012025/15/28/image_30012025_15_28_16_9325.jpg
/home/pi/Desktop/images/30012025/15/28/image_30012025_15_28_26_10356.jpg
/home/pi/Desktop/images/30012025/15/28/image_30012025_15_28_37_10354.jpg
/home/pi/Desktop/images/30012025/15/28/image_30012025_15_28_46_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":["1333017472","1333017486","1333017483","1333017485","1333017467","1333017478"],"photo_ids_order":["1333017467","1333017472","1333017478","1333017483","1333017485","1333017486"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fbba35ab35f66238b3b2129e458f4644.jpg","text":"TemporaryFile(/tmp/multipartBody3808665598458097940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247373995,"filename":"image_30012025_15_28_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/30/d1336de161da98d4217c9512654a4ac9.jpg","text":"TemporaryFile(/tmp/multipartBody97682588441968689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247373995,"filename":"image_30012025_15_28_46_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/266307e0fec70844af8deb98b7320043.jpg","text":"TemporaryFile(/tmp/multipartBody8424306872189040035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247373995,"filename":"image_30012025_15_28_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/30/2d55fca6478e582a1942b8be68f7f100.jpg","text":"TemporaryFile(/tmp/multipartBody8642739512101659753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247373995,"filename":"image_30012025_15_28_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/30/8b58891e63fc7dfb1abf8e432d2519ae.jpg","text":"TemporaryFile(/tmp/multipartBody6910995503809186869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247373995,"filename":"image_30012025_15_27_56_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fe4438f9ffe67891b93bafbc56de23ad.jpg","text":"TemporaryFile(/tmp/multipartBody2397397371827696074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247373995,"filename":"image_30012025_15_28_16_9325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333017478","file1":"1333017472","file0":"1333017467","file4":"1333017485","file5":"1333017486","file3":"1333017483"},"map_files_photo_id_array":[{"photo_id":"1333017486","filename":"file5"},{"photo_id":"1333017478","filename":"file2"},{"photo_id":"1333017485","filename":"file4"},{"photo_id":"1333017472","filename":"file1"},{"photo_id":"1333017467","filename":"file0"},{"photo_id":"1333017483","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333017472":["hashtag1","hashtag2"]},{"1333017486":["hashtag1","hashtag2"]},{"1333017483":["hashtag1","hashtag2"]},{"1333017485":["hashtag1","hashtag2"]},{"1333017467":["hashtag1","hashtag2"]},{"1333017478":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333017472, 1333017486, 1333017483, 1333017485, 1333017467, 1333017478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.28956723213196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:29:32.194327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/28/image_30012025_15_28_56_10336.jpg', '/home/pi/Desktop/images/30012025/15/28/image_30012025_15_29_06_9353.jpg', '/home/pi/Desktop/images/30012025/15/29/image_30012025_15_29_16_10404.jpg', '/home/pi/Desktop/images/30012025/15/29/image_30012025_15_29_26_10344.jpg', '/home/pi/Desktop/images/30012025/15/29/image_30012025_15_29_36_9377.jpg', '/home/pi/Desktop/images/30012025/15/29/image_30012025_15_29_46_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/28/image_30012025_15_28_56_10336.jpg
/home/pi/Desktop/images/30012025/15/28/image_30012025_15_29_06_9353.jpg
/home/pi/Desktop/images/30012025/15/29/image_30012025_15_29_16_10404.jpg
/home/pi/Desktop/images/30012025/15/29/image_30012025_15_29_26_10344.jpg
/home/pi/Desktop/images/30012025/15/29/image_30012025_15_29_36_9377.jpg
/home/pi/Desktop/images/30012025/15/29/image_30012025_15_29_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":["1333017538","1333017517","1333017522","1333017510","1333017534","1333017528"],"photo_ids_order":["1333017510","1333017517","1333017522","1333017528","1333017534","1333017538"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/059a9755efbc8065425b1539fe5736ce.jpg","text":"TemporaryFile(/tmp/multipartBody8187386759118771081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247433103,"filename":"image_30012025_15_29_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/30/69a7ae2afce4c03f2e94f3c4576b6591.jpg","text":"TemporaryFile(/tmp/multipartBody4143003417671453147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247433103,"filename":"image_30012025_15_29_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/30/fe4cff1f7f9e74d57fc7e1e5605ec62a.jpg","text":"TemporaryFile(/tmp/multipartBody5572709193048866185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247433103,"filename":"image_30012025_15_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/30/e01b438aa8bdc71d64b8ef111517c75c.jpg","text":"TemporaryFile(/tmp/multipartBody7688670431335416356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247433103,"filename":"image_30012025_15_28_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/30/f4a59fd2b427f52cad0ed3412a1b0f82.jpg","text":"TemporaryFile(/tmp/multipartBody1479974556275722857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247433103,"filename":"image_30012025_15_29_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/30/3896b16a002b99d56c7786773c180642.jpg","text":"TemporaryFile(/tmp/multipartBody6975965870517453809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247433103,"filename":"image_30012025_15_29_26_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333017522","file1":"1333017517","file0":"1333017510","file4":"1333017534","file5":"1333017538","file3":"1333017528"},"map_files_photo_id_array":[{"photo_id":"1333017538","filename":"file5"},{"photo_id":"1333017522","filename":"file2"},{"photo_id":"1333017534","filename":"file4"},{"photo_id":"1333017517","filename":"file1"},{"photo_id":"1333017510","filename":"file0"},{"photo_id":"1333017528","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333017538":["hashtag1","hashtag2"]},{"1333017517":["hashtag1","hashtag2"]},{"1333017522":["hashtag1","hashtag2"]},{"1333017510":["hashtag1","hashtag2"]},{"1333017534":["hashtag1","hashtag2"]},{"1333017528":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333017538, 1333017517, 1333017522, 1333017510, 1333017534, 1333017528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.05770015716553 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:30:32.524952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/29/image_30012025_15_29_57_10335.jpg', '/home/pi/Desktop/images/30012025/15/29/image_30012025_15_30_06_9442.jpg', '/home/pi/Desktop/images/30012025/15/30/image_30012025_15_30_16_10425.jpg', '/home/pi/Desktop/images/30012025/15/30/image_30012025_15_30_26_9362.jpg', '/home/pi/Desktop/images/30012025/15/30/image_30012025_15_30_36_10391.jpg', '/home/pi/Desktop/images/30012025/15/30/image_30012025_15_30_47_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/29/image_30012025_15_29_57_10335.jpg
/home/pi/Desktop/images/30012025/15/29/image_30012025_15_30_06_9442.jpg
/home/pi/Desktop/images/30012025/15/30/image_30012025_15_30_16_10425.jpg
/home/pi/Desktop/images/30012025/15/30/image_30012025_15_30_26_9362.jpg
/home/pi/Desktop/images/30012025/15/30/image_30012025_15_30_36_10391.jpg
/home/pi/Desktop/images/30012025/15/30/image_30012025_15_30_47_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":["1333017585","1333017582","1333017575","1333017569","1333017554","1333017589"],"photo_ids_order":["1333017554","1333017569","1333017575","1333017582","1333017585","1333017589"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e251cdd3f17cfedcff0aa73397701e57.jpg","text":"TemporaryFile(/tmp/multipartBody2492867922540523052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247493427,"filename":"image_30012025_15_30_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/30/05f9becc9af3d72507e031e0057c0753.jpg","text":"TemporaryFile(/tmp/multipartBody5225504104204572846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247493427,"filename":"image_30012025_15_30_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/30/b252e48a7c27f9b20e28f4f5f06f5d26.jpg","text":"TemporaryFile(/tmp/multipartBody7980379893656302005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247493427,"filename":"image_30012025_15_30_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/30/23ac3d9964a76e9161d537c2c37dc731.jpg","text":"TemporaryFile(/tmp/multipartBody2744726272278989132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247493427,"filename":"image_30012025_15_30_06_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/30/91a80e9cce4f3770e9ca3d0fe40e2570.jpg","text":"TemporaryFile(/tmp/multipartBody1994276833233501231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247493427,"filename":"image_30012025_15_29_57_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/30/744320f2c57ddbabeac1a129f0a7851b.jpg","text":"TemporaryFile(/tmp/multipartBody4006294811894285100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247493427,"filename":"image_30012025_15_30_47_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333017575","file1":"1333017569","file0":"1333017554","file4":"1333017585","file5":"1333017589","file3":"1333017582"},"map_files_photo_id_array":[{"photo_id":"1333017589","filename":"file5"},{"photo_id":"1333017575","filename":"file2"},{"photo_id":"1333017585","filename":"file4"},{"photo_id":"1333017569","filename":"file1"},{"photo_id":"1333017554","filename":"file0"},{"photo_id":"1333017582","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333017585":["hashtag1","hashtag2"]},{"1333017582":["hashtag1","hashtag2"]},{"1333017575":["hashtag1","hashtag2"]},{"1333017569":["hashtag1","hashtag2"]},{"1333017554":["hashtag1","hashtag2"]},{"1333017589":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333017585, 1333017582, 1333017575, 1333017569, 1333017554, 1333017589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.27583050727844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:31:32.771411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/30/image_30012025_15_30_56_9391.jpg', '/home/pi/Desktop/images/30012025/15/30/image_30012025_15_31_06_10353.jpg', '/home/pi/Desktop/images/30012025/15/31/image_30012025_15_31_17_10330.jpg', '/home/pi/Desktop/images/30012025/15/31/image_30012025_15_31_26_9405.jpg', '/home/pi/Desktop/images/30012025/15/31/image_30012025_15_31_36_10354.jpg', '/home/pi/Desktop/images/30012025/15/31/image_30012025_15_31_46_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/30/image_30012025_15_30_56_9391.jpg
/home/pi/Desktop/images/30012025/15/30/image_30012025_15_31_06_10353.jpg
/home/pi/Desktop/images/30012025/15/31/image_30012025_15_31_17_10330.jpg
/home/pi/Desktop/images/30012025/15/31/image_30012025_15_31_26_9405.jpg
/home/pi/Desktop/images/30012025/15/31/image_30012025_15_31_36_10354.jpg
/home/pi/Desktop/images/30012025/15/31/image_30012025_15_31_46_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":["1333018185","1333017963","1333018203","1333018136","1333018238","1333018147"],"photo_ids_order":["1333017963","1333018136","1333018147","1333018185","1333018203","1333018238"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cc5dc7079e7a0cc3d6d7abdcdb544544.jpg","text":"TemporaryFile(/tmp/multipartBody674579163149755294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247553665,"filename":"image_30012025_15_31_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/30/bf285ce91e34a194fab8dd9f245f199f.jpg","text":"TemporaryFile(/tmp/multipartBody6902033643555072657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247553665,"filename":"image_30012025_15_30_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/30/bb6645e61086fcc8e3bdf16f8a15bdb3.jpg","text":"TemporaryFile(/tmp/multipartBody5900528416360555052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247553665,"filename":"image_30012025_15_31_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/30/1d59358cf10dc069acdf34e3b5342acc.jpg","text":"TemporaryFile(/tmp/multipartBody742659151591521252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247553665,"filename":"image_30012025_15_31_06_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/652e03407ec54f397eaec801f31ac0d7.jpg","text":"TemporaryFile(/tmp/multipartBody5312646381605286434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247553665,"filename":"image_30012025_15_31_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/30/096a5ad286ec8013ddcc20f8e794f42e.jpg","text":"TemporaryFile(/tmp/multipartBody3735999535074809527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247553665,"filename":"image_30012025_15_31_17_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333018147","file1":"1333018136","file0":"1333017963","file4":"1333018203","file5":"1333018238","file3":"1333018185"},"map_files_photo_id_array":[{"photo_id":"1333018238","filename":"file5"},{"photo_id":"1333018147","filename":"file2"},{"photo_id":"1333018203","filename":"file4"},{"photo_id":"1333018136","filename":"file1"},{"photo_id":"1333017963","filename":"file0"},{"photo_id":"1333018185","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333018185":["hashtag1","hashtag2"]},{"1333017963":["hashtag1","hashtag2"]},{"1333018203":["hashtag1","hashtag2"]},{"1333018136":["hashtag1","hashtag2"]},{"1333018238":["hashtag1","hashtag2"]},{"1333018147":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333018185, 1333017963, 1333018203, 1333018136, 1333018238, 1333018147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.058247327804565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:32:32.948417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/31/image_30012025_15_31_56_10461.jpg', '/home/pi/Desktop/images/30012025/15/31/image_30012025_15_32_06_10329.jpg', '/home/pi/Desktop/images/30012025/15/32/image_30012025_15_32_16_9443.jpg', '/home/pi/Desktop/images/30012025/15/32/image_30012025_15_32_26_10348.jpg', '/home/pi/Desktop/images/30012025/15/32/image_30012025_15_32_37_10350.jpg', '/home/pi/Desktop/images/30012025/15/32/image_30012025_15_32_46_9396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/31/image_30012025_15_31_56_10461.jpg
/home/pi/Desktop/images/30012025/15/31/image_30012025_15_32_06_10329.jpg
/home/pi/Desktop/images/30012025/15/32/image_30012025_15_32_16_9443.jpg
/home/pi/Desktop/images/30012025/15/32/image_30012025_15_32_26_10348.jpg
/home/pi/Desktop/images/30012025/15/32/image_30012025_15_32_37_10350.jpg
/home/pi/Desktop/images/30012025/15/32/image_30012025_15_32_46_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":["1333018278","1333018358","1333018274","1333018357","1333018267","1333018354"],"photo_ids_order":["1333018267","1333018274","1333018278","1333018354","1333018357","1333018358"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e15f66938252c0c73bce94651ef9a0d5.jpg","text":"TemporaryFile(/tmp/multipartBody6200515231506229144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247613857,"filename":"image_30012025_15_32_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/30/df6b988f68bd04ae19af21c0d15da861.jpg","text":"TemporaryFile(/tmp/multipartBody4471994213169368652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247613857,"filename":"image_30012025_15_32_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/30/17f5be4437ad87d13c33ecb677ed479b.jpg","text":"TemporaryFile(/tmp/multipartBody775389927944828159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247613857,"filename":"image_30012025_15_32_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/30/94400d7c48dfe163a238e6523cc08289.jpg","text":"TemporaryFile(/tmp/multipartBody9207853596099424863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247613857,"filename":"image_30012025_15_32_37_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/64b5b618e321edee446918a51f0af1ff.jpg","text":"TemporaryFile(/tmp/multipartBody7526353236480470125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247613857,"filename":"image_30012025_15_31_56_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/30/8bb88340ddacefe83d527f0eb70e0dfa.jpg","text":"TemporaryFile(/tmp/multipartBody2692215702097477774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247613857,"filename":"image_30012025_15_32_26_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333018278","file1":"1333018274","file0":"1333018267","file4":"1333018357","file5":"1333018358","file3":"1333018354"},"map_files_photo_id_array":[{"photo_id":"1333018358","filename":"file5"},{"photo_id":"1333018278","filename":"file2"},{"photo_id":"1333018357","filename":"file4"},{"photo_id":"1333018274","filename":"file1"},{"photo_id":"1333018267","filename":"file0"},{"photo_id":"1333018354","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333018278":["hashtag1","hashtag2"]},{"1333018358":["hashtag1","hashtag2"]},{"1333018274":["hashtag1","hashtag2"]},{"1333018357":["hashtag1","hashtag2"]},{"1333018267":["hashtag1","hashtag2"]},{"1333018354":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333018278, 1333018358, 1333018274, 1333018357, 1333018267, 1333018354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45624232292175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:33:33.211942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/32/image_30012025_15_32_56_10373.jpg', '/home/pi/Desktop/images/30012025/15/32/image_30012025_15_33_06_9326.jpg', '/home/pi/Desktop/images/30012025/15/33/image_30012025_15_33_16_10415.jpg', '/home/pi/Desktop/images/30012025/15/33/image_30012025_15_33_26_10338.jpg', '/home/pi/Desktop/images/30012025/15/33/image_30012025_15_33_36_9407.jpg', '/home/pi/Desktop/images/30012025/15/33/image_30012025_15_33_46_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/32/image_30012025_15_32_56_10373.jpg
/home/pi/Desktop/images/30012025/15/32/image_30012025_15_33_06_9326.jpg
/home/pi/Desktop/images/30012025/15/33/image_30012025_15_33_16_10415.jpg
/home/pi/Desktop/images/30012025/15/33/image_30012025_15_33_26_10338.jpg
/home/pi/Desktop/images/30012025/15/33/image_30012025_15_33_36_9407.jpg
/home/pi/Desktop/images/30012025/15/33/image_30012025_15_33_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":["1333018420","1333018402","1333018422","1333018410","1333018415","1333018405"],"photo_ids_order":["1333018402","1333018405","1333018410","1333018415","1333018420","1333018422"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d2a3c9da2d000088a5fe82e9d3a93a73.jpg","text":"TemporaryFile(/tmp/multipartBody5718552140077179515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247674104,"filename":"image_30012025_15_33_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/30/ac0dd7bf3a82471988728cb823510f5a.jpg","text":"TemporaryFile(/tmp/multipartBody8743621705996127584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247674104,"filename":"image_30012025_15_32_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/30/875a952840fe6ef69f5ee534a7c6a5fb.jpg","text":"TemporaryFile(/tmp/multipartBody6796068960125101063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247674104,"filename":"image_30012025_15_33_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/30/b8145113f9cd737ebb0ee94822116698.jpg","text":"TemporaryFile(/tmp/multipartBody8997312029850350008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247674104,"filename":"image_30012025_15_33_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/30/f91ce4bfef8ee9d73116b95fa1731468.jpg","text":"TemporaryFile(/tmp/multipartBody6713062807885093032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247674104,"filename":"image_30012025_15_33_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/30/0e7ae4896f25c394becc3520bf50de9a.jpg","text":"TemporaryFile(/tmp/multipartBody1192424272056614346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247674104,"filename":"image_30012025_15_33_06_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333018410","file1":"1333018405","file0":"1333018402","file4":"1333018420","file5":"1333018422","file3":"1333018415"},"map_files_photo_id_array":[{"photo_id":"1333018422","filename":"file5"},{"photo_id":"1333018410","filename":"file2"},{"photo_id":"1333018420","filename":"file4"},{"photo_id":"1333018405","filename":"file1"},{"photo_id":"1333018402","filename":"file0"},{"photo_id":"1333018415","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333018420":["hashtag1","hashtag2"]},{"1333018402":["hashtag1","hashtag2"]},{"1333018422":["hashtag1","hashtag2"]},{"1333018410":["hashtag1","hashtag2"]},{"1333018415":["hashtag1","hashtag2"]},{"1333018405":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333018420, 1333018402, 1333018422, 1333018410, 1333018415, 1333018405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.77308535575867 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:34:32.429906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/33/image_30012025_15_33_57_10355.jpg', '/home/pi/Desktop/images/30012025/15/33/image_30012025_15_34_06_9383.jpg', '/home/pi/Desktop/images/30012025/15/34/image_30012025_15_34_16_10328.jpg', '/home/pi/Desktop/images/30012025/15/34/image_30012025_15_34_27_10351.jpg', '/home/pi/Desktop/images/30012025/15/34/image_30012025_15_34_36_9396.jpg', '/home/pi/Desktop/images/30012025/15/34/image_30012025_15_34_46_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/33/image_30012025_15_33_57_10355.jpg
/home/pi/Desktop/images/30012025/15/33/image_30012025_15_34_06_9383.jpg
/home/pi/Desktop/images/30012025/15/34/image_30012025_15_34_16_10328.jpg
/home/pi/Desktop/images/30012025/15/34/image_30012025_15_34_27_10351.jpg
/home/pi/Desktop/images/30012025/15/34/image_30012025_15_34_36_9396.jpg
/home/pi/Desktop/images/30012025/15/34/image_30012025_15_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":["1333018455","1333018883","1333018815","1333018460","1333018712","1333018447"],"photo_ids_order":["1333018447","1333018455","1333018460","1333018712","1333018815","1333018883"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b72ed4b7134381b7624a254f4b1927ee.jpg","text":"TemporaryFile(/tmp/multipartBody4737612403291343350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247733317,"filename":"image_30012025_15_34_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/30/7aacb5a04b79f5f0215a1d1f5806a7d0.jpg","text":"TemporaryFile(/tmp/multipartBody5558419120177852998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247733317,"filename":"image_30012025_15_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/30/a45ae776710c5b6e78c58e120b132711.jpg","text":"TemporaryFile(/tmp/multipartBody2444440296005214018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247733317,"filename":"image_30012025_15_34_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/30/df945a5090d5c520f60316aabb1a4a32.jpg","text":"TemporaryFile(/tmp/multipartBody4910147414701134748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247733317,"filename":"image_30012025_15_34_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/30/47437419ce3edb5a8eecf3df431052c6.jpg","text":"TemporaryFile(/tmp/multipartBody2905877667751082469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247733317,"filename":"image_30012025_15_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/30/b0defa065b30fe6098b709b494c728d9.jpg","text":"TemporaryFile(/tmp/multipartBody5619030216896177373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247733317,"filename":"image_30012025_15_33_57_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333018460","file1":"1333018455","file0":"1333018447","file4":"1333018815","file5":"1333018883","file3":"1333018712"},"map_files_photo_id_array":[{"photo_id":"1333018883","filename":"file5"},{"photo_id":"1333018460","filename":"file2"},{"photo_id":"1333018815","filename":"file4"},{"photo_id":"1333018455","filename":"file1"},{"photo_id":"1333018447","filename":"file0"},{"photo_id":"1333018712","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333018455":["hashtag1","hashtag2"]},{"1333018883":["hashtag1","hashtag2"]},{"1333018815":["hashtag1","hashtag2"]},{"1333018460":["hashtag1","hashtag2"]},{"1333018712":["hashtag1","hashtag2"]},{"1333018447":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333018455, 1333018883, 1333018815, 1333018460, 1333018712, 1333018447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.82962250709534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:35:32.534758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/34/image_30012025_15_34_56_9323.jpg', '/home/pi/Desktop/images/30012025/15/34/image_30012025_15_35_06_10409.jpg', '/home/pi/Desktop/images/30012025/15/35/image_30012025_15_35_16_10345.jpg', '/home/pi/Desktop/images/30012025/15/35/image_30012025_15_35_26_9410.jpg', '/home/pi/Desktop/images/30012025/15/35/image_30012025_15_35_36_10353.jpg', '/home/pi/Desktop/images/30012025/15/35/image_30012025_15_35_47_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/34/image_30012025_15_34_56_9323.jpg
/home/pi/Desktop/images/30012025/15/34/image_30012025_15_35_06_10409.jpg
/home/pi/Desktop/images/30012025/15/35/image_30012025_15_35_16_10345.jpg
/home/pi/Desktop/images/30012025/15/35/image_30012025_15_35_26_9410.jpg
/home/pi/Desktop/images/30012025/15/35/image_30012025_15_35_36_10353.jpg
/home/pi/Desktop/images/30012025/15/35/image_30012025_15_35_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":["1333019186","1333019171","1333019153","1333019191","1333019196","1333019178"],"photo_ids_order":["1333019153","1333019171","1333019178","1333019186","1333019191","1333019196"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2f05ed76fe090386c8bf282e088c0641.jpg","text":"TemporaryFile(/tmp/multipartBody5625398860132776193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247793429,"filename":"image_30012025_15_35_26_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0270232a39ed8e2309d717fa7006c4b8.jpg","text":"TemporaryFile(/tmp/multipartBody8831920199282987519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247793429,"filename":"image_30012025_15_35_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/30/0b3b1d2cc094c71701711cbe5ccfe22c.jpg","text":"TemporaryFile(/tmp/multipartBody3911213756527282519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247793429,"filename":"image_30012025_15_34_56_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/30/d0eb6ecccc901cd023f04d5913f987ca.jpg","text":"TemporaryFile(/tmp/multipartBody1181475473491489494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247793429,"filename":"image_30012025_15_35_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/30/924488b94a015e6350acfdcdb93ddc3e.jpg","text":"TemporaryFile(/tmp/multipartBody1496354434858504532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247793429,"filename":"image_30012025_15_35_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/30/ea43b6c9472e44ce7b34892b74dc7ec7.jpg","text":"TemporaryFile(/tmp/multipartBody2218733322222165023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247793429,"filename":"image_30012025_15_35_16_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333019178","file1":"1333019171","file0":"1333019153","file4":"1333019191","file5":"1333019196","file3":"1333019186"},"map_files_photo_id_array":[{"photo_id":"1333019196","filename":"file5"},{"photo_id":"1333019178","filename":"file2"},{"photo_id":"1333019191","filename":"file4"},{"photo_id":"1333019171","filename":"file1"},{"photo_id":"1333019153","filename":"file0"},{"photo_id":"1333019186","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333019186":["hashtag1","hashtag2"]},{"1333019171":["hashtag1","hashtag2"]},{"1333019153":["hashtag1","hashtag2"]},{"1333019191":["hashtag1","hashtag2"]},{"1333019196":["hashtag1","hashtag2"]},{"1333019178":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333019186, 1333019171, 1333019153, 1333019191, 1333019196, 1333019178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.13491749763489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:36:32.673577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/35/image_30012025_15_35_56_9337.jpg', '/home/pi/Desktop/images/30012025/15/35/image_30012025_15_36_06_10334.jpg', '/home/pi/Desktop/images/30012025/15/36/image_30012025_15_36_17_10334.jpg', '/home/pi/Desktop/images/30012025/15/36/image_30012025_15_36_26_9399.jpg', '/home/pi/Desktop/images/30012025/15/36/image_30012025_15_36_36_10351.jpg', '/home/pi/Desktop/images/30012025/15/36/image_30012025_15_36_46_9485.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/35/image_30012025_15_35_56_9337.jpg
/home/pi/Desktop/images/30012025/15/35/image_30012025_15_36_06_10334.jpg
/home/pi/Desktop/images/30012025/15/36/image_30012025_15_36_17_10334.jpg
/home/pi/Desktop/images/30012025/15/36/image_30012025_15_36_26_9399.jpg
/home/pi/Desktop/images/30012025/15/36/image_30012025_15_36_36_10351.jpg
/home/pi/Desktop/images/30012025/15/36/image_30012025_15_36_46_9485.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333019507","1333019545","1333019548","1333019443","1333019437","1333019541"],"photo_ids_order":["1333019437","1333019443","1333019507","1333019541","1333019545","1333019548"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ee115374fb65da270f310bb5f6ad96b2.jpg","text":"TemporaryFile(/tmp/multipartBody5083623081952423978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247853585,"filename":"image_30012025_15_36_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/30/09bb2a671d84919ce7b30e68ea97d89f.jpg","text":"TemporaryFile(/tmp/multipartBody7766427780233528558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247853585,"filename":"image_30012025_15_36_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/30/c3e7707cf88ad000cb6d1d2e9de4761a.jpg","text":"TemporaryFile(/tmp/multipartBody2069686710814090688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247853585,"filename":"image_30012025_15_36_46_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/30/25ab90f2b42083d5454de1943936c6c3.jpg","text":"TemporaryFile(/tmp/multipartBody7669156912183725614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247853585,"filename":"image_30012025_15_36_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/30/0295f1f1f6a212a40fddcbcfda8cd5b3.jpg","text":"TemporaryFile(/tmp/multipartBody2041321936928549392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247853585,"filename":"image_30012025_15_35_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/30/68dd917ce9761378f1d84b22117fe5eb.jpg","text":"TemporaryFile(/tmp/multipartBody1468129566401345035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247853585,"filename":"image_30012025_15_36_26_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333019507","file1":"1333019443","file0":"1333019437","file4":"1333019545","file5":"1333019548","file3":"1333019541"},"map_files_photo_id_array":[{"photo_id":"1333019548","filename":"file5"},{"photo_id":"1333019507","filename":"file2"},{"photo_id":"1333019545","filename":"file4"},{"photo_id":"1333019443","filename":"file1"},{"photo_id":"1333019437","filename":"file0"},{"photo_id":"1333019541","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333019507":["hashtag1","hashtag2"]},{"1333019545":["hashtag1","hashtag2"]},{"1333019548":["hashtag1","hashtag2"]},{"1333019443":["hashtag1","hashtag2"]},{"1333019437":["hashtag1","hashtag2"]},{"1333019541":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333019507, 1333019545, 1333019548, 1333019443, 1333019437, 1333019541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.777199029922485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:37:32.855555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/36/image_30012025_15_36_56_10346.jpg', '/home/pi/Desktop/images/30012025/15/36/image_30012025_15_37_07_10397.jpg', '/home/pi/Desktop/images/30012025/15/37/image_30012025_15_37_16_9320.jpg', '/home/pi/Desktop/images/30012025/15/37/image_30012025_15_37_26_10364.jpg', '/home/pi/Desktop/images/30012025/15/37/image_30012025_15_37_37_10354.jpg', '/home/pi/Desktop/images/30012025/15/37/image_30012025_15_37_46_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/36/image_30012025_15_36_56_10346.jpg
/home/pi/Desktop/images/30012025/15/36/image_30012025_15_37_07_10397.jpg
/home/pi/Desktop/images/30012025/15/37/image_30012025_15_37_16_9320.jpg
/home/pi/Desktop/images/30012025/15/37/image_30012025_15_37_26_10364.jpg
/home/pi/Desktop/images/30012025/15/37/image_30012025_15_37_37_10354.jpg
/home/pi/Desktop/images/30012025/15/37/image_30012025_15_37_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":["1333019571","1333019826","1333019828","1333019744","1333019830","1333019592"],"photo_ids_order":["1333019571","1333019592","1333019744","1333019826","1333019828","1333019830"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7569860fa42e83d08cf1336beaa4ef14.jpg","text":"TemporaryFile(/tmp/multipartBody1497514346190236759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247913758,"filename":"image_30012025_15_36_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/30/2f513135a2792a36315a34b3cd9c1ff0.jpg","text":"TemporaryFile(/tmp/multipartBody6116481928976637059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247913758,"filename":"image_30012025_15_37_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/30/bfe1369bc4c8cfb970c4c5550271dc01.jpg","text":"TemporaryFile(/tmp/multipartBody412596949024629429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247913758,"filename":"image_30012025_15_37_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/30/53b6da114981ceed5e609b8c2ab2704a.jpg","text":"TemporaryFile(/tmp/multipartBody5956652810483164340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247913758,"filename":"image_30012025_15_37_16_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/30/ac4fdf9ce78853f144f8a1af6c9530da.jpg","text":"TemporaryFile(/tmp/multipartBody2824218536251379704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247913758,"filename":"image_30012025_15_37_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/30/4237fca0c4819bbde48f605d26ccbf70.jpg","text":"TemporaryFile(/tmp/multipartBody788097187759003091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247913758,"filename":"image_30012025_15_37_07_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333019744","file1":"1333019592","file0":"1333019571","file4":"1333019828","file5":"1333019830","file3":"1333019826"},"map_files_photo_id_array":[{"photo_id":"1333019830","filename":"file5"},{"photo_id":"1333019744","filename":"file2"},{"photo_id":"1333019828","filename":"file4"},{"photo_id":"1333019592","filename":"file1"},{"photo_id":"1333019571","filename":"file0"},{"photo_id":"1333019826","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333019571":["hashtag1","hashtag2"]},{"1333019826":["hashtag1","hashtag2"]},{"1333019828":["hashtag1","hashtag2"]},{"1333019744":["hashtag1","hashtag2"]},{"1333019830":["hashtag1","hashtag2"]},{"1333019592":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333019571, 1333019826, 1333019828, 1333019744, 1333019830, 1333019592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.757319927215576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:38:33.054570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/37/image_30012025_15_37_56_10340.jpg', '/home/pi/Desktop/images/30012025/15/37/image_30012025_15_38_07_10363.jpg', '/home/pi/Desktop/images/30012025/15/38/image_30012025_15_38_16_9430.jpg', '/home/pi/Desktop/images/30012025/15/38/image_30012025_15_38_27_10419.jpg', '/home/pi/Desktop/images/30012025/15/38/image_30012025_15_38_36_9561.jpg', '/home/pi/Desktop/images/30012025/15/38/image_30012025_15_38_46_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/37/image_30012025_15_37_56_10340.jpg
/home/pi/Desktop/images/30012025/15/37/image_30012025_15_38_07_10363.jpg
/home/pi/Desktop/images/30012025/15/38/image_30012025_15_38_16_9430.jpg
/home/pi/Desktop/images/30012025/15/38/image_30012025_15_38_27_10419.jpg
/home/pi/Desktop/images/30012025/15/38/image_30012025_15_38_36_9561.jpg
/home/pi/Desktop/images/30012025/15/38/image_30012025_15_38_46_10371.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5043900012969971 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 15:38:43.111144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/37/image_30012025_15_37_56_10340.jpg', '/home/pi/Desktop/images/30012025/15/37/image_30012025_15_38_07_10363.jpg', '/home/pi/Desktop/images/30012025/15/38/image_30012025_15_38_16_9430.jpg', '/home/pi/Desktop/images/30012025/15/38/image_30012025_15_38_27_10419.jpg', '/home/pi/Desktop/images/30012025/15/38/image_30012025_15_38_36_9561.jpg', '/home/pi/Desktop/images/30012025/15/38/image_30012025_15_38_46_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/37/image_30012025_15_37_56_10340.jpg
/home/pi/Desktop/images/30012025/15/37/image_30012025_15_38_07_10363.jpg
/home/pi/Desktop/images/30012025/15/38/image_30012025_15_38_16_9430.jpg
/home/pi/Desktop/images/30012025/15/38/image_30012025_15_38_27_10419.jpg
/home/pi/Desktop/images/30012025/15/38/image_30012025_15_38_36_9561.jpg
/home/pi/Desktop/images/30012025/15/38/image_30012025_15_38_46_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":["1333019891","1333019879","1333019864","1333019872","1333019898","1333019886"],"photo_ids_order":["1333019864","1333019872","1333019879","1333019886","1333019891","1333019898"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9d29087298bfab49f89e3be5b0453ca9.jpg","text":"TemporaryFile(/tmp/multipartBody4097244150916099253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247984012,"filename":"image_30012025_15_38_36_9561.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4888c50efdb8946ec75b106662a69bb0.jpg","text":"TemporaryFile(/tmp/multipartBody499608931670440192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247984012,"filename":"image_30012025_15_38_16_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/30/137ceab8f16c9e3bec1a72dab0a4dc32.jpg","text":"TemporaryFile(/tmp/multipartBody8058792431693227798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247984012,"filename":"image_30012025_15_37_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/30/86885365d9e21092e9b5fae4a11e4617.jpg","text":"TemporaryFile(/tmp/multipartBody2010039044343785883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247984012,"filename":"image_30012025_15_38_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/30/d910717177a51e4827e6d588536c6b8a.jpg","text":"TemporaryFile(/tmp/multipartBody66824913649289104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247984012,"filename":"image_30012025_15_38_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/30/906d0ae16cc8ea3f4776ecf9021e9c67.jpg","text":"TemporaryFile(/tmp/multipartBody1203052088971892980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738247984012,"filename":"image_30012025_15_38_27_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333019879","file1":"1333019872","file0":"1333019864","file4":"1333019891","file5":"1333019898","file3":"1333019886"},"map_files_photo_id_array":[{"photo_id":"1333019898","filename":"file5"},{"photo_id":"1333019879","filename":"file2"},{"photo_id":"1333019891","filename":"file4"},{"photo_id":"1333019872","filename":"file1"},{"photo_id":"1333019864","filename":"file0"},{"photo_id":"1333019886","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333019891":["hashtag1","hashtag2"]},{"1333019879":["hashtag1","hashtag2"]},{"1333019864":["hashtag1","hashtag2"]},{"1333019872":["hashtag1","hashtag2"]},{"1333019898":["hashtag1","hashtag2"]},{"1333019886":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333019891, 1333019879, 1333019864, 1333019872, 1333019898, 1333019886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.849597692489624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:39:32.142490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/38/image_30012025_15_38_56_9421.jpg', '/home/pi/Desktop/images/30012025/15/38/image_30012025_15_39_06_10354.jpg', '/home/pi/Desktop/images/30012025/15/39/image_30012025_15_39_17_10399.jpg', '/home/pi/Desktop/images/30012025/15/39/image_30012025_15_39_26_9417.jpg', '/home/pi/Desktop/images/30012025/15/39/image_30012025_15_39_36_10358.jpg', '/home/pi/Desktop/images/30012025/15/39/image_30012025_15_39_46_9330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/38/image_30012025_15_38_56_9421.jpg
/home/pi/Desktop/images/30012025/15/38/image_30012025_15_39_06_10354.jpg
/home/pi/Desktop/images/30012025/15/39/image_30012025_15_39_17_10399.jpg
/home/pi/Desktop/images/30012025/15/39/image_30012025_15_39_26_9417.jpg
/home/pi/Desktop/images/30012025/15/39/image_30012025_15_39_36_10358.jpg
/home/pi/Desktop/images/30012025/15/39/image_30012025_15_39_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":["1333020112","1333019955","1333020183","1333019996","1333020141","1333020125"],"photo_ids_order":["1333019955","1333019996","1333020112","1333020125","1333020141","1333020183"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4b4989908144990d86d074f6c5a5cfd5.jpg","text":"TemporaryFile(/tmp/multipartBody6235342294329834565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248033029,"filename":"image_30012025_15_39_17_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d11ebaa295f8b05649148e60514eb595.jpg","text":"TemporaryFile(/tmp/multipartBody7989206523485783086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248033029,"filename":"image_30012025_15_38_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/30/110e3effc94ffc9815861879f37c8e79.jpg","text":"TemporaryFile(/tmp/multipartBody3004190472670592830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248033029,"filename":"image_30012025_15_39_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/30/ea3dea7c54ba897744c1ee3bde53d8c7.jpg","text":"TemporaryFile(/tmp/multipartBody1813380390808163967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248033029,"filename":"image_30012025_15_39_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/30/3e49cb5ca14f065a43b75e4b4d08d058.jpg","text":"TemporaryFile(/tmp/multipartBody3091614051282317246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248033029,"filename":"image_30012025_15_39_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/30/6bbdcac5eecaa1a887a7d8e48e978124.jpg","text":"TemporaryFile(/tmp/multipartBody1022348716346227292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248033029,"filename":"image_30012025_15_39_26_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333020112","file1":"1333019996","file0":"1333019955","file4":"1333020141","file5":"1333020183","file3":"1333020125"},"map_files_photo_id_array":[{"photo_id":"1333020183","filename":"file5"},{"photo_id":"1333020112","filename":"file2"},{"photo_id":"1333020141","filename":"file4"},{"photo_id":"1333019996","filename":"file1"},{"photo_id":"1333019955","filename":"file0"},{"photo_id":"1333020125","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333020112":["hashtag1","hashtag2"]},{"1333019955":["hashtag1","hashtag2"]},{"1333020183":["hashtag1","hashtag2"]},{"1333019996":["hashtag1","hashtag2"]},{"1333020141":["hashtag1","hashtag2"]},{"1333020125":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333020112, 1333019955, 1333020183, 1333019996, 1333020141, 1333020125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.048516273498535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:40:32.366610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/39/image_30012025_15_39_56_10371.jpg', '/home/pi/Desktop/images/30012025/15/39/image_30012025_15_40_06_10327.jpg', '/home/pi/Desktop/images/30012025/15/40/image_30012025_15_40_16_9330.jpg', '/home/pi/Desktop/images/30012025/15/40/image_30012025_15_40_26_10340.jpg', '/home/pi/Desktop/images/30012025/15/40/image_30012025_15_40_36_10359.jpg', '/home/pi/Desktop/images/30012025/15/40/image_30012025_15_40_46_9415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/39/image_30012025_15_39_56_10371.jpg
/home/pi/Desktop/images/30012025/15/39/image_30012025_15_40_06_10327.jpg
/home/pi/Desktop/images/30012025/15/40/image_30012025_15_40_16_9330.jpg
/home/pi/Desktop/images/30012025/15/40/image_30012025_15_40_26_10340.jpg
/home/pi/Desktop/images/30012025/15/40/image_30012025_15_40_36_10359.jpg
/home/pi/Desktop/images/30012025/15/40/image_30012025_15_40_46_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333020255","1333020234","1333020248","1333020253","1333020229","1333020223"],"photo_ids_order":["1333020223","1333020229","1333020234","1333020248","1333020253","1333020255"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0c45f4856cefe2841ecc48eb5122fd30.jpg","text":"TemporaryFile(/tmp/multipartBody1831960903665518928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248093260,"filename":"image_30012025_15_40_46_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d9f3ce9e96cb7b7208cdbadd9a9006ca.jpg","text":"TemporaryFile(/tmp/multipartBody6326558986805936953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248093260,"filename":"image_30012025_15_40_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/30/fce9af8156746ed128e31eac6aa79a32.jpg","text":"TemporaryFile(/tmp/multipartBody6875417684794002442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248093260,"filename":"image_30012025_15_40_26_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/086b253f30c6459973fe4d59dcbeec4a.jpg","text":"TemporaryFile(/tmp/multipartBody134542492126333209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248093260,"filename":"image_30012025_15_40_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/30/64b1dc25dd8dbd53b647a59bf9cb2c7c.jpg","text":"TemporaryFile(/tmp/multipartBody2900097101128208353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248093260,"filename":"image_30012025_15_40_06_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7e27a2d5c8f3e6ea9c42c1f7c1df1c1c.jpg","text":"TemporaryFile(/tmp/multipartBody5254576058617507118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248093260,"filename":"image_30012025_15_39_56_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333020234","file1":"1333020229","file0":"1333020223","file4":"1333020253","file5":"1333020255","file3":"1333020248"},"map_files_photo_id_array":[{"photo_id":"1333020255","filename":"file5"},{"photo_id":"1333020234","filename":"file2"},{"photo_id":"1333020253","filename":"file4"},{"photo_id":"1333020229","filename":"file1"},{"photo_id":"1333020223","filename":"file0"},{"photo_id":"1333020248","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333020255":["hashtag1","hashtag2"]},{"1333020234":["hashtag1","hashtag2"]},{"1333020248":["hashtag1","hashtag2"]},{"1333020253":["hashtag1","hashtag2"]},{"1333020229":["hashtag1","hashtag2"]},{"1333020223":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333020255, 1333020234, 1333020248, 1333020253, 1333020229, 1333020223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.97515678405762 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:41:32.753612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/40/image_30012025_15_40_56_10357.jpg', '/home/pi/Desktop/images/30012025/15/40/image_30012025_15_41_07_10334.jpg', '/home/pi/Desktop/images/30012025/15/41/image_30012025_15_41_16_9329.jpg', '/home/pi/Desktop/images/30012025/15/41/image_30012025_15_41_26_10349.jpg', '/home/pi/Desktop/images/30012025/15/41/image_30012025_15_41_37_10338.jpg', '/home/pi/Desktop/images/30012025/15/41/image_30012025_15_41_46_9383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/40/image_30012025_15_40_56_10357.jpg
/home/pi/Desktop/images/30012025/15/40/image_30012025_15_41_07_10334.jpg
/home/pi/Desktop/images/30012025/15/41/image_30012025_15_41_16_9329.jpg
/home/pi/Desktop/images/30012025/15/41/image_30012025_15_41_26_10349.jpg
/home/pi/Desktop/images/30012025/15/41/image_30012025_15_41_37_10338.jpg
/home/pi/Desktop/images/30012025/15/41/image_30012025_15_41_46_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333020304","1333020282","1333020306","1333020309","1333020299","1333020292"],"photo_ids_order":["1333020282","1333020292","1333020299","1333020304","1333020306","1333020309"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a9b98bd7d3780daddff90802d52dddbd.jpg","text":"TemporaryFile(/tmp/multipartBody427784385312015608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248153656,"filename":"image_30012025_15_41_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/30/50777b8db8496cd4ac56f6dc718d00ce.jpg","text":"TemporaryFile(/tmp/multipartBody2861584475504539101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248153656,"filename":"image_30012025_15_40_56_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a993250e08a6cdedad88cc84783e6554.jpg","text":"TemporaryFile(/tmp/multipartBody9068082307113038383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248153656,"filename":"image_30012025_15_41_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/30/593d95351bb4a6f4603d606c54051e99.jpg","text":"TemporaryFile(/tmp/multipartBody1251205573110171632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248153656,"filename":"image_30012025_15_41_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/30/6d60078281d6a7b06950f9a995491bab.jpg","text":"TemporaryFile(/tmp/multipartBody8152329152201055394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248153656,"filename":"image_30012025_15_41_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/30/f5b09907dff9817d92bed02d4643dc6e.jpg","text":"TemporaryFile(/tmp/multipartBody5942043648135057380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248153656,"filename":"image_30012025_15_41_07_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333020299","file1":"1333020292","file0":"1333020282","file4":"1333020306","file5":"1333020309","file3":"1333020304"},"map_files_photo_id_array":[{"photo_id":"1333020309","filename":"file5"},{"photo_id":"1333020299","filename":"file2"},{"photo_id":"1333020306","filename":"file4"},{"photo_id":"1333020292","filename":"file1"},{"photo_id":"1333020282","filename":"file0"},{"photo_id":"1333020304","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333020304":["hashtag1","hashtag2"]},{"1333020282":["hashtag1","hashtag2"]},{"1333020306":["hashtag1","hashtag2"]},{"1333020309":["hashtag1","hashtag2"]},{"1333020299":["hashtag1","hashtag2"]},{"1333020292":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333020304, 1333020282, 1333020306, 1333020309, 1333020299, 1333020292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.111931562423706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:42:32.931360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/41/image_30012025_15_41_56_10316.jpg', '/home/pi/Desktop/images/30012025/15/41/image_30012025_15_42_07_10342.jpg', '/home/pi/Desktop/images/30012025/15/42/image_30012025_15_42_16_9338.jpg', '/home/pi/Desktop/images/30012025/15/42/image_30012025_15_42_26_10350.jpg', '/home/pi/Desktop/images/30012025/15/42/image_30012025_15_42_37_10341.jpg', '/home/pi/Desktop/images/30012025/15/42/image_30012025_15_42_46_9411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/41/image_30012025_15_41_56_10316.jpg
/home/pi/Desktop/images/30012025/15/41/image_30012025_15_42_07_10342.jpg
/home/pi/Desktop/images/30012025/15/42/image_30012025_15_42_16_9338.jpg
/home/pi/Desktop/images/30012025/15/42/image_30012025_15_42_26_10350.jpg
/home/pi/Desktop/images/30012025/15/42/image_30012025_15_42_37_10341.jpg
/home/pi/Desktop/images/30012025/15/42/image_30012025_15_42_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":["1333020375","1333020369","1333020372","1333020364","1333020361","1333020355"],"photo_ids_order":["1333020355","1333020361","1333020364","1333020369","1333020372","1333020375"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7148146e0941020fd700d6fe601c7a00.jpg","text":"TemporaryFile(/tmp/multipartBody1305211835069856876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248213830,"filename":"image_30012025_15_42_46_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/738e56743f66a2971cfa53fd4ef5f27f.jpg","text":"TemporaryFile(/tmp/multipartBody1155672711204008611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248213830,"filename":"image_30012025_15_42_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/30/784fdc095c8550f3beb37b24b94e1573.jpg","text":"TemporaryFile(/tmp/multipartBody6859791679073091501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248213830,"filename":"image_30012025_15_42_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/30/5534175bee9c7ebf6af9543b5dfbfd1f.jpg","text":"TemporaryFile(/tmp/multipartBody7088013912587049036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248213830,"filename":"image_30012025_15_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/30/9a5ee3345b0f31ff1baf56535f2ea651.jpg","text":"TemporaryFile(/tmp/multipartBody7871375912209645529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248213830,"filename":"image_30012025_15_42_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/30/5d3f27f0ef527813fb62a5b30126c12f.jpg","text":"TemporaryFile(/tmp/multipartBody313806815254864293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248213830,"filename":"image_30012025_15_41_56_10316.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333020364","file1":"1333020361","file0":"1333020355","file4":"1333020372","file5":"1333020375","file3":"1333020369"},"map_files_photo_id_array":[{"photo_id":"1333020375","filename":"file5"},{"photo_id":"1333020364","filename":"file2"},{"photo_id":"1333020372","filename":"file4"},{"photo_id":"1333020361","filename":"file1"},{"photo_id":"1333020355","filename":"file0"},{"photo_id":"1333020369","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333020375":["hashtag1","hashtag2"]},{"1333020369":["hashtag1","hashtag2"]},{"1333020372":["hashtag1","hashtag2"]},{"1333020364":["hashtag1","hashtag2"]},{"1333020361":["hashtag1","hashtag2"]},{"1333020355":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333020375, 1333020369, 1333020372, 1333020364, 1333020361, 1333020355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60226225852966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:43:32.135643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/42/image_30012025_15_42_56_10334.jpg', '/home/pi/Desktop/images/30012025/15/42/image_30012025_15_43_06_9323.jpg', '/home/pi/Desktop/images/30012025/15/43/image_30012025_15_43_16_10414.jpg', '/home/pi/Desktop/images/30012025/15/43/image_30012025_15_43_27_10373.jpg', '/home/pi/Desktop/images/30012025/15/43/image_30012025_15_43_36_9382.jpg', '/home/pi/Desktop/images/30012025/15/43/image_30012025_15_43_46_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/42/image_30012025_15_42_56_10334.jpg
/home/pi/Desktop/images/30012025/15/42/image_30012025_15_43_06_9323.jpg
/home/pi/Desktop/images/30012025/15/43/image_30012025_15_43_16_10414.jpg
/home/pi/Desktop/images/30012025/15/43/image_30012025_15_43_27_10373.jpg
/home/pi/Desktop/images/30012025/15/43/image_30012025_15_43_36_9382.jpg
/home/pi/Desktop/images/30012025/15/43/image_30012025_15_43_46_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333020405","1333020429","1333020420","1333020414","1333020425","1333020427"],"photo_ids_order":["1333020405","1333020414","1333020420","1333020425","1333020427","1333020429"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f95ee27422ffb1c410e922c38bd4b50c.jpg","text":"TemporaryFile(/tmp/multipartBody5806585954911415063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248273031,"filename":"image_30012025_15_42_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/30/5e959f2de42e52f40982914ea5bea4ec.jpg","text":"TemporaryFile(/tmp/multipartBody2015970913943979642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248273031,"filename":"image_30012025_15_43_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/30/876ef5dcb859036051488c86bda67913.jpg","text":"TemporaryFile(/tmp/multipartBody5706827052400606156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248273031,"filename":"image_30012025_15_43_16_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c3d25df9360484a3b5baaa111ae70dcf.jpg","text":"TemporaryFile(/tmp/multipartBody8113579364616021312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248273031,"filename":"image_30012025_15_43_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/30/c860f16ea1250e1659e71f1e466d8ed7.jpg","text":"TemporaryFile(/tmp/multipartBody697088208910515595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248273031,"filename":"image_30012025_15_43_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/30/89fc0b2a29ed4dbdbe74b5109bf916cb.jpg","text":"TemporaryFile(/tmp/multipartBody6293278327822122541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248273031,"filename":"image_30012025_15_43_36_9382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333020420","file1":"1333020414","file0":"1333020405","file4":"1333020427","file5":"1333020429","file3":"1333020425"},"map_files_photo_id_array":[{"photo_id":"1333020429","filename":"file5"},{"photo_id":"1333020420","filename":"file2"},{"photo_id":"1333020427","filename":"file4"},{"photo_id":"1333020414","filename":"file1"},{"photo_id":"1333020405","filename":"file0"},{"photo_id":"1333020425","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333020405":["hashtag1","hashtag2"]},{"1333020429":["hashtag1","hashtag2"]},{"1333020420":["hashtag1","hashtag2"]},{"1333020414":["hashtag1","hashtag2"]},{"1333020425":["hashtag1","hashtag2"]},{"1333020427":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333020405, 1333020429, 1333020420, 1333020414, 1333020425, 1333020427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.022860288619995 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:44:32.364079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/43/image_30012025_15_43_57_10347.jpg', '/home/pi/Desktop/images/30012025/15/43/image_30012025_15_44_06_9337.jpg', '/home/pi/Desktop/images/30012025/15/44/image_30012025_15_44_16_10336.jpg', '/home/pi/Desktop/images/30012025/15/44/image_30012025_15_44_27_10359.jpg', '/home/pi/Desktop/images/30012025/15/44/image_30012025_15_44_36_9394.jpg', '/home/pi/Desktop/images/30012025/15/44/image_30012025_15_44_46_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/43/image_30012025_15_43_57_10347.jpg
/home/pi/Desktop/images/30012025/15/43/image_30012025_15_44_06_9337.jpg
/home/pi/Desktop/images/30012025/15/44/image_30012025_15_44_16_10336.jpg
/home/pi/Desktop/images/30012025/15/44/image_30012025_15_44_27_10359.jpg
/home/pi/Desktop/images/30012025/15/44/image_30012025_15_44_36_9394.jpg
/home/pi/Desktop/images/30012025/15/44/image_30012025_15_44_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":["1333020517","1333020489","1333020482","1333020524","1333020496","1333020532"],"photo_ids_order":["1333020482","1333020489","1333020496","1333020517","1333020524","1333020532"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c09c0ddfb9c8da1f050568131097966b.jpg","text":"TemporaryFile(/tmp/multipartBody306975995111430476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248333257,"filename":"image_30012025_15_44_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/30/ee166eb37e16b7011c2dc8bc600c748e.jpg","text":"TemporaryFile(/tmp/multipartBody5348461474924347611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248333257,"filename":"image_30012025_15_44_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/30/299f47633d9607d887407403e4d98c8d.jpg","text":"TemporaryFile(/tmp/multipartBody4521112249981139182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248333257,"filename":"image_30012025_15_43_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/30/1c4da07454a0b9bd49511be391354d13.jpg","text":"TemporaryFile(/tmp/multipartBody1787612341754211805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248333257,"filename":"image_30012025_15_44_36_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/30/6b2d683d3de05957f0ae4f8e311a526e.jpg","text":"TemporaryFile(/tmp/multipartBody1786181802147165145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248333257,"filename":"image_30012025_15_44_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/30/76e6725bbc6f4d5331fb67cc97679244.jpg","text":"TemporaryFile(/tmp/multipartBody5869149729524115262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248333257,"filename":"image_30012025_15_44_46_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333020496","file1":"1333020489","file0":"1333020482","file4":"1333020524","file5":"1333020532","file3":"1333020517"},"map_files_photo_id_array":[{"photo_id":"1333020532","filename":"file5"},{"photo_id":"1333020496","filename":"file2"},{"photo_id":"1333020524","filename":"file4"},{"photo_id":"1333020489","filename":"file1"},{"photo_id":"1333020482","filename":"file0"},{"photo_id":"1333020517","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333020517":["hashtag1","hashtag2"]},{"1333020489":["hashtag1","hashtag2"]},{"1333020482":["hashtag1","hashtag2"]},{"1333020524":["hashtag1","hashtag2"]},{"1333020496":["hashtag1","hashtag2"]},{"1333020532":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333020517, 1333020489, 1333020482, 1333020524, 1333020496, 1333020532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76596665382385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:45:32.670184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/44/image_30012025_15_44_56_9355.jpg', '/home/pi/Desktop/images/30012025/15/44/image_30012025_15_45_06_10391.jpg', '/home/pi/Desktop/images/30012025/15/45/image_30012025_15_45_16_10346.jpg', '/home/pi/Desktop/images/30012025/15/45/image_30012025_15_45_26_9450.jpg', '/home/pi/Desktop/images/30012025/15/45/image_30012025_15_45_36_10352.jpg', '/home/pi/Desktop/images/30012025/15/45/image_30012025_15_45_47_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/44/image_30012025_15_44_56_9355.jpg
/home/pi/Desktop/images/30012025/15/44/image_30012025_15_45_06_10391.jpg
/home/pi/Desktop/images/30012025/15/45/image_30012025_15_45_16_10346.jpg
/home/pi/Desktop/images/30012025/15/45/image_30012025_15_45_26_9450.jpg
/home/pi/Desktop/images/30012025/15/45/image_30012025_15_45_36_10352.jpg
/home/pi/Desktop/images/30012025/15/45/image_30012025_15_45_47_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.5279073715209961 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 15:45:42.749225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/44/image_30012025_15_44_56_9355.jpg', '/home/pi/Desktop/images/30012025/15/44/image_30012025_15_45_06_10391.jpg', '/home/pi/Desktop/images/30012025/15/45/image_30012025_15_45_16_10346.jpg', '/home/pi/Desktop/images/30012025/15/45/image_30012025_15_45_26_9450.jpg', '/home/pi/Desktop/images/30012025/15/45/image_30012025_15_45_36_10352.jpg', '/home/pi/Desktop/images/30012025/15/45/image_30012025_15_45_47_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/44/image_30012025_15_44_56_9355.jpg
/home/pi/Desktop/images/30012025/15/44/image_30012025_15_45_06_10391.jpg
/home/pi/Desktop/images/30012025/15/45/image_30012025_15_45_16_10346.jpg
/home/pi/Desktop/images/30012025/15/45/image_30012025_15_45_26_9450.jpg
/home/pi/Desktop/images/30012025/15/45/image_30012025_15_45_36_10352.jpg
/home/pi/Desktop/images/30012025/15/45/image_30012025_15_45_47_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333020588","1333020780","1333020801","1333020755","1333020784","1333020607"],"photo_ids_order":["1333020588","1333020607","1333020755","1333020780","1333020784","1333020801"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ed38556b52c0eeb583d5b8caa6efcccf.jpg","text":"TemporaryFile(/tmp/multipartBody8121459060305251945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248403684,"filename":"image_30012025_15_44_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/30/92c05b1e16f5cf9bd354cbb7c4898d6a.jpg","text":"TemporaryFile(/tmp/multipartBody7100721468184213956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248403684,"filename":"image_30012025_15_45_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/30/353c90539200a25a65cd0ffdc26720ee.jpg","text":"TemporaryFile(/tmp/multipartBody443782235128092464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248403684,"filename":"image_30012025_15_45_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/30/bc5fa892e3b909a5d53d234104478bb7.jpg","text":"TemporaryFile(/tmp/multipartBody1354906075527647903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248403684,"filename":"image_30012025_15_45_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/30/ffd0df32a6c4cab317e871d6c33cfd03.jpg","text":"TemporaryFile(/tmp/multipartBody1962740272548797835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248403684,"filename":"image_30012025_15_45_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/30/e22a19b48b6fb3c413af7c8d00c2ea91.jpg","text":"TemporaryFile(/tmp/multipartBody6462547739963188520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248403684,"filename":"image_30012025_15_45_06_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333020755","file1":"1333020607","file0":"1333020588","file4":"1333020784","file5":"1333020801","file3":"1333020780"},"map_files_photo_id_array":[{"photo_id":"1333020801","filename":"file5"},{"photo_id":"1333020755","filename":"file2"},{"photo_id":"1333020784","filename":"file4"},{"photo_id":"1333020607","filename":"file1"},{"photo_id":"1333020588","filename":"file0"},{"photo_id":"1333020780","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333020588":["hashtag1","hashtag2"]},{"1333020780":["hashtag1","hashtag2"]},{"1333020801":["hashtag1","hashtag2"]},{"1333020755":["hashtag1","hashtag2"]},{"1333020784":["hashtag1","hashtag2"]},{"1333020607":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333020588, 1333020780, 1333020801, 1333020755, 1333020784, 1333020607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75085115432739 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:46:33.085908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/45/image_30012025_15_45_56_9339.jpg', '/home/pi/Desktop/images/30012025/15/45/image_30012025_15_46_06_10338.jpg', '/home/pi/Desktop/images/30012025/15/46/image_30012025_15_46_17_10324.jpg', '/home/pi/Desktop/images/30012025/15/46/image_30012025_15_46_26_9357.jpg', '/home/pi/Desktop/images/30012025/15/46/image_30012025_15_46_36_10358.jpg', '/home/pi/Desktop/images/30012025/15/46/image_30012025_15_46_46_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/45/image_30012025_15_45_56_9339.jpg
/home/pi/Desktop/images/30012025/15/45/image_30012025_15_46_06_10338.jpg
/home/pi/Desktop/images/30012025/15/46/image_30012025_15_46_17_10324.jpg
/home/pi/Desktop/images/30012025/15/46/image_30012025_15_46_26_9357.jpg
/home/pi/Desktop/images/30012025/15/46/image_30012025_15_46_36_10358.jpg
/home/pi/Desktop/images/30012025/15/46/image_30012025_15_46_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":["1333021257","1333021146","1333021199","1333021142","1333021255","1333021210"],"photo_ids_order":["1333021142","1333021146","1333021199","1333021210","1333021255","1333021257"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5dd6d7dda60dbe836b0d5f19dd4b9ccd.jpg","text":"TemporaryFile(/tmp/multipartBody3719522068734287285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248453993,"filename":"image_30012025_15_46_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/30/cb1d194eb5cf0c378bc83408d0ec72f3.jpg","text":"TemporaryFile(/tmp/multipartBody8138871904090595572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248453993,"filename":"image_30012025_15_46_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/30/d4dfbb74f0126f9d49a37bc9c77b6150.jpg","text":"TemporaryFile(/tmp/multipartBody326036442378956788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248453993,"filename":"image_30012025_15_46_17_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4ec1de6cc26ae4692c98c851b3ed1e52.jpg","text":"TemporaryFile(/tmp/multipartBody8232719730277156619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248453993,"filename":"image_30012025_15_45_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/30/c83c1333cedaab65784c8f9631c495ce.jpg","text":"TemporaryFile(/tmp/multipartBody2192171832019580410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248453993,"filename":"image_30012025_15_46_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/30/bfcf1e197dff654f655b4d0c468a3907.jpg","text":"TemporaryFile(/tmp/multipartBody2215217393005229247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248453993,"filename":"image_30012025_15_46_26_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333021199","file1":"1333021146","file0":"1333021142","file4":"1333021255","file5":"1333021257","file3":"1333021210"},"map_files_photo_id_array":[{"photo_id":"1333021257","filename":"file5"},{"photo_id":"1333021199","filename":"file2"},{"photo_id":"1333021255","filename":"file4"},{"photo_id":"1333021146","filename":"file1"},{"photo_id":"1333021142","filename":"file0"},{"photo_id":"1333021210","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333021257":["hashtag1","hashtag2"]},{"1333021146":["hashtag1","hashtag2"]},{"1333021199":["hashtag1","hashtag2"]},{"1333021142":["hashtag1","hashtag2"]},{"1333021255":["hashtag1","hashtag2"]},{"1333021210":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333021257, 1333021146, 1333021199, 1333021142, 1333021255, 1333021210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.64960551261902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:47:32.202406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/46/image_30012025_15_46_56_10337.jpg', '/home/pi/Desktop/images/30012025/15/46/image_30012025_15_47_06_10325.jpg', '/home/pi/Desktop/images/30012025/15/47/image_30012025_15_47_16_9343.jpg', '/home/pi/Desktop/images/30012025/15/47/image_30012025_15_47_26_10453.jpg', '/home/pi/Desktop/images/30012025/15/47/image_30012025_15_47_37_10359.jpg', '/home/pi/Desktop/images/30012025/15/47/image_30012025_15_47_46_9435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/46/image_30012025_15_46_56_10337.jpg
/home/pi/Desktop/images/30012025/15/46/image_30012025_15_47_06_10325.jpg
/home/pi/Desktop/images/30012025/15/47/image_30012025_15_47_16_9343.jpg
/home/pi/Desktop/images/30012025/15/47/image_30012025_15_47_26_10453.jpg
/home/pi/Desktop/images/30012025/15/47/image_30012025_15_47_37_10359.jpg
/home/pi/Desktop/images/30012025/15/47/image_30012025_15_47_46_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":["1333021350","1333021343","1333021339","1333021330","1333021354","1333021365"],"photo_ids_order":["1333021330","1333021339","1333021343","1333021350","1333021354","1333021365"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bfb8ee3834be9a801abb7c14fed998f9.jpg","text":"TemporaryFile(/tmp/multipartBody4797374222447622845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248513098,"filename":"image_30012025_15_47_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/30/380812e0fc3cd7dc138ed42f1e342171.jpg","text":"TemporaryFile(/tmp/multipartBody8367280382214092443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248513098,"filename":"image_30012025_15_47_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/30/22445bba21a761a402d2d3ccdfe9642b.jpg","text":"TemporaryFile(/tmp/multipartBody8744780100666412466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248513098,"filename":"image_30012025_15_47_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/30/8e5850c6d9ac731f3a532ded22a96d92.jpg","text":"TemporaryFile(/tmp/multipartBody5790145022214212665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248513098,"filename":"image_30012025_15_46_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/30/ddb0fbdcf041c2e76de76b4f26f86ea0.jpg","text":"TemporaryFile(/tmp/multipartBody1791662145262341933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248513098,"filename":"image_30012025_15_47_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/30/d2d49074c8610f320a79032fa7a803c8.jpg","text":"TemporaryFile(/tmp/multipartBody8359090342790655214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248513098,"filename":"image_30012025_15_47_46_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333021343","file1":"1333021339","file0":"1333021330","file4":"1333021354","file5":"1333021365","file3":"1333021350"},"map_files_photo_id_array":[{"photo_id":"1333021365","filename":"file5"},{"photo_id":"1333021343","filename":"file2"},{"photo_id":"1333021354","filename":"file4"},{"photo_id":"1333021339","filename":"file1"},{"photo_id":"1333021330","filename":"file0"},{"photo_id":"1333021350","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333021350":["hashtag1","hashtag2"]},{"1333021343":["hashtag1","hashtag2"]},{"1333021339":["hashtag1","hashtag2"]},{"1333021330":["hashtag1","hashtag2"]},{"1333021354":["hashtag1","hashtag2"]},{"1333021365":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333021350, 1333021343, 1333021339, 1333021330, 1333021354, 1333021365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.5129930973053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:48:32.530815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/47/image_30012025_15_47_56_10342.jpg', '/home/pi/Desktop/images/30012025/15/47/image_30012025_15_48_07_10341.jpg', '/home/pi/Desktop/images/30012025/15/48/image_30012025_15_48_16_9334.jpg', '/home/pi/Desktop/images/30012025/15/48/image_30012025_15_48_26_10416.jpg', '/home/pi/Desktop/images/30012025/15/48/image_30012025_15_48_36_9337.jpg', '/home/pi/Desktop/images/30012025/15/48/image_30012025_15_48_46_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/47/image_30012025_15_47_56_10342.jpg
/home/pi/Desktop/images/30012025/15/47/image_30012025_15_48_07_10341.jpg
/home/pi/Desktop/images/30012025/15/48/image_30012025_15_48_16_9334.jpg
/home/pi/Desktop/images/30012025/15/48/image_30012025_15_48_26_10416.jpg
/home/pi/Desktop/images/30012025/15/48/image_30012025_15_48_36_9337.jpg
/home/pi/Desktop/images/30012025/15/48/image_30012025_15_48_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":["1333021416","1333021427","1333021441","1333021411","1333021405","1333021420"],"photo_ids_order":["1333021405","1333021411","1333021416","1333021420","1333021427","1333021441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d2300d06ffd36b33227575ed28a2a246.jpg","text":"TemporaryFile(/tmp/multipartBody5077087666556788788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248573438,"filename":"image_30012025_15_48_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/30/8020d0e0a23b186b31e328566c630327.jpg","text":"TemporaryFile(/tmp/multipartBody8624782821766857339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248573438,"filename":"image_30012025_15_48_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/30/a12ad7985002382592092f61ba81c060.jpg","text":"TemporaryFile(/tmp/multipartBody8376924408567127528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248573438,"filename":"image_30012025_15_48_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/30/09d932c87c32e16f8993888105ea29c7.jpg","text":"TemporaryFile(/tmp/multipartBody6353875562914771466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248573438,"filename":"image_30012025_15_48_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/30/beaaf80cd64afb250ec5cc77edcd03f8.jpg","text":"TemporaryFile(/tmp/multipartBody6436397777941506075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248573438,"filename":"image_30012025_15_47_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/30/714045551ea97b23675b3d3e8601035c.jpg","text":"TemporaryFile(/tmp/multipartBody7451734896408328130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248573438,"filename":"image_30012025_15_48_26_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333021416","file1":"1333021411","file0":"1333021405","file4":"1333021427","file5":"1333021441","file3":"1333021420"},"map_files_photo_id_array":[{"photo_id":"1333021441","filename":"file5"},{"photo_id":"1333021416","filename":"file2"},{"photo_id":"1333021427","filename":"file4"},{"photo_id":"1333021411","filename":"file1"},{"photo_id":"1333021405","filename":"file0"},{"photo_id":"1333021420","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333021416":["hashtag1","hashtag2"]},{"1333021427":["hashtag1","hashtag2"]},{"1333021441":["hashtag1","hashtag2"]},{"1333021411":["hashtag1","hashtag2"]},{"1333021405":["hashtag1","hashtag2"]},{"1333021420":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333021416, 1333021427, 1333021441, 1333021411, 1333021405, 1333021420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.678465604782104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:49:32.991436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/48/image_30012025_15_48_56_10329.jpg', '/home/pi/Desktop/images/30012025/15/48/image_30012025_15_49_06_9329.jpg', '/home/pi/Desktop/images/30012025/15/49/image_30012025_15_49_16_10378.jpg', '/home/pi/Desktop/images/30012025/15/49/image_30012025_15_49_26_10339.jpg', '/home/pi/Desktop/images/30012025/15/49/image_30012025_15_49_36_9379.jpg', '/home/pi/Desktop/images/30012025/15/49/image_30012025_15_49_46_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/48/image_30012025_15_48_56_10329.jpg
/home/pi/Desktop/images/30012025/15/48/image_30012025_15_49_06_9329.jpg
/home/pi/Desktop/images/30012025/15/49/image_30012025_15_49_16_10378.jpg
/home/pi/Desktop/images/30012025/15/49/image_30012025_15_49_26_10339.jpg
/home/pi/Desktop/images/30012025/15/49/image_30012025_15_49_36_9379.jpg
/home/pi/Desktop/images/30012025/15/49/image_30012025_15_49_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":["1333021527","1333021472","1333021483","1333021477","1333021546","1333021488"],"photo_ids_order":["1333021472","1333021477","1333021483","1333021488","1333021527","1333021546"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e5f4d7766c258c8cdfd2f1481e67c32c.jpg","text":"TemporaryFile(/tmp/multipartBody1871477319108301181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248633918,"filename":"image_30012025_15_49_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/30/15937a828ff3648c9388f3801ae419c2.jpg","text":"TemporaryFile(/tmp/multipartBody2331807421436217719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248633918,"filename":"image_30012025_15_48_56_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2db05ad0ff8399b3e2c478c60b2a70a4.jpg","text":"TemporaryFile(/tmp/multipartBody7836612547726167441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248633918,"filename":"image_30012025_15_49_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/30/3e0d3a7270f9a21c510b2517e2c309d2.jpg","text":"TemporaryFile(/tmp/multipartBody4506373669618019808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248633918,"filename":"image_30012025_15_49_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/30/7a688303bce7cfbba6671b18367f59a2.jpg","text":"TemporaryFile(/tmp/multipartBody2919743054371050723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248633918,"filename":"image_30012025_15_49_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/30/57240e3b01540fc4c19463f57563341a.jpg","text":"TemporaryFile(/tmp/multipartBody2239779663723187600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248633918,"filename":"image_30012025_15_49_26_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333021483","file1":"1333021477","file0":"1333021472","file4":"1333021527","file5":"1333021546","file3":"1333021488"},"map_files_photo_id_array":[{"photo_id":"1333021546","filename":"file5"},{"photo_id":"1333021483","filename":"file2"},{"photo_id":"1333021527","filename":"file4"},{"photo_id":"1333021477","filename":"file1"},{"photo_id":"1333021472","filename":"file0"},{"photo_id":"1333021488","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333021527":["hashtag1","hashtag2"]},{"1333021472":["hashtag1","hashtag2"]},{"1333021483":["hashtag1","hashtag2"]},{"1333021477":["hashtag1","hashtag2"]},{"1333021546":["hashtag1","hashtag2"]},{"1333021488":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333021527, 1333021472, 1333021483, 1333021477, 1333021546, 1333021488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.05156469345093 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:50:33.031819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/49/image_30012025_15_49_57_10355.jpg', '/home/pi/Desktop/images/30012025/15/49/image_30012025_15_50_06_9366.jpg', '/home/pi/Desktop/images/30012025/15/50/image_30012025_15_50_16_10327.jpg', '/home/pi/Desktop/images/30012025/15/50/image_30012025_15_50_27_10350.jpg', '/home/pi/Desktop/images/30012025/15/50/image_30012025_15_50_36_9363.jpg', '/home/pi/Desktop/images/30012025/15/50/image_30012025_15_50_46_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/49/image_30012025_15_49_57_10355.jpg
/home/pi/Desktop/images/30012025/15/49/image_30012025_15_50_06_9366.jpg
/home/pi/Desktop/images/30012025/15/50/image_30012025_15_50_16_10327.jpg
/home/pi/Desktop/images/30012025/15/50/image_30012025_15_50_27_10350.jpg
/home/pi/Desktop/images/30012025/15/50/image_30012025_15_50_36_9363.jpg
/home/pi/Desktop/images/30012025/15/50/image_30012025_15_50_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":["1333021760","1333021562","1333021738","1333021695","1333021692","1333021593"],"photo_ids_order":["1333021562","1333021593","1333021692","1333021695","1333021738","1333021760"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3631ce2c9fc50f4c32401664038b4d0d.jpg","text":"TemporaryFile(/tmp/multipartBody5462495798905624440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248693947,"filename":"image_30012025_15_50_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/30/87171c9228230821fcc6aaafc7ab4286.jpg","text":"TemporaryFile(/tmp/multipartBody2590508485240796217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248693947,"filename":"image_30012025_15_49_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/30/1e95a8f13dc04bd22b3a84d959bb3b4f.jpg","text":"TemporaryFile(/tmp/multipartBody4393685390859843901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248693947,"filename":"image_30012025_15_50_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/30/13c019f652c5b1caa5cce36d0fb1b646.jpg","text":"TemporaryFile(/tmp/multipartBody7976745884027025450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248693947,"filename":"image_30012025_15_50_27_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/da20f95bd7537126eaf6dd58ab07ae5f.jpg","text":"TemporaryFile(/tmp/multipartBody1905828136622093120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248693947,"filename":"image_30012025_15_50_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/30/d16d2948211bfd314cd21b9e6772b211.jpg","text":"TemporaryFile(/tmp/multipartBody6669897686530861683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248693947,"filename":"image_30012025_15_50_06_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333021692","file1":"1333021593","file0":"1333021562","file4":"1333021738","file5":"1333021760","file3":"1333021695"},"map_files_photo_id_array":[{"photo_id":"1333021760","filename":"file5"},{"photo_id":"1333021692","filename":"file2"},{"photo_id":"1333021738","filename":"file4"},{"photo_id":"1333021593","filename":"file1"},{"photo_id":"1333021562","filename":"file0"},{"photo_id":"1333021695","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333021760":["hashtag1","hashtag2"]},{"1333021562":["hashtag1","hashtag2"]},{"1333021738":["hashtag1","hashtag2"]},{"1333021695":["hashtag1","hashtag2"]},{"1333021692":["hashtag1","hashtag2"]},{"1333021593":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333021760, 1333021562, 1333021738, 1333021695, 1333021692, 1333021593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.558722734451294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:51:32.294154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/50/image_30012025_15_50_57_10336.jpg', '/home/pi/Desktop/images/30012025/15/50/image_30012025_15_51_06_9452.jpg', '/home/pi/Desktop/images/30012025/15/51/image_30012025_15_51_17_10452.jpg', '/home/pi/Desktop/images/30012025/15/51/image_30012025_15_51_26_9479.jpg', '/home/pi/Desktop/images/30012025/15/51/image_30012025_15_51_36_10351.jpg', '/home/pi/Desktop/images/30012025/15/51/image_30012025_15_51_46_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/50/image_30012025_15_50_57_10336.jpg
/home/pi/Desktop/images/30012025/15/50/image_30012025_15_51_06_9452.jpg
/home/pi/Desktop/images/30012025/15/51/image_30012025_15_51_17_10452.jpg
/home/pi/Desktop/images/30012025/15/51/image_30012025_15_51_26_9479.jpg
/home/pi/Desktop/images/30012025/15/51/image_30012025_15_51_36_10351.jpg
/home/pi/Desktop/images/30012025/15/51/image_30012025_15_51_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":["1333021827","1333021844","1333021838","1333021873","1333021849","1333021869"],"photo_ids_order":["1333021827","1333021838","1333021844","1333021849","1333021869","1333021873"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0383b4315643710b5a80c6dbfc04af29.jpg","text":"TemporaryFile(/tmp/multipartBody8530709808761933254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248753186,"filename":"image_30012025_15_50_57_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5abe10ef7575bd31291989840cfd0377.jpg","text":"TemporaryFile(/tmp/multipartBody6519201764944351787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248753186,"filename":"image_30012025_15_51_17_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/30/e03e4d2fcb2ee0f674731f1eedaaeaac.jpg","text":"TemporaryFile(/tmp/multipartBody7347691802242281161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248753186,"filename":"image_30012025_15_51_06_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/30/b13d455a6cfe02c9ab7ca06162d29e3a.jpg","text":"TemporaryFile(/tmp/multipartBody2568096316589952590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248753186,"filename":"image_30012025_15_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/30/8d52c30fbc4edde07e2eea27d79d7583.jpg","text":"TemporaryFile(/tmp/multipartBody8116926647456230415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248753186,"filename":"image_30012025_15_51_26_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/30/d5b8017a5d190007e2d4afad48860ad8.jpg","text":"TemporaryFile(/tmp/multipartBody2988031433376781000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248753186,"filename":"image_30012025_15_51_36_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333021844","file1":"1333021838","file0":"1333021827","file4":"1333021869","file5":"1333021873","file3":"1333021849"},"map_files_photo_id_array":[{"photo_id":"1333021873","filename":"file5"},{"photo_id":"1333021844","filename":"file2"},{"photo_id":"1333021869","filename":"file4"},{"photo_id":"1333021838","filename":"file1"},{"photo_id":"1333021827","filename":"file0"},{"photo_id":"1333021849","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333021827":["hashtag1","hashtag2"]},{"1333021844":["hashtag1","hashtag2"]},{"1333021838":["hashtag1","hashtag2"]},{"1333021873":["hashtag1","hashtag2"]},{"1333021849":["hashtag1","hashtag2"]},{"1333021869":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333021827, 1333021844, 1333021838, 1333021873, 1333021849, 1333021869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.16440725326538 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:52:32.493773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/51/image_30012025_15_51_56_10420.jpg', '/home/pi/Desktop/images/30012025/15/51/image_30012025_15_52_06_10348.jpg', '/home/pi/Desktop/images/30012025/15/52/image_30012025_15_52_16_9368.jpg', '/home/pi/Desktop/images/30012025/15/52/image_30012025_15_52_26_10343.jpg', '/home/pi/Desktop/images/30012025/15/52/image_30012025_15_52_37_10355.jpg', '/home/pi/Desktop/images/30012025/15/52/image_30012025_15_52_46_9376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/51/image_30012025_15_51_56_10420.jpg
/home/pi/Desktop/images/30012025/15/51/image_30012025_15_52_06_10348.jpg
/home/pi/Desktop/images/30012025/15/52/image_30012025_15_52_16_9368.jpg
/home/pi/Desktop/images/30012025/15/52/image_30012025_15_52_26_10343.jpg
/home/pi/Desktop/images/30012025/15/52/image_30012025_15_52_37_10355.jpg
/home/pi/Desktop/images/30012025/15/52/image_30012025_15_52_46_9376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333021905","1333021901","1333021897","1333021912","1333021909","1333021890"],"photo_ids_order":["1333021890","1333021897","1333021901","1333021905","1333021909","1333021912"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e4c32490c686cdaed43a7e0b4eb8bfcc.jpg","text":"TemporaryFile(/tmp/multipartBody6334950475667356347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248813412,"filename":"image_30012025_15_52_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/30/f05342071e1ae79ae79c69989dc2ee6b.jpg","text":"TemporaryFile(/tmp/multipartBody5440782795130323077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248813412,"filename":"image_30012025_15_52_16_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/30/189b6937c6706ded24c36a6d0dbfd6ce.jpg","text":"TemporaryFile(/tmp/multipartBody4289445974389957077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248813412,"filename":"image_30012025_15_52_06_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/73dba6db8946bc1ceb29842220c48b87.jpg","text":"TemporaryFile(/tmp/multipartBody7050829227256690397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248813412,"filename":"image_30012025_15_52_46_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/30/61974ee639a11ff1fe7d35a901b9c7b2.jpg","text":"TemporaryFile(/tmp/multipartBody7920608322863243086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248813412,"filename":"image_30012025_15_52_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/30/a7e871cdcb0da63bb66b5bb3a8115458.jpg","text":"TemporaryFile(/tmp/multipartBody8169251842576034696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248813412,"filename":"image_30012025_15_51_56_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333021901","file1":"1333021897","file0":"1333021890","file4":"1333021909","file5":"1333021912","file3":"1333021905"},"map_files_photo_id_array":[{"photo_id":"1333021912","filename":"file5"},{"photo_id":"1333021901","filename":"file2"},{"photo_id":"1333021909","filename":"file4"},{"photo_id":"1333021897","filename":"file1"},{"photo_id":"1333021890","filename":"file0"},{"photo_id":"1333021905","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333021905":["hashtag1","hashtag2"]},{"1333021901":["hashtag1","hashtag2"]},{"1333021897":["hashtag1","hashtag2"]},{"1333021912":["hashtag1","hashtag2"]},{"1333021909":["hashtag1","hashtag2"]},{"1333021890":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333021905, 1333021901, 1333021897, 1333021912, 1333021909, 1333021890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.479676485061646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:53:32.729741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/52/image_30012025_15_52_56_10330.jpg', '/home/pi/Desktop/images/30012025/15/52/image_30012025_15_53_07_10346.jpg', '/home/pi/Desktop/images/30012025/15/53/image_30012025_15_53_16_9434.jpg', '/home/pi/Desktop/images/30012025/15/53/image_30012025_15_53_26_10356.jpg', '/home/pi/Desktop/images/30012025/15/53/image_30012025_15_53_46_10379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/52/image_30012025_15_52_56_10330.jpg
/home/pi/Desktop/images/30012025/15/52/image_30012025_15_53_07_10346.jpg
/home/pi/Desktop/images/30012025/15/53/image_30012025_15_53_16_9434.jpg
/home/pi/Desktop/images/30012025/15/53/image_30012025_15_53_26_10356.jpg
/home/pi/Desktop/images/30012025/15/53/image_30012025_15_53_46_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333021930","1333021954","1333021948","1333021941","1333021935"],"photo_ids_order":["1333021930","1333021935","1333021941","1333021948","1333021954"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0744db7be2ef2196012012ac8d0ae112.jpg","text":"TemporaryFile(/tmp/multipartBody3913101777423241549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248873614,"filename":"image_30012025_15_52_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/30/3b716f95c007887ed9600b660b4c1387.jpg","text":"TemporaryFile(/tmp/multipartBody4866496180970258320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248873614,"filename":"image_30012025_15_53_46_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/206e85eb9d0bbf36367b2cc7f49a0904.jpg","text":"TemporaryFile(/tmp/multipartBody2224682478332143095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248873614,"filename":"image_30012025_15_53_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/30/2be47cfefdda2bfa21704b05126a3100.jpg","text":"TemporaryFile(/tmp/multipartBody13340488976326131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248873614,"filename":"image_30012025_15_53_16_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/30/c0552787d8e83afda78b6ddbddf41dbd.jpg","text":"TemporaryFile(/tmp/multipartBody8619953013729015873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248873614,"filename":"image_30012025_15_53_07_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333021941","file1":"1333021935","file0":"1333021930","file4":"1333021954","file3":"1333021948"},"map_files_photo_id_array":[{"photo_id":"1333021941","filename":"file2"},{"photo_id":"1333021954","filename":"file4"},{"photo_id":"1333021935","filename":"file1"},{"photo_id":"1333021930","filename":"file0"},{"photo_id":"1333021948","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333021930":["hashtag1","hashtag2"]},{"1333021954":["hashtag1","hashtag2"]},{"1333021948":["hashtag1","hashtag2"]},{"1333021941":["hashtag1","hashtag2"]},{"1333021935":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333021930, 1333021954, 1333021948, 1333021941, 1333021935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.16091871261597 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:54:33.049191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/53/image_30012025_15_53_56_10350.jpg', '/home/pi/Desktop/images/30012025/15/53/image_30012025_15_54_06_9430.jpg', '/home/pi/Desktop/images/30012025/15/54/image_30012025_15_54_16_10452.jpg', '/home/pi/Desktop/images/30012025/15/54/image_30012025_15_54_26_9362.jpg', '/home/pi/Desktop/images/30012025/15/54/image_30012025_15_54_36_10379.jpg', '/home/pi/Desktop/images/30012025/15/54/image_30012025_15_54_46_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/53/image_30012025_15_53_56_10350.jpg
/home/pi/Desktop/images/30012025/15/53/image_30012025_15_54_06_9430.jpg
/home/pi/Desktop/images/30012025/15/54/image_30012025_15_54_16_10452.jpg
/home/pi/Desktop/images/30012025/15/54/image_30012025_15_54_26_9362.jpg
/home/pi/Desktop/images/30012025/15/54/image_30012025_15_54_36_10379.jpg
/home/pi/Desktop/images/30012025/15/54/image_30012025_15_54_46_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.520742654800415 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 15:54:42.931741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/53/image_30012025_15_53_56_10350.jpg', '/home/pi/Desktop/images/30012025/15/53/image_30012025_15_54_06_9430.jpg', '/home/pi/Desktop/images/30012025/15/54/image_30012025_15_54_16_10452.jpg', '/home/pi/Desktop/images/30012025/15/54/image_30012025_15_54_26_9362.jpg', '/home/pi/Desktop/images/30012025/15/54/image_30012025_15_54_36_10379.jpg', '/home/pi/Desktop/images/30012025/15/54/image_30012025_15_54_46_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/53/image_30012025_15_53_56_10350.jpg
/home/pi/Desktop/images/30012025/15/53/image_30012025_15_54_06_9430.jpg
/home/pi/Desktop/images/30012025/15/54/image_30012025_15_54_16_10452.jpg
/home/pi/Desktop/images/30012025/15/54/image_30012025_15_54_26_9362.jpg
/home/pi/Desktop/images/30012025/15/54/image_30012025_15_54_36_10379.jpg
/home/pi/Desktop/images/30012025/15/54/image_30012025_15_54_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":["1333022208","1333022264","1333022212","1333022215","1333022199","1333022217"],"photo_ids_order":["1333022199","1333022208","1333022212","1333022215","1333022217","1333022264"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e25b82964a8263ccb210bd6adb511c38.jpg","text":"TemporaryFile(/tmp/multipartBody3265297331076779023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248943829,"filename":"image_30012025_15_54_06_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/30/6e1e881ac5af3d4a0e449b45b373a643.jpg","text":"TemporaryFile(/tmp/multipartBody8846084589084885647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248943829,"filename":"image_30012025_15_54_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/30/8d0606bb9d8047a94cc57bdcd03a2ae7.jpg","text":"TemporaryFile(/tmp/multipartBody2977869849757885806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248943829,"filename":"image_30012025_15_54_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/30/09773a74266b4f6ffdb476c62ab13cec.jpg","text":"TemporaryFile(/tmp/multipartBody5472452718132699870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248943829,"filename":"image_30012025_15_54_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/30/d6f65fc28d600e6bdfde48c31935ed70.jpg","text":"TemporaryFile(/tmp/multipartBody2537975158736517832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248943829,"filename":"image_30012025_15_53_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/30/80f87ce30bcae1d686aee1a98ce56206.jpg","text":"TemporaryFile(/tmp/multipartBody9047513175476479189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248943829,"filename":"image_30012025_15_54_36_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333022212","file1":"1333022208","file0":"1333022199","file4":"1333022217","file5":"1333022264","file3":"1333022215"},"map_files_photo_id_array":[{"photo_id":"1333022264","filename":"file5"},{"photo_id":"1333022212","filename":"file2"},{"photo_id":"1333022217","filename":"file4"},{"photo_id":"1333022208","filename":"file1"},{"photo_id":"1333022199","filename":"file0"},{"photo_id":"1333022215","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333022208":["hashtag1","hashtag2"]},{"1333022264":["hashtag1","hashtag2"]},{"1333022212":["hashtag1","hashtag2"]},{"1333022215":["hashtag1","hashtag2"]},{"1333022199":["hashtag1","hashtag2"]},{"1333022217":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333022208, 1333022264, 1333022212, 1333022215, 1333022199, 1333022217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72058987617493 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:55:32.232769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/54/image_30012025_15_54_56_9390.jpg', '/home/pi/Desktop/images/30012025/15/54/image_30012025_15_55_06_10361.jpg', '/home/pi/Desktop/images/30012025/15/55/image_30012025_15_55_17_10337.jpg', '/home/pi/Desktop/images/30012025/15/55/image_30012025_15_55_26_9493.jpg', '/home/pi/Desktop/images/30012025/15/55/image_30012025_15_55_36_10367.jpg', '/home/pi/Desktop/images/30012025/15/55/image_30012025_15_55_46_9359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/54/image_30012025_15_54_56_9390.jpg
/home/pi/Desktop/images/30012025/15/54/image_30012025_15_55_06_10361.jpg
/home/pi/Desktop/images/30012025/15/55/image_30012025_15_55_17_10337.jpg
/home/pi/Desktop/images/30012025/15/55/image_30012025_15_55_26_9493.jpg
/home/pi/Desktop/images/30012025/15/55/image_30012025_15_55_36_10367.jpg
/home/pi/Desktop/images/30012025/15/55/image_30012025_15_55_46_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":["1333022378","1333022366","1333022296","1333022344","1333022302","1333022305"],"photo_ids_order":["1333022296","1333022302","1333022305","1333022344","1333022366","1333022378"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0c8faf90142ff84fd382ad338f53431f.jpg","text":"TemporaryFile(/tmp/multipartBody37152956514913492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248993126,"filename":"image_30012025_15_55_46_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/30/f839c2064c3ab6eee3d29c6228a772d2.jpg","text":"TemporaryFile(/tmp/multipartBody3311615795409949694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248993126,"filename":"image_30012025_15_55_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/30/bc5b96bdb01731553f1e3392014aa629.jpg","text":"TemporaryFile(/tmp/multipartBody2005565323978522678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248993126,"filename":"image_30012025_15_54_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/30/70f9ed32efe0328221523111e844fb51.jpg","text":"TemporaryFile(/tmp/multipartBody4537683740620693850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248993126,"filename":"image_30012025_15_55_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/30/0a762f409a7ea17a13c30c0a50265b19.jpg","text":"TemporaryFile(/tmp/multipartBody414356508091665534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248993126,"filename":"image_30012025_15_55_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/30/acfdaed8d5d6d5aa2ced5c938846f0b1.jpg","text":"TemporaryFile(/tmp/multipartBody4825222937262982107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738248993126,"filename":"image_30012025_15_55_17_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333022305","file1":"1333022302","file0":"1333022296","file4":"1333022366","file5":"1333022378","file3":"1333022344"},"map_files_photo_id_array":[{"photo_id":"1333022378","filename":"file5"},{"photo_id":"1333022305","filename":"file2"},{"photo_id":"1333022366","filename":"file4"},{"photo_id":"1333022302","filename":"file1"},{"photo_id":"1333022296","filename":"file0"},{"photo_id":"1333022344","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333022378":["hashtag1","hashtag2"]},{"1333022366":["hashtag1","hashtag2"]},{"1333022296":["hashtag1","hashtag2"]},{"1333022344":["hashtag1","hashtag2"]},{"1333022302":["hashtag1","hashtag2"]},{"1333022305":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333022378, 1333022366, 1333022296, 1333022344, 1333022302, 1333022305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.15791177749634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:56:32.484085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/55/image_30012025_15_55_56_10361.jpg', '/home/pi/Desktop/images/30012025/15/55/image_30012025_15_56_06_10350.jpg', '/home/pi/Desktop/images/30012025/15/56/image_30012025_15_56_16_9426.jpg', '/home/pi/Desktop/images/30012025/15/56/image_30012025_15_56_26_10391.jpg', '/home/pi/Desktop/images/30012025/15/56/image_30012025_15_56_37_10331.jpg', '/home/pi/Desktop/images/30012025/15/56/image_30012025_15_56_46_9384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/55/image_30012025_15_55_56_10361.jpg
/home/pi/Desktop/images/30012025/15/55/image_30012025_15_56_06_10350.jpg
/home/pi/Desktop/images/30012025/15/56/image_30012025_15_56_16_9426.jpg
/home/pi/Desktop/images/30012025/15/56/image_30012025_15_56_26_10391.jpg
/home/pi/Desktop/images/30012025/15/56/image_30012025_15_56_37_10331.jpg
/home/pi/Desktop/images/30012025/15/56/image_30012025_15_56_46_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":["1333022552","1333022558","1333022609","1333022605","1333022544","1333022613"],"photo_ids_order":["1333022544","1333022552","1333022558","1333022605","1333022609","1333022613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b006859a31a0eb2f56d85b40b6819928.jpg","text":"TemporaryFile(/tmp/multipartBody4870112161956225670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249053379,"filename":"image_30012025_15_56_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/30/42479f972f66c2565e057723c317b6cc.jpg","text":"TemporaryFile(/tmp/multipartBody1217840712257962696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249053379,"filename":"image_30012025_15_56_16_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/30/887f09f70bc95c9c10a7449bcdb0d5a9.jpg","text":"TemporaryFile(/tmp/multipartBody7014325307174576277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249053379,"filename":"image_30012025_15_56_37_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/57410cd4ba82a1fef19c7235b8ccb72d.jpg","text":"TemporaryFile(/tmp/multipartBody8898279417315202524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249053379,"filename":"image_30012025_15_56_26_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/30/cd04372784fb556a1d83176ddd389ca0.jpg","text":"TemporaryFile(/tmp/multipartBody8742853295040738153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249053379,"filename":"image_30012025_15_55_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/30/8ae0553f2345957bff79e2259145067a.jpg","text":"TemporaryFile(/tmp/multipartBody5806959301295585543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249053379,"filename":"image_30012025_15_56_46_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333022558","file1":"1333022552","file0":"1333022544","file4":"1333022609","file5":"1333022613","file3":"1333022605"},"map_files_photo_id_array":[{"photo_id":"1333022613","filename":"file5"},{"photo_id":"1333022558","filename":"file2"},{"photo_id":"1333022609","filename":"file4"},{"photo_id":"1333022552","filename":"file1"},{"photo_id":"1333022544","filename":"file0"},{"photo_id":"1333022605","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333022552":["hashtag1","hashtag2"]},{"1333022558":["hashtag1","hashtag2"]},{"1333022609":["hashtag1","hashtag2"]},{"1333022605":["hashtag1","hashtag2"]},{"1333022544":["hashtag1","hashtag2"]},{"1333022613":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333022552, 1333022558, 1333022609, 1333022605, 1333022544, 1333022613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.85769701004028 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:57:32.843007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/56/image_30012025_15_56_56_10350.jpg', '/home/pi/Desktop/images/30012025/15/56/image_30012025_15_57_06_9354.jpg', '/home/pi/Desktop/images/30012025/15/57/image_30012025_15_57_16_10401.jpg', '/home/pi/Desktop/images/30012025/15/57/image_30012025_15_57_26_10351.jpg', '/home/pi/Desktop/images/30012025/15/57/image_30012025_15_57_36_9396.jpg', '/home/pi/Desktop/images/30012025/15/57/image_30012025_15_57_46_10393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/56/image_30012025_15_56_56_10350.jpg
/home/pi/Desktop/images/30012025/15/56/image_30012025_15_57_06_9354.jpg
/home/pi/Desktop/images/30012025/15/57/image_30012025_15_57_16_10401.jpg
/home/pi/Desktop/images/30012025/15/57/image_30012025_15_57_26_10351.jpg
/home/pi/Desktop/images/30012025/15/57/image_30012025_15_57_36_9396.jpg
/home/pi/Desktop/images/30012025/15/57/image_30012025_15_57_46_10393.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-30 15:59:03.864923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/56/image_30012025_15_56_56_10350.jpg', '/home/pi/Desktop/images/30012025/15/56/image_30012025_15_57_06_9354.jpg', '/home/pi/Desktop/images/30012025/15/57/image_30012025_15_57_16_10401.jpg', '/home/pi/Desktop/images/30012025/15/57/image_30012025_15_57_26_10351.jpg', '/home/pi/Desktop/images/30012025/15/57/image_30012025_15_57_36_9396.jpg', '/home/pi/Desktop/images/30012025/15/57/image_30012025_15_57_46_10393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/56/image_30012025_15_56_56_10350.jpg
/home/pi/Desktop/images/30012025/15/56/image_30012025_15_57_06_9354.jpg
/home/pi/Desktop/images/30012025/15/57/image_30012025_15_57_16_10401.jpg
/home/pi/Desktop/images/30012025/15/57/image_30012025_15_57_26_10351.jpg
/home/pi/Desktop/images/30012025/15/57/image_30012025_15_57_36_9396.jpg
/home/pi/Desktop/images/30012025/15/57/image_30012025_15_57_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":["1333022912","1333022936","1333022929","1333022902","1333022943","1333022925"],"photo_ids_order":["1333022902","1333022912","1333022925","1333022929","1333022936","1333022943"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5f6186d535842bf9eb5a62fa85c1b607.jpg","text":"TemporaryFile(/tmp/multipartBody5526585392787993794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249204818,"filename":"image_30012025_15_57_06_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/30/2f0ed369c4444edcc1a56ba04fe900c2.jpg","text":"TemporaryFile(/tmp/multipartBody1229283646900023196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249204818,"filename":"image_30012025_15_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/30/ccb5187ed6f4d2cd9a908134f0de9ac2.jpg","text":"TemporaryFile(/tmp/multipartBody1210586332995694009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249204818,"filename":"image_30012025_15_57_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/30/d39a5a50d2e779328dc5a57e5597d308.jpg","text":"TemporaryFile(/tmp/multipartBody5873893138061685856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249204818,"filename":"image_30012025_15_56_56_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/99247ec29d32ae10589825b9091f020c.jpg","text":"TemporaryFile(/tmp/multipartBody1563504943150384352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249204818,"filename":"image_30012025_15_57_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/30/892c3be432bc3982109c1c672753979d.jpg","text":"TemporaryFile(/tmp/multipartBody6196777868059810503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249204818,"filename":"image_30012025_15_57_16_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333022925","file1":"1333022912","file0":"1333022902","file4":"1333022936","file5":"1333022943","file3":"1333022929"},"map_files_photo_id_array":[{"photo_id":"1333022943","filename":"file5"},{"photo_id":"1333022925","filename":"file2"},{"photo_id":"1333022936","filename":"file4"},{"photo_id":"1333022912","filename":"file1"},{"photo_id":"1333022902","filename":"file0"},{"photo_id":"1333022929","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333022912":["hashtag1","hashtag2"]},{"1333022936":["hashtag1","hashtag2"]},{"1333022929":["hashtag1","hashtag2"]},{"1333022902":["hashtag1","hashtag2"]},{"1333022943":["hashtag1","hashtag2"]},{"1333022925":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333022912, 1333022936, 1333022929, 1333022902, 1333022943, 1333022925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.35077786445618 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 15:59:52.460715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/57/image_30012025_15_57_57_10440.jpg', '/home/pi/Desktop/images/30012025/15/57/image_30012025_15_58_06_9428.jpg', '/home/pi/Desktop/images/30012025/15/58/image_30012025_15_58_16_10344.jpg', '/home/pi/Desktop/images/30012025/15/58/image_30012025_15_58_26_9464.jpg', '/home/pi/Desktop/images/30012025/15/58/image_30012025_15_58_36_10357.jpg', '/home/pi/Desktop/images/30012025/15/58/image_30012025_15_58_47_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/57/image_30012025_15_57_57_10440.jpg
/home/pi/Desktop/images/30012025/15/57/image_30012025_15_58_06_9428.jpg
/home/pi/Desktop/images/30012025/15/58/image_30012025_15_58_16_10344.jpg
/home/pi/Desktop/images/30012025/15/58/image_30012025_15_58_26_9464.jpg
/home/pi/Desktop/images/30012025/15/58/image_30012025_15_58_36_10357.jpg
/home/pi/Desktop/images/30012025/15/58/image_30012025_15_58_47_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":["1333023032","1333022984","1333023037","1333022994","1333022988","1333023006"],"photo_ids_order":["1333022984","1333022988","1333022994","1333023006","1333023032","1333023037"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3edf5aa110fd8dff2ee86134e04697a1.jpg","text":"TemporaryFile(/tmp/multipartBody3896285386917185237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249253373,"filename":"image_30012025_15_58_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/30/ef7ed3218e661b5002fd7e03a5785de4.jpg","text":"TemporaryFile(/tmp/multipartBody4274572943146705669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249253373,"filename":"image_30012025_15_57_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/30/75ed359ffcb41ff0286055c0178e65c4.jpg","text":"TemporaryFile(/tmp/multipartBody6100994354523185980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249253373,"filename":"image_30012025_15_58_47_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c66b6cf47de771d1f173190ab01287ad.jpg","text":"TemporaryFile(/tmp/multipartBody6373490655286105956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249253373,"filename":"image_30012025_15_58_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/30/4122f3d9fa8122f53ea863599566567f.jpg","text":"TemporaryFile(/tmp/multipartBody6342017941966378342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249253373,"filename":"image_30012025_15_58_06_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/30/29c35cc64ff20897cbcb85bcd09188bc.jpg","text":"TemporaryFile(/tmp/multipartBody5839421567045705603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249253373,"filename":"image_30012025_15_58_26_9464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333022994","file1":"1333022988","file0":"1333022984","file4":"1333023032","file5":"1333023037","file3":"1333023006"},"map_files_photo_id_array":[{"photo_id":"1333023037","filename":"file5"},{"photo_id":"1333022994","filename":"file2"},{"photo_id":"1333023032","filename":"file4"},{"photo_id":"1333022988","filename":"file1"},{"photo_id":"1333022984","filename":"file0"},{"photo_id":"1333023006","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333023032":["hashtag1","hashtag2"]},{"1333022984":["hashtag1","hashtag2"]},{"1333023037":["hashtag1","hashtag2"]},{"1333022994":["hashtag1","hashtag2"]},{"1333022988":["hashtag1","hashtag2"]},{"1333023006":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333023032, 1333022984, 1333023037, 1333022994, 1333022988, 1333023006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.86366271972656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 16:00:42.704325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/58/image_30012025_15_58_56_9344.jpg', '/home/pi/Desktop/images/30012025/15/58/image_30012025_15_59_06_10348.jpg', '/home/pi/Desktop/images/30012025/15/59/image_30012025_15_59_16_9383.jpg', '/home/pi/Desktop/images/30012025/15/59/image_30012025_15_59_26_10350.jpg', '/home/pi/Desktop/images/30012025/15/59/image_30012025_15_59_37_10408.jpg', '/home/pi/Desktop/images/30012025/15/59/image_30012025_15_59_46_9422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/58/image_30012025_15_58_56_9344.jpg
/home/pi/Desktop/images/30012025/15/58/image_30012025_15_59_06_10348.jpg
/home/pi/Desktop/images/30012025/15/59/image_30012025_15_59_16_9383.jpg
/home/pi/Desktop/images/30012025/15/59/image_30012025_15_59_26_10350.jpg
/home/pi/Desktop/images/30012025/15/59/image_30012025_15_59_37_10408.jpg
/home/pi/Desktop/images/30012025/15/59/image_30012025_15_59_46_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":["1333023130","1333023084","1333023087","1333023114","1333023095","1333023089"],"photo_ids_order":["1333023084","1333023087","1333023089","1333023095","1333023114","1333023130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7134d9ea2d4b8861c265059782fc06a2.jpg","text":"TemporaryFile(/tmp/multipartBody7622865501031918870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249303596,"filename":"image_30012025_15_59_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/30/62503d892523f575b83c3cc9a8551499.jpg","text":"TemporaryFile(/tmp/multipartBody8285816618085634297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249303596,"filename":"image_30012025_15_58_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/30/f074fd2dbefc1d95bae5ecd86b1be00a.jpg","text":"TemporaryFile(/tmp/multipartBody7791105424570916633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249303596,"filename":"image_30012025_15_59_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/30/1edc7fa3bc411c143b48703d1185b384.jpg","text":"TemporaryFile(/tmp/multipartBody6027940801270141706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249303596,"filename":"image_30012025_15_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/30/97cb7eb4d12b2bb0cbf8ee292b5e7f5e.jpg","text":"TemporaryFile(/tmp/multipartBody6560253594145698355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249303596,"filename":"image_30012025_15_59_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/30/19df929023ec75036949013c4fb4638d.jpg","text":"TemporaryFile(/tmp/multipartBody5291104759218118873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249303596,"filename":"image_30012025_15_59_16_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333023089","file1":"1333023087","file0":"1333023084","file4":"1333023114","file5":"1333023130","file3":"1333023095"},"map_files_photo_id_array":[{"photo_id":"1333023130","filename":"file5"},{"photo_id":"1333023089","filename":"file2"},{"photo_id":"1333023114","filename":"file4"},{"photo_id":"1333023087","filename":"file1"},{"photo_id":"1333023084","filename":"file0"},{"photo_id":"1333023095","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333023130":["hashtag1","hashtag2"]},{"1333023084":["hashtag1","hashtag2"]},{"1333023087":["hashtag1","hashtag2"]},{"1333023114":["hashtag1","hashtag2"]},{"1333023095":["hashtag1","hashtag2"]},{"1333023089":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333023130, 1333023084, 1333023087, 1333023114, 1333023095, 1333023089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.00924491882324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:01:32.792681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/15/59/image_30012025_15_59_56_10397.jpg', '/home/pi/Desktop/images/30012025/16/01/image_30012025_16_01_14_10086.jpg', '/home/pi/Desktop/images/30012025/16/01/image_30012025_16_01_25_10345.jpg', '/home/pi/Desktop/images/30012025/16/01/image_30012025_16_01_35_10354.jpg', '/home/pi/Desktop/images/30012025/16/01/image_30012025_16_01_44_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/15/59/image_30012025_15_59_56_10397.jpg
/home/pi/Desktop/images/30012025/16/01/image_30012025_16_01_14_10086.jpg
/home/pi/Desktop/images/30012025/16/01/image_30012025_16_01_25_10345.jpg
/home/pi/Desktop/images/30012025/16/01/image_30012025_16_01_35_10354.jpg
/home/pi/Desktop/images/30012025/16/01/image_30012025_16_01_44_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333023200","1333023190","1333023180","1333023186","1333023182"],"photo_ids_order":["1333023180","1333023182","1333023186","1333023190","1333023200"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f2784b9365869041884cc3fa64471875.jpg","text":"TemporaryFile(/tmp/multipartBody4691890066831370176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249353792,"filename":"image_30012025_16_01_44_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c1f5820a32da69d8e537b1faed5c36de.jpg","text":"TemporaryFile(/tmp/multipartBody4291185646222245635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249353792,"filename":"image_30012025_16_01_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/30/8f131039e7bf77ea36a2b521022606d8.jpg","text":"TemporaryFile(/tmp/multipartBody299031307847236753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249353792,"filename":"image_30012025_15_59_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/30/da47c12ba01b192b0fa94b741b5ea7e9.jpg","text":"TemporaryFile(/tmp/multipartBody7023971515628164190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249353792,"filename":"image_30012025_16_01_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/30/69018076ea86d0d4dc25263a851c4494.jpg","text":"TemporaryFile(/tmp/multipartBody4418738606171897667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249353792,"filename":"image_30012025_16_01_14_10086.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333023186","file1":"1333023182","file0":"1333023180","file4":"1333023200","file3":"1333023190"},"map_files_photo_id_array":[{"photo_id":"1333023186","filename":"file2"},{"photo_id":"1333023200","filename":"file4"},{"photo_id":"1333023182","filename":"file1"},{"photo_id":"1333023180","filename":"file0"},{"photo_id":"1333023190","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333023200":["hashtag1","hashtag2"]},{"1333023190":["hashtag1","hashtag2"]},{"1333023180":["hashtag1","hashtag2"]},{"1333023186":["hashtag1","hashtag2"]},{"1333023182":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333023200, 1333023190, 1333023180, 1333023186, 1333023182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.99333930015564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:02:33.038859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/01/image_30012025_16_01_55_10436.jpg', '/home/pi/Desktop/images/30012025/16/01/image_30012025_16_02_05_10365.jpg', '/home/pi/Desktop/images/30012025/16/02/image_30012025_16_02_15_9327.jpg', '/home/pi/Desktop/images/30012025/16/02/image_30012025_16_02_25_10348.jpg', '/home/pi/Desktop/images/30012025/16/02/image_30012025_16_02_34_9412.jpg', '/home/pi/Desktop/images/30012025/16/02/image_30012025_16_02_45_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/01/image_30012025_16_01_55_10436.jpg
/home/pi/Desktop/images/30012025/16/01/image_30012025_16_02_05_10365.jpg
/home/pi/Desktop/images/30012025/16/02/image_30012025_16_02_15_9327.jpg
/home/pi/Desktop/images/30012025/16/02/image_30012025_16_02_25_10348.jpg
/home/pi/Desktop/images/30012025/16/02/image_30012025_16_02_34_9412.jpg
/home/pi/Desktop/images/30012025/16/02/image_30012025_16_02_45_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333023653","1333023701","1333023703","1333023340","1333023421","1333023540"],"photo_ids_order":["1333023340","1333023421","1333023540","1333023653","1333023701","1333023703"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e0a10b567b18020863ad8b9c6775acb1.jpg","text":"TemporaryFile(/tmp/multipartBody6423151908732451084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249413937,"filename":"image_30012025_16_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/30/c089aca6b2a51142fb21084b3c15ea6a.jpg","text":"TemporaryFile(/tmp/multipartBody119128200974644421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249413937,"filename":"image_30012025_16_02_34_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1c83cc6c100b188b665b2fdbb54a9679.jpg","text":"TemporaryFile(/tmp/multipartBody4553554743073165292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249413937,"filename":"image_30012025_16_02_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/30/4ce4806035645363dd53af5ad4c793bf.jpg","text":"TemporaryFile(/tmp/multipartBody1760817906815788036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249413937,"filename":"image_30012025_16_01_55_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/30/42201df5ebb26ef284675d7dca576a90.jpg","text":"TemporaryFile(/tmp/multipartBody2947085038074603408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249413937,"filename":"image_30012025_16_02_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/30/e0d36d3a832c3238298ee6742bccca7f.jpg","text":"TemporaryFile(/tmp/multipartBody1680158964733508535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249413937,"filename":"image_30012025_16_02_15_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333023540","file1":"1333023421","file0":"1333023340","file4":"1333023701","file5":"1333023703","file3":"1333023653"},"map_files_photo_id_array":[{"photo_id":"1333023703","filename":"file5"},{"photo_id":"1333023540","filename":"file2"},{"photo_id":"1333023701","filename":"file4"},{"photo_id":"1333023421","filename":"file1"},{"photo_id":"1333023340","filename":"file0"},{"photo_id":"1333023653","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333023653":["hashtag1","hashtag2"]},{"1333023701":["hashtag1","hashtag2"]},{"1333023703":["hashtag1","hashtag2"]},{"1333023340":["hashtag1","hashtag2"]},{"1333023421":["hashtag1","hashtag2"]},{"1333023540":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333023653, 1333023701, 1333023703, 1333023340, 1333023421, 1333023540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64051675796509 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:03:32.292598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/02/image_30012025_16_02_55_10421.jpg', '/home/pi/Desktop/images/30012025/16/02/image_30012025_16_03_05_9334.jpg', '/home/pi/Desktop/images/30012025/16/03/image_30012025_16_03_15_10451.jpg', '/home/pi/Desktop/images/30012025/16/03/image_30012025_16_03_25_10352.jpg', '/home/pi/Desktop/images/30012025/16/03/image_30012025_16_03_35_9334.jpg', '/home/pi/Desktop/images/30012025/16/03/image_30012025_16_03_45_10447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/02/image_30012025_16_02_55_10421.jpg
/home/pi/Desktop/images/30012025/16/02/image_30012025_16_03_05_9334.jpg
/home/pi/Desktop/images/30012025/16/03/image_30012025_16_03_15_10451.jpg
/home/pi/Desktop/images/30012025/16/03/image_30012025_16_03_25_10352.jpg
/home/pi/Desktop/images/30012025/16/03/image_30012025_16_03_35_9334.jpg
/home/pi/Desktop/images/30012025/16/03/image_30012025_16_03_45_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":["1333023914","1333023868","1333023931","1333023904","1333023909","1333023935"],"photo_ids_order":["1333023868","1333023904","1333023909","1333023914","1333023931","1333023935"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1b19a078b468c024b4b064ecf2c69d37.jpg","text":"TemporaryFile(/tmp/multipartBody6459367882819415626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249473190,"filename":"image_30012025_16_03_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/30/50e75c379dab59677db24917e5df7a21.jpg","text":"TemporaryFile(/tmp/multipartBody2046565019441470784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249473190,"filename":"image_30012025_16_02_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/30/6cc66cb068cb4eff5bde7d50c825c8e6.jpg","text":"TemporaryFile(/tmp/multipartBody5374631860239923157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249473190,"filename":"image_30012025_16_03_35_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dd181c8f79f1e491dd25070e6b9f380f.jpg","text":"TemporaryFile(/tmp/multipartBody162204282959995186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249473190,"filename":"image_30012025_16_03_05_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/30/579d26a2a9265667c2f77294d2c927f1.jpg","text":"TemporaryFile(/tmp/multipartBody5265122362921352357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249473190,"filename":"image_30012025_16_03_15_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/30/4dd4ce97b851b9dd06bc6a44ebecbc18.jpg","text":"TemporaryFile(/tmp/multipartBody1427265799141474928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249473190,"filename":"image_30012025_16_03_45_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333023909","file1":"1333023904","file0":"1333023868","file4":"1333023931","file5":"1333023935","file3":"1333023914"},"map_files_photo_id_array":[{"photo_id":"1333023935","filename":"file5"},{"photo_id":"1333023909","filename":"file2"},{"photo_id":"1333023931","filename":"file4"},{"photo_id":"1333023904","filename":"file1"},{"photo_id":"1333023868","filename":"file0"},{"photo_id":"1333023914","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333023914":["hashtag1","hashtag2"]},{"1333023868":["hashtag1","hashtag2"]},{"1333023931":["hashtag1","hashtag2"]},{"1333023904":["hashtag1","hashtag2"]},{"1333023909":["hashtag1","hashtag2"]},{"1333023935":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333023914, 1333023868, 1333023931, 1333023904, 1333023909, 1333023935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.28320813179016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:04:32.566874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/03/image_30012025_16_03_54_9390.jpg', '/home/pi/Desktop/images/30012025/16/03/image_30012025_16_04_05_10414.jpg', '/home/pi/Desktop/images/30012025/16/04/image_30012025_16_04_15_10415.jpg', '/home/pi/Desktop/images/30012025/16/04/image_30012025_16_04_25_9364.jpg', '/home/pi/Desktop/images/30012025/16/04/image_30012025_16_04_35_10347.jpg', '/home/pi/Desktop/images/30012025/16/04/image_30012025_16_04_44_9388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/03/image_30012025_16_03_54_9390.jpg
/home/pi/Desktop/images/30012025/16/03/image_30012025_16_04_05_10414.jpg
/home/pi/Desktop/images/30012025/16/04/image_30012025_16_04_15_10415.jpg
/home/pi/Desktop/images/30012025/16/04/image_30012025_16_04_25_9364.jpg
/home/pi/Desktop/images/30012025/16/04/image_30012025_16_04_35_10347.jpg
/home/pi/Desktop/images/30012025/16/04/image_30012025_16_04_44_9388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333025200","1333025202","1333025195","1333025189","1333025183","1333025176"],"photo_ids_order":["1333025176","1333025183","1333025189","1333025195","1333025200","1333025202"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c8f15a15b4a583e233c74142347586c1.jpg","text":"TemporaryFile(/tmp/multipartBody9045271451844066362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249533482,"filename":"image_30012025_16_04_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/30/e994fb7e1a75c573292bf61d9924b2dc.jpg","text":"TemporaryFile(/tmp/multipartBody7781178847005304552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249533482,"filename":"image_30012025_16_04_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/30/8eaf74548b79ecc05d87f2d1d803c164.jpg","text":"TemporaryFile(/tmp/multipartBody298301164328833718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249533482,"filename":"image_30012025_16_04_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/30/3dceb97c40c95842571a7a04606d832a.jpg","text":"TemporaryFile(/tmp/multipartBody5572730781051957204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249533482,"filename":"image_30012025_16_04_15_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0696f5f0b8955ea7bf410d81fef93f91.jpg","text":"TemporaryFile(/tmp/multipartBody2004280242307039556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249533482,"filename":"image_30012025_16_04_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/30/ffe8cbc2e2f07b533773396db81ab830.jpg","text":"TemporaryFile(/tmp/multipartBody1034818207069303669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249533482,"filename":"image_30012025_16_03_54_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333025189","file1":"1333025183","file0":"1333025176","file4":"1333025200","file5":"1333025202","file3":"1333025195"},"map_files_photo_id_array":[{"photo_id":"1333025202","filename":"file5"},{"photo_id":"1333025189","filename":"file2"},{"photo_id":"1333025200","filename":"file4"},{"photo_id":"1333025183","filename":"file1"},{"photo_id":"1333025176","filename":"file0"},{"photo_id":"1333025195","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333025200":["hashtag1","hashtag2"]},{"1333025202":["hashtag1","hashtag2"]},{"1333025195":["hashtag1","hashtag2"]},{"1333025189":["hashtag1","hashtag2"]},{"1333025183":["hashtag1","hashtag2"]},{"1333025176":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333025200, 1333025202, 1333025195, 1333025189, 1333025183, 1333025176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.605175256729126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:05:32.685891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/04/image_30012025_16_04_55_10360.jpg', '/home/pi/Desktop/images/30012025/16/04/image_30012025_16_05_05_10358.jpg', '/home/pi/Desktop/images/30012025/16/05/image_30012025_16_05_15_9370.jpg', '/home/pi/Desktop/images/30012025/16/05/image_30012025_16_05_25_10485.jpg', '/home/pi/Desktop/images/30012025/16/05/image_30012025_16_05_34_9451.jpg', '/home/pi/Desktop/images/30012025/16/05/image_30012025_16_05_45_10450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/04/image_30012025_16_04_55_10360.jpg
/home/pi/Desktop/images/30012025/16/04/image_30012025_16_05_05_10358.jpg
/home/pi/Desktop/images/30012025/16/05/image_30012025_16_05_15_9370.jpg
/home/pi/Desktop/images/30012025/16/05/image_30012025_16_05_25_10485.jpg
/home/pi/Desktop/images/30012025/16/05/image_30012025_16_05_34_9451.jpg
/home/pi/Desktop/images/30012025/16/05/image_30012025_16_05_45_10450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333025236","1333025244","1333025232","1333025258","1333025249","1333025254"],"photo_ids_order":["1333025232","1333025236","1333025244","1333025249","1333025254","1333025258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/58a94ff803b5afa117d7288e9f092338.jpg","text":"TemporaryFile(/tmp/multipartBody8911455377057924497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249593595,"filename":"image_30012025_16_05_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/30/d4d32c56ca4bde37bfe3575a4821489d.jpg","text":"TemporaryFile(/tmp/multipartBody4224623096805328507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249593595,"filename":"image_30012025_16_05_15_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/30/873c983e04b540731709872fbe47e446.jpg","text":"TemporaryFile(/tmp/multipartBody3715423257761159526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249593595,"filename":"image_30012025_16_04_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/30/6d36219db6799620e26b311471ddde51.jpg","text":"TemporaryFile(/tmp/multipartBody582716590664817087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249593595,"filename":"image_30012025_16_05_45_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/aea8d1b29e4e2e5ad941cd2f204d2e47.jpg","text":"TemporaryFile(/tmp/multipartBody5588468251347844356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249593595,"filename":"image_30012025_16_05_25_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6ca3cde950b0ad0fd84460e319284b99.jpg","text":"TemporaryFile(/tmp/multipartBody1884892191873414294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249593595,"filename":"image_30012025_16_05_34_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333025244","file1":"1333025236","file0":"1333025232","file4":"1333025254","file5":"1333025258","file3":"1333025249"},"map_files_photo_id_array":[{"photo_id":"1333025258","filename":"file5"},{"photo_id":"1333025244","filename":"file2"},{"photo_id":"1333025254","filename":"file4"},{"photo_id":"1333025236","filename":"file1"},{"photo_id":"1333025232","filename":"file0"},{"photo_id":"1333025249","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333025236":["hashtag1","hashtag2"]},{"1333025244":["hashtag1","hashtag2"]},{"1333025232":["hashtag1","hashtag2"]},{"1333025258":["hashtag1","hashtag2"]},{"1333025249":["hashtag1","hashtag2"]},{"1333025254":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333025236, 1333025244, 1333025232, 1333025258, 1333025249, 1333025254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.300372838974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:06:32.928708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/05/image_30012025_16_05_55_10365.jpg', '/home/pi/Desktop/images/30012025/16/05/image_30012025_16_06_05_9351.jpg', '/home/pi/Desktop/images/30012025/16/06/image_30012025_16_06_15_10331.jpg', '/home/pi/Desktop/images/30012025/16/06/image_30012025_16_06_25_10406.jpg', '/home/pi/Desktop/images/30012025/16/06/image_30012025_16_06_35_9341.jpg', '/home/pi/Desktop/images/30012025/16/06/image_30012025_16_06_45_10491.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/05/image_30012025_16_05_55_10365.jpg
/home/pi/Desktop/images/30012025/16/05/image_30012025_16_06_05_9351.jpg
/home/pi/Desktop/images/30012025/16/06/image_30012025_16_06_15_10331.jpg
/home/pi/Desktop/images/30012025/16/06/image_30012025_16_06_25_10406.jpg
/home/pi/Desktop/images/30012025/16/06/image_30012025_16_06_35_9341.jpg
/home/pi/Desktop/images/30012025/16/06/image_30012025_16_06_45_10491.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333025518","1333025577","1333025556","1333025573","1333025567","1333025485"],"photo_ids_order":["1333025485","1333025518","1333025556","1333025567","1333025573","1333025577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b5a4d57fafdd7b094260be672d63893a.jpg","text":"TemporaryFile(/tmp/multipartBody7059181213558196457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249653819,"filename":"image_30012025_16_06_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/30/59041b3baf856668bd0b5afa697c2f1b.jpg","text":"TemporaryFile(/tmp/multipartBody6454438029297029791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249653819,"filename":"image_30012025_16_06_45_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4c96268e011c2ac516d39d86b839167b.jpg","text":"TemporaryFile(/tmp/multipartBody4400470917271769560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249653819,"filename":"image_30012025_16_06_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/30/fc74af027e010415e8d9e76297310dab.jpg","text":"TemporaryFile(/tmp/multipartBody613921179909602651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249653819,"filename":"image_30012025_16_06_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/30/ba047bbaccad9ab5876fd9d0b546d78f.jpg","text":"TemporaryFile(/tmp/multipartBody3236559402380429258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249653819,"filename":"image_30012025_16_06_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/30/3d178352a52145387ebbb9c14c90f2c0.jpg","text":"TemporaryFile(/tmp/multipartBody4113853509391590058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249653819,"filename":"image_30012025_16_05_55_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333025556","file1":"1333025518","file0":"1333025485","file4":"1333025573","file5":"1333025577","file3":"1333025567"},"map_files_photo_id_array":[{"photo_id":"1333025577","filename":"file5"},{"photo_id":"1333025556","filename":"file2"},{"photo_id":"1333025573","filename":"file4"},{"photo_id":"1333025518","filename":"file1"},{"photo_id":"1333025485","filename":"file0"},{"photo_id":"1333025567","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333025518":["hashtag1","hashtag2"]},{"1333025577":["hashtag1","hashtag2"]},{"1333025556":["hashtag1","hashtag2"]},{"1333025573":["hashtag1","hashtag2"]},{"1333025567":["hashtag1","hashtag2"]},{"1333025485":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333025518, 1333025577, 1333025556, 1333025573, 1333025567, 1333025485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.54260516166687 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:07:33.156979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/06/image_30012025_16_06_55_9329.jpg', '/home/pi/Desktop/images/30012025/16/06/image_30012025_16_07_05_10400.jpg', '/home/pi/Desktop/images/30012025/16/07/image_30012025_16_07_15_10335.jpg', '/home/pi/Desktop/images/30012025/16/07/image_30012025_16_07_25_9448.jpg', '/home/pi/Desktop/images/30012025/16/07/image_30012025_16_07_35_10443.jpg', '/home/pi/Desktop/images/30012025/16/07/image_30012025_16_07_44_9329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/06/image_30012025_16_06_55_9329.jpg
/home/pi/Desktop/images/30012025/16/06/image_30012025_16_07_05_10400.jpg
/home/pi/Desktop/images/30012025/16/07/image_30012025_16_07_15_10335.jpg
/home/pi/Desktop/images/30012025/16/07/image_30012025_16_07_25_9448.jpg
/home/pi/Desktop/images/30012025/16/07/image_30012025_16_07_35_10443.jpg
/home/pi/Desktop/images/30012025/16/07/image_30012025_16_07_44_9329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333026444","1333026819","1333027093","1333027492","1333026344","1333027452"],"photo_ids_order":["1333026344","1333026444","1333026819","1333027093","1333027452","1333027492"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c19cdd34ef85f982979f436ae2559803.jpg","text":"TemporaryFile(/tmp/multipartBody5669616035117808161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249714058,"filename":"image_30012025_16_07_05_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/87267e12f0d9aed94bd5a61680bf7dc5.jpg","text":"TemporaryFile(/tmp/multipartBody4974355426025991572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249714058,"filename":"image_30012025_16_07_15_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dcc6145c4ad3784ad4c7496add95155d.jpg","text":"TemporaryFile(/tmp/multipartBody1492804103355004857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249714058,"filename":"image_30012025_16_07_25_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/30/b7d8ea93249a03e18fa430cc48e1d10a.jpg","text":"TemporaryFile(/tmp/multipartBody222019748589538517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249714058,"filename":"image_30012025_16_07_44_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/669c778e374cbdcfffbba7db2217f1ab.jpg","text":"TemporaryFile(/tmp/multipartBody9047360433876843305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249714058,"filename":"image_30012025_16_06_55_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/34f1121078f0ff488aadbec251a3349b.jpg","text":"TemporaryFile(/tmp/multipartBody5675234191285237954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249714058,"filename":"image_30012025_16_07_35_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333026819","file1":"1333026444","file0":"1333026344","file4":"1333027452","file5":"1333027492","file3":"1333027093"},"map_files_photo_id_array":[{"photo_id":"1333027492","filename":"file5"},{"photo_id":"1333026819","filename":"file2"},{"photo_id":"1333027452","filename":"file4"},{"photo_id":"1333026444","filename":"file1"},{"photo_id":"1333026344","filename":"file0"},{"photo_id":"1333027093","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333026444":["hashtag1","hashtag2"]},{"1333026819":["hashtag1","hashtag2"]},{"1333027093":["hashtag1","hashtag2"]},{"1333027492":["hashtag1","hashtag2"]},{"1333026344":["hashtag1","hashtag2"]},{"1333027452":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333026444, 1333026819, 1333027093, 1333027492, 1333026344, 1333027452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.67523217201233 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:08:32.259179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/07/image_30012025_16_07_55_10413.jpg', '/home/pi/Desktop/images/30012025/16/07/image_30012025_16_08_05_10333.jpg', '/home/pi/Desktop/images/30012025/16/08/image_30012025_16_08_15_9328.jpg', '/home/pi/Desktop/images/30012025/16/08/image_30012025_16_08_25_10436.jpg', '/home/pi/Desktop/images/30012025/16/08/image_30012025_16_08_35_10356.jpg', '/home/pi/Desktop/images/30012025/16/08/image_30012025_16_08_45_9453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/07/image_30012025_16_07_55_10413.jpg
/home/pi/Desktop/images/30012025/16/07/image_30012025_16_08_05_10333.jpg
/home/pi/Desktop/images/30012025/16/08/image_30012025_16_08_15_9328.jpg
/home/pi/Desktop/images/30012025/16/08/image_30012025_16_08_25_10436.jpg
/home/pi/Desktop/images/30012025/16/08/image_30012025_16_08_35_10356.jpg
/home/pi/Desktop/images/30012025/16/08/image_30012025_16_08_45_9453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333027670","1333027666","1333027627","1333027662","1333027656","1333027644"],"photo_ids_order":["1333027627","1333027644","1333027656","1333027662","1333027666","1333027670"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b90f3d3038be765c303c812eb29790bb.jpg","text":"TemporaryFile(/tmp/multipartBody5513012945803261198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249773153,"filename":"image_30012025_16_08_45_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/30/cb5324c8c041ed3d9ee3dadfc7bd8007.jpg","text":"TemporaryFile(/tmp/multipartBody4853908953711899853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249773153,"filename":"image_30012025_16_08_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/30/39f34f47823423947e0b48ffa26b9469.jpg","text":"TemporaryFile(/tmp/multipartBody1498380006261606431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249773153,"filename":"image_30012025_16_07_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/30/c040706b670d8ac8dc16dffd372dac33.jpg","text":"TemporaryFile(/tmp/multipartBody455852162756365551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249773153,"filename":"image_30012025_16_08_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/30/5e2dca071e06bd6826d95ba123faa741.jpg","text":"TemporaryFile(/tmp/multipartBody1562487622848989626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249773153,"filename":"image_30012025_16_08_15_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fa316225c0f34225ce41b94331aeba8f.jpg","text":"TemporaryFile(/tmp/multipartBody8891785022785690636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249773153,"filename":"image_30012025_16_08_05_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333027656","file1":"1333027644","file0":"1333027627","file4":"1333027666","file5":"1333027670","file3":"1333027662"},"map_files_photo_id_array":[{"photo_id":"1333027670","filename":"file5"},{"photo_id":"1333027656","filename":"file2"},{"photo_id":"1333027666","filename":"file4"},{"photo_id":"1333027644","filename":"file1"},{"photo_id":"1333027627","filename":"file0"},{"photo_id":"1333027662","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333027670":["hashtag1","hashtag2"]},{"1333027666":["hashtag1","hashtag2"]},{"1333027627":["hashtag1","hashtag2"]},{"1333027662":["hashtag1","hashtag2"]},{"1333027656":["hashtag1","hashtag2"]},{"1333027644":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333027670, 1333027666, 1333027627, 1333027662, 1333027656, 1333027644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.048123598098755 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:09:32.630952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/08/image_30012025_16_08_55_10350.jpg', '/home/pi/Desktop/images/30012025/16/08/image_30012025_16_09_04_9347.jpg', '/home/pi/Desktop/images/30012025/16/09/image_30012025_16_09_15_10421.jpg', '/home/pi/Desktop/images/30012025/16/09/image_30012025_16_09_25_10381.jpg', '/home/pi/Desktop/images/30012025/16/09/image_30012025_16_09_35_9395.jpg', '/home/pi/Desktop/images/30012025/16/09/image_30012025_16_09_45_10460.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/08/image_30012025_16_08_55_10350.jpg
/home/pi/Desktop/images/30012025/16/08/image_30012025_16_09_04_9347.jpg
/home/pi/Desktop/images/30012025/16/09/image_30012025_16_09_15_10421.jpg
/home/pi/Desktop/images/30012025/16/09/image_30012025_16_09_25_10381.jpg
/home/pi/Desktop/images/30012025/16/09/image_30012025_16_09_35_9395.jpg
/home/pi/Desktop/images/30012025/16/09/image_30012025_16_09_45_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":["1333028137","1333028193","1333028145","1333027692","1333028148","1333027779"],"photo_ids_order":["1333027692","1333027779","1333028137","1333028145","1333028148","1333028193"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bb2e97efde5334b6b54042ccf17d4712.jpg","text":"TemporaryFile(/tmp/multipartBody6825860431420406352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249833539,"filename":"image_30012025_16_09_15_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/30/be62f8bb20a04746513b34090a2944c3.jpg","text":"TemporaryFile(/tmp/multipartBody984496025571230165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249833539,"filename":"image_30012025_16_09_45_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/57e4f7fce42be76be638c3180a537e95.jpg","text":"TemporaryFile(/tmp/multipartBody6920440302240521513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249833539,"filename":"image_30012025_16_09_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/30/50b1e97cead1ef48de54b735fb7610d3.jpg","text":"TemporaryFile(/tmp/multipartBody5795476211066699488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249833539,"filename":"image_30012025_16_08_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/30/41e27583658c462a57d5d4fda77f128b.jpg","text":"TemporaryFile(/tmp/multipartBody2188893096988527184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249833539,"filename":"image_30012025_16_09_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/30/cfbb0a3967cde23c049bf6f50eb40fec.jpg","text":"TemporaryFile(/tmp/multipartBody7753704810297626265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249833539,"filename":"image_30012025_16_09_04_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333028137","file1":"1333027779","file0":"1333027692","file4":"1333028148","file5":"1333028193","file3":"1333028145"},"map_files_photo_id_array":[{"photo_id":"1333028193","filename":"file5"},{"photo_id":"1333028137","filename":"file2"},{"photo_id":"1333028148","filename":"file4"},{"photo_id":"1333027779","filename":"file1"},{"photo_id":"1333027692","filename":"file0"},{"photo_id":"1333028145","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333028137":["hashtag1","hashtag2"]},{"1333028193":["hashtag1","hashtag2"]},{"1333028145":["hashtag1","hashtag2"]},{"1333027692":["hashtag1","hashtag2"]},{"1333028148":["hashtag1","hashtag2"]},{"1333027779":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333028137, 1333028193, 1333028145, 1333027692, 1333028148, 1333027779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.4343900680542 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:10:32.920169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/09/image_30012025_16_09_54_9331.jpg', '/home/pi/Desktop/images/30012025/16/09/image_30012025_16_10_05_10389.jpg', '/home/pi/Desktop/images/30012025/16/10/image_30012025_16_10_15_10371.jpg', '/home/pi/Desktop/images/30012025/16/10/image_30012025_16_10_25_9342.jpg', '/home/pi/Desktop/images/30012025/16/10/image_30012025_16_10_35_10465.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/09/image_30012025_16_09_54_9331.jpg
/home/pi/Desktop/images/30012025/16/09/image_30012025_16_10_05_10389.jpg
/home/pi/Desktop/images/30012025/16/10/image_30012025_16_10_15_10371.jpg
/home/pi/Desktop/images/30012025/16/10/image_30012025_16_10_25_9342.jpg
/home/pi/Desktop/images/30012025/16/10/image_30012025_16_10_35_10465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333028310","1333028315","1333028332","1333028320","1333028326"],"photo_ids_order":["1333028310","1333028315","1333028320","1333028326","1333028332"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d5f47368efe1c8323e44feab48831162.jpg","text":"TemporaryFile(/tmp/multipartBody1312879458553055782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249893807,"filename":"image_30012025_16_09_54_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a10b20a8274783672bceabbd117d1020.jpg","text":"TemporaryFile(/tmp/multipartBody5402061338571393081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249893807,"filename":"image_30012025_16_10_05_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/30/ecef2107a8da02c5a22def6bcf9538fb.jpg","text":"TemporaryFile(/tmp/multipartBody7470747964503064918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249893807,"filename":"image_30012025_16_10_35_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f01e5b87226993f516371a9da90f65dc.jpg","text":"TemporaryFile(/tmp/multipartBody6312306543466420588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249893807,"filename":"image_30012025_16_10_15_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2980ee64b5f4dda79d95e8e33fba7eca.jpg","text":"TemporaryFile(/tmp/multipartBody7717163781376725640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249893807,"filename":"image_30012025_16_10_25_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333028320","file1":"1333028315","file0":"1333028310","file4":"1333028332","file3":"1333028326"},"map_files_photo_id_array":[{"photo_id":"1333028320","filename":"file2"},{"photo_id":"1333028332","filename":"file4"},{"photo_id":"1333028315","filename":"file1"},{"photo_id":"1333028310","filename":"file0"},{"photo_id":"1333028326","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333028310":["hashtag1","hashtag2"]},{"1333028315":["hashtag1","hashtag2"]},{"1333028332":["hashtag1","hashtag2"]},{"1333028320":["hashtag1","hashtag2"]},{"1333028326":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333028310, 1333028315, 1333028332, 1333028320, 1333028326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.2302770614624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:11:33.052906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/10/image_30012025_16_10_44_9419.jpg', '/home/pi/Desktop/images/30012025/16/10/image_30012025_16_11_05_10352.jpg', '/home/pi/Desktop/images/30012025/16/11/image_30012025_16_11_15_9329.jpg', '/home/pi/Desktop/images/30012025/16/11/image_30012025_16_11_35_10338.jpg', '/home/pi/Desktop/images/30012025/16/11/image_30012025_16_11_45_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/10/image_30012025_16_10_44_9419.jpg
/home/pi/Desktop/images/30012025/16/10/image_30012025_16_11_05_10352.jpg
/home/pi/Desktop/images/30012025/16/11/image_30012025_16_11_15_9329.jpg
/home/pi/Desktop/images/30012025/16/11/image_30012025_16_11_35_10338.jpg
/home/pi/Desktop/images/30012025/16/11/image_30012025_16_11_45_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333028855","1333028564","1333028786","1333028572","1333028895"],"photo_ids_order":["1333028564","1333028572","1333028786","1333028855","1333028895"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2040889eb681e24253fec8a87fabad47.jpg","text":"TemporaryFile(/tmp/multipartBody5620988999953701702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249953940,"filename":"image_30012025_16_11_35_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a361c7f042209caa106aab7b808f06f2.jpg","text":"TemporaryFile(/tmp/multipartBody5288930308978779750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249953940,"filename":"image_30012025_16_10_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/30/60839548937f4f6357c2d81c68513f9f.jpg","text":"TemporaryFile(/tmp/multipartBody4294678700636468151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249953940,"filename":"image_30012025_16_11_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/30/0aaed098469abf2a9cef491582bf83df.jpg","text":"TemporaryFile(/tmp/multipartBody1515640004973449220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249953940,"filename":"image_30012025_16_11_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/30/49dbfe944859a3e9c037468146e15ea4.jpg","text":"TemporaryFile(/tmp/multipartBody8680927587696847331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738249953940,"filename":"image_30012025_16_11_45_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333028786","file1":"1333028572","file0":"1333028564","file4":"1333028895","file3":"1333028855"},"map_files_photo_id_array":[{"photo_id":"1333028786","filename":"file2"},{"photo_id":"1333028895","filename":"file4"},{"photo_id":"1333028572","filename":"file1"},{"photo_id":"1333028564","filename":"file0"},{"photo_id":"1333028855","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333028855":["hashtag1","hashtag2"]},{"1333028564":["hashtag1","hashtag2"]},{"1333028786":["hashtag1","hashtag2"]},{"1333028572":["hashtag1","hashtag2"]},{"1333028895":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333028855, 1333028564, 1333028786, 1333028572, 1333028895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.70140337944031 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:12:32.199321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/11/image_30012025_16_11_55_10448.jpg', '/home/pi/Desktop/images/30012025/16/11/image_30012025_16_12_04_9352.jpg', '/home/pi/Desktop/images/30012025/16/12/image_30012025_16_12_15_10341.jpg', '/home/pi/Desktop/images/30012025/16/12/image_30012025_16_12_25_10408.jpg', '/home/pi/Desktop/images/30012025/16/12/image_30012025_16_12_35_9350.jpg', '/home/pi/Desktop/images/30012025/16/12/image_30012025_16_12_45_10385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/11/image_30012025_16_11_55_10448.jpg
/home/pi/Desktop/images/30012025/16/11/image_30012025_16_12_04_9352.jpg
/home/pi/Desktop/images/30012025/16/12/image_30012025_16_12_15_10341.jpg
/home/pi/Desktop/images/30012025/16/12/image_30012025_16_12_25_10408.jpg
/home/pi/Desktop/images/30012025/16/12/image_30012025_16_12_35_9350.jpg
/home/pi/Desktop/images/30012025/16/12/image_30012025_16_12_45_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333029002","1333028983","1333029093","1333029078","1333029054","1333029120"],"photo_ids_order":["1333028983","1333029002","1333029054","1333029078","1333029093","1333029120"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a9ea425166890f0a902437f9dc086076.jpg","text":"TemporaryFile(/tmp/multipartBody2778930237451671293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250013112,"filename":"image_30012025_16_12_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/30/68bac7a3fcbf2925301c76bd375e3ec8.jpg","text":"TemporaryFile(/tmp/multipartBody4077154240411588182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250013112,"filename":"image_30012025_16_11_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/30/896f14eb1ed1c8cff192b2d6a12ab3c6.jpg","text":"TemporaryFile(/tmp/multipartBody1406567625227220407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250013112,"filename":"image_30012025_16_12_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/30/684501639c1a94da3366405c81042d10.jpg","text":"TemporaryFile(/tmp/multipartBody6969141306081799896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250013112,"filename":"image_30012025_16_12_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/30/8b9b4245a2c748c2b72411d2162ff8c9.jpg","text":"TemporaryFile(/tmp/multipartBody1169254565962571530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250013112,"filename":"image_30012025_16_12_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/30/d882646c348b19d3cbb1f8e183fbe9d2.jpg","text":"TemporaryFile(/tmp/multipartBody7057585632633404775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250013112,"filename":"image_30012025_16_12_45_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333029054","file1":"1333029002","file0":"1333028983","file4":"1333029093","file5":"1333029120","file3":"1333029078"},"map_files_photo_id_array":[{"photo_id":"1333029120","filename":"file5"},{"photo_id":"1333029054","filename":"file2"},{"photo_id":"1333029093","filename":"file4"},{"photo_id":"1333029002","filename":"file1"},{"photo_id":"1333028983","filename":"file0"},{"photo_id":"1333029078","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333029002":["hashtag1","hashtag2"]},{"1333028983":["hashtag1","hashtag2"]},{"1333029093":["hashtag1","hashtag2"]},{"1333029078":["hashtag1","hashtag2"]},{"1333029054":["hashtag1","hashtag2"]},{"1333029120":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333029002, 1333028983, 1333029093, 1333029078, 1333029054, 1333029120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.02491307258606 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:13:32.393672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/12/image_30012025_16_12_55_10351.jpg', '/home/pi/Desktop/images/30012025/16/12/image_30012025_16_13_05_9340.jpg', '/home/pi/Desktop/images/30012025/16/13/image_30012025_16_13_15_10350.jpg', '/home/pi/Desktop/images/30012025/16/13/image_30012025_16_13_25_10365.jpg', '/home/pi/Desktop/images/30012025/16/13/image_30012025_16_13_35_9425.jpg', '/home/pi/Desktop/images/30012025/16/13/image_30012025_16_13_45_10450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/12/image_30012025_16_12_55_10351.jpg
/home/pi/Desktop/images/30012025/16/12/image_30012025_16_13_05_9340.jpg
/home/pi/Desktop/images/30012025/16/13/image_30012025_16_13_15_10350.jpg
/home/pi/Desktop/images/30012025/16/13/image_30012025_16_13_25_10365.jpg
/home/pi/Desktop/images/30012025/16/13/image_30012025_16_13_35_9425.jpg
/home/pi/Desktop/images/30012025/16/13/image_30012025_16_13_45_10450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333029146","1333029168","1333029156","1333029165","1333029170","1333029161"],"photo_ids_order":["1333029146","1333029156","1333029161","1333029165","1333029168","1333029170"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/004d632a100b25de014a9788bd250751.jpg","text":"TemporaryFile(/tmp/multipartBody4640755157445874352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250073285,"filename":"image_30012025_16_12_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/30/99194d340112f1ccf430407d24d88417.jpg","text":"TemporaryFile(/tmp/multipartBody3544138137600826068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250073285,"filename":"image_30012025_16_13_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/30/a6f720946a1f4ca8dd9ef069217dd9a8.jpg","text":"TemporaryFile(/tmp/multipartBody5335981536870309313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250073285,"filename":"image_30012025_16_13_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/30/80043aca6efb955a1a769c343d1c24a2.jpg","text":"TemporaryFile(/tmp/multipartBody3609903497214961806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250073285,"filename":"image_30012025_16_13_25_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/30/66b63ecbb5be6c3188f07391b80ea1e1.jpg","text":"TemporaryFile(/tmp/multipartBody914593672065407817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250073285,"filename":"image_30012025_16_13_45_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5eb6becd96cb47d6e3b0b06833d999e5.jpg","text":"TemporaryFile(/tmp/multipartBody8974518247267681878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250073285,"filename":"image_30012025_16_13_15_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333029161","file1":"1333029156","file0":"1333029146","file4":"1333029168","file5":"1333029170","file3":"1333029165"},"map_files_photo_id_array":[{"photo_id":"1333029170","filename":"file5"},{"photo_id":"1333029161","filename":"file2"},{"photo_id":"1333029168","filename":"file4"},{"photo_id":"1333029156","filename":"file1"},{"photo_id":"1333029146","filename":"file0"},{"photo_id":"1333029165","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333029146":["hashtag1","hashtag2"]},{"1333029168":["hashtag1","hashtag2"]},{"1333029156":["hashtag1","hashtag2"]},{"1333029165":["hashtag1","hashtag2"]},{"1333029170":["hashtag1","hashtag2"]},{"1333029161":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333029146, 1333029168, 1333029156, 1333029165, 1333029170, 1333029161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.97250819206238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:14:32.634638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/13/image_30012025_16_13_55_9346.jpg', '/home/pi/Desktop/images/30012025/16/13/image_30012025_16_14_05_10446.jpg', '/home/pi/Desktop/images/30012025/16/14/image_30012025_16_14_14_9352.jpg', '/home/pi/Desktop/images/30012025/16/14/image_30012025_16_14_25_10353.jpg', '/home/pi/Desktop/images/30012025/16/14/image_30012025_16_14_35_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/13/image_30012025_16_13_55_9346.jpg
/home/pi/Desktop/images/30012025/16/13/image_30012025_16_14_05_10446.jpg
/home/pi/Desktop/images/30012025/16/14/image_30012025_16_14_14_9352.jpg
/home/pi/Desktop/images/30012025/16/14/image_30012025_16_14_25_10353.jpg
/home/pi/Desktop/images/30012025/16/14/image_30012025_16_14_35_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":["1333029236","1333029221","1333029190","1333029231","1333029216"],"photo_ids_order":["1333029190","1333029216","1333029221","1333029231","1333029236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/859c6bf9912db62f0d45632bf335a383.jpg","text":"TemporaryFile(/tmp/multipartBody394162830213107124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250133518,"filename":"image_30012025_16_14_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/30/415d542743f34a40bc41878a9e246db8.jpg","text":"TemporaryFile(/tmp/multipartBody5381010850645000409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250133518,"filename":"image_30012025_16_14_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/30/7980460466e63663273c9f018ac27b71.jpg","text":"TemporaryFile(/tmp/multipartBody6067840205398530945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250133518,"filename":"image_30012025_16_13_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/30/74203e2e3297e5d98d44a51397ae5c23.jpg","text":"TemporaryFile(/tmp/multipartBody958040272631788262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250133518,"filename":"image_30012025_16_14_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/30/969a1a481dd601ad0c16e7cfc16b3890.jpg","text":"TemporaryFile(/tmp/multipartBody662043515483280625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250133518,"filename":"image_30012025_16_14_05_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333029221","file1":"1333029216","file0":"1333029190","file4":"1333029236","file3":"1333029231"},"map_files_photo_id_array":[{"photo_id":"1333029221","filename":"file2"},{"photo_id":"1333029236","filename":"file4"},{"photo_id":"1333029216","filename":"file1"},{"photo_id":"1333029190","filename":"file0"},{"photo_id":"1333029231","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333029236":["hashtag1","hashtag2"]},{"1333029221":["hashtag1","hashtag2"]},{"1333029190":["hashtag1","hashtag2"]},{"1333029231":["hashtag1","hashtag2"]},{"1333029216":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333029236, 1333029221, 1333029190, 1333029231, 1333029216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.94923686981201 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:15:32.884181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/14/image_30012025_16_14_55_10351.jpg', '/home/pi/Desktop/images/30012025/16/14/image_30012025_16_15_05_10439.jpg', '/home/pi/Desktop/images/30012025/16/15/image_30012025_16_15_15_9331.jpg', '/home/pi/Desktop/images/30012025/16/15/image_30012025_16_15_25_10551.jpg', '/home/pi/Desktop/images/30012025/16/15/image_30012025_16_15_34_9333.jpg', '/home/pi/Desktop/images/30012025/16/15/image_30012025_16_15_45_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/14/image_30012025_16_14_55_10351.jpg
/home/pi/Desktop/images/30012025/16/14/image_30012025_16_15_05_10439.jpg
/home/pi/Desktop/images/30012025/16/15/image_30012025_16_15_15_9331.jpg
/home/pi/Desktop/images/30012025/16/15/image_30012025_16_15_25_10551.jpg
/home/pi/Desktop/images/30012025/16/15/image_30012025_16_15_34_9333.jpg
/home/pi/Desktop/images/30012025/16/15/image_30012025_16_15_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":["1333029294","1333029273","1333029296","1333029290","1333029281","1333029269"],"photo_ids_order":["1333029269","1333029273","1333029281","1333029290","1333029294","1333029296"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6f6edef43a5ce56b2044e26119aa9d95.jpg","text":"TemporaryFile(/tmp/multipartBody3013576197340509917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250193790,"filename":"image_30012025_16_15_34_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/30/27d92872c996e18bdf9fc80ba2f94258.jpg","text":"TemporaryFile(/tmp/multipartBody1030220867424885229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250193790,"filename":"image_30012025_16_15_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/30/e665449fbf71311daab067ba1fac4f59.jpg","text":"TemporaryFile(/tmp/multipartBody2433502466954234828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250193790,"filename":"image_30012025_16_15_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/30/ca4ee3c5b6211f96594c7c141784b54d.jpg","text":"TemporaryFile(/tmp/multipartBody2904290167934092299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250193790,"filename":"image_30012025_16_15_25_10551.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c1da5960505f2bdd2e2ea49df2fa9979.jpg","text":"TemporaryFile(/tmp/multipartBody5350994159370565666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250193790,"filename":"image_30012025_16_15_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/30/5f948cd69d7546938a43e0142416b0f9.jpg","text":"TemporaryFile(/tmp/multipartBody3475761964933232582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250193790,"filename":"image_30012025_16_14_55_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333029281","file1":"1333029273","file0":"1333029269","file4":"1333029294","file5":"1333029296","file3":"1333029290"},"map_files_photo_id_array":[{"photo_id":"1333029296","filename":"file5"},{"photo_id":"1333029281","filename":"file2"},{"photo_id":"1333029294","filename":"file4"},{"photo_id":"1333029273","filename":"file1"},{"photo_id":"1333029269","filename":"file0"},{"photo_id":"1333029290","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333029294":["hashtag1","hashtag2"]},{"1333029273":["hashtag1","hashtag2"]},{"1333029296":["hashtag1","hashtag2"]},{"1333029290":["hashtag1","hashtag2"]},{"1333029281":["hashtag1","hashtag2"]},{"1333029269":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333029294, 1333029273, 1333029296, 1333029290, 1333029281, 1333029269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.64982771873474 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:16:32.993941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/15/image_30012025_16_15_55_10423.jpg', '/home/pi/Desktop/images/30012025/16/16/image_30012025_16_16_15_10373.jpg', '/home/pi/Desktop/images/30012025/16/16/image_30012025_16_16_24_9445.jpg', '/home/pi/Desktop/images/30012025/16/16/image_30012025_16_16_35_10333.jpg', '/home/pi/Desktop/images/30012025/16/16/image_30012025_16_16_45_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/15/image_30012025_16_15_55_10423.jpg
/home/pi/Desktop/images/30012025/16/16/image_30012025_16_16_15_10373.jpg
/home/pi/Desktop/images/30012025/16/16/image_30012025_16_16_24_9445.jpg
/home/pi/Desktop/images/30012025/16/16/image_30012025_16_16_35_10333.jpg
/home/pi/Desktop/images/30012025/16/16/image_30012025_16_16_45_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333029809","1333029631","1333029732","1333029782","1333029758"],"photo_ids_order":["1333029631","1333029732","1333029758","1333029782","1333029809"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/69cd99ae2e0197dcd8f5c9e1b160f9a8.jpg","text":"TemporaryFile(/tmp/multipartBody8715236997507080185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250253884,"filename":"image_30012025_16_16_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/30/52ef9a419214c8e3c3c90dbcf09298d6.jpg","text":"TemporaryFile(/tmp/multipartBody1284111837944941772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250253884,"filename":"image_30012025_16_15_55_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bc2b7f701091ca42b1cbb405bdd566ec.jpg","text":"TemporaryFile(/tmp/multipartBody8520087752696179596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250253884,"filename":"image_30012025_16_16_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/30/f777d4bd4bc68049c5b845cf931e07c6.jpg","text":"TemporaryFile(/tmp/multipartBody553876143989347678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250253884,"filename":"image_30012025_16_16_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/30/f0d0f6cc4afdb98def6c8f1a39598ae4.jpg","text":"TemporaryFile(/tmp/multipartBody5531312514593084040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250253884,"filename":"image_30012025_16_16_24_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333029758","file1":"1333029732","file0":"1333029631","file4":"1333029809","file3":"1333029782"},"map_files_photo_id_array":[{"photo_id":"1333029758","filename":"file2"},{"photo_id":"1333029809","filename":"file4"},{"photo_id":"1333029732","filename":"file1"},{"photo_id":"1333029631","filename":"file0"},{"photo_id":"1333029782","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333029809":["hashtag1","hashtag2"]},{"1333029631":["hashtag1","hashtag2"]},{"1333029732":["hashtag1","hashtag2"]},{"1333029782":["hashtag1","hashtag2"]},{"1333029758":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333029809, 1333029631, 1333029732, 1333029782, 1333029758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.572155714035034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:17:32.303415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/16/image_30012025_16_16_54_9391.jpg', '/home/pi/Desktop/images/30012025/16/16/image_30012025_16_17_05_10476.jpg', '/home/pi/Desktop/images/30012025/16/17/image_30012025_16_17_25_10420.jpg', '/home/pi/Desktop/images/30012025/16/17/image_30012025_16_17_35_10407.jpg', '/home/pi/Desktop/images/30012025/16/17/image_30012025_16_17_45_9379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/16/image_30012025_16_16_54_9391.jpg
/home/pi/Desktop/images/30012025/16/16/image_30012025_16_17_05_10476.jpg
/home/pi/Desktop/images/30012025/16/17/image_30012025_16_17_25_10420.jpg
/home/pi/Desktop/images/30012025/16/17/image_30012025_16_17_35_10407.jpg
/home/pi/Desktop/images/30012025/16/17/image_30012025_16_17_45_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":["1333029877","1333029892","1333029882","1333029890","1333029887"],"photo_ids_order":["1333029877","1333029882","1333029887","1333029890","1333029892"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a9d8d2a886a8719224913bf3c3228da2.jpg","text":"TemporaryFile(/tmp/multipartBody5916664480928016417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250313192,"filename":"image_30012025_16_16_54_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2fec708a1563d116661f7cb0446b2f72.jpg","text":"TemporaryFile(/tmp/multipartBody710714667052781490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250313192,"filename":"image_30012025_16_17_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/30/b0dce2a5cd8fc9ea678bd7569b266445.jpg","text":"TemporaryFile(/tmp/multipartBody4969108707021791722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250313192,"filename":"image_30012025_16_17_05_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/30/c1ee74a3fb3058b5ee659497cb7f9068.jpg","text":"TemporaryFile(/tmp/multipartBody3417807492246146599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250313192,"filename":"image_30012025_16_17_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/30/300c228ab79299de70dec5bd4d4b0ea3.jpg","text":"TemporaryFile(/tmp/multipartBody2727235188701196611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250313192,"filename":"image_30012025_16_17_25_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333029887","file1":"1333029882","file0":"1333029877","file4":"1333029892","file3":"1333029890"},"map_files_photo_id_array":[{"photo_id":"1333029887","filename":"file2"},{"photo_id":"1333029892","filename":"file4"},{"photo_id":"1333029882","filename":"file1"},{"photo_id":"1333029877","filename":"file0"},{"photo_id":"1333029890","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333029877":["hashtag1","hashtag2"]},{"1333029892":["hashtag1","hashtag2"]},{"1333029882":["hashtag1","hashtag2"]},{"1333029890":["hashtag1","hashtag2"]},{"1333029887":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333029877, 1333029892, 1333029882, 1333029890, 1333029887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.02343440055847 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:18:32.570154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/17/image_30012025_16_17_55_10483.jpg', '/home/pi/Desktop/images/30012025/16/17/image_30012025_16_18_04_9357.jpg', '/home/pi/Desktop/images/30012025/16/18/image_30012025_16_18_15_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/17/image_30012025_16_17_55_10483.jpg
/home/pi/Desktop/images/30012025/16/17/image_30012025_16_18_04_9357.jpg
/home/pi/Desktop/images/30012025/16/18/image_30012025_16_18_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":["1333029966","1333029971","1333029959"],"photo_ids_order":["1333029959","1333029966","1333029971"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/70635dfd565605b8e7148d10cede5ab0.jpg","text":"TemporaryFile(/tmp/multipartBody4488930179223697419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250373418,"filename":"image_30012025_16_18_04_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/30/f1231e717799ecd301e78a094d5483e1.jpg","text":"TemporaryFile(/tmp/multipartBody310264715588382093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250373418,"filename":"image_30012025_16_18_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/30/23ba1300f64d9784d38ea188cad45874.jpg","text":"TemporaryFile(/tmp/multipartBody7544623810567403192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250373418,"filename":"image_30012025_16_17_55_10483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333029971","file1":"1333029966","file0":"1333029959"},"map_files_photo_id_array":[{"photo_id":"1333029971","filename":"file2"},{"photo_id":"1333029966","filename":"file1"},{"photo_id":"1333029959","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333029966":["hashtag1","hashtag2"]},{"1333029971":["hashtag1","hashtag2"]},{"1333029959":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333029966, 1333029971, 1333029959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.06938099861145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 16:19:04.227102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/13/image_28012025_21_13_15_9327.jpg', '/home/pi/Desktop/images/28012025/21/13/image_28012025_21_13_25_10350.jpg', '/home/pi/Desktop/images/28012025/21/13/image_28012025_21_13_35_10426.jpg', '/home/pi/Desktop/images/28012025/21/13/image_28012025_21_13_45_9343.jpg', '/home/pi/Desktop/images/28012025/21/13/image_28012025_21_13_55_10474.jpg', '/home/pi/Desktop/images/28012025/21/13/image_28012025_21_14_06_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/13/image_28012025_21_13_15_9327.jpg
/home/pi/Desktop/images/28012025/21/13/image_28012025_21_13_25_10350.jpg
/home/pi/Desktop/images/28012025/21/13/image_28012025_21_13_35_10426.jpg
/home/pi/Desktop/images/28012025/21/13/image_28012025_21_13_45_9343.jpg
/home/pi/Desktop/images/28012025/21/13/image_28012025_21_13_55_10474.jpg
/home/pi/Desktop/images/28012025/21/13/image_28012025_21_14_06_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":["1333030058","1333030018","1333030065","1333030050","1333030044","1333030053"],"photo_ids_order":["1333030018","1333030044","1333030050","1333030053","1333030058","1333030065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6f25dd90292aaaa29a4d27122957e926.jpg","text":"TemporaryFile(/tmp/multipartBody8338196073937985310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250406105,"filename":"image_28012025_21_13_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/30/2433e65a34ced3f7647f91c8574be945.jpg","text":"TemporaryFile(/tmp/multipartBody412850682824583902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250406105,"filename":"image_28012025_21_13_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/30/858c0147306dc2eaf6fdd356d2f14997.jpg","text":"TemporaryFile(/tmp/multipartBody8512550218187602505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250406105,"filename":"image_28012025_21_14_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/30/520c408e8223a1a6c243cb76bba713bd.jpg","text":"TemporaryFile(/tmp/multipartBody8829723958828136313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250406105,"filename":"image_28012025_21_13_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/30/e81c9f90d75da9cbb94d091f0ec11feb.jpg","text":"TemporaryFile(/tmp/multipartBody5499619514828458941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250406105,"filename":"image_28012025_21_13_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/30/054b8a6ea5df68d863f25ca42be051fe.jpg","text":"TemporaryFile(/tmp/multipartBody8953185488080015423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250406105,"filename":"image_28012025_21_13_45_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333030050","file1":"1333030044","file0":"1333030018","file4":"1333030058","file5":"1333030065","file3":"1333030053"},"map_files_photo_id_array":[{"photo_id":"1333030065","filename":"file5"},{"photo_id":"1333030050","filename":"file2"},{"photo_id":"1333030058","filename":"file4"},{"photo_id":"1333030044","filename":"file1"},{"photo_id":"1333030018","filename":"file0"},{"photo_id":"1333030053","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333030058":["hashtag1","hashtag2"]},{"1333030018":["hashtag1","hashtag2"]},{"1333030065":["hashtag1","hashtag2"]},{"1333030050":["hashtag1","hashtag2"]},{"1333030044":["hashtag1","hashtag2"]},{"1333030053":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333030058, 1333030018, 1333030065, 1333030050, 1333030044, 1333030053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46908736228943 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:19:52.758383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/18/image_30012025_16_18_25_10419.jpg', '/home/pi/Desktop/images/30012025/16/19/image_30012025_16_19_25_9351.jpg', '/home/pi/Desktop/images/30012025/16/19/image_30012025_16_19_35_10411.jpg', '/home/pi/Desktop/images/30012025/16/19/image_30012025_16_19_45_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/18/image_30012025_16_18_25_10419.jpg
/home/pi/Desktop/images/30012025/16/19/image_30012025_16_19_25_9351.jpg
/home/pi/Desktop/images/30012025/16/19/image_30012025_16_19_35_10411.jpg
/home/pi/Desktop/images/30012025/16/19/image_30012025_16_19_45_10360.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333030091","1333030096","1333030087","1333030104"],"photo_ids_order":["1333030087","1333030091","1333030096","1333030104"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/65fec326b4ea4a4e301f6a5b6cd3c221.jpg","text":"TemporaryFile(/tmp/multipartBody816935478726545830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250453651,"filename":"image_30012025_16_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/30/a1ed84ff92110e9208784f62747b8e8d.jpg","text":"TemporaryFile(/tmp/multipartBody1614366868157279521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250453651,"filename":"image_30012025_16_19_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/30/ea5a1699af7f8c484b10aba348f2a401.jpg","text":"TemporaryFile(/tmp/multipartBody7373409451252005518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250453651,"filename":"image_30012025_16_18_25_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/30/ff9df365d6c9fb16b97011dc874249e1.jpg","text":"TemporaryFile(/tmp/multipartBody2541887482594181298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250453651,"filename":"image_30012025_16_19_45_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333030096","file1":"1333030091","file0":"1333030087","file3":"1333030104"},"map_files_photo_id_array":[{"photo_id":"1333030096","filename":"file2"},{"photo_id":"1333030091","filename":"file1"},{"photo_id":"1333030087","filename":"file0"},{"photo_id":"1333030104","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333030091":["hashtag1","hashtag2"]},{"1333030096":["hashtag1","hashtag2"]},{"1333030087":["hashtag1","hashtag2"]},{"1333030104":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333030091, 1333030096, 1333030087, 1333030104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.867189168930054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:20:32.990498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/19/image_30012025_16_19_55_9360.jpg', '/home/pi/Desktop/images/30012025/16/19/image_30012025_16_20_05_10377.jpg', '/home/pi/Desktop/images/30012025/16/20/image_30012025_16_20_14_9354.jpg', '/home/pi/Desktop/images/30012025/16/20/image_30012025_16_20_25_10490.jpg', '/home/pi/Desktop/images/30012025/16/20/image_30012025_16_20_35_10350.jpg', '/home/pi/Desktop/images/30012025/16/20/image_30012025_16_20_45_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/19/image_30012025_16_19_55_9360.jpg
/home/pi/Desktop/images/30012025/16/19/image_30012025_16_20_05_10377.jpg
/home/pi/Desktop/images/30012025/16/20/image_30012025_16_20_14_9354.jpg
/home/pi/Desktop/images/30012025/16/20/image_30012025_16_20_25_10490.jpg
/home/pi/Desktop/images/30012025/16/20/image_30012025_16_20_35_10350.jpg
/home/pi/Desktop/images/30012025/16/20/image_30012025_16_20_45_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":["1333030151","1333030148","1333030143","1333030137","1333030122","1333030128"],"photo_ids_order":["1333030122","1333030128","1333030137","1333030143","1333030148","1333030151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/41387959c45dd888e55e8b558463a2aa.jpg","text":"TemporaryFile(/tmp/multipartBody6100680403972649962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250493918,"filename":"image_30012025_16_20_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/30/3b2ccbd64a9b6cd9818c0566229d56b3.jpg","text":"TemporaryFile(/tmp/multipartBody931772747032282608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250493918,"filename":"image_30012025_16_20_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/30/7a1ad5e83789a7682dd151199574eb4a.jpg","text":"TemporaryFile(/tmp/multipartBody295645926000200854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250493918,"filename":"image_30012025_16_20_25_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/30/0411c4c79ad62054cc4bd451490a779f.jpg","text":"TemporaryFile(/tmp/multipartBody4271271924157955317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250493918,"filename":"image_30012025_16_20_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/30/8ed76da96ed01f28e580ef47bcaccad2.jpg","text":"TemporaryFile(/tmp/multipartBody7138668593208867463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250493918,"filename":"image_30012025_16_19_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/30/30d9c9f1b804f82295b88360fa3ad20e.jpg","text":"TemporaryFile(/tmp/multipartBody1221982618236687332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250493918,"filename":"image_30012025_16_20_05_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333030137","file1":"1333030128","file0":"1333030122","file4":"1333030148","file5":"1333030151","file3":"1333030143"},"map_files_photo_id_array":[{"photo_id":"1333030151","filename":"file5"},{"photo_id":"1333030137","filename":"file2"},{"photo_id":"1333030148","filename":"file4"},{"photo_id":"1333030128","filename":"file1"},{"photo_id":"1333030122","filename":"file0"},{"photo_id":"1333030143","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333030151":["hashtag1","hashtag2"]},{"1333030148":["hashtag1","hashtag2"]},{"1333030143":["hashtag1","hashtag2"]},{"1333030137":["hashtag1","hashtag2"]},{"1333030122":["hashtag1","hashtag2"]},{"1333030128":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333030151, 1333030148, 1333030143, 1333030137, 1333030122, 1333030128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.128101110458374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:21:33.257027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/20/image_30012025_16_20_55_10391.jpg', '/home/pi/Desktop/images/30012025/16/20/image_30012025_16_21_05_10350.jpg', '/home/pi/Desktop/images/30012025/16/21/image_30012025_16_21_15_9340.jpg', '/home/pi/Desktop/images/30012025/16/21/image_30012025_16_21_25_10487.jpg', '/home/pi/Desktop/images/30012025/16/21/image_30012025_16_21_35_9351.jpg', '/home/pi/Desktop/images/30012025/16/21/image_30012025_16_21_45_10558.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/20/image_30012025_16_20_55_10391.jpg
/home/pi/Desktop/images/30012025/16/20/image_30012025_16_21_05_10350.jpg
/home/pi/Desktop/images/30012025/16/21/image_30012025_16_21_15_9340.jpg
/home/pi/Desktop/images/30012025/16/21/image_30012025_16_21_25_10487.jpg
/home/pi/Desktop/images/30012025/16/21/image_30012025_16_21_35_9351.jpg
/home/pi/Desktop/images/30012025/16/21/image_30012025_16_21_45_10558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333030466","1333030393","1333030462","1333030429","1333030512","1333030515"],"photo_ids_order":["1333030393","1333030429","1333030462","1333030466","1333030512","1333030515"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/53c87d25b87337458384cdc5a39841c2.jpg","text":"TemporaryFile(/tmp/multipartBody3150157498103485224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250554168,"filename":"image_30012025_16_21_25_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7e8f18ad935eb71b10865fc5ff12a979.jpg","text":"TemporaryFile(/tmp/multipartBody4842196050627636695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250554168,"filename":"image_30012025_16_20_55_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/30/35300993b0c17749ffa946ed41c6ef67.jpg","text":"TemporaryFile(/tmp/multipartBody7014802725694033199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250554168,"filename":"image_30012025_16_21_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/30/b832eb48011133998a61ff5029803fdc.jpg","text":"TemporaryFile(/tmp/multipartBody8849047653016406867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250554168,"filename":"image_30012025_16_21_05_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/865160cefafd4d69c7f32e5f9accad19.jpg","text":"TemporaryFile(/tmp/multipartBody258967754302408790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250554168,"filename":"image_30012025_16_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/30/bcfe45e1a8e8b61f605d960632fa70de.jpg","text":"TemporaryFile(/tmp/multipartBody4111062259364987223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250554168,"filename":"image_30012025_16_21_45_10558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333030462","file1":"1333030429","file0":"1333030393","file4":"1333030512","file5":"1333030515","file3":"1333030466"},"map_files_photo_id_array":[{"photo_id":"1333030515","filename":"file5"},{"photo_id":"1333030462","filename":"file2"},{"photo_id":"1333030512","filename":"file4"},{"photo_id":"1333030429","filename":"file1"},{"photo_id":"1333030393","filename":"file0"},{"photo_id":"1333030466","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333030466":["hashtag1","hashtag2"]},{"1333030393":["hashtag1","hashtag2"]},{"1333030462":["hashtag1","hashtag2"]},{"1333030429":["hashtag1","hashtag2"]},{"1333030512":["hashtag1","hashtag2"]},{"1333030515":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333030466, 1333030393, 1333030462, 1333030429, 1333030512, 1333030515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.87846636772156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:22:32.275237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/21/image_30012025_16_21_54_9367.jpg', '/home/pi/Desktop/images/30012025/16/21/image_30012025_16_22_05_10353.jpg', '/home/pi/Desktop/images/30012025/16/22/image_30012025_16_22_15_10454.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/21/image_30012025_16_21_54_9367.jpg
/home/pi/Desktop/images/30012025/16/21/image_30012025_16_22_05_10353.jpg
/home/pi/Desktop/images/30012025/16/22/image_30012025_16_22_15_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":["1333030553","1333030537","1333030545"],"photo_ids_order":["1333030537","1333030545","1333030553"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dccaf486dbac1c679252d674b10def7f.jpg","text":"TemporaryFile(/tmp/multipartBody8438078234961426378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250613134,"filename":"image_30012025_16_22_15_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/30/6dca24c28ce6ecf2709e2ecc112de70b.jpg","text":"TemporaryFile(/tmp/multipartBody3169483720917554281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250613134,"filename":"image_30012025_16_21_54_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/30/012773ceb4c191f3328e087df7b32cf9.jpg","text":"TemporaryFile(/tmp/multipartBody1915129114242525314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250613134,"filename":"image_30012025_16_22_05_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333030553","file1":"1333030545","file0":"1333030537"},"map_files_photo_id_array":[{"photo_id":"1333030553","filename":"file2"},{"photo_id":"1333030545","filename":"file1"},{"photo_id":"1333030537","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333030553":["hashtag1","hashtag2"]},{"1333030537":["hashtag1","hashtag2"]},{"1333030545":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333030553, 1333030537, 1333030545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.157824516296387 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 16:23:04.154912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/14/image_28012025_21_14_15_9343.jpg', '/home/pi/Desktop/images/28012025/21/14/image_28012025_21_14_25_10458.jpg', '/home/pi/Desktop/images/28012025/21/14/image_28012025_21_14_35_9441.jpg', '/home/pi/Desktop/images/28012025/21/14/image_28012025_21_14_45_10395.jpg', '/home/pi/Desktop/images/28012025/21/14/image_28012025_21_14_56_10354.jpg', '/home/pi/Desktop/images/28012025/21/14/image_28012025_21_15_05_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/21/14/image_28012025_21_14_15_9343.jpg
/home/pi/Desktop/images/28012025/21/14/image_28012025_21_14_25_10458.jpg
/home/pi/Desktop/images/28012025/21/14/image_28012025_21_14_35_9441.jpg
/home/pi/Desktop/images/28012025/21/14/image_28012025_21_14_45_10395.jpg
/home/pi/Desktop/images/28012025/21/14/image_28012025_21_14_56_10354.jpg
/home/pi/Desktop/images/28012025/21/14/image_28012025_21_15_05_9334.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.4832220077514648 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:23:32.516529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/22/image_30012025_16_22_25_9375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/22/image_30012025_16_22_25_9375.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333031351"],"photo_id":"1333031351","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fde1fae678e2cde36edcea476ed86872.jpg","text":"TemporaryFile(/tmp/multipartBody341081944039728551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250673326,"filename":"image_30012025_16_22_25_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1333031351"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1333031351"}],"hashtags":[],"portfolio_id":"20052290","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.785612344741821 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:23:52.645900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/14/image_28012025_21_14_15_9343.jpg', '/home/pi/Desktop/images/28012025/21/14/image_28012025_21_14_25_10458.jpg', '/home/pi/Desktop/images/28012025/21/14/image_28012025_21_14_35_9441.jpg', '/home/pi/Desktop/images/28012025/21/14/image_28012025_21_14_45_10395.jpg', '/home/pi/Desktop/images/28012025/21/14/image_28012025_21_14_56_10354.jpg', '/home/pi/Desktop/images/28012025/21/14/image_28012025_21_15_05_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/21/14/image_28012025_21_14_15_9343.jpg
/home/pi/Desktop/images/28012025/21/14/image_28012025_21_14_25_10458.jpg
/home/pi/Desktop/images/28012025/21/14/image_28012025_21_14_35_9441.jpg
/home/pi/Desktop/images/28012025/21/14/image_28012025_21_14_45_10395.jpg
/home/pi/Desktop/images/28012025/21/14/image_28012025_21_14_56_10354.jpg
/home/pi/Desktop/images/28012025/21/14/image_28012025_21_15_05_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333031383","1333031743","1333031722","1333031437","1333031391","1333031385"],"photo_ids_order":["1333031383","1333031385","1333031391","1333031437","1333031722","1333031743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/096093dd4a85f7a42d0e0fb089394f76.jpg","text":"TemporaryFile(/tmp/multipartBody4929291653661779741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250694994,"filename":"image_28012025_21_14_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/30/093e68ddf153178d8d86e69403280aa8.jpg","text":"TemporaryFile(/tmp/multipartBody1451684833623827934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250694994,"filename":"image_28012025_21_15_05_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/30/da224adcd52cb1c3d2d4ba1e38e8cda1.jpg","text":"TemporaryFile(/tmp/multipartBody1712384895241940581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250694994,"filename":"image_28012025_21_14_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/30/273bc7c73e482c761f1b888d27af92e1.jpg","text":"TemporaryFile(/tmp/multipartBody3324518345156042772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250694994,"filename":"image_28012025_21_14_45_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5e9be7b0a2f99318aebed34472056764.jpg","text":"TemporaryFile(/tmp/multipartBody7887690405751189602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250694994,"filename":"image_28012025_21_14_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/30/535faed5196b534be427bb70a6a0cee3.jpg","text":"TemporaryFile(/tmp/multipartBody8718998457422731328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250694994,"filename":"image_28012025_21_14_25_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333031391","file1":"1333031385","file0":"1333031383","file4":"1333031722","file5":"1333031743","file3":"1333031437"},"map_files_photo_id_array":[{"photo_id":"1333031743","filename":"file5"},{"photo_id":"1333031391","filename":"file2"},{"photo_id":"1333031722","filename":"file4"},{"photo_id":"1333031385","filename":"file1"},{"photo_id":"1333031383","filename":"file0"},{"photo_id":"1333031437","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333031383":["hashtag1","hashtag2"]},{"1333031743":["hashtag1","hashtag2"]},{"1333031722":["hashtag1","hashtag2"]},{"1333031437":["hashtag1","hashtag2"]},{"1333031391":["hashtag1","hashtag2"]},{"1333031385":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333031383, 1333031743, 1333031722, 1333031437, 1333031391, 1333031385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.360331773757935 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 16:24:42.909496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/23/image_30012025_16_23_25_10358.jpg', '/home/pi/Desktop/images/30012025/16/23/image_30012025_16_24_04_9342.jpg', '/home/pi/Desktop/images/30012025/16/24/image_30012025_16_24_15_10345.jpg', '/home/pi/Desktop/images/30012025/16/24/image_30012025_16_24_25_10407.jpg', '/home/pi/Desktop/images/30012025/16/24/image_30012025_16_24_35_9419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/23/image_30012025_16_23_25_10358.jpg
/home/pi/Desktop/images/30012025/16/23/image_30012025_16_24_04_9342.jpg
/home/pi/Desktop/images/30012025/16/24/image_30012025_16_24_15_10345.jpg
/home/pi/Desktop/images/30012025/16/24/image_30012025_16_24_25_10407.jpg
/home/pi/Desktop/images/30012025/16/24/image_30012025_16_24_35_9419.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.49198341369628906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:24:52.874574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/23/image_30012025_16_23_25_10358.jpg', '/home/pi/Desktop/images/30012025/16/23/image_30012025_16_24_04_9342.jpg', '/home/pi/Desktop/images/30012025/16/24/image_30012025_16_24_15_10345.jpg', '/home/pi/Desktop/images/30012025/16/24/image_30012025_16_24_25_10407.jpg', '/home/pi/Desktop/images/30012025/16/24/image_30012025_16_24_35_9419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/23/image_30012025_16_23_25_10358.jpg
/home/pi/Desktop/images/30012025/16/23/image_30012025_16_24_04_9342.jpg
/home/pi/Desktop/images/30012025/16/24/image_30012025_16_24_15_10345.jpg
/home/pi/Desktop/images/30012025/16/24/image_30012025_16_24_25_10407.jpg
/home/pi/Desktop/images/30012025/16/24/image_30012025_16_24_35_9419.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333031900","1333031895","1333031886","1333031891","1333031882"],"photo_ids_order":["1333031882","1333031886","1333031891","1333031895","1333031900"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1d0aabad7e7e7c14fa44f3d99bfb0512.jpg","text":"TemporaryFile(/tmp/multipartBody9013154839130640496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250753756,"filename":"image_30012025_16_24_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/30/13ba9edadffd222cd68452ca831641dc.jpg","text":"TemporaryFile(/tmp/multipartBody5658681736116351927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250753756,"filename":"image_30012025_16_24_25_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fda9f64718578bb6ad356de8048b0ebb.jpg","text":"TemporaryFile(/tmp/multipartBody6203537357119641414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250753756,"filename":"image_30012025_16_24_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/30/8dfdb81ad64622dd4265e9d97c691586.jpg","text":"TemporaryFile(/tmp/multipartBody1321264326650396766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250753756,"filename":"image_30012025_16_24_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/30/73dce6192501dd8c8fca6410210cff77.jpg","text":"TemporaryFile(/tmp/multipartBody7969309558393849093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250753756,"filename":"image_30012025_16_23_25_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333031891","file1":"1333031886","file0":"1333031882","file4":"1333031900","file3":"1333031895"},"map_files_photo_id_array":[{"photo_id":"1333031891","filename":"file2"},{"photo_id":"1333031900","filename":"file4"},{"photo_id":"1333031886","filename":"file1"},{"photo_id":"1333031882","filename":"file0"},{"photo_id":"1333031895","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333031900":["hashtag1","hashtag2"]},{"1333031895":["hashtag1","hashtag2"]},{"1333031886":["hashtag1","hashtag2"]},{"1333031891":["hashtag1","hashtag2"]},{"1333031882":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333031900, 1333031895, 1333031886, 1333031891, 1333031882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.726919412612915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:25:33.125057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/24/image_30012025_16_24_45_10375.jpg', '/home/pi/Desktop/images/30012025/16/24/image_30012025_16_25_05_9345.jpg', '/home/pi/Desktop/images/30012025/16/25/image_30012025_16_25_15_10342.jpg', '/home/pi/Desktop/images/30012025/16/25/image_30012025_16_25_25_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/24/image_30012025_16_24_45_10375.jpg
/home/pi/Desktop/images/30012025/16/24/image_30012025_16_25_05_9345.jpg
/home/pi/Desktop/images/30012025/16/25/image_30012025_16_25_15_10342.jpg
/home/pi/Desktop/images/30012025/16/25/image_30012025_16_25_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":["1333032298","1333032064","1333032293","1333032026"],"photo_ids_order":["1333032026","1333032064","1333032293","1333032298"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/04d4f2e37cd95ccfd90ffbc131d469db.jpg","text":"TemporaryFile(/tmp/multipartBody7846897894291608885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250793994,"filename":"image_30012025_16_25_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/30/ce3369258f48548f8fae0c2f4c84b21d.jpg","text":"TemporaryFile(/tmp/multipartBody3078388639272626539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250793994,"filename":"image_30012025_16_25_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/30/03b7d6f212ada2473681f24e5504c683.jpg","text":"TemporaryFile(/tmp/multipartBody3220327351941680049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250793994,"filename":"image_30012025_16_25_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/30/15fc0831102ace88ee4a4a938a1d4be9.jpg","text":"TemporaryFile(/tmp/multipartBody2799574701632244806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250793994,"filename":"image_30012025_16_24_45_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333032293","file1":"1333032064","file0":"1333032026","file3":"1333032298"},"map_files_photo_id_array":[{"photo_id":"1333032293","filename":"file2"},{"photo_id":"1333032064","filename":"file1"},{"photo_id":"1333032026","filename":"file0"},{"photo_id":"1333032298","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333032298":["hashtag1","hashtag2"]},{"1333032064":["hashtag1","hashtag2"]},{"1333032293":["hashtag1","hashtag2"]},{"1333032026":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333032298, 1333032064, 1333032293, 1333032026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.654911279678345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:26:32.318510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/25/image_30012025_16_25_54_9350.jpg', '/home/pi/Desktop/images/30012025/16/25/image_30012025_16_26_05_10456.jpg', '/home/pi/Desktop/images/30012025/16/26/image_30012025_16_26_15_10331.jpg', '/home/pi/Desktop/images/30012025/16/26/image_30012025_16_26_44_9402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/25/image_30012025_16_25_54_9350.jpg
/home/pi/Desktop/images/30012025/16/25/image_30012025_16_26_05_10456.jpg
/home/pi/Desktop/images/30012025/16/26/image_30012025_16_26_15_10331.jpg
/home/pi/Desktop/images/30012025/16/26/image_30012025_16_26_44_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":["1333032517","1333032508","1333032500","1333032493"],"photo_ids_order":["1333032493","1333032500","1333032508","1333032517"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/935000f932b425175acc54cea7140405.jpg","text":"TemporaryFile(/tmp/multipartBody3910109111209836241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250853205,"filename":"image_30012025_16_26_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/30/2ea77b4ba8c0ea299131d968a9968b1d.jpg","text":"TemporaryFile(/tmp/multipartBody3344866681616004392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250853205,"filename":"image_30012025_16_26_15_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/25380197a51fbf94ec707938dd8ad77a.jpg","text":"TemporaryFile(/tmp/multipartBody3386399945041497700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250853205,"filename":"image_30012025_16_26_05_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/30/ae112c089a4a486646adc9f480c95e9e.jpg","text":"TemporaryFile(/tmp/multipartBody282756983664472089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250853205,"filename":"image_30012025_16_25_54_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333032508","file1":"1333032500","file0":"1333032493","file3":"1333032517"},"map_files_photo_id_array":[{"photo_id":"1333032508","filename":"file2"},{"photo_id":"1333032500","filename":"file1"},{"photo_id":"1333032493","filename":"file0"},{"photo_id":"1333032517","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333032517":["hashtag1","hashtag2"]},{"1333032508":["hashtag1","hashtag2"]},{"1333032500":["hashtag1","hashtag2"]},{"1333032493":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333032517, 1333032508, 1333032500, 1333032493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.681318998336792 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:27:32.626781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/26/image_30012025_16_26_55_10364.jpg', '/home/pi/Desktop/images/30012025/16/26/image_30012025_16_27_05_10393.jpg', '/home/pi/Desktop/images/30012025/16/27/image_30012025_16_27_15_9374.jpg', '/home/pi/Desktop/images/30012025/16/27/image_30012025_16_27_35_10391.jpg', '/home/pi/Desktop/images/30012025/16/27/image_30012025_16_27_45_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/26/image_30012025_16_26_55_10364.jpg
/home/pi/Desktop/images/30012025/16/26/image_30012025_16_27_05_10393.jpg
/home/pi/Desktop/images/30012025/16/27/image_30012025_16_27_15_9374.jpg
/home/pi/Desktop/images/30012025/16/27/image_30012025_16_27_35_10391.jpg
/home/pi/Desktop/images/30012025/16/27/image_30012025_16_27_45_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":["1333032568","1333032553","1333032564","1333032549","1333032560"],"photo_ids_order":["1333032549","1333032553","1333032560","1333032564","1333032568"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/613e65788965b75aa40f59bf58c82ce4.jpg","text":"TemporaryFile(/tmp/multipartBody2954354731335512255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250918566,"filename":"image_30012025_16_27_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/30/b1801558f66e2d10acb9fb6452f9a72b.jpg","text":"TemporaryFile(/tmp/multipartBody5914347664592747480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250918566,"filename":"image_30012025_16_27_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/30/235b1ede74bfd56c1075247713e71c66.jpg","text":"TemporaryFile(/tmp/multipartBody680523228032743266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250918566,"filename":"image_30012025_16_27_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/30/44d95b108d2fe318b11e4e9c6b8596af.jpg","text":"TemporaryFile(/tmp/multipartBody3766792274131539472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250918566,"filename":"image_30012025_16_26_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/30/9385b3389435886a1d1508a8f4c65347.jpg","text":"TemporaryFile(/tmp/multipartBody3785301270027278902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250918566,"filename":"image_30012025_16_27_15_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333032560","file1":"1333032553","file0":"1333032549","file4":"1333032568","file3":"1333032564"},"map_files_photo_id_array":[{"photo_id":"1333032560","filename":"file2"},{"photo_id":"1333032568","filename":"file4"},{"photo_id":"1333032553","filename":"file1"},{"photo_id":"1333032549","filename":"file0"},{"photo_id":"1333032564","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333032568":["hashtag1","hashtag2"]},{"1333032553":["hashtag1","hashtag2"]},{"1333032564":["hashtag1","hashtag2"]},{"1333032549":["hashtag1","hashtag2"]},{"1333032560":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333032568, 1333032553, 1333032564, 1333032549, 1333032560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 41.2295937538147 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:28:32.810236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/27/image_30012025_16_27_55_10429.jpg', '/home/pi/Desktop/images/30012025/16/27/image_30012025_16_28_04_9406.jpg', '/home/pi/Desktop/images/30012025/16/28/image_30012025_16_28_15_10460.jpg', '/home/pi/Desktop/images/30012025/16/28/image_30012025_16_28_24_9412.jpg', '/home/pi/Desktop/images/30012025/16/28/image_30012025_16_28_35_10336.jpg', '/home/pi/Desktop/images/30012025/16/28/image_30012025_16_28_45_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/27/image_30012025_16_27_55_10429.jpg
/home/pi/Desktop/images/30012025/16/27/image_30012025_16_28_04_9406.jpg
/home/pi/Desktop/images/30012025/16/28/image_30012025_16_28_15_10460.jpg
/home/pi/Desktop/images/30012025/16/28/image_30012025_16_28_24_9412.jpg
/home/pi/Desktop/images/30012025/16/28/image_30012025_16_28_35_10336.jpg
/home/pi/Desktop/images/30012025/16/28/image_30012025_16_28_45_10411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333032754","1333032739","1333032663","1333032657","1333032750","1333032651"],"photo_ids_order":["1333032651","1333032657","1333032663","1333032739","1333032750","1333032754"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a2a54102d3007f87b85d1e8513565c67.jpg","text":"TemporaryFile(/tmp/multipartBody5800216004792446597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250973710,"filename":"image_30012025_16_28_45_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5b68c701f72ea33b05fc87699edeaa4a.jpg","text":"TemporaryFile(/tmp/multipartBody779755099649063517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250973710,"filename":"image_30012025_16_28_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/30/849cb09a26b70a92fd90a36eb236c274.jpg","text":"TemporaryFile(/tmp/multipartBody5582817856643897371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250973710,"filename":"image_30012025_16_28_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/30/8fa363e277d0cb30bbbedf94ec5d3ec7.jpg","text":"TemporaryFile(/tmp/multipartBody2884448255277815431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250973710,"filename":"image_30012025_16_28_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/30/65ae6c5b73a29efcd942fd934d891072.jpg","text":"TemporaryFile(/tmp/multipartBody5385037672955558788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250973710,"filename":"image_30012025_16_28_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/30/de93c08f0b25d93c6d1181a15ee78980.jpg","text":"TemporaryFile(/tmp/multipartBody3317256580194539967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738250973710,"filename":"image_30012025_16_27_55_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333032663","file1":"1333032657","file0":"1333032651","file4":"1333032750","file5":"1333032754","file3":"1333032739"},"map_files_photo_id_array":[{"photo_id":"1333032754","filename":"file5"},{"photo_id":"1333032663","filename":"file2"},{"photo_id":"1333032750","filename":"file4"},{"photo_id":"1333032657","filename":"file1"},{"photo_id":"1333032651","filename":"file0"},{"photo_id":"1333032739","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333032754":["hashtag1","hashtag2"]},{"1333032739":["hashtag1","hashtag2"]},{"1333032663":["hashtag1","hashtag2"]},{"1333032657":["hashtag1","hashtag2"]},{"1333032750":["hashtag1","hashtag2"]},{"1333032651":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333032754, 1333032739, 1333032663, 1333032657, 1333032750, 1333032651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.7709321975708 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:29:33.044926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/28/image_30012025_16_28_54_9357.jpg', '/home/pi/Desktop/images/30012025/16/28/image_30012025_16_29_05_10418.jpg', '/home/pi/Desktop/images/30012025/16/29/image_30012025_16_29_15_10344.jpg', '/home/pi/Desktop/images/30012025/16/29/image_30012025_16_29_25_9359.jpg', '/home/pi/Desktop/images/30012025/16/29/image_30012025_16_29_35_10431.jpg', '/home/pi/Desktop/images/30012025/16/29/image_30012025_16_29_44_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/28/image_30012025_16_28_54_9357.jpg
/home/pi/Desktop/images/30012025/16/28/image_30012025_16_29_05_10418.jpg
/home/pi/Desktop/images/30012025/16/29/image_30012025_16_29_15_10344.jpg
/home/pi/Desktop/images/30012025/16/29/image_30012025_16_29_25_9359.jpg
/home/pi/Desktop/images/30012025/16/29/image_30012025_16_29_35_10431.jpg
/home/pi/Desktop/images/30012025/16/29/image_30012025_16_29_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":["1333032780","1333032798","1333032786","1333032794","1333032796","1333032790"],"photo_ids_order":["1333032780","1333032786","1333032790","1333032794","1333032796","1333032798"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fd90a9faa5a5d37c427c96b8b909d95a.jpg","text":"TemporaryFile(/tmp/multipartBody606008735007904304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251033945,"filename":"image_30012025_16_28_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/30/d123955df3f5a94e0c3ad1b84dc3723b.jpg","text":"TemporaryFile(/tmp/multipartBody342877633325389238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251033945,"filename":"image_30012025_16_29_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/30/b0c35fa12f2a9c6ef0880bab0fb3b3b5.jpg","text":"TemporaryFile(/tmp/multipartBody3835452744215544709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251033945,"filename":"image_30012025_16_29_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/30/783cca258027310e7b3753a21680eece.jpg","text":"TemporaryFile(/tmp/multipartBody3552171853192666368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251033945,"filename":"image_30012025_16_29_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/30/5a889539602d2407eb205e42e5fbde91.jpg","text":"TemporaryFile(/tmp/multipartBody8032256198221637741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251033945,"filename":"image_30012025_16_29_35_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/30/659460d836778d3ecff575ea8bb4df73.jpg","text":"TemporaryFile(/tmp/multipartBody7904337622868498327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251033945,"filename":"image_30012025_16_29_15_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333032790","file1":"1333032786","file0":"1333032780","file4":"1333032796","file5":"1333032798","file3":"1333032794"},"map_files_photo_id_array":[{"photo_id":"1333032798","filename":"file5"},{"photo_id":"1333032790","filename":"file2"},{"photo_id":"1333032796","filename":"file4"},{"photo_id":"1333032786","filename":"file1"},{"photo_id":"1333032780","filename":"file0"},{"photo_id":"1333032794","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333032780":["hashtag1","hashtag2"]},{"1333032798":["hashtag1","hashtag2"]},{"1333032786":["hashtag1","hashtag2"]},{"1333032794":["hashtag1","hashtag2"]},{"1333032796":["hashtag1","hashtag2"]},{"1333032790":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333032780, 1333032798, 1333032786, 1333032794, 1333032796, 1333032790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.5258948802948 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:30:32.243164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/29/image_30012025_16_29_55_10342.jpg', '/home/pi/Desktop/images/30012025/16/29/image_30012025_16_30_05_10360.jpg', '/home/pi/Desktop/images/30012025/16/30/image_30012025_16_30_14_9320.jpg', '/home/pi/Desktop/images/30012025/16/30/image_30012025_16_30_25_10343.jpg', '/home/pi/Desktop/images/30012025/16/30/image_30012025_16_30_35_10438.jpg', '/home/pi/Desktop/images/30012025/16/30/image_30012025_16_30_45_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/29/image_30012025_16_29_55_10342.jpg
/home/pi/Desktop/images/30012025/16/29/image_30012025_16_30_05_10360.jpg
/home/pi/Desktop/images/30012025/16/30/image_30012025_16_30_14_9320.jpg
/home/pi/Desktop/images/30012025/16/30/image_30012025_16_30_25_10343.jpg
/home/pi/Desktop/images/30012025/16/30/image_30012025_16_30_35_10438.jpg
/home/pi/Desktop/images/30012025/16/30/image_30012025_16_30_45_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":["1333032943","1333032972","1333033032","1333032858","1333032921","1333032994"],"photo_ids_order":["1333032858","1333032921","1333032943","1333032972","1333032994","1333033032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c54ccead608b9e59f96fa2be462c7e24.jpg","text":"TemporaryFile(/tmp/multipartBody531563233199092014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251093147,"filename":"image_30012025_16_30_14_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/abb641ebe916202c5591ff65262c16f6.jpg","text":"TemporaryFile(/tmp/multipartBody8213963888172327007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251093147,"filename":"image_30012025_16_30_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/30/836fd9991be04492b11b0ed907b70b7b.jpg","text":"TemporaryFile(/tmp/multipartBody1919710579836298884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251093147,"filename":"image_30012025_16_30_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/30/fe6f9ec00b166c6a13879d5129d69673.jpg","text":"TemporaryFile(/tmp/multipartBody3156586763170588702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251093147,"filename":"image_30012025_16_29_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/30/0cf488442f5b818d8980cb31aabfafc2.jpg","text":"TemporaryFile(/tmp/multipartBody7262598916925313131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251093147,"filename":"image_30012025_16_30_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/30/afc6ff53417a38f737fa550968cc01ec.jpg","text":"TemporaryFile(/tmp/multipartBody8915611696597403144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251093147,"filename":"image_30012025_16_30_35_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333032943","file1":"1333032921","file0":"1333032858","file4":"1333032994","file5":"1333033032","file3":"1333032972"},"map_files_photo_id_array":[{"photo_id":"1333033032","filename":"file5"},{"photo_id":"1333032943","filename":"file2"},{"photo_id":"1333032994","filename":"file4"},{"photo_id":"1333032921","filename":"file1"},{"photo_id":"1333032858","filename":"file0"},{"photo_id":"1333032972","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333032943":["hashtag1","hashtag2"]},{"1333032972":["hashtag1","hashtag2"]},{"1333033032":["hashtag1","hashtag2"]},{"1333032858":["hashtag1","hashtag2"]},{"1333032921":["hashtag1","hashtag2"]},{"1333032994":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333032943, 1333032972, 1333033032, 1333032858, 1333032921, 1333032994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.10060524940491 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:31:32.510273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/30/image_30012025_16_30_55_10466.jpg', '/home/pi/Desktop/images/30012025/16/30/image_30012025_16_31_05_10325.jpg', '/home/pi/Desktop/images/30012025/16/31/image_30012025_16_31_15_9330.jpg', '/home/pi/Desktop/images/30012025/16/31/image_30012025_16_31_25_10459.jpg', '/home/pi/Desktop/images/30012025/16/31/image_30012025_16_31_34_9355.jpg', '/home/pi/Desktop/images/30012025/16/31/image_30012025_16_31_45_10410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/30/image_30012025_16_30_55_10466.jpg
/home/pi/Desktop/images/30012025/16/30/image_30012025_16_31_05_10325.jpg
/home/pi/Desktop/images/30012025/16/31/image_30012025_16_31_15_9330.jpg
/home/pi/Desktop/images/30012025/16/31/image_30012025_16_31_25_10459.jpg
/home/pi/Desktop/images/30012025/16/31/image_30012025_16_31_34_9355.jpg
/home/pi/Desktop/images/30012025/16/31/image_30012025_16_31_45_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":["1333033252","1333033230","1333033265","1333033244","1333033268","1333033261"],"photo_ids_order":["1333033230","1333033244","1333033252","1333033261","1333033265","1333033268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9cc0131141794cea3f8882f8e4c2345b.jpg","text":"TemporaryFile(/tmp/multipartBody763858195184293368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251153415,"filename":"image_30012025_16_31_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/30/329ff1c9103429342b65d79d0f4dfe9a.jpg","text":"TemporaryFile(/tmp/multipartBody3161927006282168772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251153415,"filename":"image_30012025_16_30_55_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e94c0e0e065a4aa07401fe704edfa909.jpg","text":"TemporaryFile(/tmp/multipartBody7718474352460338307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251153415,"filename":"image_30012025_16_31_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/30/13a815047ffad04fb7b8f46a705350f6.jpg","text":"TemporaryFile(/tmp/multipartBody896154591796268273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251153415,"filename":"image_30012025_16_31_05_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/91ce73528fa8dedc972017b11ab33b9a.jpg","text":"TemporaryFile(/tmp/multipartBody5986451460153523442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251153415,"filename":"image_30012025_16_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/30/1f1605d3c6b59e9a6becc33cd7ee0e7e.jpg","text":"TemporaryFile(/tmp/multipartBody3074387549472671845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251153415,"filename":"image_30012025_16_31_25_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333033252","file1":"1333033244","file0":"1333033230","file4":"1333033265","file5":"1333033268","file3":"1333033261"},"map_files_photo_id_array":[{"photo_id":"1333033268","filename":"file5"},{"photo_id":"1333033252","filename":"file2"},{"photo_id":"1333033265","filename":"file4"},{"photo_id":"1333033244","filename":"file1"},{"photo_id":"1333033230","filename":"file0"},{"photo_id":"1333033261","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333033252":["hashtag1","hashtag2"]},{"1333033230":["hashtag1","hashtag2"]},{"1333033265":["hashtag1","hashtag2"]},{"1333033244":["hashtag1","hashtag2"]},{"1333033268":["hashtag1","hashtag2"]},{"1333033261":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333033252, 1333033230, 1333033265, 1333033244, 1333033268, 1333033261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.986202001571655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:32:32.826255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/31/image_30012025_16_31_55_10359.jpg', '/home/pi/Desktop/images/30012025/16/31/image_30012025_16_32_05_9338.jpg', '/home/pi/Desktop/images/30012025/16/32/image_30012025_16_32_15_10434.jpg', '/home/pi/Desktop/images/30012025/16/32/image_30012025_16_32_24_9337.jpg', '/home/pi/Desktop/images/30012025/16/32/image_30012025_16_32_35_10340.jpg', '/home/pi/Desktop/images/30012025/16/32/image_30012025_16_32_45_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/31/image_30012025_16_31_55_10359.jpg
/home/pi/Desktop/images/30012025/16/31/image_30012025_16_32_05_9338.jpg
/home/pi/Desktop/images/30012025/16/32/image_30012025_16_32_15_10434.jpg
/home/pi/Desktop/images/30012025/16/32/image_30012025_16_32_24_9337.jpg
/home/pi/Desktop/images/30012025/16/32/image_30012025_16_32_35_10340.jpg
/home/pi/Desktop/images/30012025/16/32/image_30012025_16_32_45_10426.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.507878303527832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 16:32:43.020847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/31/image_30012025_16_31_55_10359.jpg', '/home/pi/Desktop/images/30012025/16/31/image_30012025_16_32_05_9338.jpg', '/home/pi/Desktop/images/30012025/16/32/image_30012025_16_32_15_10434.jpg', '/home/pi/Desktop/images/30012025/16/32/image_30012025_16_32_24_9337.jpg', '/home/pi/Desktop/images/30012025/16/32/image_30012025_16_32_35_10340.jpg', '/home/pi/Desktop/images/30012025/16/32/image_30012025_16_32_45_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/31/image_30012025_16_31_55_10359.jpg
/home/pi/Desktop/images/30012025/16/31/image_30012025_16_32_05_9338.jpg
/home/pi/Desktop/images/30012025/16/32/image_30012025_16_32_15_10434.jpg
/home/pi/Desktop/images/30012025/16/32/image_30012025_16_32_24_9337.jpg
/home/pi/Desktop/images/30012025/16/32/image_30012025_16_32_35_10340.jpg
/home/pi/Desktop/images/30012025/16/32/image_30012025_16_32_45_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":["1333033644","1333033661","1333033565","1333033693","1333033706","1333033700"],"photo_ids_order":["1333033565","1333033644","1333033661","1333033693","1333033700","1333033706"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/36eaaa2677185e651f42cb524c6cf4bc.jpg","text":"TemporaryFile(/tmp/multipartBody3490405618371311502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251223926,"filename":"image_30012025_16_32_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/30/7ec965ed66de28b0cc99857b232fd720.jpg","text":"TemporaryFile(/tmp/multipartBody2565148389882059600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251223926,"filename":"image_30012025_16_32_15_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/12b3d437b776b0bcec34026fe9c9844f.jpg","text":"TemporaryFile(/tmp/multipartBody108821768375627061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251223926,"filename":"image_30012025_16_31_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/30/0718c692b302ec8f04e4c542d27b0cd9.jpg","text":"TemporaryFile(/tmp/multipartBody8024650107718284950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251223926,"filename":"image_30012025_16_32_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/30/427c8cbfd5bf8af9c17695a85315a31a.jpg","text":"TemporaryFile(/tmp/multipartBody7444600607408484351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251223926,"filename":"image_30012025_16_32_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/30/f2cabfada52f6b4897cda063f31f67cb.jpg","text":"TemporaryFile(/tmp/multipartBody4163892010367822705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251223926,"filename":"image_30012025_16_32_35_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333033661","file1":"1333033644","file0":"1333033565","file4":"1333033700","file5":"1333033706","file3":"1333033693"},"map_files_photo_id_array":[{"photo_id":"1333033706","filename":"file5"},{"photo_id":"1333033661","filename":"file2"},{"photo_id":"1333033700","filename":"file4"},{"photo_id":"1333033644","filename":"file1"},{"photo_id":"1333033565","filename":"file0"},{"photo_id":"1333033693","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333033644":["hashtag1","hashtag2"]},{"1333033661":["hashtag1","hashtag2"]},{"1333033565":["hashtag1","hashtag2"]},{"1333033693":["hashtag1","hashtag2"]},{"1333033706":["hashtag1","hashtag2"]},{"1333033700":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333033644, 1333033661, 1333033565, 1333033693, 1333033706, 1333033700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.49314546585083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:33:33.051425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/32/image_30012025_16_32_54_9338.jpg', '/home/pi/Desktop/images/30012025/16/32/image_30012025_16_33_05_10339.jpg', '/home/pi/Desktop/images/30012025/16/33/image_30012025_16_33_15_10357.jpg', '/home/pi/Desktop/images/30012025/16/33/image_30012025_16_33_25_9443.jpg', '/home/pi/Desktop/images/30012025/16/33/image_30012025_16_33_35_10361.jpg', '/home/pi/Desktop/images/30012025/16/33/image_30012025_16_33_45_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/32/image_30012025_16_32_54_9338.jpg
/home/pi/Desktop/images/30012025/16/32/image_30012025_16_33_05_10339.jpg
/home/pi/Desktop/images/30012025/16/33/image_30012025_16_33_15_10357.jpg
/home/pi/Desktop/images/30012025/16/33/image_30012025_16_33_25_9443.jpg
/home/pi/Desktop/images/30012025/16/33/image_30012025_16_33_35_10361.jpg
/home/pi/Desktop/images/30012025/16/33/image_30012025_16_33_45_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333033872","1333033869","1333033836","1333033859","1333033873","1333033846"],"photo_ids_order":["1333033836","1333033846","1333033859","1333033869","1333033872","1333033873"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1dff2f209d0d294705f1923cbc520195.jpg","text":"TemporaryFile(/tmp/multipartBody4364052224371810779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251273959,"filename":"image_30012025_16_33_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5fdae7d9e79e91830db9b5b84922cae5.jpg","text":"TemporaryFile(/tmp/multipartBody2359860557648252441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251273959,"filename":"image_30012025_16_33_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/30/d6819aa519d211f79c27d9018051baa3.jpg","text":"TemporaryFile(/tmp/multipartBody4554319365924228164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251273959,"filename":"image_30012025_16_32_54_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fb2c481838b588103f70377551b970b9.jpg","text":"TemporaryFile(/tmp/multipartBody5190614383334617405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251273959,"filename":"image_30012025_16_33_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/30/e2d5cdb385c5480414d236c5515cd315.jpg","text":"TemporaryFile(/tmp/multipartBody4232250758710529355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251273959,"filename":"image_30012025_16_33_45_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3001460fb358ff6d052e8d27c6eae28c.jpg","text":"TemporaryFile(/tmp/multipartBody3354922973908776129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251273959,"filename":"image_30012025_16_33_05_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333033859","file1":"1333033846","file0":"1333033836","file4":"1333033872","file5":"1333033873","file3":"1333033869"},"map_files_photo_id_array":[{"photo_id":"1333033873","filename":"file5"},{"photo_id":"1333033859","filename":"file2"},{"photo_id":"1333033872","filename":"file4"},{"photo_id":"1333033846","filename":"file1"},{"photo_id":"1333033836","filename":"file0"},{"photo_id":"1333033869","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333033872":["hashtag1","hashtag2"]},{"1333033869":["hashtag1","hashtag2"]},{"1333033836":["hashtag1","hashtag2"]},{"1333033859":["hashtag1","hashtag2"]},{"1333033873":["hashtag1","hashtag2"]},{"1333033846":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333033872, 1333033869, 1333033836, 1333033859, 1333033873, 1333033846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.85256028175354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:34:32.161185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/33/image_30012025_16_33_55_9346.jpg', '/home/pi/Desktop/images/30012025/16/33/image_30012025_16_34_05_10452.jpg', '/home/pi/Desktop/images/30012025/16/34/image_30012025_16_34_14_9331.jpg', '/home/pi/Desktop/images/30012025/16/34/image_30012025_16_34_25_10424.jpg', '/home/pi/Desktop/images/30012025/16/34/image_30012025_16_34_35_10343.jpg', '/home/pi/Desktop/images/30012025/16/34/image_30012025_16_34_45_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/33/image_30012025_16_33_55_9346.jpg
/home/pi/Desktop/images/30012025/16/33/image_30012025_16_34_05_10452.jpg
/home/pi/Desktop/images/30012025/16/34/image_30012025_16_34_14_9331.jpg
/home/pi/Desktop/images/30012025/16/34/image_30012025_16_34_25_10424.jpg
/home/pi/Desktop/images/30012025/16/34/image_30012025_16_34_35_10343.jpg
/home/pi/Desktop/images/30012025/16/34/image_30012025_16_34_45_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":["1333033933","1333033912","1333033899","1333033923","1333033905","1333033918"],"photo_ids_order":["1333033899","1333033905","1333033912","1333033918","1333033923","1333033933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3c44fcf22f2842cde97d665008c24dc5.jpg","text":"TemporaryFile(/tmp/multipartBody8516567325593663075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251333065,"filename":"image_30012025_16_34_45_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/39c9749e9f1e384bd776ec5b3d920eaf.jpg","text":"TemporaryFile(/tmp/multipartBody5020094982161669000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251333065,"filename":"image_30012025_16_34_14_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/30/601b6ae4c947d039a7f0168637568db0.jpg","text":"TemporaryFile(/tmp/multipartBody5462045587311406624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251333065,"filename":"image_30012025_16_33_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/30/61b6c7fd99ed5bd7699d6aea339b1ae7.jpg","text":"TemporaryFile(/tmp/multipartBody7990687883975437757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251333065,"filename":"image_30012025_16_34_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/30/7ea171b3698d586b8c84631957a55b60.jpg","text":"TemporaryFile(/tmp/multipartBody8069971684626212648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251333065,"filename":"image_30012025_16_34_05_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/30/73432914b2148133dc019163d661380d.jpg","text":"TemporaryFile(/tmp/multipartBody3276357928140493707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251333065,"filename":"image_30012025_16_34_25_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333033912","file1":"1333033905","file0":"1333033899","file4":"1333033923","file5":"1333033933","file3":"1333033918"},"map_files_photo_id_array":[{"photo_id":"1333033933","filename":"file5"},{"photo_id":"1333033912","filename":"file2"},{"photo_id":"1333033923","filename":"file4"},{"photo_id":"1333033905","filename":"file1"},{"photo_id":"1333033899","filename":"file0"},{"photo_id":"1333033918","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333033933":["hashtag1","hashtag2"]},{"1333033912":["hashtag1","hashtag2"]},{"1333033899":["hashtag1","hashtag2"]},{"1333033923":["hashtag1","hashtag2"]},{"1333033905":["hashtag1","hashtag2"]},{"1333033918":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333033933, 1333033912, 1333033899, 1333033923, 1333033905, 1333033918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.565611600875854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:35:32.414706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/34/image_30012025_16_34_55_10424.jpg', '/home/pi/Desktop/images/30012025/16/34/image_30012025_16_35_05_10359.jpg', '/home/pi/Desktop/images/30012025/16/35/image_30012025_16_35_15_9437.jpg', '/home/pi/Desktop/images/30012025/16/35/image_30012025_16_35_25_10386.jpg', '/home/pi/Desktop/images/30012025/16/35/image_30012025_16_35_34_9332.jpg', '/home/pi/Desktop/images/30012025/16/35/image_30012025_16_35_45_10396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/34/image_30012025_16_34_55_10424.jpg
/home/pi/Desktop/images/30012025/16/34/image_30012025_16_35_05_10359.jpg
/home/pi/Desktop/images/30012025/16/35/image_30012025_16_35_15_9437.jpg
/home/pi/Desktop/images/30012025/16/35/image_30012025_16_35_25_10386.jpg
/home/pi/Desktop/images/30012025/16/35/image_30012025_16_35_34_9332.jpg
/home/pi/Desktop/images/30012025/16/35/image_30012025_16_35_45_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":["1333034002","1333033998","1333033994","1333033988","1333033982","1333033976"],"photo_ids_order":["1333033976","1333033982","1333033988","1333033994","1333033998","1333034002"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6968eb7ff7f59e32cf226c9cac531584.jpg","text":"TemporaryFile(/tmp/multipartBody8124298118868661407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251393314,"filename":"image_30012025_16_35_45_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/089d7332275d456acdb04412a6a167cf.jpg","text":"TemporaryFile(/tmp/multipartBody4877541460662402135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251393314,"filename":"image_30012025_16_35_34_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/30/c0cf418a2b46b4c1cd2cd56fb0a42f0d.jpg","text":"TemporaryFile(/tmp/multipartBody6877846633582266547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251393314,"filename":"image_30012025_16_35_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/30/11edde18604323b4894e22f774ac8348.jpg","text":"TemporaryFile(/tmp/multipartBody4694669856017948375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251393314,"filename":"image_30012025_16_35_15_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/30/c88c17bc495277dc50538c6eeb78d917.jpg","text":"TemporaryFile(/tmp/multipartBody8196324587844281671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251393314,"filename":"image_30012025_16_35_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/30/3c34353db9dbc5c7f86b5d1268df3b12.jpg","text":"TemporaryFile(/tmp/multipartBody4323543829306824984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251393314,"filename":"image_30012025_16_34_55_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333033988","file1":"1333033982","file0":"1333033976","file4":"1333033998","file5":"1333034002","file3":"1333033994"},"map_files_photo_id_array":[{"photo_id":"1333034002","filename":"file5"},{"photo_id":"1333033988","filename":"file2"},{"photo_id":"1333033998","filename":"file4"},{"photo_id":"1333033982","filename":"file1"},{"photo_id":"1333033976","filename":"file0"},{"photo_id":"1333033994","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333034002":["hashtag1","hashtag2"]},{"1333033998":["hashtag1","hashtag2"]},{"1333033994":["hashtag1","hashtag2"]},{"1333033988":["hashtag1","hashtag2"]},{"1333033982":["hashtag1","hashtag2"]},{"1333033976":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333034002, 1333033998, 1333033994, 1333033988, 1333033982, 1333033976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.25116014480591 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:36:32.518009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/35/image_30012025_16_35_55_10343.jpg', '/home/pi/Desktop/images/30012025/16/35/image_30012025_16_36_05_9352.jpg', '/home/pi/Desktop/images/30012025/16/36/image_30012025_16_36_15_10347.jpg', '/home/pi/Desktop/images/30012025/16/36/image_30012025_16_36_24_9457.jpg', '/home/pi/Desktop/images/30012025/16/36/image_30012025_16_36_35_10359.jpg', '/home/pi/Desktop/images/30012025/16/36/image_30012025_16_36_45_10435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/35/image_30012025_16_35_55_10343.jpg
/home/pi/Desktop/images/30012025/16/35/image_30012025_16_36_05_9352.jpg
/home/pi/Desktop/images/30012025/16/36/image_30012025_16_36_15_10347.jpg
/home/pi/Desktop/images/30012025/16/36/image_30012025_16_36_24_9457.jpg
/home/pi/Desktop/images/30012025/16/36/image_30012025_16_36_35_10359.jpg
/home/pi/Desktop/images/30012025/16/36/image_30012025_16_36_45_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":["1333034049","1333034040","1333034045","1333034027","1333034018","1333034053"],"photo_ids_order":["1333034018","1333034027","1333034040","1333034045","1333034049","1333034053"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/99eb1aae3fed97930b6171951744efe2.jpg","text":"TemporaryFile(/tmp/multipartBody5923949050245315171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251453423,"filename":"image_30012025_16_36_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/30/b08f76143d0a652c63963d955c9eb978.jpg","text":"TemporaryFile(/tmp/multipartBody5971225323465206988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251453423,"filename":"image_30012025_16_36_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/30/0ea9cafa1707592d1f5854dce0c90bbe.jpg","text":"TemporaryFile(/tmp/multipartBody8960597201222904163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251453423,"filename":"image_30012025_16_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/30/9ebc6d3f965a153bcaff4dcd5ff9ad0e.jpg","text":"TemporaryFile(/tmp/multipartBody4696675801137422810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251453423,"filename":"image_30012025_16_36_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/30/3fda7e4c4f46ee770fa8b660230bdaac.jpg","text":"TemporaryFile(/tmp/multipartBody2042863951853439260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251453423,"filename":"image_30012025_16_35_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/30/7250d2ceb623010e7909a8fbe7f3eab8.jpg","text":"TemporaryFile(/tmp/multipartBody1813614804613055806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251453423,"filename":"image_30012025_16_36_45_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333034040","file1":"1333034027","file0":"1333034018","file4":"1333034049","file5":"1333034053","file3":"1333034045"},"map_files_photo_id_array":[{"photo_id":"1333034053","filename":"file5"},{"photo_id":"1333034040","filename":"file2"},{"photo_id":"1333034049","filename":"file4"},{"photo_id":"1333034027","filename":"file1"},{"photo_id":"1333034018","filename":"file0"},{"photo_id":"1333034045","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333034049":["hashtag1","hashtag2"]},{"1333034040":["hashtag1","hashtag2"]},{"1333034045":["hashtag1","hashtag2"]},{"1333034027":["hashtag1","hashtag2"]},{"1333034018":["hashtag1","hashtag2"]},{"1333034053":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333034049, 1333034040, 1333034045, 1333034027, 1333034018, 1333034053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.94196653366089 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:37:33.029529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/36/image_30012025_16_36_55_9348.jpg', '/home/pi/Desktop/images/30012025/16/36/image_30012025_16_37_05_10478.jpg', '/home/pi/Desktop/images/30012025/16/37/image_30012025_16_37_14_9337.jpg', '/home/pi/Desktop/images/30012025/16/37/image_30012025_16_37_25_10355.jpg', '/home/pi/Desktop/images/30012025/16/37/image_30012025_16_37_35_10379.jpg', '/home/pi/Desktop/images/30012025/16/37/image_30012025_16_37_44_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/36/image_30012025_16_36_55_9348.jpg
/home/pi/Desktop/images/30012025/16/36/image_30012025_16_37_05_10478.jpg
/home/pi/Desktop/images/30012025/16/37/image_30012025_16_37_14_9337.jpg
/home/pi/Desktop/images/30012025/16/37/image_30012025_16_37_25_10355.jpg
/home/pi/Desktop/images/30012025/16/37/image_30012025_16_37_35_10379.jpg
/home/pi/Desktop/images/30012025/16/37/image_30012025_16_37_44_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.5125625133514404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 16:37:43.061783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/36/image_30012025_16_36_55_9348.jpg', '/home/pi/Desktop/images/30012025/16/36/image_30012025_16_37_05_10478.jpg', '/home/pi/Desktop/images/30012025/16/37/image_30012025_16_37_14_9337.jpg', '/home/pi/Desktop/images/30012025/16/37/image_30012025_16_37_25_10355.jpg', '/home/pi/Desktop/images/30012025/16/37/image_30012025_16_37_35_10379.jpg', '/home/pi/Desktop/images/30012025/16/37/image_30012025_16_37_44_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/36/image_30012025_16_36_55_9348.jpg
/home/pi/Desktop/images/30012025/16/36/image_30012025_16_37_05_10478.jpg
/home/pi/Desktop/images/30012025/16/37/image_30012025_16_37_14_9337.jpg
/home/pi/Desktop/images/30012025/16/37/image_30012025_16_37_25_10355.jpg
/home/pi/Desktop/images/30012025/16/37/image_30012025_16_37_35_10379.jpg
/home/pi/Desktop/images/30012025/16/37/image_30012025_16_37_44_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":["1333034595","1333034433","1333034597","1333034510","1333034464","1333034449"],"photo_ids_order":["1333034433","1333034449","1333034464","1333034510","1333034595","1333034597"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/97ccda3620598e6d994a56fc8c724ce9.jpg","text":"TemporaryFile(/tmp/multipartBody1426615021192220227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251523996,"filename":"image_30012025_16_37_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/30/8a7790ccc5fbfbd0d4d8804d8c68e55f.jpg","text":"TemporaryFile(/tmp/multipartBody1249889002850127701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251523996,"filename":"image_30012025_16_36_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/30/1cc72755ce5a821bccdd641803cfed35.jpg","text":"TemporaryFile(/tmp/multipartBody3634525290926292709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251523996,"filename":"image_30012025_16_37_44_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/63ef330a17029f1b3fcfd4d133092983.jpg","text":"TemporaryFile(/tmp/multipartBody6310631629360715456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251523996,"filename":"image_30012025_16_37_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/30/36ca8f22eb504039e30066fe4d342009.jpg","text":"TemporaryFile(/tmp/multipartBody8754473686448477993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251523996,"filename":"image_30012025_16_37_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/30/b6c4d1339c0d9b6be3453e07391922fe.jpg","text":"TemporaryFile(/tmp/multipartBody8498735869947682208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251523996,"filename":"image_30012025_16_37_05_10478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333034464","file1":"1333034449","file0":"1333034433","file4":"1333034595","file5":"1333034597","file3":"1333034510"},"map_files_photo_id_array":[{"photo_id":"1333034597","filename":"file5"},{"photo_id":"1333034464","filename":"file2"},{"photo_id":"1333034595","filename":"file4"},{"photo_id":"1333034449","filename":"file1"},{"photo_id":"1333034433","filename":"file0"},{"photo_id":"1333034510","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333034595":["hashtag1","hashtag2"]},{"1333034433":["hashtag1","hashtag2"]},{"1333034597":["hashtag1","hashtag2"]},{"1333034510":["hashtag1","hashtag2"]},{"1333034464":["hashtag1","hashtag2"]},{"1333034449":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333034595, 1333034433, 1333034597, 1333034510, 1333034464, 1333034449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.15854001045227 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:38:33.192677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/37/image_30012025_16_37_55_10339.jpg', '/home/pi/Desktop/images/30012025/16/37/image_30012025_16_38_05_10332.jpg', '/home/pi/Desktop/images/30012025/16/38/image_30012025_16_38_14_9340.jpg', '/home/pi/Desktop/images/30012025/16/38/image_30012025_16_38_25_10328.jpg', '/home/pi/Desktop/images/30012025/16/38/image_30012025_16_38_44_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/37/image_30012025_16_37_55_10339.jpg
/home/pi/Desktop/images/30012025/16/37/image_30012025_16_38_05_10332.jpg
/home/pi/Desktop/images/30012025/16/38/image_30012025_16_38_14_9340.jpg
/home/pi/Desktop/images/30012025/16/38/image_30012025_16_38_25_10328.jpg
/home/pi/Desktop/images/30012025/16/38/image_30012025_16_38_44_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333034742","1333034738","1333034729","1333034702","1333034707"],"photo_ids_order":["1333034702","1333034707","1333034729","1333034738","1333034742"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a0cf62d3e60b48ec0693b0f2b16bc620.jpg","text":"TemporaryFile(/tmp/multipartBody2317610444818933776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251574086,"filename":"image_30012025_16_38_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/30/160fba8c386ac34d32ac4df2a735a334.jpg","text":"TemporaryFile(/tmp/multipartBody1464002779960749029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251574086,"filename":"image_30012025_16_38_25_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/30/b5c346f7c8d414e95bfb9624eb5e7953.jpg","text":"TemporaryFile(/tmp/multipartBody3823284929870729816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251574086,"filename":"image_30012025_16_38_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/30/7af7358148dfeed405b214bfb2ad564e.jpg","text":"TemporaryFile(/tmp/multipartBody8521319770152801762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251574086,"filename":"image_30012025_16_37_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/30/25de75a083deff3eb86f615233980ec1.jpg","text":"TemporaryFile(/tmp/multipartBody5241878742469565095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251574086,"filename":"image_30012025_16_38_05_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333034729","file1":"1333034707","file0":"1333034702","file4":"1333034742","file3":"1333034738"},"map_files_photo_id_array":[{"photo_id":"1333034729","filename":"file2"},{"photo_id":"1333034742","filename":"file4"},{"photo_id":"1333034707","filename":"file1"},{"photo_id":"1333034702","filename":"file0"},{"photo_id":"1333034738","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333034742":["hashtag1","hashtag2"]},{"1333034738":["hashtag1","hashtag2"]},{"1333034729":["hashtag1","hashtag2"]},{"1333034702":["hashtag1","hashtag2"]},{"1333034707":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333034742, 1333034738, 1333034729, 1333034702, 1333034707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.279494285583496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:39:32.309357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/38/image_30012025_16_38_55_10398.jpg', '/home/pi/Desktop/images/30012025/16/38/image_30012025_16_39_05_10354.jpg', '/home/pi/Desktop/images/30012025/16/39/image_30012025_16_39_15_9388.jpg', '/home/pi/Desktop/images/30012025/16/39/image_30012025_16_39_25_10347.jpg', '/home/pi/Desktop/images/30012025/16/39/image_30012025_16_39_34_9453.jpg', '/home/pi/Desktop/images/30012025/16/39/image_30012025_16_39_45_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/38/image_30012025_16_38_55_10398.jpg
/home/pi/Desktop/images/30012025/16/38/image_30012025_16_39_05_10354.jpg
/home/pi/Desktop/images/30012025/16/39/image_30012025_16_39_15_9388.jpg
/home/pi/Desktop/images/30012025/16/39/image_30012025_16_39_25_10347.jpg
/home/pi/Desktop/images/30012025/16/39/image_30012025_16_39_34_9453.jpg
/home/pi/Desktop/images/30012025/16/39/image_30012025_16_39_45_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":["1333034847","1333034813","1333034833","1333034824","1333034818","1333034809"],"photo_ids_order":["1333034809","1333034813","1333034818","1333034824","1333034833","1333034847"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b06332c8ae7ee699ddd6a4c3e48f2260.jpg","text":"TemporaryFile(/tmp/multipartBody664017954546577413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251633209,"filename":"image_30012025_16_39_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/30/218920140c5a448d9856b1688e30ab36.jpg","text":"TemporaryFile(/tmp/multipartBody1132354549836820733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251633209,"filename":"image_30012025_16_39_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/30/e3f438faa2f3ab1ab4067f718816c995.jpg","text":"TemporaryFile(/tmp/multipartBody1014688607242750071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251633209,"filename":"image_30012025_16_39_34_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3c8fd57f8b12729a596906e3246f51f5.jpg","text":"TemporaryFile(/tmp/multipartBody1314344186211303833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251633209,"filename":"image_30012025_16_39_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/30/f1e2802a87842ad036968e84ddf9e1ed.jpg","text":"TemporaryFile(/tmp/multipartBody4091232506549286548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251633209,"filename":"image_30012025_16_39_15_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7a5114329361783c13145e553ed5ce8f.jpg","text":"TemporaryFile(/tmp/multipartBody970226990953058504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251633209,"filename":"image_30012025_16_38_55_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333034818","file1":"1333034813","file0":"1333034809","file4":"1333034833","file5":"1333034847","file3":"1333034824"},"map_files_photo_id_array":[{"photo_id":"1333034847","filename":"file5"},{"photo_id":"1333034818","filename":"file2"},{"photo_id":"1333034833","filename":"file4"},{"photo_id":"1333034813","filename":"file1"},{"photo_id":"1333034809","filename":"file0"},{"photo_id":"1333034824","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333034847":["hashtag1","hashtag2"]},{"1333034813":["hashtag1","hashtag2"]},{"1333034833":["hashtag1","hashtag2"]},{"1333034824":["hashtag1","hashtag2"]},{"1333034818":["hashtag1","hashtag2"]},{"1333034809":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333034847, 1333034813, 1333034833, 1333034824, 1333034818, 1333034809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.36085605621338 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:40:32.552709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/39/image_30012025_16_39_55_10403.jpg', '/home/pi/Desktop/images/30012025/16/39/image_30012025_16_40_05_9350.jpg', '/home/pi/Desktop/images/30012025/16/40/image_30012025_16_40_15_10454.jpg', '/home/pi/Desktop/images/30012025/16/40/image_30012025_16_40_35_10338.jpg', '/home/pi/Desktop/images/30012025/16/40/image_30012025_16_40_45_10421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/39/image_30012025_16_39_55_10403.jpg
/home/pi/Desktop/images/30012025/16/39/image_30012025_16_40_05_9350.jpg
/home/pi/Desktop/images/30012025/16/40/image_30012025_16_40_15_10454.jpg
/home/pi/Desktop/images/30012025/16/40/image_30012025_16_40_35_10338.jpg
/home/pi/Desktop/images/30012025/16/40/image_30012025_16_40_45_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":["1333035054","1333034985","1333035029","1333034948","1333035008"],"photo_ids_order":["1333034948","1333034985","1333035008","1333035029","1333035054"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/60f5e3d3df6489209d59e8c7a94c3111.jpg","text":"TemporaryFile(/tmp/multipartBody6165744844471106101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251693491,"filename":"image_30012025_16_40_45_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a27e16fe84b42413d255a33dbadf4771.jpg","text":"TemporaryFile(/tmp/multipartBody3001367895921228103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251693491,"filename":"image_30012025_16_40_05_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d7507764e36ecc84d97b3245a17cb069.jpg","text":"TemporaryFile(/tmp/multipartBody6075005050137488497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251693491,"filename":"image_30012025_16_40_35_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cd9cdad0afdd28d007dc1f7a1f4cff66.jpg","text":"TemporaryFile(/tmp/multipartBody8851391027886340204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251693491,"filename":"image_30012025_16_39_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/30/643930e75b3b9db7bab720acd95374f5.jpg","text":"TemporaryFile(/tmp/multipartBody1317938329060877988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251693491,"filename":"image_30012025_16_40_15_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333035008","file1":"1333034985","file0":"1333034948","file4":"1333035054","file3":"1333035029"},"map_files_photo_id_array":[{"photo_id":"1333035008","filename":"file2"},{"photo_id":"1333035054","filename":"file4"},{"photo_id":"1333034985","filename":"file1"},{"photo_id":"1333034948","filename":"file0"},{"photo_id":"1333035029","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333035054":["hashtag1","hashtag2"]},{"1333034985":["hashtag1","hashtag2"]},{"1333035029":["hashtag1","hashtag2"]},{"1333034948":["hashtag1","hashtag2"]},{"1333035008":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333035054, 1333034985, 1333035029, 1333034948, 1333035008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.811084270477295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:41:32.668749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/40/image_30012025_16_40_54_9336.jpg', '/home/pi/Desktop/images/30012025/16/41/image_30012025_16_41_15_10440.jpg', '/home/pi/Desktop/images/30012025/16/41/image_30012025_16_41_25_9363.jpg', '/home/pi/Desktop/images/30012025/16/41/image_30012025_16_41_45_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/40/image_30012025_16_40_54_9336.jpg
/home/pi/Desktop/images/30012025/16/41/image_30012025_16_41_15_10440.jpg
/home/pi/Desktop/images/30012025/16/41/image_30012025_16_41_25_9363.jpg
/home/pi/Desktop/images/30012025/16/41/image_30012025_16_41_45_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.48917365074157715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 16:41:42.824955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/40/image_30012025_16_40_54_9336.jpg', '/home/pi/Desktop/images/30012025/16/41/image_30012025_16_41_15_10440.jpg', '/home/pi/Desktop/images/30012025/16/41/image_30012025_16_41_25_9363.jpg', '/home/pi/Desktop/images/30012025/16/41/image_30012025_16_41_45_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/40/image_30012025_16_40_54_9336.jpg
/home/pi/Desktop/images/30012025/16/41/image_30012025_16_41_15_10440.jpg
/home/pi/Desktop/images/30012025/16/41/image_30012025_16_41_25_9363.jpg
/home/pi/Desktop/images/30012025/16/41/image_30012025_16_41_45_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":["1333035194","1333035178","1333035186","1333035189"],"photo_ids_order":["1333035178","1333035186","1333035189","1333035194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/154200b0133dc3ff861f1d212a930407.jpg","text":"TemporaryFile(/tmp/multipartBody3446530484847943646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251763701,"filename":"image_30012025_16_41_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/30/ed77874d49550afef4b484b78251628f.jpg","text":"TemporaryFile(/tmp/multipartBody3026799088606801923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251763701,"filename":"image_30012025_16_40_54_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/818778a5a79943dbb03793999f8fccc9.jpg","text":"TemporaryFile(/tmp/multipartBody8433775389325644157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251763701,"filename":"image_30012025_16_41_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/30/441255facc01a5b076a7bb47942c4f16.jpg","text":"TemporaryFile(/tmp/multipartBody1823203328287857142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251763701,"filename":"image_30012025_16_41_25_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333035189","file1":"1333035186","file0":"1333035178","file3":"1333035194"},"map_files_photo_id_array":[{"photo_id":"1333035189","filename":"file2"},{"photo_id":"1333035186","filename":"file1"},{"photo_id":"1333035178","filename":"file0"},{"photo_id":"1333035194","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333035194":["hashtag1","hashtag2"]},{"1333035178":["hashtag1","hashtag2"]},{"1333035186":["hashtag1","hashtag2"]},{"1333035189":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333035194, 1333035178, 1333035186, 1333035189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 32.574493646621704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:42:33.010785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/41/image_30012025_16_41_55_9347.jpg', '/home/pi/Desktop/images/30012025/16/41/image_30012025_16_42_05_10396.jpg', '/home/pi/Desktop/images/30012025/16/42/image_30012025_16_42_25_10361.jpg', '/home/pi/Desktop/images/30012025/16/42/image_30012025_16_42_35_10434.jpg', '/home/pi/Desktop/images/30012025/16/42/image_30012025_16_42_45_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/41/image_30012025_16_41_55_9347.jpg
/home/pi/Desktop/images/30012025/16/41/image_30012025_16_42_05_10396.jpg
/home/pi/Desktop/images/30012025/16/42/image_30012025_16_42_25_10361.jpg
/home/pi/Desktop/images/30012025/16/42/image_30012025_16_42_35_10434.jpg
/home/pi/Desktop/images/30012025/16/42/image_30012025_16_42_45_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":["1333035402","1333035395","1333035407","1333035390","1333035384"],"photo_ids_order":["1333035384","1333035390","1333035395","1333035402","1333035407"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/19b2b63edcb7193bed470a96a563d8e6.jpg","text":"TemporaryFile(/tmp/multipartBody1232326353225344134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251813897,"filename":"image_30012025_16_42_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/30/9d88892c241a295ab0e1909f27a020bd.jpg","text":"TemporaryFile(/tmp/multipartBody5053929350341863030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251813897,"filename":"image_30012025_16_42_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/30/70b3c04aaf9d53f2783f1320fb704f97.jpg","text":"TemporaryFile(/tmp/multipartBody1681824607682283470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251813897,"filename":"image_30012025_16_42_45_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/30/f99de53434785623c7c1e7044a9e09cb.jpg","text":"TemporaryFile(/tmp/multipartBody6695038058408351059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251813897,"filename":"image_30012025_16_42_05_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8ef47aa3a6358e451e965f6c165cef84.jpg","text":"TemporaryFile(/tmp/multipartBody1920085084705518061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251813897,"filename":"image_30012025_16_41_55_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333035395","file1":"1333035390","file0":"1333035384","file4":"1333035407","file3":"1333035402"},"map_files_photo_id_array":[{"photo_id":"1333035395","filename":"file2"},{"photo_id":"1333035407","filename":"file4"},{"photo_id":"1333035390","filename":"file1"},{"photo_id":"1333035384","filename":"file0"},{"photo_id":"1333035402","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333035402":["hashtag1","hashtag2"]},{"1333035395":["hashtag1","hashtag2"]},{"1333035407":["hashtag1","hashtag2"]},{"1333035390":["hashtag1","hashtag2"]},{"1333035384":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333035402, 1333035395, 1333035407, 1333035390, 1333035384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.85042428970337 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:43:32.157587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/42/image_30012025_16_42_55_10397.jpg', '/home/pi/Desktop/images/30012025/16/42/image_30012025_16_43_05_10351.jpg', '/home/pi/Desktop/images/30012025/16/43/image_30012025_16_43_15_9327.jpg', '/home/pi/Desktop/images/30012025/16/43/image_30012025_16_43_25_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/42/image_30012025_16_42_55_10397.jpg
/home/pi/Desktop/images/30012025/16/42/image_30012025_16_43_05_10351.jpg
/home/pi/Desktop/images/30012025/16/43/image_30012025_16_43_15_9327.jpg
/home/pi/Desktop/images/30012025/16/43/image_30012025_16_43_25_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":["1333035443","1333035475","1333035460","1333035454"],"photo_ids_order":["1333035443","1333035454","1333035460","1333035475"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f7021f2f242ca3fa307efb12de34917f.jpg","text":"TemporaryFile(/tmp/multipartBody221901511556093421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251873036,"filename":"image_30012025_16_42_55_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/87281ad57a20bcec794147aa8d672bba.jpg","text":"TemporaryFile(/tmp/multipartBody245919670690363779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251873036,"filename":"image_30012025_16_43_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/30/b5bbca1053c7d7b8c3ba691be5277c05.jpg","text":"TemporaryFile(/tmp/multipartBody1697035191635889767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251873036,"filename":"image_30012025_16_43_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/30/92195a235c4cd852b795bd06403bcb8d.jpg","text":"TemporaryFile(/tmp/multipartBody8797942291957688107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251873036,"filename":"image_30012025_16_43_05_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333035460","file1":"1333035454","file0":"1333035443","file3":"1333035475"},"map_files_photo_id_array":[{"photo_id":"1333035460","filename":"file2"},{"photo_id":"1333035454","filename":"file1"},{"photo_id":"1333035443","filename":"file0"},{"photo_id":"1333035475","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333035443":["hashtag1","hashtag2"]},{"1333035475":["hashtag1","hashtag2"]},{"1333035460":["hashtag1","hashtag2"]},{"1333035454":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333035443, 1333035475, 1333035460, 1333035454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.19878602027893 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-30 16:44:32.367586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/43/image_30012025_16_43_55_10391.jpg', '/home/pi/Desktop/images/30012025/16/44/image_30012025_16_44_15_10341.jpg', '/home/pi/Desktop/images/30012025/16/44/image_30012025_16_44_35_9368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/43/image_30012025_16_43_55_10391.jpg
/home/pi/Desktop/images/30012025/16/44/image_30012025_16_44_15_10341.jpg
/home/pi/Desktop/images/30012025/16/44/image_30012025_16_44_35_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333035527","1333035541","1333035520"],"photo_ids_order":["1333035520","1333035527","1333035541"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/411ec56043695fccb5ac63f2612ccde7.jpg","text":"TemporaryFile(/tmp/multipartBody5588862832434855878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251933225,"filename":"image_30012025_16_44_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/30/32230c29e2f1f2298b3e0b10bd60a749.jpg","text":"TemporaryFile(/tmp/multipartBody6727378328348304285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251933225,"filename":"image_30012025_16_44_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/30/55a3cf6153dc5b44d1f021c8015c3b5d.jpg","text":"TemporaryFile(/tmp/multipartBody5897858600826548202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251933225,"filename":"image_30012025_16_43_55_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333035541","file1":"1333035527","file0":"1333035520"},"map_files_photo_id_array":[{"photo_id":"1333035541","filename":"file2"},{"photo_id":"1333035527","filename":"file1"},{"photo_id":"1333035520","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333035527":["hashtag1","hashtag2"]},{"1333035541":["hashtag1","hashtag2"]},{"1333035520":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333035527, 1333035541, 1333035520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.90203857421875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 16:45:04.032860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/15/image_28012025_21_15_15_10423.jpg', '/home/pi/Desktop/images/28012025/21/15/image_28012025_21_15_25_9354.jpg', '/home/pi/Desktop/images/28012025/21/15/image_28012025_21_15_35_10362.jpg', '/home/pi/Desktop/images/28012025/21/15/image_28012025_21_15_46_10465.jpg', '/home/pi/Desktop/images/28012025/21/15/image_28012025_21_15_55_9432.jpg', '/home/pi/Desktop/images/28012025/21/15/image_28012025_21_16_05_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/21/15/image_28012025_21_15_15_10423.jpg
/home/pi/Desktop/images/28012025/21/15/image_28012025_21_15_25_9354.jpg
/home/pi/Desktop/images/28012025/21/15/image_28012025_21_15_35_10362.jpg
/home/pi/Desktop/images/28012025/21/15/image_28012025_21_15_46_10465.jpg
/home/pi/Desktop/images/28012025/21/15/image_28012025_21_15_55_9432.jpg
/home/pi/Desktop/images/28012025/21/15/image_28012025_21_16_05_10452.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.45271635055542 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:45:32.564252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/44/image_30012025_16_44_54_9338.jpg', '/home/pi/Desktop/images/30012025/16/44/image_30012025_16_45_05_10340.jpg', '/home/pi/Desktop/images/30012025/16/45/image_30012025_16_45_15_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/44/image_30012025_16_44_54_9338.jpg
/home/pi/Desktop/images/30012025/16/44/image_30012025_16_45_05_10340.jpg
/home/pi/Desktop/images/30012025/16/45/image_30012025_16_45_15_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":["1333035735","1333035716","1333035748"],"photo_ids_order":["1333035716","1333035735","1333035748"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/edd42741954c90a33aaedb57084ef158.jpg","text":"TemporaryFile(/tmp/multipartBody2750839176140266458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251993417,"filename":"image_30012025_16_45_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/30/5aa559fedb0bc183ff71279260166bad.jpg","text":"TemporaryFile(/tmp/multipartBody580186631554275957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251993417,"filename":"image_30012025_16_44_54_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dec3a4917ea87830b955566e7605288f.jpg","text":"TemporaryFile(/tmp/multipartBody4631653167116459144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738251993417,"filename":"image_30012025_16_45_15_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333035748","file1":"1333035735","file0":"1333035716"},"map_files_photo_id_array":[{"photo_id":"1333035748","filename":"file2"},{"photo_id":"1333035735","filename":"file1"},{"photo_id":"1333035716","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333035735":["hashtag1","hashtag2"]},{"1333035716":["hashtag1","hashtag2"]},{"1333035748":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333035735, 1333035716, 1333035748)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 3 photos
time to upload: 29.942556142807007 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:46:33.718792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/45/image_30012025_16_45_35_10387.jpg', '/home/pi/Desktop/images/30012025/16/46/image_30012025_16_46_14_9369.jpg', '/home/pi/Desktop/images/30012025/16/46/image_30012025_16_46_25_10369.jpg', '/home/pi/Desktop/images/30012025/16/46/image_30012025_16_46_35_10467.jpg', '/home/pi/Desktop/images/30012025/16/46/image_30012025_16_46_45_9388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/45/image_30012025_16_45_35_10387.jpg
/home/pi/Desktop/images/30012025/16/46/image_30012025_16_46_14_9369.jpg
/home/pi/Desktop/images/30012025/16/46/image_30012025_16_46_25_10369.jpg
/home/pi/Desktop/images/30012025/16/46/image_30012025_16_46_35_10467.jpg
/home/pi/Desktop/images/30012025/16/46/image_30012025_16_46_45_9388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333035804","1333035848","1333035830","1333035809","1333035819"],"photo_ids_order":["1333035804","1333035809","1333035819","1333035830","1333035848"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b9888732a3e85b62e80f762c5bc73509.jpg","text":"TemporaryFile(/tmp/multipartBody5669408611167731258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252054606,"filename":"image_30012025_16_45_35_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2961cbbda1239d59baad45206c559761.jpg","text":"TemporaryFile(/tmp/multipartBody7583983913428672587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252054606,"filename":"image_30012025_16_46_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/30/b653d7120fd0ee7bd8bfdd7c21cea73d.jpg","text":"TemporaryFile(/tmp/multipartBody6889286762117430242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252054606,"filename":"image_30012025_16_46_35_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1e7a4f7be27a6238feb86bef775a6de1.jpg","text":"TemporaryFile(/tmp/multipartBody7589876836972147957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252054606,"filename":"image_30012025_16_46_14_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/30/6c11bd12dc5ebb143275e159f3d96851.jpg","text":"TemporaryFile(/tmp/multipartBody8532614163463294101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252054606,"filename":"image_30012025_16_46_25_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333035819","file1":"1333035809","file0":"1333035804","file4":"1333035848","file3":"1333035830"},"map_files_photo_id_array":[{"photo_id":"1333035819","filename":"file2"},{"photo_id":"1333035848","filename":"file4"},{"photo_id":"1333035809","filename":"file1"},{"photo_id":"1333035804","filename":"file0"},{"photo_id":"1333035830","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333035804":["hashtag1","hashtag2"]},{"1333035848":["hashtag1","hashtag2"]},{"1333035830":["hashtag1","hashtag2"]},{"1333035809":["hashtag1","hashtag2"]},{"1333035819":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333035804, 1333035848, 1333035830, 1333035809, 1333035819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.8756148815155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:47:32.931352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/46/image_30012025_16_46_55_10383.jpg', '/home/pi/Desktop/images/30012025/16/47/image_30012025_16_47_15_10320.jpg', '/home/pi/Desktop/images/30012025/16/47/image_30012025_16_47_25_10449.jpg', '/home/pi/Desktop/images/30012025/16/47/image_30012025_16_47_35_9425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/46/image_30012025_16_46_55_10383.jpg
/home/pi/Desktop/images/30012025/16/47/image_30012025_16_47_15_10320.jpg
/home/pi/Desktop/images/30012025/16/47/image_30012025_16_47_25_10449.jpg
/home/pi/Desktop/images/30012025/16/47/image_30012025_16_47_35_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":["1333035884","1333035898","1333035892","1333035904"],"photo_ids_order":["1333035884","1333035892","1333035898","1333035904"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/56c0305ed660858321080b2d6bf45225.jpg","text":"TemporaryFile(/tmp/multipartBody599748630911381465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252113806,"filename":"image_30012025_16_46_55_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/30/7b5611c2cb2a3e103718a09bbc0096e3.jpg","text":"TemporaryFile(/tmp/multipartBody3649658229414603871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252113806,"filename":"image_30012025_16_47_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/30/ba916675bb34aa171cc54dccbcea85ed.jpg","text":"TemporaryFile(/tmp/multipartBody6219042039994377242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252113806,"filename":"image_30012025_16_47_15_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/30/be5198b4aa7e44a13cf976f09c5092bb.jpg","text":"TemporaryFile(/tmp/multipartBody544564790321117201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252113806,"filename":"image_30012025_16_47_35_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333035898","file1":"1333035892","file0":"1333035884","file3":"1333035904"},"map_files_photo_id_array":[{"photo_id":"1333035898","filename":"file2"},{"photo_id":"1333035892","filename":"file1"},{"photo_id":"1333035884","filename":"file0"},{"photo_id":"1333035904","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333035884":["hashtag1","hashtag2"]},{"1333035898":["hashtag1","hashtag2"]},{"1333035892":["hashtag1","hashtag2"]},{"1333035904":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333035884, 1333035898, 1333035892, 1333035904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.686367511749268 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 16:48:03.669614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/15/image_28012025_21_15_15_10423.jpg', '/home/pi/Desktop/images/28012025/21/15/image_28012025_21_15_25_9354.jpg', '/home/pi/Desktop/images/28012025/21/15/image_28012025_21_15_35_10362.jpg', '/home/pi/Desktop/images/28012025/21/15/image_28012025_21_15_46_10465.jpg', '/home/pi/Desktop/images/28012025/21/15/image_28012025_21_15_55_9432.jpg', '/home/pi/Desktop/images/28012025/21/15/image_28012025_21_16_05_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/21/15/image_28012025_21_15_15_10423.jpg
/home/pi/Desktop/images/28012025/21/15/image_28012025_21_15_25_9354.jpg
/home/pi/Desktop/images/28012025/21/15/image_28012025_21_15_35_10362.jpg
/home/pi/Desktop/images/28012025/21/15/image_28012025_21_15_46_10465.jpg
/home/pi/Desktop/images/28012025/21/15/image_28012025_21_15_55_9432.jpg
/home/pi/Desktop/images/28012025/21/15/image_28012025_21_16_05_10452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333035912","1333035915","1333035932","1333035922","1333035939","1333035918"],"photo_ids_order":["1333035912","1333035915","1333035918","1333035922","1333035932","1333035939"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/32e2ac9aad71ccdf92da494382fe19b1.jpg","text":"TemporaryFile(/tmp/multipartBody3292039043340674685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252145244,"filename":"image_28012025_21_15_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/30/6e7553010f8840dcea451d977ffbdc16.jpg","text":"TemporaryFile(/tmp/multipartBody8704167562441256352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252145244,"filename":"image_28012025_21_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/30/27a4b0dc9d8301e743a529e6071967b9.jpg","text":"TemporaryFile(/tmp/multipartBody1643660099934253473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252145244,"filename":"image_28012025_21_15_55_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/30/c33b44144c7b33019b4c10c90398195b.jpg","text":"TemporaryFile(/tmp/multipartBody7906182942140045037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252145244,"filename":"image_28012025_21_15_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/30/8bfa34822721b463b9cacd15fdfe1c47.jpg","text":"TemporaryFile(/tmp/multipartBody1074680108744613955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252145244,"filename":"image_28012025_21_16_05_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/30/17e8ce32fb362dcc0b28a3e742e18b8f.jpg","text":"TemporaryFile(/tmp/multipartBody8230520096120760254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252145244,"filename":"image_28012025_21_15_35_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333035918","file1":"1333035915","file0":"1333035912","file4":"1333035932","file5":"1333035939","file3":"1333035922"},"map_files_photo_id_array":[{"photo_id":"1333035939","filename":"file5"},{"photo_id":"1333035918","filename":"file2"},{"photo_id":"1333035932","filename":"file4"},{"photo_id":"1333035915","filename":"file1"},{"photo_id":"1333035912","filename":"file0"},{"photo_id":"1333035922","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333035912":["hashtag1","hashtag2"]},{"1333035915":["hashtag1","hashtag2"]},{"1333035932":["hashtag1","hashtag2"]},{"1333035922":["hashtag1","hashtag2"]},{"1333035939":["hashtag1","hashtag2"]},{"1333035918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333035912, 1333035915, 1333035932, 1333035922, 1333035939, 1333035918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.520111322402954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:48:52.991455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/47/image_30012025_16_47_54_9349.jpg', '/home/pi/Desktop/images/30012025/16/47/image_30012025_16_48_05_10368.jpg', '/home/pi/Desktop/images/30012025/16/48/image_30012025_16_48_15_10370.jpg', '/home/pi/Desktop/images/30012025/16/48/image_30012025_16_48_24_9378.jpg', '/home/pi/Desktop/images/30012025/16/48/image_30012025_16_48_35_10431.jpg', '/home/pi/Desktop/images/30012025/16/48/image_30012025_16_48_45_10423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/47/image_30012025_16_47_54_9349.jpg
/home/pi/Desktop/images/30012025/16/47/image_30012025_16_48_05_10368.jpg
/home/pi/Desktop/images/30012025/16/48/image_30012025_16_48_15_10370.jpg
/home/pi/Desktop/images/30012025/16/48/image_30012025_16_48_24_9378.jpg
/home/pi/Desktop/images/30012025/16/48/image_30012025_16_48_35_10431.jpg
/home/pi/Desktop/images/30012025/16/48/image_30012025_16_48_45_10423.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333035961","1333035955","1333035958","1333035967","1333035972","1333035975"],"photo_ids_order":["1333035955","1333035958","1333035961","1333035967","1333035972","1333035975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/408c3bade2ce4b693adc5db2fffccb2a.jpg","text":"TemporaryFile(/tmp/multipartBody4090623242463045076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252193898,"filename":"image_30012025_16_48_15_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3ab1c530e036bacffc77986e6aa9a9b7.jpg","text":"TemporaryFile(/tmp/multipartBody3241394453779875997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252193898,"filename":"image_30012025_16_47_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/30/43a22efdee2bd9cb9ce037ae4397d03f.jpg","text":"TemporaryFile(/tmp/multipartBody290125362524418850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252193898,"filename":"image_30012025_16_48_05_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/30/32dceec4d56ebb0a0a1594dd273a51d6.jpg","text":"TemporaryFile(/tmp/multipartBody6761519544858728003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252193898,"filename":"image_30012025_16_48_24_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6c7243255452ee48f3e5b619e70e9697.jpg","text":"TemporaryFile(/tmp/multipartBody7773734341628654562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252193898,"filename":"image_30012025_16_48_35_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/30/5fb45caf39ab6d136d2b3c775b81ac47.jpg","text":"TemporaryFile(/tmp/multipartBody3085963205243461838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252193898,"filename":"image_30012025_16_48_45_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333035961","file1":"1333035958","file0":"1333035955","file4":"1333035972","file5":"1333035975","file3":"1333035967"},"map_files_photo_id_array":[{"photo_id":"1333035975","filename":"file5"},{"photo_id":"1333035961","filename":"file2"},{"photo_id":"1333035972","filename":"file4"},{"photo_id":"1333035958","filename":"file1"},{"photo_id":"1333035955","filename":"file0"},{"photo_id":"1333035967","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333035961":["hashtag1","hashtag2"]},{"1333035955":["hashtag1","hashtag2"]},{"1333035958":["hashtag1","hashtag2"]},{"1333035967":["hashtag1","hashtag2"]},{"1333035972":["hashtag1","hashtag2"]},{"1333035975":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333035961, 1333035955, 1333035958, 1333035967, 1333035972, 1333035975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94861650466919 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:49:32.243087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/48/image_30012025_16_48_55_9415.jpg', '/home/pi/Desktop/images/30012025/16/48/image_30012025_16_49_05_10373.jpg', '/home/pi/Desktop/images/30012025/16/49/image_30012025_16_49_14_9345.jpg', '/home/pi/Desktop/images/30012025/16/49/image_30012025_16_49_25_10407.jpg', '/home/pi/Desktop/images/30012025/16/49/image_30012025_16_49_35_10370.jpg', '/home/pi/Desktop/images/30012025/16/49/image_30012025_16_49_45_9422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/48/image_30012025_16_48_55_9415.jpg
/home/pi/Desktop/images/30012025/16/48/image_30012025_16_49_05_10373.jpg
/home/pi/Desktop/images/30012025/16/49/image_30012025_16_49_14_9345.jpg
/home/pi/Desktop/images/30012025/16/49/image_30012025_16_49_25_10407.jpg
/home/pi/Desktop/images/30012025/16/49/image_30012025_16_49_35_10370.jpg
/home/pi/Desktop/images/30012025/16/49/image_30012025_16_49_45_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":["1333036001","1333035985","1333035990","1333036023","1333035996","1333036005"],"photo_ids_order":["1333035985","1333035990","1333035996","1333036001","1333036005","1333036023"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/50462dab4d7ddabca0a4ab97491a66b1.jpg","text":"TemporaryFile(/tmp/multipartBody5081992738682508686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252233145,"filename":"image_30012025_16_49_25_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4c59cf29e2df35f2b919b202dfd00723.jpg","text":"TemporaryFile(/tmp/multipartBody3448341795299620578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252233145,"filename":"image_30012025_16_48_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/30/46e12502b36a3a7a950c9885dc2d68ca.jpg","text":"TemporaryFile(/tmp/multipartBody7652144081716097818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252233145,"filename":"image_30012025_16_49_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/beefafabc7552ff4e693a273849d677f.jpg","text":"TemporaryFile(/tmp/multipartBody1606895818772311811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252233145,"filename":"image_30012025_16_49_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/30/d6674b044f96a01b4d6ae840dcc94d0c.jpg","text":"TemporaryFile(/tmp/multipartBody887698195991908470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252233145,"filename":"image_30012025_16_49_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/30/f0a6180b3ddc5ebab31c853efdf59dc6.jpg","text":"TemporaryFile(/tmp/multipartBody7910451776766352858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252233145,"filename":"image_30012025_16_49_35_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333035996","file1":"1333035990","file0":"1333035985","file4":"1333036005","file5":"1333036023","file3":"1333036001"},"map_files_photo_id_array":[{"photo_id":"1333036023","filename":"file5"},{"photo_id":"1333035996","filename":"file2"},{"photo_id":"1333036005","filename":"file4"},{"photo_id":"1333035990","filename":"file1"},{"photo_id":"1333035985","filename":"file0"},{"photo_id":"1333036001","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333036001":["hashtag1","hashtag2"]},{"1333035985":["hashtag1","hashtag2"]},{"1333035990":["hashtag1","hashtag2"]},{"1333036023":["hashtag1","hashtag2"]},{"1333035996":["hashtag1","hashtag2"]},{"1333036005":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333036001, 1333035985, 1333035990, 1333036023, 1333035996, 1333036005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.24018669128418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:50:32.349633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/49/image_30012025_16_49_55_10361.jpg', '/home/pi/Desktop/images/30012025/16/49/image_30012025_16_50_04_9355.jpg', '/home/pi/Desktop/images/30012025/16/50/image_30012025_16_50_15_10352.jpg', '/home/pi/Desktop/images/30012025/16/50/image_30012025_16_50_25_10433.jpg', '/home/pi/Desktop/images/30012025/16/50/image_30012025_16_50_35_9355.jpg', '/home/pi/Desktop/images/30012025/16/50/image_30012025_16_50_45_10412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/49/image_30012025_16_49_55_10361.jpg
/home/pi/Desktop/images/30012025/16/49/image_30012025_16_50_04_9355.jpg
/home/pi/Desktop/images/30012025/16/50/image_30012025_16_50_15_10352.jpg
/home/pi/Desktop/images/30012025/16/50/image_30012025_16_50_25_10433.jpg
/home/pi/Desktop/images/30012025/16/50/image_30012025_16_50_35_9355.jpg
/home/pi/Desktop/images/30012025/16/50/image_30012025_16_50_45_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333036361","1333036069","1333036672","1333036063","1333036884","1333036074"],"photo_ids_order":["1333036063","1333036069","1333036074","1333036361","1333036672","1333036884"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b775a9a1bc8910ba1595e112c8fdbdfa.jpg","text":"TemporaryFile(/tmp/multipartBody8558485190200186212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252293242,"filename":"image_30012025_16_50_25_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/30/62aec54bd3f7a203fcd2743b8129dadd.jpg","text":"TemporaryFile(/tmp/multipartBody5219109463873993807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252293242,"filename":"image_30012025_16_50_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/30/6773241516419bbd6551d07820a5f1e7.jpg","text":"TemporaryFile(/tmp/multipartBody7947259364299004792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252293242,"filename":"image_30012025_16_50_35_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ff5921be30fb74eb148aec6da22d7e7c.jpg","text":"TemporaryFile(/tmp/multipartBody3095082518962224502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252293242,"filename":"image_30012025_16_49_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/30/cfbdcb0fe583cac0c8184e62405bc58b.jpg","text":"TemporaryFile(/tmp/multipartBody1111318611820614436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252293242,"filename":"image_30012025_16_50_45_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8ed45f4114de09f4069dcc20d6a44cae.jpg","text":"TemporaryFile(/tmp/multipartBody9072909044311883719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252293242,"filename":"image_30012025_16_50_15_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333036074","file1":"1333036069","file0":"1333036063","file4":"1333036672","file5":"1333036884","file3":"1333036361"},"map_files_photo_id_array":[{"photo_id":"1333036884","filename":"file5"},{"photo_id":"1333036074","filename":"file2"},{"photo_id":"1333036672","filename":"file4"},{"photo_id":"1333036069","filename":"file1"},{"photo_id":"1333036063","filename":"file0"},{"photo_id":"1333036361","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333036361":["hashtag1","hashtag2"]},{"1333036069":["hashtag1","hashtag2"]},{"1333036672":["hashtag1","hashtag2"]},{"1333036063":["hashtag1","hashtag2"]},{"1333036884":["hashtag1","hashtag2"]},{"1333036074":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333036361, 1333036069, 1333036672, 1333036063, 1333036884, 1333036074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.49526810646057 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:51:32.778469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/50/image_30012025_16_50_55_10344.jpg', '/home/pi/Desktop/images/30012025/16/50/image_30012025_16_51_05_9354.jpg', '/home/pi/Desktop/images/30012025/16/51/image_30012025_16_51_15_10452.jpg', '/home/pi/Desktop/images/30012025/16/51/image_30012025_16_51_24_9335.jpg', '/home/pi/Desktop/images/30012025/16/51/image_30012025_16_51_35_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/50/image_30012025_16_50_55_10344.jpg
/home/pi/Desktop/images/30012025/16/50/image_30012025_16_51_05_9354.jpg
/home/pi/Desktop/images/30012025/16/51/image_30012025_16_51_15_10452.jpg
/home/pi/Desktop/images/30012025/16/51/image_30012025_16_51_24_9335.jpg
/home/pi/Desktop/images/30012025/16/51/image_30012025_16_51_35_10345.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5075962543487549 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 16:51:42.762035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/50/image_30012025_16_50_55_10344.jpg', '/home/pi/Desktop/images/30012025/16/50/image_30012025_16_51_05_9354.jpg', '/home/pi/Desktop/images/30012025/16/51/image_30012025_16_51_15_10452.jpg', '/home/pi/Desktop/images/30012025/16/51/image_30012025_16_51_24_9335.jpg', '/home/pi/Desktop/images/30012025/16/51/image_30012025_16_51_35_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/50/image_30012025_16_50_55_10344.jpg
/home/pi/Desktop/images/30012025/16/50/image_30012025_16_51_05_9354.jpg
/home/pi/Desktop/images/30012025/16/51/image_30012025_16_51_15_10452.jpg
/home/pi/Desktop/images/30012025/16/51/image_30012025_16_51_24_9335.jpg
/home/pi/Desktop/images/30012025/16/51/image_30012025_16_51_35_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":["1333037231","1333037338","1333037332","1333037149","1333037039"],"photo_ids_order":["1333037039","1333037149","1333037231","1333037332","1333037338"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d36581c0ab1a9bf2382b3077c6922bd6.jpg","text":"TemporaryFile(/tmp/multipartBody6835651549995148230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252363654,"filename":"image_30012025_16_51_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/30/a9b42f2ff0bf39c5cb7c89c43cc1e905.jpg","text":"TemporaryFile(/tmp/multipartBody2729889081665302312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252363654,"filename":"image_30012025_16_51_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9229c8453fe95df9be0029721930ef7f.jpg","text":"TemporaryFile(/tmp/multipartBody1371187003576844674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252363654,"filename":"image_30012025_16_51_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/30/4de624730ca8b3ac31e20aedf6919777.jpg","text":"TemporaryFile(/tmp/multipartBody1908101795231860437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252363654,"filename":"image_30012025_16_51_05_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6d499d6c7d1158b2da3de6e55381d32b.jpg","text":"TemporaryFile(/tmp/multipartBody8940420105336201531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252363654,"filename":"image_30012025_16_50_55_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333037231","file1":"1333037149","file0":"1333037039","file4":"1333037338","file3":"1333037332"},"map_files_photo_id_array":[{"photo_id":"1333037231","filename":"file2"},{"photo_id":"1333037338","filename":"file4"},{"photo_id":"1333037149","filename":"file1"},{"photo_id":"1333037039","filename":"file0"},{"photo_id":"1333037332","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333037231":["hashtag1","hashtag2"]},{"1333037338":["hashtag1","hashtag2"]},{"1333037332":["hashtag1","hashtag2"]},{"1333037149":["hashtag1","hashtag2"]},{"1333037039":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333037231, 1333037338, 1333037332, 1333037149, 1333037039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.58270287513733 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:52:32.960147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/51/image_30012025_16_51_45_10359.jpg', '/home/pi/Desktop/images/30012025/16/51/image_30012025_16_52_05_10409.jpg', '/home/pi/Desktop/images/30012025/16/52/image_30012025_16_52_15_10348.jpg', '/home/pi/Desktop/images/30012025/16/52/image_30012025_16_52_25_9349.jpg', '/home/pi/Desktop/images/30012025/16/52/image_30012025_16_52_35_10439.jpg', '/home/pi/Desktop/images/30012025/16/52/image_30012025_16_52_44_9422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/51/image_30012025_16_51_45_10359.jpg
/home/pi/Desktop/images/30012025/16/51/image_30012025_16_52_05_10409.jpg
/home/pi/Desktop/images/30012025/16/52/image_30012025_16_52_15_10348.jpg
/home/pi/Desktop/images/30012025/16/52/image_30012025_16_52_25_9349.jpg
/home/pi/Desktop/images/30012025/16/52/image_30012025_16_52_35_10439.jpg
/home/pi/Desktop/images/30012025/16/52/image_30012025_16_52_44_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":["1333037935","1333037991","1333037988","1333038015","1333037972","1333037774"],"photo_ids_order":["1333037774","1333037935","1333037972","1333037988","1333037991","1333038015"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/54beddedab0aa78c8f2088282d2cf635.jpg","text":"TemporaryFile(/tmp/multipartBody1229567991214678234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252413858,"filename":"image_30012025_16_52_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/30/8c384c59cfd28124b6fcbf28bc3ad1ea.jpg","text":"TemporaryFile(/tmp/multipartBody2146234353663834088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252413858,"filename":"image_30012025_16_52_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/30/e87ccacf903b5a536249a8e9757bc7b0.jpg","text":"TemporaryFile(/tmp/multipartBody2544930368648626164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252413858,"filename":"image_30012025_16_52_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/30/19ca39ec1c83dbbc5e15b7a0f678cc26.jpg","text":"TemporaryFile(/tmp/multipartBody3629116221867017121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252413858,"filename":"image_30012025_16_52_44_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/30/c1bfdc07d4c06f1e57b7b795ace4ce04.jpg","text":"TemporaryFile(/tmp/multipartBody3428159894623600788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252413858,"filename":"image_30012025_16_52_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/30/7fe9fb8d0f0b884bf100ba58fdf1dc4d.jpg","text":"TemporaryFile(/tmp/multipartBody178115207577034998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252413858,"filename":"image_30012025_16_51_45_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333037972","file1":"1333037935","file0":"1333037774","file4":"1333037991","file5":"1333038015","file3":"1333037988"},"map_files_photo_id_array":[{"photo_id":"1333038015","filename":"file5"},{"photo_id":"1333037972","filename":"file2"},{"photo_id":"1333037991","filename":"file4"},{"photo_id":"1333037935","filename":"file1"},{"photo_id":"1333037774","filename":"file0"},{"photo_id":"1333037988","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333037935":["hashtag1","hashtag2"]},{"1333037991":["hashtag1","hashtag2"]},{"1333037988":["hashtag1","hashtag2"]},{"1333038015":["hashtag1","hashtag2"]},{"1333037972":["hashtag1","hashtag2"]},{"1333037774":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333037935, 1333037991, 1333037988, 1333038015, 1333037972, 1333037774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.75092530250549 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:53:33.180355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/52/image_30012025_16_52_55_10424.jpg', '/home/pi/Desktop/images/30012025/16/52/image_30012025_16_53_05_10356.jpg', '/home/pi/Desktop/images/30012025/16/53/image_30012025_16_53_15_9334.jpg', '/home/pi/Desktop/images/30012025/16/53/image_30012025_16_53_25_10437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/52/image_30012025_16_52_55_10424.jpg
/home/pi/Desktop/images/30012025/16/52/image_30012025_16_53_05_10356.jpg
/home/pi/Desktop/images/30012025/16/53/image_30012025_16_53_15_9334.jpg
/home/pi/Desktop/images/30012025/16/53/image_30012025_16_53_25_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":["1333038324","1333038327","1333038044","1333038295"],"photo_ids_order":["1333038044","1333038295","1333038324","1333038327"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/52dc0f4224be7ab1f0b2fd03d056a3f2.jpg","text":"TemporaryFile(/tmp/multipartBody8591724205846655223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252474055,"filename":"image_30012025_16_53_15_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c27c06a8c05f2576c948b95ac8f32ebb.jpg","text":"TemporaryFile(/tmp/multipartBody2078344845900029023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252474055,"filename":"image_30012025_16_53_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/30/d5df72e24e0d4959bbd9d702f234fe99.jpg","text":"TemporaryFile(/tmp/multipartBody4958698841215444438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252474055,"filename":"image_30012025_16_52_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/30/10c4e1d132710c1aba1b2b2fd8d541c0.jpg","text":"TemporaryFile(/tmp/multipartBody521252490153101121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252474055,"filename":"image_30012025_16_53_05_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333038324","file1":"1333038295","file0":"1333038044","file3":"1333038327"},"map_files_photo_id_array":[{"photo_id":"1333038324","filename":"file2"},{"photo_id":"1333038295","filename":"file1"},{"photo_id":"1333038044","filename":"file0"},{"photo_id":"1333038327","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333038324":["hashtag1","hashtag2"]},{"1333038327":["hashtag1","hashtag2"]},{"1333038044":["hashtag1","hashtag2"]},{"1333038295":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333038324, 1333038327, 1333038044, 1333038295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.59218120574951 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:54:32.535155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/16/image_28012025_21_16_15_9332.jpg', '/home/pi/Desktop/images/28012025/21/16/image_28012025_21_16_25_10426.jpg', '/home/pi/Desktop/images/28012025/21/16/image_28012025_21_16_36_10342.jpg', '/home/pi/Desktop/images/28012025/21/16/image_28012025_21_16_45_9343.jpg', '/home/pi/Desktop/images/28012025/21/16/image_28012025_21_16_55_10485.jpg', '/home/pi/Desktop/images/28012025/21/16/image_28012025_21_17_05_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/16/image_28012025_21_16_15_9332.jpg
/home/pi/Desktop/images/28012025/21/16/image_28012025_21_16_25_10426.jpg
/home/pi/Desktop/images/28012025/21/16/image_28012025_21_16_36_10342.jpg
/home/pi/Desktop/images/28012025/21/16/image_28012025_21_16_45_9343.jpg
/home/pi/Desktop/images/28012025/21/16/image_28012025_21_16_55_10485.jpg
/home/pi/Desktop/images/28012025/21/16/image_28012025_21_17_05_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":["1333038424","1333038444","1333038455","1333038452","1333038431","1333038416"],"photo_ids_order":["1333038416","1333038424","1333038431","1333038444","1333038452","1333038455"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/eec251ed0e1e93c7ae84e7702678c2e8.jpg","text":"TemporaryFile(/tmp/multipartBody6485015500847240389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252534971,"filename":"image_28012025_21_16_25_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/30/82e2fd6a40aa1ef0c6e8b01d890c4c54.jpg","text":"TemporaryFile(/tmp/multipartBody3015792801077871666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252534971,"filename":"image_28012025_21_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/30/f374335100e13f934bc19cfd23f5df81.jpg","text":"TemporaryFile(/tmp/multipartBody8790985831224204488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252534971,"filename":"image_28012025_21_17_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/30/a750128726a01766273a77811d4d5e38.jpg","text":"TemporaryFile(/tmp/multipartBody7783934761052616299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252534971,"filename":"image_28012025_21_16_55_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/30/729d8fc834f9f0b9f2327750ea353c2b.jpg","text":"TemporaryFile(/tmp/multipartBody572685500141433174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252534971,"filename":"image_28012025_21_16_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/30/54be4d4fb9ce6626069a8d2651a205bd.jpg","text":"TemporaryFile(/tmp/multipartBody2765389530587364137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252534971,"filename":"image_28012025_21_16_15_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333038431","file1":"1333038424","file0":"1333038416","file4":"1333038452","file5":"1333038455","file3":"1333038444"},"map_files_photo_id_array":[{"photo_id":"1333038455","filename":"file5"},{"photo_id":"1333038431","filename":"file2"},{"photo_id":"1333038452","filename":"file4"},{"photo_id":"1333038424","filename":"file1"},{"photo_id":"1333038416","filename":"file0"},{"photo_id":"1333038444","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333038424":["hashtag1","hashtag2"]},{"1333038444":["hashtag1","hashtag2"]},{"1333038455":["hashtag1","hashtag2"]},{"1333038452":["hashtag1","hashtag2"]},{"1333038431":["hashtag1","hashtag2"]},{"1333038416":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333038424, 1333038444, 1333038455, 1333038452, 1333038431, 1333038416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.607258558273315 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:55:32.567912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/53/image_30012025_16_53_34_9343.jpg', '/home/pi/Desktop/images/30012025/16/53/image_30012025_16_54_04_9330.jpg', '/home/pi/Desktop/images/30012025/16/54/image_30012025_16_54_15_10344.jpg', '/home/pi/Desktop/images/30012025/16/54/image_30012025_16_54_25_10357.jpg', '/home/pi/Desktop/images/30012025/16/54/image_30012025_16_54_45_10416.jpg', '/home/pi/Desktop/images/30012025/16/55/image_30012025_16_55_25_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/53/image_30012025_16_53_34_9343.jpg
/home/pi/Desktop/images/30012025/16/53/image_30012025_16_54_04_9330.jpg
/home/pi/Desktop/images/30012025/16/54/image_30012025_16_54_15_10344.jpg
/home/pi/Desktop/images/30012025/16/54/image_30012025_16_54_25_10357.jpg
/home/pi/Desktop/images/30012025/16/54/image_30012025_16_54_45_10416.jpg
/home/pi/Desktop/images/30012025/16/55/image_30012025_16_55_25_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":["1333038489","1333038498","1333038494","1333038484","1333038478","1333038503"],"photo_ids_order":["1333038478","1333038484","1333038489","1333038494","1333038498","1333038503"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/301fadf79d56b10cdc3788140c2421af.jpg","text":"TemporaryFile(/tmp/multipartBody6486465342958144406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252593512,"filename":"image_30012025_16_54_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/30/53e9fcd88c2a0df75cbbef56145921f4.jpg","text":"TemporaryFile(/tmp/multipartBody1953038941071714094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252593512,"filename":"image_30012025_16_54_45_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4ddfeb27d0dbc79b2746aecbf50f2ee9.jpg","text":"TemporaryFile(/tmp/multipartBody5491365844421170717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252593512,"filename":"image_30012025_16_54_25_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/91ddd1723c4f809681ffe5f5c96c468b.jpg","text":"TemporaryFile(/tmp/multipartBody5898922756913945438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252593512,"filename":"image_30012025_16_54_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/30/447a594d5413eb9cc7a0486c6d277bb9.jpg","text":"TemporaryFile(/tmp/multipartBody2696491090348800935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252593512,"filename":"image_30012025_16_53_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/30/f08da293daa7b564f12024c1e29680b8.jpg","text":"TemporaryFile(/tmp/multipartBody5706125967809335070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252593512,"filename":"image_30012025_16_55_25_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333038489","file1":"1333038484","file0":"1333038478","file4":"1333038498","file5":"1333038503","file3":"1333038494"},"map_files_photo_id_array":[{"photo_id":"1333038503","filename":"file5"},{"photo_id":"1333038489","filename":"file2"},{"photo_id":"1333038498","filename":"file4"},{"photo_id":"1333038484","filename":"file1"},{"photo_id":"1333038478","filename":"file0"},{"photo_id":"1333038494","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333038489":["hashtag1","hashtag2"]},{"1333038498":["hashtag1","hashtag2"]},{"1333038494":["hashtag1","hashtag2"]},{"1333038484":["hashtag1","hashtag2"]},{"1333038478":["hashtag1","hashtag2"]},{"1333038503":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333038489, 1333038498, 1333038494, 1333038484, 1333038478, 1333038503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.21397352218628 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:56:32.988930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/55/image_30012025_16_55_35_10388.jpg', '/home/pi/Desktop/images/30012025/16/55/image_30012025_16_55_55_9350.jpg', '/home/pi/Desktop/images/30012025/16/55/image_30012025_16_56_05_10438.jpg', '/home/pi/Desktop/images/30012025/16/56/image_30012025_16_56_14_9334.jpg', '/home/pi/Desktop/images/30012025/16/56/image_30012025_16_56_25_10373.jpg', '/home/pi/Desktop/images/30012025/16/56/image_30012025_16_56_35_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/55/image_30012025_16_55_35_10388.jpg
/home/pi/Desktop/images/30012025/16/55/image_30012025_16_55_55_9350.jpg
/home/pi/Desktop/images/30012025/16/55/image_30012025_16_56_05_10438.jpg
/home/pi/Desktop/images/30012025/16/56/image_30012025_16_56_14_9334.jpg
/home/pi/Desktop/images/30012025/16/56/image_30012025_16_56_25_10373.jpg
/home/pi/Desktop/images/30012025/16/56/image_30012025_16_56_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":["1333038673","1333038667","1333038690","1333038680","1333038662","1333038685"],"photo_ids_order":["1333038662","1333038667","1333038673","1333038680","1333038685","1333038690"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d93f32c7e980b2cafac493cfb22329e7.jpg","text":"TemporaryFile(/tmp/multipartBody8718225419744373490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252653891,"filename":"image_30012025_16_56_05_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/30/7f0549bbaa7eb2f725680a8009b2bcf2.jpg","text":"TemporaryFile(/tmp/multipartBody5275879958297213531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252653891,"filename":"image_30012025_16_55_55_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8f5051da34006021e7ffa1617a5f75e7.jpg","text":"TemporaryFile(/tmp/multipartBody5531400650343198166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252653891,"filename":"image_30012025_16_56_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/30/bef268d419f92082fc538f471e89f52d.jpg","text":"TemporaryFile(/tmp/multipartBody6128629478746723153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252653891,"filename":"image_30012025_16_56_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/30/4e83008c82aa0164d0827be9a2b7a268.jpg","text":"TemporaryFile(/tmp/multipartBody4589199688234572174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252653891,"filename":"image_30012025_16_55_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/30/8a0a8b46a0ae8993f5edde882126c608.jpg","text":"TemporaryFile(/tmp/multipartBody2132454093754866099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252653891,"filename":"image_30012025_16_56_25_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333038673","file1":"1333038667","file0":"1333038662","file4":"1333038685","file5":"1333038690","file3":"1333038680"},"map_files_photo_id_array":[{"photo_id":"1333038690","filename":"file5"},{"photo_id":"1333038673","filename":"file2"},{"photo_id":"1333038685","filename":"file4"},{"photo_id":"1333038667","filename":"file1"},{"photo_id":"1333038662","filename":"file0"},{"photo_id":"1333038680","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333038673":["hashtag1","hashtag2"]},{"1333038667":["hashtag1","hashtag2"]},{"1333038690":["hashtag1","hashtag2"]},{"1333038680":["hashtag1","hashtag2"]},{"1333038662":["hashtag1","hashtag2"]},{"1333038685":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333038673, 1333038667, 1333038690, 1333038680, 1333038662, 1333038685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.47641706466675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:57:32.189223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/56/image_30012025_16_56_44_9345.jpg', '/home/pi/Desktop/images/30012025/16/56/image_30012025_16_56_55_10350.jpg', '/home/pi/Desktop/images/30012025/16/56/image_30012025_16_57_05_10342.jpg', '/home/pi/Desktop/images/30012025/16/57/image_30012025_16_57_14_9339.jpg', '/home/pi/Desktop/images/30012025/16/57/image_30012025_16_57_25_10437.jpg', '/home/pi/Desktop/images/30012025/16/57/image_30012025_16_57_35_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/56/image_30012025_16_56_44_9345.jpg
/home/pi/Desktop/images/30012025/16/56/image_30012025_16_56_55_10350.jpg
/home/pi/Desktop/images/30012025/16/56/image_30012025_16_57_05_10342.jpg
/home/pi/Desktop/images/30012025/16/57/image_30012025_16_57_14_9339.jpg
/home/pi/Desktop/images/30012025/16/57/image_30012025_16_57_25_10437.jpg
/home/pi/Desktop/images/30012025/16/57/image_30012025_16_57_35_10371.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-30 16:59:04.182958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/56/image_30012025_16_56_44_9345.jpg', '/home/pi/Desktop/images/30012025/16/56/image_30012025_16_56_55_10350.jpg', '/home/pi/Desktop/images/30012025/16/56/image_30012025_16_57_05_10342.jpg', '/home/pi/Desktop/images/30012025/16/57/image_30012025_16_57_14_9339.jpg', '/home/pi/Desktop/images/30012025/16/57/image_30012025_16_57_25_10437.jpg', '/home/pi/Desktop/images/30012025/16/57/image_30012025_16_57_35_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/56/image_30012025_16_56_44_9345.jpg
/home/pi/Desktop/images/30012025/16/56/image_30012025_16_56_55_10350.jpg
/home/pi/Desktop/images/30012025/16/56/image_30012025_16_57_05_10342.jpg
/home/pi/Desktop/images/30012025/16/57/image_30012025_16_57_14_9339.jpg
/home/pi/Desktop/images/30012025/16/57/image_30012025_16_57_25_10437.jpg
/home/pi/Desktop/images/30012025/16/57/image_30012025_16_57_35_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":["1333038787","1333038768","1333038762","1333038779","1333038773","1333038755"],"photo_ids_order":["1333038755","1333038762","1333038768","1333038773","1333038779","1333038787"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4831b7ff0b056906549f98621f1a36b1.jpg","text":"TemporaryFile(/tmp/multipartBody5072170528817147479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252805143,"filename":"image_30012025_16_57_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/30/4dc35436258ec7763e451259c403cb4d.jpg","text":"TemporaryFile(/tmp/multipartBody1928485432881068870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252805143,"filename":"image_30012025_16_57_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/30/4e0c2e712f1d1d29dd1cad67abef2890.jpg","text":"TemporaryFile(/tmp/multipartBody739941475134246890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252805143,"filename":"image_30012025_16_56_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/30/58709d7675c6482c0b8e29c2e8c2fc2e.jpg","text":"TemporaryFile(/tmp/multipartBody5206116694346155624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252805143,"filename":"image_30012025_16_57_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/30/4d44dc0f5f3b4437eebfcfb48630d89b.jpg","text":"TemporaryFile(/tmp/multipartBody129819593093896445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252805143,"filename":"image_30012025_16_57_14_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b51ee412cb66326858c324b60704ba0a.jpg","text":"TemporaryFile(/tmp/multipartBody4889998862452208973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252805143,"filename":"image_30012025_16_56_44_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333038768","file1":"1333038762","file0":"1333038755","file4":"1333038779","file5":"1333038787","file3":"1333038773"},"map_files_photo_id_array":[{"photo_id":"1333038787","filename":"file5"},{"photo_id":"1333038768","filename":"file2"},{"photo_id":"1333038779","filename":"file4"},{"photo_id":"1333038762","filename":"file1"},{"photo_id":"1333038755","filename":"file0"},{"photo_id":"1333038773","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333038787":["hashtag1","hashtag2"]},{"1333038768":["hashtag1","hashtag2"]},{"1333038762":["hashtag1","hashtag2"]},{"1333038779":["hashtag1","hashtag2"]},{"1333038773":["hashtag1","hashtag2"]},{"1333038755":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333038787, 1333038768, 1333038762, 1333038779, 1333038773, 1333038755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38217091560364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 16:59:52.969030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/57/image_30012025_16_57_45_9359.jpg', '/home/pi/Desktop/images/30012025/16/57/image_30012025_16_57_55_10440.jpg', '/home/pi/Desktop/images/30012025/16/57/image_30012025_16_58_04_9339.jpg', '/home/pi/Desktop/images/30012025/16/58/image_30012025_16_58_15_10330.jpg', '/home/pi/Desktop/images/30012025/16/58/image_30012025_16_58_25_10449.jpg', '/home/pi/Desktop/images/30012025/16/58/image_30012025_16_58_45_10385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/57/image_30012025_16_57_45_9359.jpg
/home/pi/Desktop/images/30012025/16/57/image_30012025_16_57_55_10440.jpg
/home/pi/Desktop/images/30012025/16/57/image_30012025_16_58_04_9339.jpg
/home/pi/Desktop/images/30012025/16/58/image_30012025_16_58_15_10330.jpg
/home/pi/Desktop/images/30012025/16/58/image_30012025_16_58_25_10449.jpg
/home/pi/Desktop/images/30012025/16/58/image_30012025_16_58_45_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333038820","1333038802","1333038810","1333038804","1333038813","1333038816"],"photo_ids_order":["1333038802","1333038804","1333038810","1333038813","1333038816","1333038820"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/30a22be12f666fbf9bc704d81297980a.jpg","text":"TemporaryFile(/tmp/multipartBody4572134289350522052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252853915,"filename":"image_30012025_16_58_45_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/30/68a5d5db2464b0f998cc7f2b4a42c55d.jpg","text":"TemporaryFile(/tmp/multipartBody3577699467180642827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252853915,"filename":"image_30012025_16_57_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/30/887e89887bb36dff241a6bdcf3e0079c.jpg","text":"TemporaryFile(/tmp/multipartBody1922988204990842196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252853915,"filename":"image_30012025_16_58_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/30/0f20de4a230f42ccd6edce0e898500de.jpg","text":"TemporaryFile(/tmp/multipartBody8829417335850930116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252853915,"filename":"image_30012025_16_57_55_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/30/a258c5f8c7426b4ebf87368650886b1b.jpg","text":"TemporaryFile(/tmp/multipartBody3427449150414373042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252853915,"filename":"image_30012025_16_58_15_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/30/a9f45320dbc4932913bfc06d8a289858.jpg","text":"TemporaryFile(/tmp/multipartBody6562607139266761287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252853915,"filename":"image_30012025_16_58_25_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333038810","file1":"1333038804","file0":"1333038802","file4":"1333038816","file5":"1333038820","file3":"1333038813"},"map_files_photo_id_array":[{"photo_id":"1333038820","filename":"file5"},{"photo_id":"1333038810","filename":"file2"},{"photo_id":"1333038816","filename":"file4"},{"photo_id":"1333038804","filename":"file1"},{"photo_id":"1333038802","filename":"file0"},{"photo_id":"1333038813","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333038820":["hashtag1","hashtag2"]},{"1333038802":["hashtag1","hashtag2"]},{"1333038810":["hashtag1","hashtag2"]},{"1333038804":["hashtag1","hashtag2"]},{"1333038813":["hashtag1","hashtag2"]},{"1333038816":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333038820, 1333038802, 1333038810, 1333038804, 1333038813, 1333038816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.82595372200012 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 17:00:42.181579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/58/image_30012025_16_58_55_10347.jpg', '/home/pi/Desktop/images/30012025/16/58/image_30012025_16_59_05_9341.jpg', '/home/pi/Desktop/images/30012025/16/59/image_30012025_16_59_24_9368.jpg', '/home/pi/Desktop/images/30012025/16/59/image_30012025_16_59_35_10412.jpg', '/home/pi/Desktop/images/30012025/16/59/image_30012025_16_59_45_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/58/image_30012025_16_58_55_10347.jpg
/home/pi/Desktop/images/30012025/16/58/image_30012025_16_59_05_9341.jpg
/home/pi/Desktop/images/30012025/16/59/image_30012025_16_59_24_9368.jpg
/home/pi/Desktop/images/30012025/16/59/image_30012025_16_59_35_10412.jpg
/home/pi/Desktop/images/30012025/16/59/image_30012025_16_59_45_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":["1333039035","1333038989","1333038962","1333039049","1333039022"],"photo_ids_order":["1333038962","1333038989","1333039022","1333039035","1333039049"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d5a8477917c2f338578252aefe3049d9.jpg","text":"TemporaryFile(/tmp/multipartBody7066421726962516941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252903067,"filename":"image_30012025_16_59_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/30/9a27531872d2dda652d4ea113dd5ad2b.jpg","text":"TemporaryFile(/tmp/multipartBody1155150727055896959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252903067,"filename":"image_30012025_16_59_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/30/6db76e652f53c8d2601bb1bd135684d1.jpg","text":"TemporaryFile(/tmp/multipartBody6196347045028702499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252903067,"filename":"image_30012025_16_58_55_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6d7be21e71aa7f0a40f841658d7e7757.jpg","text":"TemporaryFile(/tmp/multipartBody5812987712273976357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252903067,"filename":"image_30012025_16_59_45_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/30/7010902802e2f21dd692c285a947b698.jpg","text":"TemporaryFile(/tmp/multipartBody7017845575354885888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252903067,"filename":"image_30012025_16_59_24_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333039022","file1":"1333038989","file0":"1333038962","file4":"1333039049","file3":"1333039035"},"map_files_photo_id_array":[{"photo_id":"1333039022","filename":"file2"},{"photo_id":"1333039049","filename":"file4"},{"photo_id":"1333038989","filename":"file1"},{"photo_id":"1333038962","filename":"file0"},{"photo_id":"1333039035","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333039035":["hashtag1","hashtag2"]},{"1333038989":["hashtag1","hashtag2"]},{"1333038962":["hashtag1","hashtag2"]},{"1333039049":["hashtag1","hashtag2"]},{"1333039022":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333039035, 1333038989, 1333038962, 1333039049, 1333039022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.69473457336426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:01:32.403051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/16/59/image_30012025_16_59_55_9348.jpg', '/home/pi/Desktop/images/30012025/17/01/image_30012025_17_01_14_10077.jpg', '/home/pi/Desktop/images/30012025/17/01/image_30012025_17_01_24_10474.jpg', '/home/pi/Desktop/images/30012025/17/01/image_30012025_17_01_34_9498.jpg', '/home/pi/Desktop/images/30012025/17/01/image_30012025_17_01_44_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/16/59/image_30012025_16_59_55_9348.jpg
/home/pi/Desktop/images/30012025/17/01/image_30012025_17_01_14_10077.jpg
/home/pi/Desktop/images/30012025/17/01/image_30012025_17_01_24_10474.jpg
/home/pi/Desktop/images/30012025/17/01/image_30012025_17_01_34_9498.jpg
/home/pi/Desktop/images/30012025/17/01/image_30012025_17_01_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":["1333039906","1333039423","1333039991","1333039679","1333040252"],"photo_ids_order":["1333039423","1333039679","1333039906","1333039991","1333040252"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/da139f218a779d4020277cc72f7a20a4.jpg","text":"TemporaryFile(/tmp/multipartBody1364663241834789527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252953296,"filename":"image_30012025_17_01_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/30/44bfc646116884f65403184635789515.jpg","text":"TemporaryFile(/tmp/multipartBody8894736292838514783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252953296,"filename":"image_30012025_16_59_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/30/751938e39b13c5df0b78e627cd023a82.jpg","text":"TemporaryFile(/tmp/multipartBody4146780589687832776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252953296,"filename":"image_30012025_17_01_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/30/0f3d2f759ef4848171a3e634487d6582.jpg","text":"TemporaryFile(/tmp/multipartBody4327916251770910409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252953296,"filename":"image_30012025_17_01_14_10077.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fcde8a603bb532d051f454d7d46941f1.jpg","text":"TemporaryFile(/tmp/multipartBody8794518812468282890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738252953296,"filename":"image_30012025_17_01_44_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333039906","file1":"1333039679","file0":"1333039423","file4":"1333040252","file3":"1333039991"},"map_files_photo_id_array":[{"photo_id":"1333039906","filename":"file2"},{"photo_id":"1333040252","filename":"file4"},{"photo_id":"1333039679","filename":"file1"},{"photo_id":"1333039423","filename":"file0"},{"photo_id":"1333039991","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333039906":["hashtag1","hashtag2"]},{"1333039423":["hashtag1","hashtag2"]},{"1333039991":["hashtag1","hashtag2"]},{"1333039679":["hashtag1","hashtag2"]},{"1333040252":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333039906, 1333039423, 1333039991, 1333039679, 1333040252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 41.8794367313385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:02:33.179719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/01/image_30012025_17_01_55_10373.jpg', '/home/pi/Desktop/images/30012025/17/01/image_30012025_17_02_04_9454.jpg', '/home/pi/Desktop/images/30012025/17/02/image_30012025_17_02_14_10345.jpg', '/home/pi/Desktop/images/30012025/17/02/image_30012025_17_02_24_9511.jpg', '/home/pi/Desktop/images/30012025/17/02/image_30012025_17_02_34_10361.jpg', '/home/pi/Desktop/images/30012025/17/02/image_30012025_17_02_45_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/01/image_30012025_17_01_55_10373.jpg
/home/pi/Desktop/images/30012025/17/01/image_30012025_17_02_04_9454.jpg
/home/pi/Desktop/images/30012025/17/02/image_30012025_17_02_14_10345.jpg
/home/pi/Desktop/images/30012025/17/02/image_30012025_17_02_24_9511.jpg
/home/pi/Desktop/images/30012025/17/02/image_30012025_17_02_34_10361.jpg
/home/pi/Desktop/images/30012025/17/02/image_30012025_17_02_45_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":["1333040665","1333040638","1333040649","1333040643","1333040669","1333040651"],"photo_ids_order":["1333040638","1333040643","1333040649","1333040651","1333040665","1333040669"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/32a2ea44ad232ed9336313d72d4c1d34.jpg","text":"TemporaryFile(/tmp/multipartBody3250153885152768230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253014093,"filename":"image_30012025_17_02_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/30/d315789fe4f309e3041de83db52fe4e7.jpg","text":"TemporaryFile(/tmp/multipartBody6849041657792709468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253014093,"filename":"image_30012025_17_01_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/30/6b482a774f195a4f3dda48da4f1f578f.jpg","text":"TemporaryFile(/tmp/multipartBody3808731213369056153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253014093,"filename":"image_30012025_17_02_14_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/12e86b63569407d73d0cb18206389b17.jpg","text":"TemporaryFile(/tmp/multipartBody7276346420311426335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253014093,"filename":"image_30012025_17_02_04_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/30/aa161d4989934bf432304b07373b20ff.jpg","text":"TemporaryFile(/tmp/multipartBody2493607871393707797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253014093,"filename":"image_30012025_17_02_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/30/aaf709e37842eb782d4928d1f0728b02.jpg","text":"TemporaryFile(/tmp/multipartBody8193528398631665897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253014093,"filename":"image_30012025_17_02_24_9511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333040649","file1":"1333040643","file0":"1333040638","file4":"1333040665","file5":"1333040669","file3":"1333040651"},"map_files_photo_id_array":[{"photo_id":"1333040669","filename":"file5"},{"photo_id":"1333040649","filename":"file2"},{"photo_id":"1333040665","filename":"file4"},{"photo_id":"1333040643","filename":"file1"},{"photo_id":"1333040638","filename":"file0"},{"photo_id":"1333040651","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333040665":["hashtag1","hashtag2"]},{"1333040638":["hashtag1","hashtag2"]},{"1333040649":["hashtag1","hashtag2"]},{"1333040643":["hashtag1","hashtag2"]},{"1333040669":["hashtag1","hashtag2"]},{"1333040651":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333040665, 1333040638, 1333040649, 1333040643, 1333040669, 1333040651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.45161557197571 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:03:32.460893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/02/image_30012025_17_02_54_9340.jpg', '/home/pi/Desktop/images/30012025/17/02/image_30012025_17_03_04_10319.jpg', '/home/pi/Desktop/images/30012025/17/03/image_30012025_17_03_14_9580.jpg', '/home/pi/Desktop/images/30012025/17/03/image_30012025_17_03_24_10460.jpg', '/home/pi/Desktop/images/30012025/17/03/image_30012025_17_03_35_10352.jpg', '/home/pi/Desktop/images/30012025/17/03/image_30012025_17_03_44_9459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/02/image_30012025_17_02_54_9340.jpg
/home/pi/Desktop/images/30012025/17/02/image_30012025_17_03_04_10319.jpg
/home/pi/Desktop/images/30012025/17/03/image_30012025_17_03_14_9580.jpg
/home/pi/Desktop/images/30012025/17/03/image_30012025_17_03_24_10460.jpg
/home/pi/Desktop/images/30012025/17/03/image_30012025_17_03_35_10352.jpg
/home/pi/Desktop/images/30012025/17/03/image_30012025_17_03_44_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":["1333040719","1333040710","1333040715","1333040700","1333040705","1333040695"],"photo_ids_order":["1333040695","1333040700","1333040705","1333040710","1333040715","1333040719"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8e7ff6c4f0b061a6f033f6f4e54e2ac1.jpg","text":"TemporaryFile(/tmp/multipartBody8152420713810209271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253073371,"filename":"image_30012025_17_03_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/30/9d8da05f281267557e79ca6a48b8ad7a.jpg","text":"TemporaryFile(/tmp/multipartBody2087968973173464940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253073371,"filename":"image_30012025_17_03_24_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/30/6c9d357e4983a7d39ff093cae332c261.jpg","text":"TemporaryFile(/tmp/multipartBody3257765351468585222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253073371,"filename":"image_30012025_17_03_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/30/5ac8db33e817f8e62b0d76e1121a3d1c.jpg","text":"TemporaryFile(/tmp/multipartBody3073366358523455814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253073371,"filename":"image_30012025_17_03_04_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/67bdf65b70ad19c58b65f260b200a002.jpg","text":"TemporaryFile(/tmp/multipartBody193781307486191426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253073371,"filename":"image_30012025_17_03_14_9580.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e901ac0f6105b22050f416cf49d1f165.jpg","text":"TemporaryFile(/tmp/multipartBody2001861632877656559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253073371,"filename":"image_30012025_17_02_54_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333040705","file1":"1333040700","file0":"1333040695","file4":"1333040715","file5":"1333040719","file3":"1333040710"},"map_files_photo_id_array":[{"photo_id":"1333040719","filename":"file5"},{"photo_id":"1333040705","filename":"file2"},{"photo_id":"1333040715","filename":"file4"},{"photo_id":"1333040700","filename":"file1"},{"photo_id":"1333040695","filename":"file0"},{"photo_id":"1333040710","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333040719":["hashtag1","hashtag2"]},{"1333040710":["hashtag1","hashtag2"]},{"1333040715":["hashtag1","hashtag2"]},{"1333040700":["hashtag1","hashtag2"]},{"1333040705":["hashtag1","hashtag2"]},{"1333040695":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333040719, 1333040710, 1333040715, 1333040700, 1333040705, 1333040695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.80667757987976 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:04:32.863497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/03/image_30012025_17_03_55_10416.jpg', '/home/pi/Desktop/images/30012025/17/03/image_30012025_17_04_04_9420.jpg', '/home/pi/Desktop/images/30012025/17/04/image_30012025_17_04_14_10357.jpg', '/home/pi/Desktop/images/30012025/17/04/image_30012025_17_04_34_9463.jpg', '/home/pi/Desktop/images/30012025/17/04/image_30012025_17_04_45_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/03/image_30012025_17_03_55_10416.jpg
/home/pi/Desktop/images/30012025/17/03/image_30012025_17_04_04_9420.jpg
/home/pi/Desktop/images/30012025/17/04/image_30012025_17_04_14_10357.jpg
/home/pi/Desktop/images/30012025/17/04/image_30012025_17_04_34_9463.jpg
/home/pi/Desktop/images/30012025/17/04/image_30012025_17_04_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":["1333040755","1333040743","1333040766","1333040774","1333040771"],"photo_ids_order":["1333040743","1333040755","1333040766","1333040771","1333040774"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/160d7787262dc2ec59e568b453932e3d.jpg","text":"TemporaryFile(/tmp/multipartBody6543207265540979884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253133764,"filename":"image_30012025_17_04_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/30/c669bfab28f549e4235dba56469c22f8.jpg","text":"TemporaryFile(/tmp/multipartBody556349132507724729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253133764,"filename":"image_30012025_17_03_55_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4450b44fb994fbb58c3d35b858bdafcf.jpg","text":"TemporaryFile(/tmp/multipartBody8040471026402505473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253133764,"filename":"image_30012025_17_04_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/30/7eb029b37d628b108f16553979d1c150.jpg","text":"TemporaryFile(/tmp/multipartBody1265206336153512696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253133764,"filename":"image_30012025_17_04_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/30/261ca97f070fd56dd99d935156c87d88.jpg","text":"TemporaryFile(/tmp/multipartBody1302232577421152486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253133764,"filename":"image_30012025_17_04_34_9463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333040766","file1":"1333040755","file0":"1333040743","file4":"1333040774","file3":"1333040771"},"map_files_photo_id_array":[{"photo_id":"1333040766","filename":"file2"},{"photo_id":"1333040774","filename":"file4"},{"photo_id":"1333040755","filename":"file1"},{"photo_id":"1333040743","filename":"file0"},{"photo_id":"1333040771","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333040755":["hashtag1","hashtag2"]},{"1333040743":["hashtag1","hashtag2"]},{"1333040766":["hashtag1","hashtag2"]},{"1333040774":["hashtag1","hashtag2"]},{"1333040771":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333040755, 1333040743, 1333040766, 1333040774, 1333040771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.93588161468506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:05:33.249251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/04/image_30012025_17_04_54_9377.jpg', '/home/pi/Desktop/images/30012025/17/04/image_30012025_17_05_04_10342.jpg', '/home/pi/Desktop/images/30012025/17/05/image_30012025_17_05_15_10348.jpg', '/home/pi/Desktop/images/30012025/17/05/image_30012025_17_05_24_9472.jpg', '/home/pi/Desktop/images/30012025/17/05/image_30012025_17_05_34_10354.jpg', '/home/pi/Desktop/images/30012025/17/05/image_30012025_17_05_45_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/04/image_30012025_17_04_54_9377.jpg
/home/pi/Desktop/images/30012025/17/04/image_30012025_17_05_04_10342.jpg
/home/pi/Desktop/images/30012025/17/05/image_30012025_17_05_15_10348.jpg
/home/pi/Desktop/images/30012025/17/05/image_30012025_17_05_24_9472.jpg
/home/pi/Desktop/images/30012025/17/05/image_30012025_17_05_34_10354.jpg
/home/pi/Desktop/images/30012025/17/05/image_30012025_17_05_45_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":["1333041660","1333041741","1333041612","1333041420","1333041194","1333041712"],"photo_ids_order":["1333041194","1333041420","1333041612","1333041660","1333041712","1333041741"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4e9a03ef83d7943d16d1c68952e15aa1.jpg","text":"TemporaryFile(/tmp/multipartBody6164152921235115631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253194157,"filename":"image_30012025_17_05_24_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/30/2df78037de2569e26ac92eb8eefca054.jpg","text":"TemporaryFile(/tmp/multipartBody727336282375219064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253194157,"filename":"image_30012025_17_05_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/30/add0518af8872e054169d35bd17aae46.jpg","text":"TemporaryFile(/tmp/multipartBody3496627780120856690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253194157,"filename":"image_30012025_17_05_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/30/54a80e0dc6f80b4adeab2518ad72886d.jpg","text":"TemporaryFile(/tmp/multipartBody1282069454091163277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253194157,"filename":"image_30012025_17_05_04_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/30/60f7ce95e9231f2aca231a2332f0ab8c.jpg","text":"TemporaryFile(/tmp/multipartBody8348462948965445771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253194157,"filename":"image_30012025_17_04_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/30/30adb9ef289fb43a518a4dbde7ff82c3.jpg","text":"TemporaryFile(/tmp/multipartBody1989497999061142975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253194157,"filename":"image_30012025_17_05_34_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333041612","file1":"1333041420","file0":"1333041194","file4":"1333041712","file5":"1333041741","file3":"1333041660"},"map_files_photo_id_array":[{"photo_id":"1333041741","filename":"file5"},{"photo_id":"1333041612","filename":"file2"},{"photo_id":"1333041712","filename":"file4"},{"photo_id":"1333041420","filename":"file1"},{"photo_id":"1333041194","filename":"file0"},{"photo_id":"1333041660","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333041660":["hashtag1","hashtag2"]},{"1333041741":["hashtag1","hashtag2"]},{"1333041612":["hashtag1","hashtag2"]},{"1333041420":["hashtag1","hashtag2"]},{"1333041194":["hashtag1","hashtag2"]},{"1333041712":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333041660, 1333041741, 1333041612, 1333041420, 1333041194, 1333041712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.105791091918945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:06:32.388619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/05/image_30012025_17_05_54_9384.jpg', '/home/pi/Desktop/images/30012025/17/05/image_30012025_17_06_05_10373.jpg', '/home/pi/Desktop/images/30012025/17/06/image_30012025_17_06_14_9358.jpg', '/home/pi/Desktop/images/30012025/17/06/image_30012025_17_06_24_10353.jpg', '/home/pi/Desktop/images/30012025/17/06/image_30012025_17_06_35_10350.jpg', '/home/pi/Desktop/images/30012025/17/06/image_30012025_17_06_44_9442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/05/image_30012025_17_05_54_9384.jpg
/home/pi/Desktop/images/30012025/17/05/image_30012025_17_06_05_10373.jpg
/home/pi/Desktop/images/30012025/17/06/image_30012025_17_06_14_9358.jpg
/home/pi/Desktop/images/30012025/17/06/image_30012025_17_06_24_10353.jpg
/home/pi/Desktop/images/30012025/17/06/image_30012025_17_06_35_10350.jpg
/home/pi/Desktop/images/30012025/17/06/image_30012025_17_06_44_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":["1333041960","1333041950","1333041968","1333041955","1333041964","1333041967"],"photo_ids_order":["1333041950","1333041955","1333041960","1333041964","1333041967","1333041968"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6de48a90c4721edbe4149a6b31411098.jpg","text":"TemporaryFile(/tmp/multipartBody5761918942437320867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253253301,"filename":"image_30012025_17_06_14_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8c18a3d6ed8fa18542c65ee19d3d3763.jpg","text":"TemporaryFile(/tmp/multipartBody2011944105006378480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253253301,"filename":"image_30012025_17_05_54_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/522aa690b91f93c081bdb53407c2cb6d.jpg","text":"TemporaryFile(/tmp/multipartBody3748188415646398295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253253301,"filename":"image_30012025_17_06_44_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fc3e9013beb45114a0dc0aca17fbdccb.jpg","text":"TemporaryFile(/tmp/multipartBody7334258190996353615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253253301,"filename":"image_30012025_17_06_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/70b28beee522bf70a00a91d82edb7c12.jpg","text":"TemporaryFile(/tmp/multipartBody60407875935418612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253253301,"filename":"image_30012025_17_06_24_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dda74c606bf5ab8cc70a747e89574522.jpg","text":"TemporaryFile(/tmp/multipartBody4104321326599470872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253253301,"filename":"image_30012025_17_06_35_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333041960","file1":"1333041955","file0":"1333041950","file4":"1333041967","file5":"1333041968","file3":"1333041964"},"map_files_photo_id_array":[{"photo_id":"1333041968","filename":"file5"},{"photo_id":"1333041960","filename":"file2"},{"photo_id":"1333041967","filename":"file4"},{"photo_id":"1333041955","filename":"file1"},{"photo_id":"1333041950","filename":"file0"},{"photo_id":"1333041964","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333041960":["hashtag1","hashtag2"]},{"1333041950":["hashtag1","hashtag2"]},{"1333041968":["hashtag1","hashtag2"]},{"1333041955":["hashtag1","hashtag2"]},{"1333041964":["hashtag1","hashtag2"]},{"1333041967":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333041960, 1333041950, 1333041968, 1333041955, 1333041964, 1333041967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.28291940689087 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:07:32.657003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/06/image_30012025_17_06_54_10358.jpg', '/home/pi/Desktop/images/30012025/17/06/image_30012025_17_07_05_10359.jpg', '/home/pi/Desktop/images/30012025/17/07/image_30012025_17_07_14_9343.jpg', '/home/pi/Desktop/images/30012025/17/07/image_30012025_17_07_24_10340.jpg', '/home/pi/Desktop/images/30012025/17/07/image_30012025_17_07_35_10339.jpg', '/home/pi/Desktop/images/30012025/17/07/image_30012025_17_07_44_9404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/06/image_30012025_17_06_54_10358.jpg
/home/pi/Desktop/images/30012025/17/06/image_30012025_17_07_05_10359.jpg
/home/pi/Desktop/images/30012025/17/07/image_30012025_17_07_14_9343.jpg
/home/pi/Desktop/images/30012025/17/07/image_30012025_17_07_24_10340.jpg
/home/pi/Desktop/images/30012025/17/07/image_30012025_17_07_35_10339.jpg
/home/pi/Desktop/images/30012025/17/07/image_30012025_17_07_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":["1333041999","1333041993","1333042002","1333042005","1333041988","1333041996"],"photo_ids_order":["1333041988","1333041993","1333041996","1333041999","1333042002","1333042005"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bf401db80a78f3158def9d0bc52b6fe1.jpg","text":"TemporaryFile(/tmp/multipartBody4185439062798678052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253313564,"filename":"image_30012025_17_07_24_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/30/7be1603cf8f37ef884ab6881967df3e4.jpg","text":"TemporaryFile(/tmp/multipartBody6410167950743336550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253313564,"filename":"image_30012025_17_07_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/30/a1d978eefade774c4887e26e32ebe57f.jpg","text":"TemporaryFile(/tmp/multipartBody7257747185512833478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253313564,"filename":"image_30012025_17_07_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/30/ea3b1382cadc1ca85266ef5938adb7d7.jpg","text":"TemporaryFile(/tmp/multipartBody2397954849816193439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253313564,"filename":"image_30012025_17_07_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/30/71361f155b481fc139652b2cd99d33ad.jpg","text":"TemporaryFile(/tmp/multipartBody8748588948674015643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253313564,"filename":"image_30012025_17_06_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/30/2a2e140eb9c9e52b48c53fa0d8a59f3d.jpg","text":"TemporaryFile(/tmp/multipartBody3869000843676120906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253313564,"filename":"image_30012025_17_07_14_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333041996","file1":"1333041993","file0":"1333041988","file4":"1333042002","file5":"1333042005","file3":"1333041999"},"map_files_photo_id_array":[{"photo_id":"1333042005","filename":"file5"},{"photo_id":"1333041996","filename":"file2"},{"photo_id":"1333042002","filename":"file4"},{"photo_id":"1333041993","filename":"file1"},{"photo_id":"1333041988","filename":"file0"},{"photo_id":"1333041999","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333041999":["hashtag1","hashtag2"]},{"1333041993":["hashtag1","hashtag2"]},{"1333042002":["hashtag1","hashtag2"]},{"1333042005":["hashtag1","hashtag2"]},{"1333041988":["hashtag1","hashtag2"]},{"1333041996":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333041999, 1333041993, 1333042002, 1333042005, 1333041988, 1333041996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9165358543396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:08:32.863117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/07/image_30012025_17_07_55_10381.jpg', '/home/pi/Desktop/images/30012025/17/07/image_30012025_17_08_04_9430.jpg', '/home/pi/Desktop/images/30012025/17/08/image_30012025_17_08_14_10341.jpg', '/home/pi/Desktop/images/30012025/17/08/image_30012025_17_08_25_10350.jpg', '/home/pi/Desktop/images/30012025/17/08/image_30012025_17_08_34_9406.jpg', '/home/pi/Desktop/images/30012025/17/08/image_30012025_17_08_44_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/07/image_30012025_17_07_55_10381.jpg
/home/pi/Desktop/images/30012025/17/07/image_30012025_17_08_04_9430.jpg
/home/pi/Desktop/images/30012025/17/08/image_30012025_17_08_14_10341.jpg
/home/pi/Desktop/images/30012025/17/08/image_30012025_17_08_25_10350.jpg
/home/pi/Desktop/images/30012025/17/08/image_30012025_17_08_34_9406.jpg
/home/pi/Desktop/images/30012025/17/08/image_30012025_17_08_44_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":["1333042053","1333042032","1333042037","1333042019","1333042045","1333042027"],"photo_ids_order":["1333042019","1333042027","1333042032","1333042037","1333042045","1333042053"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/44612738259b399b1095c370867d935a.jpg","text":"TemporaryFile(/tmp/multipartBody8519469885714951318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253373758,"filename":"image_30012025_17_08_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/30/73a57bf55d7abf81aa556585948a33af.jpg","text":"TemporaryFile(/tmp/multipartBody1387948764956597933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253373758,"filename":"image_30012025_17_08_14_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/42b3904b1d0f84ae2dd76e147699210c.jpg","text":"TemporaryFile(/tmp/multipartBody6384498828746096388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253373758,"filename":"image_30012025_17_08_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/30/fd7f3dcdcfe3e53b377288378bb9cd1a.jpg","text":"TemporaryFile(/tmp/multipartBody1679111228280090146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253373758,"filename":"image_30012025_17_07_55_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0b1f04def9790b26969d6018fe3d7ae8.jpg","text":"TemporaryFile(/tmp/multipartBody4234210855607120750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253373758,"filename":"image_30012025_17_08_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/30/9615a104daf8b3810ee14bbd5eeb0644.jpg","text":"TemporaryFile(/tmp/multipartBody4150725418781863064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253373758,"filename":"image_30012025_17_08_04_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333042032","file1":"1333042027","file0":"1333042019","file4":"1333042045","file5":"1333042053","file3":"1333042037"},"map_files_photo_id_array":[{"photo_id":"1333042053","filename":"file5"},{"photo_id":"1333042032","filename":"file2"},{"photo_id":"1333042045","filename":"file4"},{"photo_id":"1333042027","filename":"file1"},{"photo_id":"1333042019","filename":"file0"},{"photo_id":"1333042037","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333042053":["hashtag1","hashtag2"]},{"1333042032":["hashtag1","hashtag2"]},{"1333042037":["hashtag1","hashtag2"]},{"1333042019":["hashtag1","hashtag2"]},{"1333042045":["hashtag1","hashtag2"]},{"1333042027":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333042053, 1333042032, 1333042037, 1333042019, 1333042045, 1333042027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.24796175956726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:09:32.179394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/08/image_30012025_17_08_54_9427.jpg', '/home/pi/Desktop/images/30012025/17/08/image_30012025_17_09_04_10354.jpg', '/home/pi/Desktop/images/30012025/17/09/image_30012025_17_09_15_10323.jpg', '/home/pi/Desktop/images/30012025/17/09/image_30012025_17_09_24_9428.jpg', '/home/pi/Desktop/images/30012025/17/09/image_30012025_17_09_34_10371.jpg', '/home/pi/Desktop/images/30012025/17/09/image_30012025_17_09_45_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/08/image_30012025_17_08_54_9427.jpg
/home/pi/Desktop/images/30012025/17/08/image_30012025_17_09_04_10354.jpg
/home/pi/Desktop/images/30012025/17/09/image_30012025_17_09_15_10323.jpg
/home/pi/Desktop/images/30012025/17/09/image_30012025_17_09_24_9428.jpg
/home/pi/Desktop/images/30012025/17/09/image_30012025_17_09_34_10371.jpg
/home/pi/Desktop/images/30012025/17/09/image_30012025_17_09_45_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":["1333042107","1333042097","1333042091","1333042085","1333042103","1333042114"],"photo_ids_order":["1333042085","1333042091","1333042097","1333042103","1333042107","1333042114"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2c3923823c9ac611c290f6d0ac521dd6.jpg","text":"TemporaryFile(/tmp/multipartBody646346629605939393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253433070,"filename":"image_30012025_17_09_34_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/48fa21e76ddb1b4f9ca08a80f2100cd2.jpg","text":"TemporaryFile(/tmp/multipartBody3053781330578082351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253433070,"filename":"image_30012025_17_09_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/30/da60ed21080d810e4666ca025923774d.jpg","text":"TemporaryFile(/tmp/multipartBody4368178206010616725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253433070,"filename":"image_30012025_17_09_04_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e49f63548dccb258bdcfdef15aeb3492.jpg","text":"TemporaryFile(/tmp/multipartBody6790771204973584671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253433070,"filename":"image_30012025_17_08_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/30/7754d3acb51a3225a9e0df820cc5a480.jpg","text":"TemporaryFile(/tmp/multipartBody6260033819977900249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253433070,"filename":"image_30012025_17_09_24_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/30/2c210367f36243e6dd815b88e3490288.jpg","text":"TemporaryFile(/tmp/multipartBody6125599851127895998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253433070,"filename":"image_30012025_17_09_45_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333042097","file1":"1333042091","file0":"1333042085","file4":"1333042107","file5":"1333042114","file3":"1333042103"},"map_files_photo_id_array":[{"photo_id":"1333042114","filename":"file5"},{"photo_id":"1333042097","filename":"file2"},{"photo_id":"1333042107","filename":"file4"},{"photo_id":"1333042091","filename":"file1"},{"photo_id":"1333042085","filename":"file0"},{"photo_id":"1333042103","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333042107":["hashtag1","hashtag2"]},{"1333042097":["hashtag1","hashtag2"]},{"1333042091":["hashtag1","hashtag2"]},{"1333042085":["hashtag1","hashtag2"]},{"1333042103":["hashtag1","hashtag2"]},{"1333042114":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333042107, 1333042097, 1333042091, 1333042085, 1333042103, 1333042114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76723074913025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:10:32.289965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/09/image_30012025_17_09_54_9355.jpg', '/home/pi/Desktop/images/30012025/17/09/image_30012025_17_10_04_10387.jpg', '/home/pi/Desktop/images/30012025/17/10/image_30012025_17_10_15_10382.jpg', '/home/pi/Desktop/images/30012025/17/10/image_30012025_17_10_24_9346.jpg', '/home/pi/Desktop/images/30012025/17/10/image_30012025_17_10_35_10399.jpg', '/home/pi/Desktop/images/30012025/17/10/image_30012025_17_10_44_9435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/09/image_30012025_17_09_54_9355.jpg
/home/pi/Desktop/images/30012025/17/09/image_30012025_17_10_04_10387.jpg
/home/pi/Desktop/images/30012025/17/10/image_30012025_17_10_15_10382.jpg
/home/pi/Desktop/images/30012025/17/10/image_30012025_17_10_24_9346.jpg
/home/pi/Desktop/images/30012025/17/10/image_30012025_17_10_35_10399.jpg
/home/pi/Desktop/images/30012025/17/10/image_30012025_17_10_44_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":["1333042314","1333042224","1333042352","1333042273","1333042252","1333042482"],"photo_ids_order":["1333042224","1333042252","1333042273","1333042314","1333042352","1333042482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2632a3ab3323f95f9df57c605adff7a3.jpg","text":"TemporaryFile(/tmp/multipartBody1103754792563376790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253493204,"filename":"image_30012025_17_10_24_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/361721d431e854c44b9a9ff293ce2977.jpg","text":"TemporaryFile(/tmp/multipartBody7471580146776583729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253493204,"filename":"image_30012025_17_09_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/30/e3447f731538cb1d7c7f5138e9026290.jpg","text":"TemporaryFile(/tmp/multipartBody2192367814143266733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253493204,"filename":"image_30012025_17_10_35_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ea1837d66f439d5c4284096db5c475cf.jpg","text":"TemporaryFile(/tmp/multipartBody5830610960971466020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253493204,"filename":"image_30012025_17_10_15_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/30/fe95d3455f2a2206a6a92a46a312ad3c.jpg","text":"TemporaryFile(/tmp/multipartBody3753586911881988106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253493204,"filename":"image_30012025_17_10_04_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/db9313ba24126fa351e8741f747e5a83.jpg","text":"TemporaryFile(/tmp/multipartBody7324110855371094153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253493204,"filename":"image_30012025_17_10_44_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333042273","file1":"1333042252","file0":"1333042224","file4":"1333042352","file5":"1333042482","file3":"1333042314"},"map_files_photo_id_array":[{"photo_id":"1333042482","filename":"file5"},{"photo_id":"1333042273","filename":"file2"},{"photo_id":"1333042352","filename":"file4"},{"photo_id":"1333042252","filename":"file1"},{"photo_id":"1333042224","filename":"file0"},{"photo_id":"1333042314","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333042314":["hashtag1","hashtag2"]},{"1333042224":["hashtag1","hashtag2"]},{"1333042352":["hashtag1","hashtag2"]},{"1333042273":["hashtag1","hashtag2"]},{"1333042252":["hashtag1","hashtag2"]},{"1333042482":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333042314, 1333042224, 1333042352, 1333042273, 1333042252, 1333042482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.57945275306702 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:11:32.613667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/10/image_30012025_17_10_54_10330.jpg', '/home/pi/Desktop/images/30012025/17/10/image_30012025_17_11_05_10357.jpg', '/home/pi/Desktop/images/30012025/17/11/image_30012025_17_11_14_9323.jpg', '/home/pi/Desktop/images/30012025/17/11/image_30012025_17_11_24_10360.jpg', '/home/pi/Desktop/images/30012025/17/11/image_30012025_17_11_35_10361.jpg', '/home/pi/Desktop/images/30012025/17/11/image_30012025_17_11_44_9428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/10/image_30012025_17_10_54_10330.jpg
/home/pi/Desktop/images/30012025/17/10/image_30012025_17_11_05_10357.jpg
/home/pi/Desktop/images/30012025/17/11/image_30012025_17_11_14_9323.jpg
/home/pi/Desktop/images/30012025/17/11/image_30012025_17_11_24_10360.jpg
/home/pi/Desktop/images/30012025/17/11/image_30012025_17_11_35_10361.jpg
/home/pi/Desktop/images/30012025/17/11/image_30012025_17_11_44_9428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333042518","1333042533","1333042512","1333042529","1333042523","1333042502"],"photo_ids_order":["1333042502","1333042512","1333042518","1333042523","1333042529","1333042533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cc84c33548c8fadbe75c13c47ceea453.jpg","text":"TemporaryFile(/tmp/multipartBody8426393321652449492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253553512,"filename":"image_30012025_17_11_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/30/c59506884be99d51aa8c98e8d1586025.jpg","text":"TemporaryFile(/tmp/multipartBody6878138917411061799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253553512,"filename":"image_30012025_17_11_44_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cba5e4eb8761b40db2cb44d3e12d09ce.jpg","text":"TemporaryFile(/tmp/multipartBody4416031359853586220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253553512,"filename":"image_30012025_17_11_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/30/f73f38a505febbe0f43c7a25f87b408b.jpg","text":"TemporaryFile(/tmp/multipartBody3719967464056120338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253553512,"filename":"image_30012025_17_11_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/eb35d9e54b4dd41ca63ec8459c223d3a.jpg","text":"TemporaryFile(/tmp/multipartBody290266036956469503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253553512,"filename":"image_30012025_17_11_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/30/70b311b86837c8bcab28d64634ecec63.jpg","text":"TemporaryFile(/tmp/multipartBody5866583281762624984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253553512,"filename":"image_30012025_17_10_54_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333042518","file1":"1333042512","file0":"1333042502","file4":"1333042529","file5":"1333042533","file3":"1333042523"},"map_files_photo_id_array":[{"photo_id":"1333042533","filename":"file5"},{"photo_id":"1333042518","filename":"file2"},{"photo_id":"1333042529","filename":"file4"},{"photo_id":"1333042512","filename":"file1"},{"photo_id":"1333042502","filename":"file0"},{"photo_id":"1333042523","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333042518":["hashtag1","hashtag2"]},{"1333042533":["hashtag1","hashtag2"]},{"1333042512":["hashtag1","hashtag2"]},{"1333042529":["hashtag1","hashtag2"]},{"1333042523":["hashtag1","hashtag2"]},{"1333042502":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333042518, 1333042533, 1333042512, 1333042529, 1333042523, 1333042502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.71769666671753 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:12:32.823872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/11/image_30012025_17_11_55_10451.jpg', '/home/pi/Desktop/images/30012025/17/11/image_30012025_17_12_04_9358.jpg', '/home/pi/Desktop/images/30012025/17/12/image_30012025_17_12_14_10356.jpg', '/home/pi/Desktop/images/30012025/17/12/image_30012025_17_12_25_10346.jpg', '/home/pi/Desktop/images/30012025/17/12/image_30012025_17_12_34_9367.jpg', '/home/pi/Desktop/images/30012025/17/12/image_30012025_17_12_44_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/11/image_30012025_17_11_55_10451.jpg
/home/pi/Desktop/images/30012025/17/11/image_30012025_17_12_04_9358.jpg
/home/pi/Desktop/images/30012025/17/12/image_30012025_17_12_14_10356.jpg
/home/pi/Desktop/images/30012025/17/12/image_30012025_17_12_25_10346.jpg
/home/pi/Desktop/images/30012025/17/12/image_30012025_17_12_34_9367.jpg
/home/pi/Desktop/images/30012025/17/12/image_30012025_17_12_44_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333042580","1333042576","1333042567","1333042555","1333042549","1333042560"],"photo_ids_order":["1333042549","1333042555","1333042560","1333042567","1333042576","1333042580"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f8e55590a9e5c111b54a969172f79ee6.jpg","text":"TemporaryFile(/tmp/multipartBody5918113186367071543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253613763,"filename":"image_30012025_17_12_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/30/90d837510e4c827132730a81b95dae32.jpg","text":"TemporaryFile(/tmp/multipartBody2420486603014060050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253613763,"filename":"image_30012025_17_12_34_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/30/20029f6719afe9a491b88269acaec3b9.jpg","text":"TemporaryFile(/tmp/multipartBody3284640980969626188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253613763,"filename":"image_30012025_17_12_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/30/afc68b4dddfa2c265956cd0bc1832c23.jpg","text":"TemporaryFile(/tmp/multipartBody793595654437379858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253613763,"filename":"image_30012025_17_12_04_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a0c168dd16a68d8eb60c0cda03e3c368.jpg","text":"TemporaryFile(/tmp/multipartBody8735726891838269747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253613763,"filename":"image_30012025_17_11_55_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a38555a4fc13936c6e51a13be967b43b.jpg","text":"TemporaryFile(/tmp/multipartBody3287124875557745652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253613763,"filename":"image_30012025_17_12_14_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333042560","file1":"1333042555","file0":"1333042549","file4":"1333042576","file5":"1333042580","file3":"1333042567"},"map_files_photo_id_array":[{"photo_id":"1333042580","filename":"file5"},{"photo_id":"1333042560","filename":"file2"},{"photo_id":"1333042576","filename":"file4"},{"photo_id":"1333042555","filename":"file1"},{"photo_id":"1333042549","filename":"file0"},{"photo_id":"1333042567","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333042580":["hashtag1","hashtag2"]},{"1333042576":["hashtag1","hashtag2"]},{"1333042567":["hashtag1","hashtag2"]},{"1333042555":["hashtag1","hashtag2"]},{"1333042549":["hashtag1","hashtag2"]},{"1333042560":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333042580, 1333042576, 1333042567, 1333042555, 1333042549, 1333042560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.80133271217346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:13:33.027749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/12/image_30012025_17_12_54_9480.jpg', '/home/pi/Desktop/images/30012025/17/12/image_30012025_17_13_04_10348.jpg', '/home/pi/Desktop/images/30012025/17/13/image_30012025_17_13_15_10363.jpg', '/home/pi/Desktop/images/30012025/17/13/image_30012025_17_13_24_9408.jpg', '/home/pi/Desktop/images/30012025/17/13/image_30012025_17_13_34_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/12/image_30012025_17_12_54_9480.jpg
/home/pi/Desktop/images/30012025/17/12/image_30012025_17_13_04_10348.jpg
/home/pi/Desktop/images/30012025/17/13/image_30012025_17_13_15_10363.jpg
/home/pi/Desktop/images/30012025/17/13/image_30012025_17_13_24_9408.jpg
/home/pi/Desktop/images/30012025/17/13/image_30012025_17_13_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":["1333042617","1333042605","1333042625","1333042610","1333042621"],"photo_ids_order":["1333042605","1333042610","1333042617","1333042621","1333042625"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3cd2c4cabe804a6f4717621edcd0ed1c.jpg","text":"TemporaryFile(/tmp/multipartBody5458074322330553683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253673910,"filename":"image_30012025_17_13_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/30/fc63b2ccb5df7af3f6bdb1740bc17572.jpg","text":"TemporaryFile(/tmp/multipartBody3627240617917673958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253673910,"filename":"image_30012025_17_12_54_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/30/679a877bb86091d21b58e34d3a18394b.jpg","text":"TemporaryFile(/tmp/multipartBody2975353768201875017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253673910,"filename":"image_30012025_17_13_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/30/af9240c05d4635df1445307ff1d2bbb8.jpg","text":"TemporaryFile(/tmp/multipartBody2352549603842721780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253673910,"filename":"image_30012025_17_13_04_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/92962b1dcb271b5940ff88b937da54f4.jpg","text":"TemporaryFile(/tmp/multipartBody2886871193019181962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253673910,"filename":"image_30012025_17_13_24_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333042617","file1":"1333042610","file0":"1333042605","file4":"1333042625","file3":"1333042621"},"map_files_photo_id_array":[{"photo_id":"1333042617","filename":"file2"},{"photo_id":"1333042625","filename":"file4"},{"photo_id":"1333042610","filename":"file1"},{"photo_id":"1333042605","filename":"file0"},{"photo_id":"1333042621","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333042617":["hashtag1","hashtag2"]},{"1333042605":["hashtag1","hashtag2"]},{"1333042625":["hashtag1","hashtag2"]},{"1333042610":["hashtag1","hashtag2"]},{"1333042621":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333042617, 1333042605, 1333042625, 1333042610, 1333042621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.27724027633667 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:14:32.203051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/13/image_30012025_17_13_44_9485.jpg', '/home/pi/Desktop/images/30012025/17/14/image_30012025_17_14_24_10335.jpg', '/home/pi/Desktop/images/30012025/17/14/image_30012025_17_14_35_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/13/image_30012025_17_13_44_9485.jpg
/home/pi/Desktop/images/30012025/17/14/image_30012025_17_14_24_10335.jpg
/home/pi/Desktop/images/30012025/17/14/image_30012025_17_14_35_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":["1333043121","1333043109","1333043189"],"photo_ids_order":["1333043109","1333043121","1333043189"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7a6669d3ebed0ef677d83094fbbf31a4.jpg","text":"TemporaryFile(/tmp/multipartBody4988446260452446256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253733060,"filename":"image_30012025_17_14_24_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/30/895fe4561c43e8a56af58466d9ca69bf.jpg","text":"TemporaryFile(/tmp/multipartBody461308774123099325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253733060,"filename":"image_30012025_17_13_44_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/30/3156f5f1311390da496ab47827634fd6.jpg","text":"TemporaryFile(/tmp/multipartBody405758997285979026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253733060,"filename":"image_30012025_17_14_35_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333043189","file1":"1333043121","file0":"1333043109"},"map_files_photo_id_array":[{"photo_id":"1333043189","filename":"file2"},{"photo_id":"1333043121","filename":"file1"},{"photo_id":"1333043109","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333043121":["hashtag1","hashtag2"]},{"1333043109":["hashtag1","hashtag2"]},{"1333043189":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333043121, 1333043109, 1333043189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.73143982887268 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 17:15:03.917094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/17/image_28012025_21_17_15_10471.jpg', '/home/pi/Desktop/images/28012025/21/17/image_28012025_21_17_26_10408.jpg', '/home/pi/Desktop/images/28012025/21/17/image_28012025_21_17_35_9326.jpg', '/home/pi/Desktop/images/28012025/21/17/image_28012025_21_17_45_10401.jpg', '/home/pi/Desktop/images/28012025/21/17/image_28012025_21_17_55_9341.jpg', '/home/pi/Desktop/images/28012025/21/17/image_28012025_21_18_05_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/17/image_28012025_21_17_15_10471.jpg
/home/pi/Desktop/images/28012025/21/17/image_28012025_21_17_26_10408.jpg
/home/pi/Desktop/images/28012025/21/17/image_28012025_21_17_35_9326.jpg
/home/pi/Desktop/images/28012025/21/17/image_28012025_21_17_45_10401.jpg
/home/pi/Desktop/images/28012025/21/17/image_28012025_21_17_55_9341.jpg
/home/pi/Desktop/images/28012025/21/17/image_28012025_21_18_05_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":["1333043264","1333043252","1333043246","1333043243","1333043257","1333043250"],"photo_ids_order":["1333043243","1333043246","1333043250","1333043252","1333043257","1333043264"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/079c7751c1130c353253aeeb1bed7978.jpg","text":"TemporaryFile(/tmp/multipartBody8345830209685164598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253765874,"filename":"image_28012025_21_18_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/30/150aedb6f78f58ed5d9df8d67f79eeda.jpg","text":"TemporaryFile(/tmp/multipartBody7485779877874778823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253765874,"filename":"image_28012025_21_17_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/30/5d0e36f2055d190ea695eae6a46115d0.jpg","text":"TemporaryFile(/tmp/multipartBody7084414938147005654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253765874,"filename":"image_28012025_21_17_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/30/cdabddd5c342bbc0bf291cf2720d7480.jpg","text":"TemporaryFile(/tmp/multipartBody435039910642055559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253765874,"filename":"image_28012025_21_17_15_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/30/cc2fa3a155037a8aea680d5e580f28d8.jpg","text":"TemporaryFile(/tmp/multipartBody9031572558896611799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253765874,"filename":"image_28012025_21_17_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/30/4ebc00c27284548458d888027af8c738.jpg","text":"TemporaryFile(/tmp/multipartBody558429968647046928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253765874,"filename":"image_28012025_21_17_35_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333043250","file1":"1333043246","file0":"1333043243","file4":"1333043257","file5":"1333043264","file3":"1333043252"},"map_files_photo_id_array":[{"photo_id":"1333043264","filename":"file5"},{"photo_id":"1333043250","filename":"file2"},{"photo_id":"1333043257","filename":"file4"},{"photo_id":"1333043246","filename":"file1"},{"photo_id":"1333043243","filename":"file0"},{"photo_id":"1333043252","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333043264":["hashtag1","hashtag2"]},{"1333043252":["hashtag1","hashtag2"]},{"1333043246":["hashtag1","hashtag2"]},{"1333043243":["hashtag1","hashtag2"]},{"1333043257":["hashtag1","hashtag2"]},{"1333043250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333043264, 1333043252, 1333043246, 1333043243, 1333043257, 1333043250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.557690143585205 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-30 17:16:03.259747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/14/image_30012025_17_14_54_10360.jpg', '/home/pi/Desktop/images/30012025/17/14/image_30012025_17_15_05_10345.jpg', '/home/pi/Desktop/images/30012025/17/15/image_30012025_17_15_14_9329.jpg', '/home/pi/Desktop/images/30012025/17/15/image_30012025_17_15_35_10398.jpg', '/home/pi/Desktop/images/30012025/17/15/image_30012025_17_15_44_9468.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/14/image_30012025_17_14_54_10360.jpg
/home/pi/Desktop/images/30012025/17/14/image_30012025_17_15_05_10345.jpg
/home/pi/Desktop/images/30012025/17/15/image_30012025_17_15_14_9329.jpg
/home/pi/Desktop/images/30012025/17/15/image_30012025_17_15_35_10398.jpg
/home/pi/Desktop/images/30012025/17/15/image_30012025_17_15_44_9468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333043477","1333043527","1333043521","1333043541","1333043535"],"photo_ids_order":["1333043477","1333043521","1333043527","1333043535","1333043541"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/468aa983ad175fe7cff7cf35da8830e5.jpg","text":"TemporaryFile(/tmp/multipartBody1166029927477993534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253825952,"filename":"image_30012025_17_14_54_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dcf9c5e850170a5870c4646e86217f41.jpg","text":"TemporaryFile(/tmp/multipartBody6525868539710050748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253825952,"filename":"image_30012025_17_15_14_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c9b329e5969f398a6e98e095a50c9460.jpg","text":"TemporaryFile(/tmp/multipartBody1158634935299376465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253825952,"filename":"image_30012025_17_15_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/30/af9688fd3db8c4245cc7df930c0aa0d2.jpg","text":"TemporaryFile(/tmp/multipartBody7392978183266552688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253825952,"filename":"image_30012025_17_15_44_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/426bfe1fc6427e3f893d2c539ed21d7a.jpg","text":"TemporaryFile(/tmp/multipartBody1145798736671583643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253825952,"filename":"image_30012025_17_15_35_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333043527","file1":"1333043521","file0":"1333043477","file4":"1333043541","file3":"1333043535"},"map_files_photo_id_array":[{"photo_id":"1333043527","filename":"file2"},{"photo_id":"1333043541","filename":"file4"},{"photo_id":"1333043521","filename":"file1"},{"photo_id":"1333043477","filename":"file0"},{"photo_id":"1333043535","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333043477":["hashtag1","hashtag2"]},{"1333043527":["hashtag1","hashtag2"]},{"1333043521":["hashtag1","hashtag2"]},{"1333043541":["hashtag1","hashtag2"]},{"1333043535":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333043477, 1333043527, 1333043521, 1333043541, 1333043535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 40.03070306777954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:16:52.875372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/15/image_30012025_17_15_55_10365.jpg', '/home/pi/Desktop/images/30012025/17/15/image_30012025_17_16_04_9388.jpg', '/home/pi/Desktop/images/30012025/17/16/image_30012025_17_16_14_10382.jpg', '/home/pi/Desktop/images/30012025/17/16/image_30012025_17_16_24_9442.jpg', '/home/pi/Desktop/images/30012025/17/16/image_30012025_17_16_34_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/15/image_30012025_17_15_55_10365.jpg
/home/pi/Desktop/images/30012025/17/15/image_30012025_17_16_04_9388.jpg
/home/pi/Desktop/images/30012025/17/16/image_30012025_17_16_14_10382.jpg
/home/pi/Desktop/images/30012025/17/16/image_30012025_17_16_24_9442.jpg
/home/pi/Desktop/images/30012025/17/16/image_30012025_17_16_34_10365.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333043561","1333043564","1333043567","1333043572","1333043574"],"photo_ids_order":["1333043561","1333043564","1333043567","1333043572","1333043574"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b7b996ea2816060e10a73f350120ad4c.jpg","text":"TemporaryFile(/tmp/multipartBody8089669705284964096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253873760,"filename":"image_30012025_17_15_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/30/65470d875146db1f24b4e47cad40f698.jpg","text":"TemporaryFile(/tmp/multipartBody3159706936233114482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253873760,"filename":"image_30012025_17_16_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/30/c35b31a1ca6b2c4932b3ec45365e78e9.jpg","text":"TemporaryFile(/tmp/multipartBody6170756275526321605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253873760,"filename":"image_30012025_17_16_14_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/30/3fd82a9c2b99df379a9ce40bf8e4084b.jpg","text":"TemporaryFile(/tmp/multipartBody2646911410023376987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253873760,"filename":"image_30012025_17_16_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/30/9fd42ad3e4065472dba49fa74fdd0f0c.jpg","text":"TemporaryFile(/tmp/multipartBody4914909776539555172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253873760,"filename":"image_30012025_17_16_34_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333043567","file1":"1333043564","file0":"1333043561","file4":"1333043574","file3":"1333043572"},"map_files_photo_id_array":[{"photo_id":"1333043567","filename":"file2"},{"photo_id":"1333043574","filename":"file4"},{"photo_id":"1333043564","filename":"file1"},{"photo_id":"1333043561","filename":"file0"},{"photo_id":"1333043572","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333043561":["hashtag1","hashtag2"]},{"1333043564":["hashtag1","hashtag2"]},{"1333043567":["hashtag1","hashtag2"]},{"1333043572":["hashtag1","hashtag2"]},{"1333043574":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333043561, 1333043564, 1333043567, 1333043572, 1333043574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.93013405799866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:17:33.136600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/16/image_30012025_17_16_45_10458.jpg', '/home/pi/Desktop/images/30012025/17/17/image_30012025_17_17_14_9472.jpg', '/home/pi/Desktop/images/30012025/17/17/image_30012025_17_17_24_10363.jpg', '/home/pi/Desktop/images/30012025/17/17/image_30012025_17_17_35_10350.jpg', '/home/pi/Desktop/images/30012025/17/17/image_30012025_17_17_44_9399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/16/image_30012025_17_16_45_10458.jpg
/home/pi/Desktop/images/30012025/17/17/image_30012025_17_17_14_9472.jpg
/home/pi/Desktop/images/30012025/17/17/image_30012025_17_17_24_10363.jpg
/home/pi/Desktop/images/30012025/17/17/image_30012025_17_17_35_10350.jpg
/home/pi/Desktop/images/30012025/17/17/image_30012025_17_17_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":["1333043619","1333043600","1333043605","1333043595","1333043613"],"photo_ids_order":["1333043595","1333043600","1333043605","1333043613","1333043619"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e84b38f87c7ee4029102b8621f15557f.jpg","text":"TemporaryFile(/tmp/multipartBody3732380607583740776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253914021,"filename":"image_30012025_17_17_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/30/5a073fc1a70ebab3d335564fb515ad84.jpg","text":"TemporaryFile(/tmp/multipartBody559291021911582535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253914021,"filename":"image_30012025_17_17_14_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/30/388c2a55482b91866b965b4561f8a7ed.jpg","text":"TemporaryFile(/tmp/multipartBody8067521096550397214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253914021,"filename":"image_30012025_17_17_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/30/2894fbdca2c63a460bae12c30da9f21e.jpg","text":"TemporaryFile(/tmp/multipartBody1287580615876873243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253914021,"filename":"image_30012025_17_16_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/30/8bfe9dd0799199efd150bdea57eb78b3.jpg","text":"TemporaryFile(/tmp/multipartBody1684208235497336338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253914021,"filename":"image_30012025_17_17_35_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333043605","file1":"1333043600","file0":"1333043595","file4":"1333043619","file3":"1333043613"},"map_files_photo_id_array":[{"photo_id":"1333043605","filename":"file2"},{"photo_id":"1333043619","filename":"file4"},{"photo_id":"1333043600","filename":"file1"},{"photo_id":"1333043595","filename":"file0"},{"photo_id":"1333043613","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333043619":["hashtag1","hashtag2"]},{"1333043600":["hashtag1","hashtag2"]},{"1333043605":["hashtag1","hashtag2"]},{"1333043595":["hashtag1","hashtag2"]},{"1333043613":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333043619, 1333043600, 1333043605, 1333043595, 1333043613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.604292154312134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:18:32.245801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/17/image_30012025_17_17_54_10360.jpg', '/home/pi/Desktop/images/30012025/17/18/image_30012025_17_18_14_10344.jpg', '/home/pi/Desktop/images/30012025/17/18/image_30012025_17_18_25_10378.jpg', '/home/pi/Desktop/images/30012025/17/18/image_30012025_17_18_34_9440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/17/image_30012025_17_17_54_10360.jpg
/home/pi/Desktop/images/30012025/17/18/image_30012025_17_18_14_10344.jpg
/home/pi/Desktop/images/30012025/17/18/image_30012025_17_18_25_10378.jpg
/home/pi/Desktop/images/30012025/17/18/image_30012025_17_18_34_9440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333043660","1333043645","1333043654","1333043670"],"photo_ids_order":["1333043645","1333043654","1333043660","1333043670"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/40d20b4675f3fdb748f5adc3419d27e8.jpg","text":"TemporaryFile(/tmp/multipartBody8575795429745534178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253973121,"filename":"image_30012025_17_18_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/30/813f5b6e2ce1dad66dc0dda5615217b5.jpg","text":"TemporaryFile(/tmp/multipartBody2075257843761650337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253973121,"filename":"image_30012025_17_17_54_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/60664d6af7e2f90f9ab3220366d074d3.jpg","text":"TemporaryFile(/tmp/multipartBody5593776000674332217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253973121,"filename":"image_30012025_17_18_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/30/0e5945fab968e4796c14f4e70e00caf9.jpg","text":"TemporaryFile(/tmp/multipartBody8647248120425615404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738253973121,"filename":"image_30012025_17_18_34_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333043660","file1":"1333043654","file0":"1333043645","file3":"1333043670"},"map_files_photo_id_array":[{"photo_id":"1333043660","filename":"file2"},{"photo_id":"1333043654","filename":"file1"},{"photo_id":"1333043645","filename":"file0"},{"photo_id":"1333043670","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333043660":["hashtag1","hashtag2"]},{"1333043645":["hashtag1","hashtag2"]},{"1333043654":["hashtag1","hashtag2"]},{"1333043670":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333043660, 1333043645, 1333043654, 1333043670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.89388132095337 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 17:19:04.183795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/18/image_28012025_21_18_15_10339.jpg', '/home/pi/Desktop/images/28012025/21/18/image_28012025_21_18_25_9412.jpg', '/home/pi/Desktop/images/28012025/21/18/image_28012025_21_18_35_10335.jpg', '/home/pi/Desktop/images/28012025/21/18/image_28012025_21_18_45_10357.jpg', '/home/pi/Desktop/images/28012025/21/18/image_28012025_21_18_55_9328.jpg', '/home/pi/Desktop/images/28012025/21/18/image_28012025_21_19_05_10408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/18/image_28012025_21_18_15_10339.jpg
/home/pi/Desktop/images/28012025/21/18/image_28012025_21_18_25_9412.jpg
/home/pi/Desktop/images/28012025/21/18/image_28012025_21_18_35_10335.jpg
/home/pi/Desktop/images/28012025/21/18/image_28012025_21_18_45_10357.jpg
/home/pi/Desktop/images/28012025/21/18/image_28012025_21_18_55_9328.jpg
/home/pi/Desktop/images/28012025/21/18/image_28012025_21_19_05_10408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333043703","1333043683","1333043692","1333043686","1333043716","1333043709"],"photo_ids_order":["1333043683","1333043686","1333043692","1333043703","1333043709","1333043716"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f0b324e46bce4e80762de1875a5c894e.jpg","text":"TemporaryFile(/tmp/multipartBody1783736822421738606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254006156,"filename":"image_28012025_21_18_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/30/6433a49773fba5c0f9b5ad1c8e4be237.jpg","text":"TemporaryFile(/tmp/multipartBody5364654381913752007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254006156,"filename":"image_28012025_21_18_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/30/a1be5590cf2a77c95c2c27ca964f2839.jpg","text":"TemporaryFile(/tmp/multipartBody5034180922364992488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254006156,"filename":"image_28012025_21_18_35_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/61f762f290886ea736b63d350b02517c.jpg","text":"TemporaryFile(/tmp/multipartBody1191835158748912054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254006156,"filename":"image_28012025_21_18_25_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cbf4c8bd847cadfe4feebb2b9e8402d5.jpg","text":"TemporaryFile(/tmp/multipartBody5321791078273509421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254006156,"filename":"image_28012025_21_19_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/30/c7259ffa1c11ef78eeffc994d959fc0b.jpg","text":"TemporaryFile(/tmp/multipartBody5297179258427137421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254006156,"filename":"image_28012025_21_18_55_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333043692","file1":"1333043686","file0":"1333043683","file4":"1333043709","file5":"1333043716","file3":"1333043703"},"map_files_photo_id_array":[{"photo_id":"1333043716","filename":"file5"},{"photo_id":"1333043692","filename":"file2"},{"photo_id":"1333043709","filename":"file4"},{"photo_id":"1333043686","filename":"file1"},{"photo_id":"1333043683","filename":"file0"},{"photo_id":"1333043703","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333043703":["hashtag1","hashtag2"]},{"1333043683":["hashtag1","hashtag2"]},{"1333043692":["hashtag1","hashtag2"]},{"1333043686":["hashtag1","hashtag2"]},{"1333043716":["hashtag1","hashtag2"]},{"1333043709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333043703, 1333043683, 1333043692, 1333043686, 1333043716, 1333043709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.34319996833801 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:19:52.628537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/18/image_30012025_17_18_54_9406.jpg', '/home/pi/Desktop/images/30012025/17/18/image_30012025_17_19_04_10352.jpg', '/home/pi/Desktop/images/30012025/17/19/image_30012025_17_19_15_10323.jpg', '/home/pi/Desktop/images/30012025/17/19/image_30012025_17_19_24_9426.jpg', '/home/pi/Desktop/images/30012025/17/19/image_30012025_17_19_34_10346.jpg', '/home/pi/Desktop/images/30012025/17/19/image_30012025_17_19_45_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/18/image_30012025_17_18_54_9406.jpg
/home/pi/Desktop/images/30012025/17/18/image_30012025_17_19_04_10352.jpg
/home/pi/Desktop/images/30012025/17/19/image_30012025_17_19_15_10323.jpg
/home/pi/Desktop/images/30012025/17/19/image_30012025_17_19_24_9426.jpg
/home/pi/Desktop/images/30012025/17/19/image_30012025_17_19_34_10346.jpg
/home/pi/Desktop/images/30012025/17/19/image_30012025_17_19_45_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":["1333043894","1333043903","1333043878","1333043734","1333043772","1333043736"],"photo_ids_order":["1333043734","1333043736","1333043772","1333043878","1333043894","1333043903"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/af92599aed48fc75cc75d4a591846f71.jpg","text":"TemporaryFile(/tmp/multipartBody4006886379831227677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254053552,"filename":"image_30012025_17_19_34_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/30/6788abe0fabc06cd82e4fe4689271d28.jpg","text":"TemporaryFile(/tmp/multipartBody7165077788949959402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254053552,"filename":"image_30012025_17_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/30/09d06dea02496f7d9f5cd1f3b7ec0b56.jpg","text":"TemporaryFile(/tmp/multipartBody705337961320945387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254053552,"filename":"image_30012025_17_19_24_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/30/b67f19858b6d416c6e34845b461e6f9b.jpg","text":"TemporaryFile(/tmp/multipartBody704600951816539477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254053552,"filename":"image_30012025_17_18_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/30/42bcdbb1abed7e4dca79dd41e8d65e24.jpg","text":"TemporaryFile(/tmp/multipartBody6418123104073576940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254053552,"filename":"image_30012025_17_19_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/30/9fd7e7b96f2901ae8e1f98b83a028204.jpg","text":"TemporaryFile(/tmp/multipartBody8391243554316714749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254053552,"filename":"image_30012025_17_19_04_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333043772","file1":"1333043736","file0":"1333043734","file4":"1333043894","file5":"1333043903","file3":"1333043878"},"map_files_photo_id_array":[{"photo_id":"1333043903","filename":"file5"},{"photo_id":"1333043772","filename":"file2"},{"photo_id":"1333043894","filename":"file4"},{"photo_id":"1333043736","filename":"file1"},{"photo_id":"1333043734","filename":"file0"},{"photo_id":"1333043878","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333043894":["hashtag1","hashtag2"]},{"1333043903":["hashtag1","hashtag2"]},{"1333043878":["hashtag1","hashtag2"]},{"1333043734":["hashtag1","hashtag2"]},{"1333043772":["hashtag1","hashtag2"]},{"1333043736":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333043894, 1333043903, 1333043878, 1333043734, 1333043772, 1333043736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.72065281867981 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 17:20:42.799871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/19/image_30012025_17_19_54_9417.jpg', '/home/pi/Desktop/images/30012025/17/19/image_30012025_17_20_04_10332.jpg', '/home/pi/Desktop/images/30012025/17/20/image_30012025_17_20_14_9411.jpg', '/home/pi/Desktop/images/30012025/17/20/image_30012025_17_20_24_10387.jpg', '/home/pi/Desktop/images/30012025/17/20/image_30012025_17_20_35_10397.jpg', '/home/pi/Desktop/images/30012025/17/20/image_30012025_17_20_44_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/19/image_30012025_17_19_54_9417.jpg
/home/pi/Desktop/images/30012025/17/19/image_30012025_17_20_04_10332.jpg
/home/pi/Desktop/images/30012025/17/20/image_30012025_17_20_14_9411.jpg
/home/pi/Desktop/images/30012025/17/20/image_30012025_17_20_24_10387.jpg
/home/pi/Desktop/images/30012025/17/20/image_30012025_17_20_35_10397.jpg
/home/pi/Desktop/images/30012025/17/20/image_30012025_17_20_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":["1333044344","1333044308","1333044221","1333044055","1333044049","1333044333"],"photo_ids_order":["1333044049","1333044055","1333044221","1333044308","1333044333","1333044344"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5014e1ba168acc6eca2c51e40ab55141.jpg","text":"TemporaryFile(/tmp/multipartBody3740528977904729411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254103702,"filename":"image_30012025_17_20_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/30/96c5816b933c7b0c937ae491ade11b95.jpg","text":"TemporaryFile(/tmp/multipartBody3745487547053139820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254103702,"filename":"image_30012025_17_20_24_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/90753f19211d285634238613237fa165.jpg","text":"TemporaryFile(/tmp/multipartBody4549487369148395720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254103702,"filename":"image_30012025_17_20_14_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/30/4a2533f016ae10f60880d564b0e037c5.jpg","text":"TemporaryFile(/tmp/multipartBody4061104512286353947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254103702,"filename":"image_30012025_17_20_04_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/30/268a3f0fde6b879ae9f21b866c4e2719.jpg","text":"TemporaryFile(/tmp/multipartBody5196962004972652352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254103702,"filename":"image_30012025_17_19_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/30/75dae2aed7fe6af12dc7c918f626bd0c.jpg","text":"TemporaryFile(/tmp/multipartBody969146346872344637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254103702,"filename":"image_30012025_17_20_35_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333044221","file1":"1333044055","file0":"1333044049","file4":"1333044333","file5":"1333044344","file3":"1333044308"},"map_files_photo_id_array":[{"photo_id":"1333044344","filename":"file5"},{"photo_id":"1333044221","filename":"file2"},{"photo_id":"1333044333","filename":"file4"},{"photo_id":"1333044055","filename":"file1"},{"photo_id":"1333044049","filename":"file0"},{"photo_id":"1333044308","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333044344":["hashtag1","hashtag2"]},{"1333044308":["hashtag1","hashtag2"]},{"1333044221":["hashtag1","hashtag2"]},{"1333044055":["hashtag1","hashtag2"]},{"1333044049":["hashtag1","hashtag2"]},{"1333044333":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333044344, 1333044308, 1333044221, 1333044055, 1333044049, 1333044333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.1312530040741 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:21:32.951751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/20/image_30012025_17_20_54_10410.jpg', '/home/pi/Desktop/images/30012025/17/20/image_30012025_17_21_05_10360.jpg', '/home/pi/Desktop/images/30012025/17/21/image_30012025_17_21_14_9388.jpg', '/home/pi/Desktop/images/30012025/17/21/image_30012025_17_21_25_10417.jpg', '/home/pi/Desktop/images/30012025/17/21/image_30012025_17_21_34_9346.jpg', '/home/pi/Desktop/images/30012025/17/21/image_30012025_17_21_44_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/20/image_30012025_17_20_54_10410.jpg
/home/pi/Desktop/images/30012025/17/20/image_30012025_17_21_05_10360.jpg
/home/pi/Desktop/images/30012025/17/21/image_30012025_17_21_14_9388.jpg
/home/pi/Desktop/images/30012025/17/21/image_30012025_17_21_25_10417.jpg
/home/pi/Desktop/images/30012025/17/21/image_30012025_17_21_34_9346.jpg
/home/pi/Desktop/images/30012025/17/21/image_30012025_17_21_44_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":["1333044365","1333044379","1333044373","1333044355","1333044392","1333044389"],"photo_ids_order":["1333044355","1333044365","1333044373","1333044379","1333044389","1333044392"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d14d4d9c7a4ed56d8c741cd9af295abf.jpg","text":"TemporaryFile(/tmp/multipartBody7182283513172172912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254153856,"filename":"image_30012025_17_21_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/30/4d5be3b9238bf0b71a8c433fecd721e0.jpg","text":"TemporaryFile(/tmp/multipartBody3006786209995447003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254153856,"filename":"image_30012025_17_21_25_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5d4d4d16620af722896901e7b34ee502.jpg","text":"TemporaryFile(/tmp/multipartBody8167833776292377281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254153856,"filename":"image_30012025_17_21_14_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/350ac5bc40accc22b2de0cb5e742995c.jpg","text":"TemporaryFile(/tmp/multipartBody7497057993850023005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254153856,"filename":"image_30012025_17_20_54_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/30/3b00d5c4cb47d1b3233dc4d93c44dcb3.jpg","text":"TemporaryFile(/tmp/multipartBody940709084698935639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254153856,"filename":"image_30012025_17_21_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/30/d8822d6ec432bcfe1870168b909b5ad6.jpg","text":"TemporaryFile(/tmp/multipartBody7361655383277968350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254153856,"filename":"image_30012025_17_21_34_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333044373","file1":"1333044365","file0":"1333044355","file4":"1333044389","file5":"1333044392","file3":"1333044379"},"map_files_photo_id_array":[{"photo_id":"1333044392","filename":"file5"},{"photo_id":"1333044373","filename":"file2"},{"photo_id":"1333044389","filename":"file4"},{"photo_id":"1333044365","filename":"file1"},{"photo_id":"1333044355","filename":"file0"},{"photo_id":"1333044379","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333044365":["hashtag1","hashtag2"]},{"1333044379":["hashtag1","hashtag2"]},{"1333044373":["hashtag1","hashtag2"]},{"1333044355":["hashtag1","hashtag2"]},{"1333044392":["hashtag1","hashtag2"]},{"1333044389":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333044365, 1333044379, 1333044373, 1333044355, 1333044392, 1333044389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.57393741607666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:22:32.164232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/21/image_30012025_17_21_55_10342.jpg', '/home/pi/Desktop/images/30012025/17/21/image_30012025_17_22_04_9358.jpg', '/home/pi/Desktop/images/30012025/17/22/image_30012025_17_22_14_10356.jpg', '/home/pi/Desktop/images/30012025/17/22/image_30012025_17_22_25_10345.jpg', '/home/pi/Desktop/images/30012025/17/22/image_30012025_17_22_34_9405.jpg', '/home/pi/Desktop/images/30012025/17/22/image_30012025_17_22_45_10428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/21/image_30012025_17_21_55_10342.jpg
/home/pi/Desktop/images/30012025/17/21/image_30012025_17_22_04_9358.jpg
/home/pi/Desktop/images/30012025/17/22/image_30012025_17_22_14_10356.jpg
/home/pi/Desktop/images/30012025/17/22/image_30012025_17_22_25_10345.jpg
/home/pi/Desktop/images/30012025/17/22/image_30012025_17_22_34_9405.jpg
/home/pi/Desktop/images/30012025/17/22/image_30012025_17_22_45_10428.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5304121971130371 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 17:22:42.205077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/21/image_30012025_17_21_55_10342.jpg', '/home/pi/Desktop/images/30012025/17/21/image_30012025_17_22_04_9358.jpg', '/home/pi/Desktop/images/30012025/17/22/image_30012025_17_22_14_10356.jpg', '/home/pi/Desktop/images/30012025/17/22/image_30012025_17_22_25_10345.jpg', '/home/pi/Desktop/images/30012025/17/22/image_30012025_17_22_34_9405.jpg', '/home/pi/Desktop/images/30012025/17/22/image_30012025_17_22_45_10428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/21/image_30012025_17_21_55_10342.jpg
/home/pi/Desktop/images/30012025/17/21/image_30012025_17_22_04_9358.jpg
/home/pi/Desktop/images/30012025/17/22/image_30012025_17_22_14_10356.jpg
/home/pi/Desktop/images/30012025/17/22/image_30012025_17_22_25_10345.jpg
/home/pi/Desktop/images/30012025/17/22/image_30012025_17_22_34_9405.jpg
/home/pi/Desktop/images/30012025/17/22/image_30012025_17_22_45_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333044961","1333044457","1333045065","1333044858","1333044624","1333044467"],"photo_ids_order":["1333044457","1333044467","1333044624","1333044858","1333044961","1333045065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/42c7835ffce4a9a28853728633e1bd4e.jpg","text":"TemporaryFile(/tmp/multipartBody166882935495278790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254223132,"filename":"image_30012025_17_22_34_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/30/d0ab4db2f779a8cbe65e9df6578fe562.jpg","text":"TemporaryFile(/tmp/multipartBody1649230397430295408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254223132,"filename":"image_30012025_17_21_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/30/c27ad315a89db4cbb61b3bdbe53b7a1f.jpg","text":"TemporaryFile(/tmp/multipartBody1299898913327494531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254223132,"filename":"image_30012025_17_22_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/30/aa11ea20b799d3aa56f67f1fa1f6c1a4.jpg","text":"TemporaryFile(/tmp/multipartBody8729979632919975037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254223132,"filename":"image_30012025_17_22_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/30/934c356de6372ef365ce3a187e944db6.jpg","text":"TemporaryFile(/tmp/multipartBody5595703732415020573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254223132,"filename":"image_30012025_17_22_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/30/04dd14bd6c7c3f030311ecdb048dab61.jpg","text":"TemporaryFile(/tmp/multipartBody1942414467605725386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254223132,"filename":"image_30012025_17_22_04_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333044624","file1":"1333044467","file0":"1333044457","file4":"1333044961","file5":"1333045065","file3":"1333044858"},"map_files_photo_id_array":[{"photo_id":"1333045065","filename":"file5"},{"photo_id":"1333044624","filename":"file2"},{"photo_id":"1333044961","filename":"file4"},{"photo_id":"1333044467","filename":"file1"},{"photo_id":"1333044457","filename":"file0"},{"photo_id":"1333044858","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333044961":["hashtag1","hashtag2"]},{"1333044457":["hashtag1","hashtag2"]},{"1333045065":["hashtag1","hashtag2"]},{"1333044858":["hashtag1","hashtag2"]},{"1333044624":["hashtag1","hashtag2"]},{"1333044467":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333044961, 1333044457, 1333045065, 1333044858, 1333044624, 1333044467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.99469351768494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:23:32.366628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/22/image_30012025_17_22_54_9400.jpg', '/home/pi/Desktop/images/30012025/17/22/image_30012025_17_23_04_10340.jpg', '/home/pi/Desktop/images/30012025/17/23/image_30012025_17_23_15_10346.jpg', '/home/pi/Desktop/images/30012025/17/23/image_30012025_17_23_24_9442.jpg', '/home/pi/Desktop/images/30012025/17/23/image_30012025_17_23_34_10356.jpg', '/home/pi/Desktop/images/30012025/17/23/image_30012025_17_23_45_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/22/image_30012025_17_22_54_9400.jpg
/home/pi/Desktop/images/30012025/17/22/image_30012025_17_23_04_10340.jpg
/home/pi/Desktop/images/30012025/17/23/image_30012025_17_23_15_10346.jpg
/home/pi/Desktop/images/30012025/17/23/image_30012025_17_23_24_9442.jpg
/home/pi/Desktop/images/30012025/17/23/image_30012025_17_23_34_10356.jpg
/home/pi/Desktop/images/30012025/17/23/image_30012025_17_23_45_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":["1333045507","1333045501","1333045485","1333045512","1333045493","1333045517"],"photo_ids_order":["1333045485","1333045493","1333045501","1333045507","1333045512","1333045517"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bb3a67af9c8e0c0658d3b4e8ac2ec81a.jpg","text":"TemporaryFile(/tmp/multipartBody2215035204303966302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254273324,"filename":"image_30012025_17_23_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/30/75ffa90a9626971c4647b461b33b7de1.jpg","text":"TemporaryFile(/tmp/multipartBody5832414398438608934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254273324,"filename":"image_30012025_17_23_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/30/335eca7b3b69446348c776e597dd2127.jpg","text":"TemporaryFile(/tmp/multipartBody7324329670902909384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254273324,"filename":"image_30012025_17_22_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/30/0515e1f2bfd20372078a27bc2018f25c.jpg","text":"TemporaryFile(/tmp/multipartBody6036693971573467778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254273324,"filename":"image_30012025_17_23_34_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/410e3ddce1450f3afe796ed5c6cb4f77.jpg","text":"TemporaryFile(/tmp/multipartBody1372474862969910033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254273324,"filename":"image_30012025_17_23_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/30/b899d56a66ca43906024c3bddcd6b654.jpg","text":"TemporaryFile(/tmp/multipartBody9209612825696150980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254273324,"filename":"image_30012025_17_23_45_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333045501","file1":"1333045493","file0":"1333045485","file4":"1333045512","file5":"1333045517","file3":"1333045507"},"map_files_photo_id_array":[{"photo_id":"1333045517","filename":"file5"},{"photo_id":"1333045501","filename":"file2"},{"photo_id":"1333045512","filename":"file4"},{"photo_id":"1333045493","filename":"file1"},{"photo_id":"1333045485","filename":"file0"},{"photo_id":"1333045507","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333045507":["hashtag1","hashtag2"]},{"1333045501":["hashtag1","hashtag2"]},{"1333045485":["hashtag1","hashtag2"]},{"1333045512":["hashtag1","hashtag2"]},{"1333045493":["hashtag1","hashtag2"]},{"1333045517":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333045507, 1333045501, 1333045485, 1333045512, 1333045493, 1333045517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.27408456802368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:24:32.699060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/23/image_30012025_17_23_54_9466.jpg', '/home/pi/Desktop/images/30012025/17/23/image_30012025_17_24_05_10377.jpg', '/home/pi/Desktop/images/30012025/17/24/image_30012025_17_24_14_9337.jpg', '/home/pi/Desktop/images/30012025/17/24/image_30012025_17_24_24_10373.jpg', '/home/pi/Desktop/images/30012025/17/24/image_30012025_17_24_35_10342.jpg', '/home/pi/Desktop/images/30012025/17/24/image_30012025_17_24_44_9460.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/23/image_30012025_17_23_54_9466.jpg
/home/pi/Desktop/images/30012025/17/23/image_30012025_17_24_05_10377.jpg
/home/pi/Desktop/images/30012025/17/24/image_30012025_17_24_14_9337.jpg
/home/pi/Desktop/images/30012025/17/24/image_30012025_17_24_24_10373.jpg
/home/pi/Desktop/images/30012025/17/24/image_30012025_17_24_35_10342.jpg
/home/pi/Desktop/images/30012025/17/24/image_30012025_17_24_44_9460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333045852","1333045846","1333045813","1333045788","1333045860","1333045856"],"photo_ids_order":["1333045788","1333045813","1333045846","1333045852","1333045856","1333045860"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/952e77fc473d92163537ce280f976eec.jpg","text":"TemporaryFile(/tmp/multipartBody3512769797387680927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254333625,"filename":"image_30012025_17_24_24_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/30/2be4c795e82d0f56a8d8410e15fc67b0.jpg","text":"TemporaryFile(/tmp/multipartBody946173380985511339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254333625,"filename":"image_30012025_17_24_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/30/cdb76a97688c8717dfedc35d973736ad.jpg","text":"TemporaryFile(/tmp/multipartBody9027500883582630657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254333625,"filename":"image_30012025_17_24_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/30/41dd60deff511205979b7f6ce787a969.jpg","text":"TemporaryFile(/tmp/multipartBody4770618708396013341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254333625,"filename":"image_30012025_17_23_54_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/30/c445a98f43a97ab0ac6e931a027b8f3e.jpg","text":"TemporaryFile(/tmp/multipartBody7073736194886809551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254333625,"filename":"image_30012025_17_24_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/30/97d892df663cd0a2f065016319b44133.jpg","text":"TemporaryFile(/tmp/multipartBody8257054390492971169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254333625,"filename":"image_30012025_17_24_35_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333045846","file1":"1333045813","file0":"1333045788","file4":"1333045856","file5":"1333045860","file3":"1333045852"},"map_files_photo_id_array":[{"photo_id":"1333045860","filename":"file5"},{"photo_id":"1333045846","filename":"file2"},{"photo_id":"1333045856","filename":"file4"},{"photo_id":"1333045813","filename":"file1"},{"photo_id":"1333045788","filename":"file0"},{"photo_id":"1333045852","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333045852":["hashtag1","hashtag2"]},{"1333045846":["hashtag1","hashtag2"]},{"1333045813":["hashtag1","hashtag2"]},{"1333045788":["hashtag1","hashtag2"]},{"1333045860":["hashtag1","hashtag2"]},{"1333045856":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333045852, 1333045846, 1333045813, 1333045788, 1333045860, 1333045856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.57437348365784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:25:33.005508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/24/image_30012025_17_24_54_10355.jpg', '/home/pi/Desktop/images/30012025/17/24/image_30012025_17_25_04_9466.jpg', '/home/pi/Desktop/images/30012025/17/25/image_30012025_17_25_14_10426.jpg', '/home/pi/Desktop/images/30012025/17/25/image_30012025_17_25_25_10365.jpg', '/home/pi/Desktop/images/30012025/17/25/image_30012025_17_25_34_9412.jpg', '/home/pi/Desktop/images/30012025/17/25/image_30012025_17_25_45_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/24/image_30012025_17_24_54_10355.jpg
/home/pi/Desktop/images/30012025/17/24/image_30012025_17_25_04_9466.jpg
/home/pi/Desktop/images/30012025/17/25/image_30012025_17_25_14_10426.jpg
/home/pi/Desktop/images/30012025/17/25/image_30012025_17_25_25_10365.jpg
/home/pi/Desktop/images/30012025/17/25/image_30012025_17_25_34_9412.jpg
/home/pi/Desktop/images/30012025/17/25/image_30012025_17_25_45_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333046004","1333046042","1333046027","1333046015","1333046009","1333046158"],"photo_ids_order":["1333046004","1333046009","1333046015","1333046027","1333046042","1333046158"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/11515b7c19f2d0f38bef9d9c90d052f8.jpg","text":"TemporaryFile(/tmp/multipartBody730692457890358699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254393937,"filename":"image_30012025_17_24_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/30/cb83f62d70aacc75a3acdeb93a85bcb8.jpg","text":"TemporaryFile(/tmp/multipartBody6590856770634194548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254393937,"filename":"image_30012025_17_25_34_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0b64c185df7504ead210701e77335e96.jpg","text":"TemporaryFile(/tmp/multipartBody2027415366067385281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254393937,"filename":"image_30012025_17_25_25_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/30/04ae1b823371521450bc692d26612af4.jpg","text":"TemporaryFile(/tmp/multipartBody2247997720813804167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254393937,"filename":"image_30012025_17_25_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/30/57a8599bcaa27f76e9be449bb195bd40.jpg","text":"TemporaryFile(/tmp/multipartBody6461102573473315963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254393937,"filename":"image_30012025_17_25_04_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d88e7cd54723dd60c72275cd488d08fc.jpg","text":"TemporaryFile(/tmp/multipartBody5672404941873391917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254393937,"filename":"image_30012025_17_25_45_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333046015","file1":"1333046009","file0":"1333046004","file4":"1333046042","file5":"1333046158","file3":"1333046027"},"map_files_photo_id_array":[{"photo_id":"1333046158","filename":"file5"},{"photo_id":"1333046015","filename":"file2"},{"photo_id":"1333046042","filename":"file4"},{"photo_id":"1333046009","filename":"file1"},{"photo_id":"1333046004","filename":"file0"},{"photo_id":"1333046027","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333046004":["hashtag1","hashtag2"]},{"1333046042":["hashtag1","hashtag2"]},{"1333046027":["hashtag1","hashtag2"]},{"1333046015":["hashtag1","hashtag2"]},{"1333046009":["hashtag1","hashtag2"]},{"1333046158":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333046004, 1333046042, 1333046027, 1333046015, 1333046009, 1333046158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.039058208465576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:26:33.070845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/25/image_30012025_17_25_54_9413.jpg', '/home/pi/Desktop/images/30012025/17/25/image_30012025_17_26_04_10338.jpg', '/home/pi/Desktop/images/30012025/17/26/image_30012025_17_26_15_10347.jpg', '/home/pi/Desktop/images/30012025/17/26/image_30012025_17_26_24_9423.jpg', '/home/pi/Desktop/images/30012025/17/26/image_30012025_17_26_34_10346.jpg', '/home/pi/Desktop/images/30012025/17/26/image_30012025_17_26_45_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/25/image_30012025_17_25_54_9413.jpg
/home/pi/Desktop/images/30012025/17/25/image_30012025_17_26_04_10338.jpg
/home/pi/Desktop/images/30012025/17/26/image_30012025_17_26_15_10347.jpg
/home/pi/Desktop/images/30012025/17/26/image_30012025_17_26_24_9423.jpg
/home/pi/Desktop/images/30012025/17/26/image_30012025_17_26_34_10346.jpg
/home/pi/Desktop/images/30012025/17/26/image_30012025_17_26_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":["1333046557","1333046536","1333046530","1333046544","1333046553","1333046549"],"photo_ids_order":["1333046530","1333046536","1333046544","1333046549","1333046553","1333046557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6f2ec05ec77bca840d8cb2b387ac4674.jpg","text":"TemporaryFile(/tmp/multipartBody7371373890856179813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254454006,"filename":"image_30012025_17_26_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/30/f9c817addf17d3bf09b7961bde4e56ff.jpg","text":"TemporaryFile(/tmp/multipartBody7884360074534665288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254454006,"filename":"image_30012025_17_26_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/30/d4bb6d74e651d98aab18aad98178b883.jpg","text":"TemporaryFile(/tmp/multipartBody7808592245781367565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254454006,"filename":"image_30012025_17_25_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/30/8504304b87dacec54cf86c2769ad6484.jpg","text":"TemporaryFile(/tmp/multipartBody1356170699065910009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254454006,"filename":"image_30012025_17_26_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/30/fc8ac3d8cc02356cd2ec8a55f3bedf42.jpg","text":"TemporaryFile(/tmp/multipartBody6818456029817840590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254454006,"filename":"image_30012025_17_26_34_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/30/7cfee4e2c2168338fe3512613fe441fd.jpg","text":"TemporaryFile(/tmp/multipartBody7196861693456323508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254454006,"filename":"image_30012025_17_26_24_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333046544","file1":"1333046536","file0":"1333046530","file4":"1333046553","file5":"1333046557","file3":"1333046549"},"map_files_photo_id_array":[{"photo_id":"1333046557","filename":"file5"},{"photo_id":"1333046544","filename":"file2"},{"photo_id":"1333046553","filename":"file4"},{"photo_id":"1333046536","filename":"file1"},{"photo_id":"1333046530","filename":"file0"},{"photo_id":"1333046549","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333046557":["hashtag1","hashtag2"]},{"1333046536":["hashtag1","hashtag2"]},{"1333046530":["hashtag1","hashtag2"]},{"1333046544":["hashtag1","hashtag2"]},{"1333046553":["hashtag1","hashtag2"]},{"1333046549":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333046557, 1333046536, 1333046530, 1333046544, 1333046553, 1333046549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.35917830467224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:27:32.200369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/26/image_30012025_17_26_54_9418.jpg', '/home/pi/Desktop/images/30012025/17/26/image_30012025_17_27_05_10396.jpg', '/home/pi/Desktop/images/30012025/17/27/image_30012025_17_27_14_9402.jpg', '/home/pi/Desktop/images/30012025/17/27/image_30012025_17_27_24_10355.jpg', '/home/pi/Desktop/images/30012025/17/27/image_30012025_17_27_35_10355.jpg', '/home/pi/Desktop/images/30012025/17/27/image_30012025_17_27_44_9425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/26/image_30012025_17_26_54_9418.jpg
/home/pi/Desktop/images/30012025/17/26/image_30012025_17_27_05_10396.jpg
/home/pi/Desktop/images/30012025/17/27/image_30012025_17_27_14_9402.jpg
/home/pi/Desktop/images/30012025/17/27/image_30012025_17_27_24_10355.jpg
/home/pi/Desktop/images/30012025/17/27/image_30012025_17_27_35_10355.jpg
/home/pi/Desktop/images/30012025/17/27/image_30012025_17_27_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":["1333046614","1333046646","1333046640","1333046634","1333046628","1333046651"],"photo_ids_order":["1333046614","1333046628","1333046634","1333046640","1333046646","1333046651"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a12c11fb0df273feccc2ff3007e795c2.jpg","text":"TemporaryFile(/tmp/multipartBody5917682775030608608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254513102,"filename":"image_30012025_17_26_54_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/30/d658a0b631d844b0355b73319754d435.jpg","text":"TemporaryFile(/tmp/multipartBody5537026135638081277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254513102,"filename":"image_30012025_17_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/30/68bfb7d4d08af2dfbe61f51bc468158d.jpg","text":"TemporaryFile(/tmp/multipartBody193014869528537504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254513102,"filename":"image_30012025_17_27_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/30/19b6bc3e25d6d5ff08bf7a899a4dd9b2.jpg","text":"TemporaryFile(/tmp/multipartBody780087885083221988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254513102,"filename":"image_30012025_17_27_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/30/562f986f1cd5bf3e83ac2ddb5c07dccf.jpg","text":"TemporaryFile(/tmp/multipartBody8699402920737014924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254513102,"filename":"image_30012025_17_27_05_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fe3362690a63da9a9e88aee3b041e233.jpg","text":"TemporaryFile(/tmp/multipartBody4663528471015102075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254513102,"filename":"image_30012025_17_27_44_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333046634","file1":"1333046628","file0":"1333046614","file4":"1333046646","file5":"1333046651","file3":"1333046640"},"map_files_photo_id_array":[{"photo_id":"1333046651","filename":"file5"},{"photo_id":"1333046634","filename":"file2"},{"photo_id":"1333046646","filename":"file4"},{"photo_id":"1333046628","filename":"file1"},{"photo_id":"1333046614","filename":"file0"},{"photo_id":"1333046640","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333046614":["hashtag1","hashtag2"]},{"1333046646":["hashtag1","hashtag2"]},{"1333046640":["hashtag1","hashtag2"]},{"1333046634":["hashtag1","hashtag2"]},{"1333046628":["hashtag1","hashtag2"]},{"1333046651":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333046614, 1333046646, 1333046640, 1333046634, 1333046628, 1333046651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84947085380554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:28:32.503988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/27/image_30012025_17_27_54_10343.jpg', '/home/pi/Desktop/images/30012025/17/27/image_30012025_17_28_05_10372.jpg', '/home/pi/Desktop/images/30012025/17/28/image_30012025_17_28_14_9393.jpg', '/home/pi/Desktop/images/30012025/17/28/image_30012025_17_28_25_10343.jpg', '/home/pi/Desktop/images/30012025/17/28/image_30012025_17_28_34_9464.jpg', '/home/pi/Desktop/images/30012025/17/28/image_30012025_17_28_44_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/27/image_30012025_17_27_54_10343.jpg
/home/pi/Desktop/images/30012025/17/27/image_30012025_17_28_05_10372.jpg
/home/pi/Desktop/images/30012025/17/28/image_30012025_17_28_14_9393.jpg
/home/pi/Desktop/images/30012025/17/28/image_30012025_17_28_25_10343.jpg
/home/pi/Desktop/images/30012025/17/28/image_30012025_17_28_34_9464.jpg
/home/pi/Desktop/images/30012025/17/28/image_30012025_17_28_44_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":["1333046710","1333046682","1333046706","1333046714","1333046702","1333046689"],"photo_ids_order":["1333046682","1333046689","1333046702","1333046706","1333046710","1333046714"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e445a8e14e43bc129d39146ba6fec9e9.jpg","text":"TemporaryFile(/tmp/multipartBody5163345955315528415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254573427,"filename":"image_30012025_17_28_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/30/c77fc738f89fc8bd46aca6b80e3ea77e.jpg","text":"TemporaryFile(/tmp/multipartBody7423178884197184493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254573427,"filename":"image_30012025_17_27_54_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4e551737fada02a77860f81220342a57.jpg","text":"TemporaryFile(/tmp/multipartBody1260153709434430010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254573427,"filename":"image_30012025_17_28_25_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/07cd80703fd69c3d4ac05dfdfd7d050b.jpg","text":"TemporaryFile(/tmp/multipartBody3229879514603849744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254573427,"filename":"image_30012025_17_28_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/30/c332b98427d79b6549b8a8e8585e1dae.jpg","text":"TemporaryFile(/tmp/multipartBody6182770783629246305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254573427,"filename":"image_30012025_17_28_14_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/30/e4cc0ab90b764da0d5c5fa6b45507cba.jpg","text":"TemporaryFile(/tmp/multipartBody1045274795120735882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254573427,"filename":"image_30012025_17_28_05_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333046702","file1":"1333046689","file0":"1333046682","file4":"1333046710","file5":"1333046714","file3":"1333046706"},"map_files_photo_id_array":[{"photo_id":"1333046714","filename":"file5"},{"photo_id":"1333046702","filename":"file2"},{"photo_id":"1333046710","filename":"file4"},{"photo_id":"1333046689","filename":"file1"},{"photo_id":"1333046682","filename":"file0"},{"photo_id":"1333046706","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333046710":["hashtag1","hashtag2"]},{"1333046682":["hashtag1","hashtag2"]},{"1333046706":["hashtag1","hashtag2"]},{"1333046714":["hashtag1","hashtag2"]},{"1333046702":["hashtag1","hashtag2"]},{"1333046689":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333046710, 1333046682, 1333046706, 1333046714, 1333046702, 1333046689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.75010848045349 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:29:32.908808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/28/image_30012025_17_28_55_10334.jpg', '/home/pi/Desktop/images/30012025/17/28/image_30012025_17_29_04_9386.jpg', '/home/pi/Desktop/images/30012025/17/29/image_30012025_17_29_25_10371.jpg', '/home/pi/Desktop/images/30012025/17/29/image_30012025_17_29_34_9397.jpg', '/home/pi/Desktop/images/30012025/17/29/image_30012025_17_29_45_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/28/image_30012025_17_28_55_10334.jpg
/home/pi/Desktop/images/30012025/17/28/image_30012025_17_29_04_9386.jpg
/home/pi/Desktop/images/30012025/17/29/image_30012025_17_29_25_10371.jpg
/home/pi/Desktop/images/30012025/17/29/image_30012025_17_29_34_9397.jpg
/home/pi/Desktop/images/30012025/17/29/image_30012025_17_29_45_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":["1333046932","1333046920","1333046927","1333046936","1333046915"],"photo_ids_order":["1333046915","1333046920","1333046927","1333046932","1333046936"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cd4856d5f0b7939b5d8769484f4ccf82.jpg","text":"TemporaryFile(/tmp/multipartBody4121402087011110057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254633847,"filename":"image_30012025_17_29_34_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/30/6dff2dcad062fcecce44a1692a2f706f.jpg","text":"TemporaryFile(/tmp/multipartBody3427183831894721979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254633847,"filename":"image_30012025_17_29_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/30/968c4ba68763224046d61808bcf5e948.jpg","text":"TemporaryFile(/tmp/multipartBody6919640309136599915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254633847,"filename":"image_30012025_17_29_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/30/79e758639cb35c7d973de9679ca933a0.jpg","text":"TemporaryFile(/tmp/multipartBody2555876453191818945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254633847,"filename":"image_30012025_17_29_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/30/4336279ab6093b563dd60406d7252324.jpg","text":"TemporaryFile(/tmp/multipartBody4178263250567562672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254633847,"filename":"image_30012025_17_28_55_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333046927","file1":"1333046920","file0":"1333046915","file4":"1333046936","file3":"1333046932"},"map_files_photo_id_array":[{"photo_id":"1333046927","filename":"file2"},{"photo_id":"1333046936","filename":"file4"},{"photo_id":"1333046920","filename":"file1"},{"photo_id":"1333046915","filename":"file0"},{"photo_id":"1333046932","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333046932":["hashtag1","hashtag2"]},{"1333046920":["hashtag1","hashtag2"]},{"1333046927":["hashtag1","hashtag2"]},{"1333046936":["hashtag1","hashtag2"]},{"1333046915":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333046932, 1333046920, 1333046927, 1333046936, 1333046915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.03031396865845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:30:33.065360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/29/image_30012025_17_29_54_9452.jpg', '/home/pi/Desktop/images/30012025/17/29/image_30012025_17_30_04_10447.jpg', '/home/pi/Desktop/images/30012025/17/30/image_30012025_17_30_14_9466.jpg', '/home/pi/Desktop/images/30012025/17/30/image_30012025_17_30_24_10348.jpg', '/home/pi/Desktop/images/30012025/17/30/image_30012025_17_30_35_10333.jpg', '/home/pi/Desktop/images/30012025/17/30/image_30012025_17_30_44_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/29/image_30012025_17_29_54_9452.jpg
/home/pi/Desktop/images/30012025/17/29/image_30012025_17_30_04_10447.jpg
/home/pi/Desktop/images/30012025/17/30/image_30012025_17_30_14_9466.jpg
/home/pi/Desktop/images/30012025/17/30/image_30012025_17_30_24_10348.jpg
/home/pi/Desktop/images/30012025/17/30/image_30012025_17_30_35_10333.jpg
/home/pi/Desktop/images/30012025/17/30/image_30012025_17_30_44_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.5065498352050781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 17:30:43.076123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/29/image_30012025_17_29_54_9452.jpg', '/home/pi/Desktop/images/30012025/17/29/image_30012025_17_30_04_10447.jpg', '/home/pi/Desktop/images/30012025/17/30/image_30012025_17_30_14_9466.jpg', '/home/pi/Desktop/images/30012025/17/30/image_30012025_17_30_24_10348.jpg', '/home/pi/Desktop/images/30012025/17/30/image_30012025_17_30_35_10333.jpg', '/home/pi/Desktop/images/30012025/17/30/image_30012025_17_30_44_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/29/image_30012025_17_29_54_9452.jpg
/home/pi/Desktop/images/30012025/17/29/image_30012025_17_30_04_10447.jpg
/home/pi/Desktop/images/30012025/17/30/image_30012025_17_30_14_9466.jpg
/home/pi/Desktop/images/30012025/17/30/image_30012025_17_30_24_10348.jpg
/home/pi/Desktop/images/30012025/17/30/image_30012025_17_30_35_10333.jpg
/home/pi/Desktop/images/30012025/17/30/image_30012025_17_30_44_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":["1333047363","1333047366","1333047369","1333047296","1333047356","1333047239"],"photo_ids_order":["1333047239","1333047296","1333047356","1333047363","1333047366","1333047369"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dcf70220af4155193276613cdeeddac5.jpg","text":"TemporaryFile(/tmp/multipartBody6549841936113562595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254703968,"filename":"image_30012025_17_30_24_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/04d44bdb2cfd2cebb940c3ec86b5ab3d.jpg","text":"TemporaryFile(/tmp/multipartBody8082332201701844716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254703968,"filename":"image_30012025_17_30_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/30/3cb198e4ae09fd48863ba526a7d895f2.jpg","text":"TemporaryFile(/tmp/multipartBody4873975769670229401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254703968,"filename":"image_30012025_17_30_44_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/31a3a09e1b415db22128f3e2bb69fa39.jpg","text":"TemporaryFile(/tmp/multipartBody2011412580899999842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254703968,"filename":"image_30012025_17_30_04_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/30/aefaf0dd2995179493b3b119747cb5f1.jpg","text":"TemporaryFile(/tmp/multipartBody6206219820937502588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254703968,"filename":"image_30012025_17_30_14_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/290d35ff45d6f363940059b7d8dea242.jpg","text":"TemporaryFile(/tmp/multipartBody5560459043130483011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254703968,"filename":"image_30012025_17_29_54_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333047356","file1":"1333047296","file0":"1333047239","file4":"1333047366","file5":"1333047369","file3":"1333047363"},"map_files_photo_id_array":[{"photo_id":"1333047369","filename":"file5"},{"photo_id":"1333047356","filename":"file2"},{"photo_id":"1333047366","filename":"file4"},{"photo_id":"1333047296","filename":"file1"},{"photo_id":"1333047239","filename":"file0"},{"photo_id":"1333047363","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333047363":["hashtag1","hashtag2"]},{"1333047366":["hashtag1","hashtag2"]},{"1333047369":["hashtag1","hashtag2"]},{"1333047296":["hashtag1","hashtag2"]},{"1333047356":["hashtag1","hashtag2"]},{"1333047239":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333047363, 1333047366, 1333047369, 1333047296, 1333047356, 1333047239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.98878002166748 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:31:32.363627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/30/image_30012025_17_30_54_10354.jpg', '/home/pi/Desktop/images/30012025/17/30/image_30012025_17_31_05_10435.jpg', '/home/pi/Desktop/images/30012025/17/31/image_30012025_17_31_14_9376.jpg', '/home/pi/Desktop/images/30012025/17/31/image_30012025_17_31_24_10354.jpg', '/home/pi/Desktop/images/30012025/17/31/image_30012025_17_31_34_9423.jpg', '/home/pi/Desktop/images/30012025/17/31/image_30012025_17_31_44_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/30/image_30012025_17_30_54_10354.jpg
/home/pi/Desktop/images/30012025/17/30/image_30012025_17_31_05_10435.jpg
/home/pi/Desktop/images/30012025/17/31/image_30012025_17_31_14_9376.jpg
/home/pi/Desktop/images/30012025/17/31/image_30012025_17_31_24_10354.jpg
/home/pi/Desktop/images/30012025/17/31/image_30012025_17_31_34_9423.jpg
/home/pi/Desktop/images/30012025/17/31/image_30012025_17_31_44_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":["1333047395","1333047389","1333047422","1333047427","1333047409","1333047430"],"photo_ids_order":["1333047389","1333047395","1333047409","1333047422","1333047427","1333047430"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/93539f93befe3092baa7c29c107275e7.jpg","text":"TemporaryFile(/tmp/multipartBody1888822859229565976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254753261,"filename":"image_30012025_17_31_05_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/91b8c1d8e7939006ef8048fa3c2b99ab.jpg","text":"TemporaryFile(/tmp/multipartBody4448807629926129364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254753261,"filename":"image_30012025_17_30_54_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6aa56a00d9d3f18fdac6aaac527de715.jpg","text":"TemporaryFile(/tmp/multipartBody1053847977548774027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254753261,"filename":"image_30012025_17_31_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/30/9c5659614593dd7ba5c909cdf74d1aae.jpg","text":"TemporaryFile(/tmp/multipartBody4299775494828194112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254753261,"filename":"image_30012025_17_31_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/30/a6b0d660f5caafb61e2e37c15b1deaf1.jpg","text":"TemporaryFile(/tmp/multipartBody1893282862032751307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254753261,"filename":"image_30012025_17_31_14_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b8286c2b12183ab986a98094a76f1d21.jpg","text":"TemporaryFile(/tmp/multipartBody8846323717159807923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254753261,"filename":"image_30012025_17_31_44_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333047409","file1":"1333047395","file0":"1333047389","file4":"1333047427","file5":"1333047430","file3":"1333047422"},"map_files_photo_id_array":[{"photo_id":"1333047430","filename":"file5"},{"photo_id":"1333047409","filename":"file2"},{"photo_id":"1333047427","filename":"file4"},{"photo_id":"1333047395","filename":"file1"},{"photo_id":"1333047389","filename":"file0"},{"photo_id":"1333047422","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333047395":["hashtag1","hashtag2"]},{"1333047389":["hashtag1","hashtag2"]},{"1333047422":["hashtag1","hashtag2"]},{"1333047427":["hashtag1","hashtag2"]},{"1333047409":["hashtag1","hashtag2"]},{"1333047430":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333047395, 1333047389, 1333047422, 1333047427, 1333047409, 1333047430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.92924618721008 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:32:32.471264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/31/image_30012025_17_31_55_10356.jpg', '/home/pi/Desktop/images/30012025/17/31/image_30012025_17_32_04_9458.jpg', '/home/pi/Desktop/images/30012025/17/32/image_30012025_17_32_14_10380.jpg', '/home/pi/Desktop/images/30012025/17/32/image_30012025_17_32_25_10352.jpg', '/home/pi/Desktop/images/30012025/17/32/image_30012025_17_32_34_9460.jpg', '/home/pi/Desktop/images/30012025/17/32/image_30012025_17_32_45_10378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/31/image_30012025_17_31_55_10356.jpg
/home/pi/Desktop/images/30012025/17/31/image_30012025_17_32_04_9458.jpg
/home/pi/Desktop/images/30012025/17/32/image_30012025_17_32_14_10380.jpg
/home/pi/Desktop/images/30012025/17/32/image_30012025_17_32_25_10352.jpg
/home/pi/Desktop/images/30012025/17/32/image_30012025_17_32_34_9460.jpg
/home/pi/Desktop/images/30012025/17/32/image_30012025_17_32_45_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":["1333047477","1333047450","1333047467","1333047490","1333047472","1333047457"],"photo_ids_order":["1333047450","1333047457","1333047467","1333047472","1333047477","1333047490"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3f4e598d7a6c719b7daaaf71a310a35f.jpg","text":"TemporaryFile(/tmp/multipartBody4943907915498891210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254813370,"filename":"image_30012025_17_32_34_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e4090051e0d7021fc1d5871a180d442a.jpg","text":"TemporaryFile(/tmp/multipartBody1873968283023494826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254813370,"filename":"image_30012025_17_31_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/40eb8e1f63eccdfcd8103a9c8fe4c7a4.jpg","text":"TemporaryFile(/tmp/multipartBody3006046570308695420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254813370,"filename":"image_30012025_17_32_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/30/ceb0204e1a019513820cdcbb9fb36cd7.jpg","text":"TemporaryFile(/tmp/multipartBody534082089531520760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254813370,"filename":"image_30012025_17_32_45_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/30/359df7e003728a9358789b03d40362e9.jpg","text":"TemporaryFile(/tmp/multipartBody3716580222522069825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254813370,"filename":"image_30012025_17_32_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/30/753173a5f57ed0208e5fa461d7246eb4.jpg","text":"TemporaryFile(/tmp/multipartBody2381746110557463654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254813370,"filename":"image_30012025_17_32_04_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333047467","file1":"1333047457","file0":"1333047450","file4":"1333047477","file5":"1333047490","file3":"1333047472"},"map_files_photo_id_array":[{"photo_id":"1333047490","filename":"file5"},{"photo_id":"1333047467","filename":"file2"},{"photo_id":"1333047477","filename":"file4"},{"photo_id":"1333047457","filename":"file1"},{"photo_id":"1333047450","filename":"file0"},{"photo_id":"1333047472","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333047477":["hashtag1","hashtag2"]},{"1333047450":["hashtag1","hashtag2"]},{"1333047467":["hashtag1","hashtag2"]},{"1333047490":["hashtag1","hashtag2"]},{"1333047472":["hashtag1","hashtag2"]},{"1333047457":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333047477, 1333047450, 1333047467, 1333047490, 1333047472, 1333047457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.78254055976868 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:33:32.710871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/32/image_30012025_17_32_54_9348.jpg', '/home/pi/Desktop/images/30012025/17/32/image_30012025_17_33_04_10337.jpg', '/home/pi/Desktop/images/30012025/17/33/image_30012025_17_33_15_10346.jpg', '/home/pi/Desktop/images/30012025/17/33/image_30012025_17_33_24_9358.jpg', '/home/pi/Desktop/images/30012025/17/33/image_30012025_17_33_34_10358.jpg', '/home/pi/Desktop/images/30012025/17/33/image_30012025_17_33_45_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/32/image_30012025_17_32_54_9348.jpg
/home/pi/Desktop/images/30012025/17/32/image_30012025_17_33_04_10337.jpg
/home/pi/Desktop/images/30012025/17/33/image_30012025_17_33_15_10346.jpg
/home/pi/Desktop/images/30012025/17/33/image_30012025_17_33_24_9358.jpg
/home/pi/Desktop/images/30012025/17/33/image_30012025_17_33_34_10358.jpg
/home/pi/Desktop/images/30012025/17/33/image_30012025_17_33_45_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":["1333047510","1333047542","1333047515","1333047532","1333047538","1333047523"],"photo_ids_order":["1333047510","1333047515","1333047523","1333047532","1333047538","1333047542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/297108cf00204953e914885008a61684.jpg","text":"TemporaryFile(/tmp/multipartBody6605030557796757656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254873618,"filename":"image_30012025_17_32_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/30/04fae0838227e319d4590d34031918ca.jpg","text":"TemporaryFile(/tmp/multipartBody372331286164524461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254873618,"filename":"image_30012025_17_33_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/30/78e4c00de0f5aed2e6c46ada55c1324d.jpg","text":"TemporaryFile(/tmp/multipartBody5251843645066204582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254873618,"filename":"image_30012025_17_33_04_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dad00a804e970d20f294df5e531bf8a2.jpg","text":"TemporaryFile(/tmp/multipartBody8009697528475583847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254873618,"filename":"image_30012025_17_33_24_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fdf5625f2a03c4ebc4e17c18ff47b7f1.jpg","text":"TemporaryFile(/tmp/multipartBody5927495054697993959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254873618,"filename":"image_30012025_17_33_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/30/bd170bf96ed0172c33e56b67156ad40d.jpg","text":"TemporaryFile(/tmp/multipartBody2138463645218555254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254873618,"filename":"image_30012025_17_33_15_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333047523","file1":"1333047515","file0":"1333047510","file4":"1333047538","file5":"1333047542","file3":"1333047532"},"map_files_photo_id_array":[{"photo_id":"1333047542","filename":"file5"},{"photo_id":"1333047523","filename":"file2"},{"photo_id":"1333047538","filename":"file4"},{"photo_id":"1333047515","filename":"file1"},{"photo_id":"1333047510","filename":"file0"},{"photo_id":"1333047532","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333047510":["hashtag1","hashtag2"]},{"1333047542":["hashtag1","hashtag2"]},{"1333047515":["hashtag1","hashtag2"]},{"1333047532":["hashtag1","hashtag2"]},{"1333047538":["hashtag1","hashtag2"]},{"1333047523":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333047510, 1333047542, 1333047515, 1333047532, 1333047538, 1333047523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.246819257736206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:34:32.895617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/33/image_30012025_17_33_54_9419.jpg', '/home/pi/Desktop/images/30012025/17/33/image_30012025_17_34_05_10382.jpg', '/home/pi/Desktop/images/30012025/17/34/image_30012025_17_34_14_9370.jpg', '/home/pi/Desktop/images/30012025/17/34/image_30012025_17_34_24_10350.jpg', '/home/pi/Desktop/images/30012025/17/34/image_30012025_17_34_35_10366.jpg', '/home/pi/Desktop/images/30012025/17/34/image_30012025_17_34_44_9427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/33/image_30012025_17_33_54_9419.jpg
/home/pi/Desktop/images/30012025/17/33/image_30012025_17_34_05_10382.jpg
/home/pi/Desktop/images/30012025/17/34/image_30012025_17_34_14_9370.jpg
/home/pi/Desktop/images/30012025/17/34/image_30012025_17_34_24_10350.jpg
/home/pi/Desktop/images/30012025/17/34/image_30012025_17_34_35_10366.jpg
/home/pi/Desktop/images/30012025/17/34/image_30012025_17_34_44_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":["1333047678","1333047726","1333047665","1333047647","1333047722","1333047673"],"photo_ids_order":["1333047647","1333047665","1333047673","1333047678","1333047722","1333047726"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2d3363ad43b09ec808f6e73164cc87d8.jpg","text":"TemporaryFile(/tmp/multipartBody1985201592598878158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254933792,"filename":"image_30012025_17_34_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/30/a72a5049be2358ed4987d5ee1f2bb33c.jpg","text":"TemporaryFile(/tmp/multipartBody8636053669361530889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254933792,"filename":"image_30012025_17_34_44_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d5e49c6b7529670f87c248091d02a32b.jpg","text":"TemporaryFile(/tmp/multipartBody3567517678194877269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254933792,"filename":"image_30012025_17_34_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/30/bbb7fd9fe87c650cfc5324e037945adb.jpg","text":"TemporaryFile(/tmp/multipartBody8302296172532655310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254933792,"filename":"image_30012025_17_33_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/30/7a6a0e033d75be753c52fc63a367f7be.jpg","text":"TemporaryFile(/tmp/multipartBody2954260342646116232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254933792,"filename":"image_30012025_17_34_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/30/95878671b7b722f2d4ab7ba372930338.jpg","text":"TemporaryFile(/tmp/multipartBody4246310937197129275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254933792,"filename":"image_30012025_17_34_14_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333047673","file1":"1333047665","file0":"1333047647","file4":"1333047722","file5":"1333047726","file3":"1333047678"},"map_files_photo_id_array":[{"photo_id":"1333047726","filename":"file5"},{"photo_id":"1333047673","filename":"file2"},{"photo_id":"1333047722","filename":"file4"},{"photo_id":"1333047665","filename":"file1"},{"photo_id":"1333047647","filename":"file0"},{"photo_id":"1333047678","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333047678":["hashtag1","hashtag2"]},{"1333047726":["hashtag1","hashtag2"]},{"1333047665":["hashtag1","hashtag2"]},{"1333047647":["hashtag1","hashtag2"]},{"1333047722":["hashtag1","hashtag2"]},{"1333047673":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333047678, 1333047726, 1333047665, 1333047647, 1333047722, 1333047673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.66085410118103 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:35:32.155857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/34/image_30012025_17_34_54_10349.jpg', '/home/pi/Desktop/images/30012025/17/34/image_30012025_17_35_05_10358.jpg', '/home/pi/Desktop/images/30012025/17/35/image_30012025_17_35_14_9340.jpg', '/home/pi/Desktop/images/30012025/17/35/image_30012025_17_35_24_10351.jpg', '/home/pi/Desktop/images/30012025/17/35/image_30012025_17_35_34_9484.jpg', '/home/pi/Desktop/images/30012025/17/35/image_30012025_17_35_44_10440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/34/image_30012025_17_34_54_10349.jpg
/home/pi/Desktop/images/30012025/17/34/image_30012025_17_35_05_10358.jpg
/home/pi/Desktop/images/30012025/17/35/image_30012025_17_35_14_9340.jpg
/home/pi/Desktop/images/30012025/17/35/image_30012025_17_35_24_10351.jpg
/home/pi/Desktop/images/30012025/17/35/image_30012025_17_35_34_9484.jpg
/home/pi/Desktop/images/30012025/17/35/image_30012025_17_35_44_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":["1333047768","1333047762","1333047773","1333047746","1333047751","1333047754"],"photo_ids_order":["1333047746","1333047751","1333047754","1333047762","1333047768","1333047773"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a6ffa758f6f17ac84296db54ed2d254a.jpg","text":"TemporaryFile(/tmp/multipartBody4439072708223365000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254993062,"filename":"image_30012025_17_35_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/30/a6de91f1017f6104e5d3df8edae6e050.jpg","text":"TemporaryFile(/tmp/multipartBody5421798859064248430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254993062,"filename":"image_30012025_17_35_24_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/acc842dd82d235f73ab6938693f0661e.jpg","text":"TemporaryFile(/tmp/multipartBody2107048847428133614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254993062,"filename":"image_30012025_17_35_44_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/410da5d841ec8c49bd2f44c4672109d1.jpg","text":"TemporaryFile(/tmp/multipartBody7358206402739086719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254993062,"filename":"image_30012025_17_34_54_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/270c86ef2215344fd49b03cceb2fb3bd.jpg","text":"TemporaryFile(/tmp/multipartBody1235819150483351336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254993062,"filename":"image_30012025_17_35_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/30/24d3ba6e2f2624017aa4271af681c286.jpg","text":"TemporaryFile(/tmp/multipartBody7859178864457761143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738254993062,"filename":"image_30012025_17_35_14_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333047754","file1":"1333047751","file0":"1333047746","file4":"1333047768","file5":"1333047773","file3":"1333047762"},"map_files_photo_id_array":[{"photo_id":"1333047773","filename":"file5"},{"photo_id":"1333047754","filename":"file2"},{"photo_id":"1333047768","filename":"file4"},{"photo_id":"1333047751","filename":"file1"},{"photo_id":"1333047746","filename":"file0"},{"photo_id":"1333047762","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333047768":["hashtag1","hashtag2"]},{"1333047762":["hashtag1","hashtag2"]},{"1333047773":["hashtag1","hashtag2"]},{"1333047746":["hashtag1","hashtag2"]},{"1333047751":["hashtag1","hashtag2"]},{"1333047754":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333047768, 1333047762, 1333047773, 1333047746, 1333047751, 1333047754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.1539671421051 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:36:32.322976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/35/image_30012025_17_35_54_9471.jpg', '/home/pi/Desktop/images/30012025/17/35/image_30012025_17_36_04_10365.jpg', '/home/pi/Desktop/images/30012025/17/36/image_30012025_17_36_15_10348.jpg', '/home/pi/Desktop/images/30012025/17/36/image_30012025_17_36_24_9356.jpg', '/home/pi/Desktop/images/30012025/17/36/image_30012025_17_36_34_10453.jpg', '/home/pi/Desktop/images/30012025/17/36/image_30012025_17_36_45_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/35/image_30012025_17_35_54_9471.jpg
/home/pi/Desktop/images/30012025/17/35/image_30012025_17_36_04_10365.jpg
/home/pi/Desktop/images/30012025/17/36/image_30012025_17_36_15_10348.jpg
/home/pi/Desktop/images/30012025/17/36/image_30012025_17_36_24_9356.jpg
/home/pi/Desktop/images/30012025/17/36/image_30012025_17_36_34_10453.jpg
/home/pi/Desktop/images/30012025/17/36/image_30012025_17_36_45_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":["1333047802","1333047789","1333047794","1333047815","1333047809","1333047820"],"photo_ids_order":["1333047789","1333047794","1333047802","1333047809","1333047815","1333047820"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1c78f05ed3f634483795559b95cf8e03.jpg","text":"TemporaryFile(/tmp/multipartBody1837972736668264455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255053217,"filename":"image_30012025_17_36_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e69cea0b85242f0909d03391229b0ac9.jpg","text":"TemporaryFile(/tmp/multipartBody7428943791575353672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255053217,"filename":"image_30012025_17_35_54_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/30/b782c7bf79fe0975f08fee92ec2b2756.jpg","text":"TemporaryFile(/tmp/multipartBody5064347655971459277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255053217,"filename":"image_30012025_17_36_04_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/30/4155671114ac376807f53722e58d1955.jpg","text":"TemporaryFile(/tmp/multipartBody1453929105986166093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255053217,"filename":"image_30012025_17_36_34_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/30/46d6c85b4efd3b239bf70b05acfab4bc.jpg","text":"TemporaryFile(/tmp/multipartBody2753059938233256480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255053217,"filename":"image_30012025_17_36_24_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ea6e872351590564de4c8b802dfcef78.jpg","text":"TemporaryFile(/tmp/multipartBody779340554128100352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255053217,"filename":"image_30012025_17_36_45_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333047802","file1":"1333047794","file0":"1333047789","file4":"1333047815","file5":"1333047820","file3":"1333047809"},"map_files_photo_id_array":[{"photo_id":"1333047820","filename":"file5"},{"photo_id":"1333047802","filename":"file2"},{"photo_id":"1333047815","filename":"file4"},{"photo_id":"1333047794","filename":"file1"},{"photo_id":"1333047789","filename":"file0"},{"photo_id":"1333047809","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333047802":["hashtag1","hashtag2"]},{"1333047789":["hashtag1","hashtag2"]},{"1333047794":["hashtag1","hashtag2"]},{"1333047815":["hashtag1","hashtag2"]},{"1333047809":["hashtag1","hashtag2"]},{"1333047820":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333047802, 1333047789, 1333047794, 1333047815, 1333047809, 1333047820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.53627824783325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:37:32.482806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/36/image_30012025_17_36_54_9424.jpg', '/home/pi/Desktop/images/30012025/17/37/image_30012025_17_37_14_9443.jpg', '/home/pi/Desktop/images/30012025/17/37/image_30012025_17_37_24_10347.jpg', '/home/pi/Desktop/images/30012025/17/37/image_30012025_17_37_35_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/36/image_30012025_17_36_54_9424.jpg
/home/pi/Desktop/images/30012025/17/37/image_30012025_17_37_14_9443.jpg
/home/pi/Desktop/images/30012025/17/37/image_30012025_17_37_24_10347.jpg
/home/pi/Desktop/images/30012025/17/37/image_30012025_17_37_35_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":["1333047845","1333047929","1333048051","1333047835"],"photo_ids_order":["1333047835","1333047845","1333047929","1333048051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1ee70b542c632f168e1f64399bc445bb.jpg","text":"TemporaryFile(/tmp/multipartBody539187906807169389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255113365,"filename":"image_30012025_17_37_14_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/30/38c1acc88d77961d2aa47f89ff63bb34.jpg","text":"TemporaryFile(/tmp/multipartBody5052175583699641656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255113365,"filename":"image_30012025_17_37_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/30/a4a45d8872570e890cf3128aff87c7eb.jpg","text":"TemporaryFile(/tmp/multipartBody4087031677954075284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255113365,"filename":"image_30012025_17_37_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/30/72cea8b6d6a64df17a52d73bd3df0dc9.jpg","text":"TemporaryFile(/tmp/multipartBody7228179333866421244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255113365,"filename":"image_30012025_17_36_54_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333047929","file1":"1333047845","file0":"1333047835","file3":"1333048051"},"map_files_photo_id_array":[{"photo_id":"1333047929","filename":"file2"},{"photo_id":"1333047845","filename":"file1"},{"photo_id":"1333047835","filename":"file0"},{"photo_id":"1333048051","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333047845":["hashtag1","hashtag2"]},{"1333047929":["hashtag1","hashtag2"]},{"1333048051":["hashtag1","hashtag2"]},{"1333047835":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333047845, 1333047929, 1333048051, 1333047835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.588863611221313 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 17:38:03.449337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/19/image_28012025_21_19_35_10450.jpg', '/home/pi/Desktop/images/28012025/21/19/image_28012025_21_19_45_9364.jpg', '/home/pi/Desktop/images/28012025/21/19/image_28012025_21_19_55_10465.jpg', '/home/pi/Desktop/images/28012025/21/19/image_28012025_21_20_06_10392.jpg', '/home/pi/Desktop/images/28012025/21/20/image_28012025_21_20_15_9337.jpg', '/home/pi/Desktop/images/28012025/21/20/image_28012025_21_20_25_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/21/19/image_28012025_21_19_35_10450.jpg
/home/pi/Desktop/images/28012025/21/19/image_28012025_21_19_45_9364.jpg
/home/pi/Desktop/images/28012025/21/19/image_28012025_21_19_55_10465.jpg
/home/pi/Desktop/images/28012025/21/19/image_28012025_21_20_06_10392.jpg
/home/pi/Desktop/images/28012025/21/20/image_28012025_21_20_15_9337.jpg
/home/pi/Desktop/images/28012025/21/20/image_28012025_21_20_25_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":["1333048443","1333048446","1333048451","1333048454","1333048448","1333048426"],"photo_ids_order":["1333048426","1333048443","1333048446","1333048448","1333048451","1333048454"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/775b72d771930ad51f28fd194d788528.jpg","text":"TemporaryFile(/tmp/multipartBody1430736869747862296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255145106,"filename":"image_28012025_21_19_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/30/e791e3f68c509087313414fd7a928956.jpg","text":"TemporaryFile(/tmp/multipartBody6738640843799008108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255145106,"filename":"image_28012025_21_19_55_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/30/cd532557e931f3a8fd6b6b1726f51b27.jpg","text":"TemporaryFile(/tmp/multipartBody5276820667566443476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255145106,"filename":"image_28012025_21_20_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/30/7f1ea8f79c95ab455d0a52ee8266d5f0.jpg","text":"TemporaryFile(/tmp/multipartBody7620163918310148083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255145106,"filename":"image_28012025_21_20_25_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6d55461e57d37b610a2f16fcfdc2fa56.jpg","text":"TemporaryFile(/tmp/multipartBody4649494755002758655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255145106,"filename":"image_28012025_21_20_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/30/2c38d1f3f84df9d32ab08795aa512d88.jpg","text":"TemporaryFile(/tmp/multipartBody1524873568676573997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255145106,"filename":"image_28012025_21_19_35_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333048446","file1":"1333048443","file0":"1333048426","file4":"1333048451","file5":"1333048454","file3":"1333048448"},"map_files_photo_id_array":[{"photo_id":"1333048454","filename":"file5"},{"photo_id":"1333048446","filename":"file2"},{"photo_id":"1333048451","filename":"file4"},{"photo_id":"1333048443","filename":"file1"},{"photo_id":"1333048426","filename":"file0"},{"photo_id":"1333048448","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333048443":["hashtag1","hashtag2"]},{"1333048446":["hashtag1","hashtag2"]},{"1333048451":["hashtag1","hashtag2"]},{"1333048454":["hashtag1","hashtag2"]},{"1333048448":["hashtag1","hashtag2"]},{"1333048426":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333048443, 1333048446, 1333048451, 1333048454, 1333048448, 1333048426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.941787242889404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:38:52.756804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/37/image_30012025_17_37_44_9447.jpg', '/home/pi/Desktop/images/30012025/17/38/image_30012025_17_38_34_9392.jpg', '/home/pi/Desktop/images/30012025/17/38/image_30012025_17_38_45_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/37/image_30012025_17_37_44_9447.jpg
/home/pi/Desktop/images/30012025/17/38/image_30012025_17_38_34_9392.jpg
/home/pi/Desktop/images/30012025/17/38/image_30012025_17_38_45_10411.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.46672892570495605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 17:39:04.468800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/37/image_30012025_17_37_44_9447.jpg', '/home/pi/Desktop/images/30012025/17/38/image_30012025_17_38_34_9392.jpg', '/home/pi/Desktop/images/30012025/17/38/image_30012025_17_38_45_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/37/image_30012025_17_37_44_9447.jpg
/home/pi/Desktop/images/30012025/17/38/image_30012025_17_38_34_9392.jpg
/home/pi/Desktop/images/30012025/17/38/image_30012025_17_38_45_10411.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333048673","1333048675","1333048678"],"photo_ids_order":["1333048673","1333048675","1333048678"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f3b953638e72073d8d7c67fcd021e2f8.jpg","text":"TemporaryFile(/tmp/multipartBody6901153075012101553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255205405,"filename":"image_30012025_17_37_44_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b2ba83f3a179ea0fa04bafcdb71cbe5b.jpg","text":"TemporaryFile(/tmp/multipartBody7422046405642183937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255205405,"filename":"image_30012025_17_38_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/30/a3ee50793e6c7adbf743b1b7d7d2900c.jpg","text":"TemporaryFile(/tmp/multipartBody8443586234555822115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255205405,"filename":"image_30012025_17_38_45_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333048678","file1":"1333048675","file0":"1333048673"},"map_files_photo_id_array":[{"photo_id":"1333048678","filename":"file2"},{"photo_id":"1333048675","filename":"file1"},{"photo_id":"1333048673","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333048673":["hashtag1","hashtag2"]},{"1333048675":["hashtag1","hashtag2"]},{"1333048678":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333048673, 1333048675, 1333048678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.78174138069153 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:39:32.904896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/38/image_30012025_17_38_54_9424.jpg', '/home/pi/Desktop/images/30012025/17/39/image_30012025_17_39_15_10333.jpg', '/home/pi/Desktop/images/30012025/17/39/image_30012025_17_39_24_9381.jpg', '/home/pi/Desktop/images/30012025/17/39/image_30012025_17_39_34_10372.jpg', '/home/pi/Desktop/images/30012025/17/39/image_30012025_17_39_45_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/38/image_30012025_17_38_54_9424.jpg
/home/pi/Desktop/images/30012025/17/39/image_30012025_17_39_15_10333.jpg
/home/pi/Desktop/images/30012025/17/39/image_30012025_17_39_24_9381.jpg
/home/pi/Desktop/images/30012025/17/39/image_30012025_17_39_34_10372.jpg
/home/pi/Desktop/images/30012025/17/39/image_30012025_17_39_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":["1333048722","1333048716","1333048736","1333048729","1333048711"],"photo_ids_order":["1333048711","1333048716","1333048722","1333048729","1333048736"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3d4b6015ebe5c57d58258c0d97f1bd0e.jpg","text":"TemporaryFile(/tmp/multipartBody3405354858298194555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255233792,"filename":"image_30012025_17_39_24_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/30/b0733d19a04e5dcdd0bee5f100f0c750.jpg","text":"TemporaryFile(/tmp/multipartBody4128595606322249631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255233792,"filename":"image_30012025_17_39_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/30/d4d5f0646f7913155c9d7c85dcf6c303.jpg","text":"TemporaryFile(/tmp/multipartBody3751334306635341311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255233792,"filename":"image_30012025_17_39_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/30/c4593ddb39adaae21cae05b353059040.jpg","text":"TemporaryFile(/tmp/multipartBody2283754812895326501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255233792,"filename":"image_30012025_17_39_34_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/30/6ed6308c1cf0b62af275ea3501c004e1.jpg","text":"TemporaryFile(/tmp/multipartBody2943164154866616987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255233792,"filename":"image_30012025_17_38_54_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333048722","file1":"1333048716","file0":"1333048711","file4":"1333048736","file3":"1333048729"},"map_files_photo_id_array":[{"photo_id":"1333048722","filename":"file2"},{"photo_id":"1333048736","filename":"file4"},{"photo_id":"1333048716","filename":"file1"},{"photo_id":"1333048711","filename":"file0"},{"photo_id":"1333048729","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333048722":["hashtag1","hashtag2"]},{"1333048716":["hashtag1","hashtag2"]},{"1333048736":["hashtag1","hashtag2"]},{"1333048729":["hashtag1","hashtag2"]},{"1333048711":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333048722, 1333048716, 1333048736, 1333048729, 1333048711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.41328716278076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:40:32.299728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/39/image_30012025_17_39_54_9438.jpg', '/home/pi/Desktop/images/30012025/17/39/image_30012025_17_40_05_10365.jpg', '/home/pi/Desktop/images/30012025/17/40/image_30012025_17_40_14_9425.jpg', '/home/pi/Desktop/images/30012025/17/40/image_30012025_17_40_24_10407.jpg', '/home/pi/Desktop/images/30012025/17/40/image_30012025_17_40_35_10354.jpg', '/home/pi/Desktop/images/30012025/17/40/image_30012025_17_40_44_9362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/39/image_30012025_17_39_54_9438.jpg
/home/pi/Desktop/images/30012025/17/39/image_30012025_17_40_05_10365.jpg
/home/pi/Desktop/images/30012025/17/40/image_30012025_17_40_14_9425.jpg
/home/pi/Desktop/images/30012025/17/40/image_30012025_17_40_24_10407.jpg
/home/pi/Desktop/images/30012025/17/40/image_30012025_17_40_35_10354.jpg
/home/pi/Desktop/images/30012025/17/40/image_30012025_17_40_44_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":["1333048824","1333048835","1333048808","1333048837","1333048831","1333048819"],"photo_ids_order":["1333048808","1333048819","1333048824","1333048831","1333048835","1333048837"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/88d53563df1018d6c56090042a610c0f.jpg","text":"TemporaryFile(/tmp/multipartBody4958059193015641316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255293215,"filename":"image_30012025_17_40_14_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/30/4d75bda9cf943a0ae57521cda37362c6.jpg","text":"TemporaryFile(/tmp/multipartBody6983379077161512874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255293215,"filename":"image_30012025_17_40_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/30/6a63ba1d273d964b8125db4bfec33b80.jpg","text":"TemporaryFile(/tmp/multipartBody8083125194557099768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255293215,"filename":"image_30012025_17_39_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/30/9a7ea279618c6e05d09f768a6efcd2f2.jpg","text":"TemporaryFile(/tmp/multipartBody7542925555199501107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255293215,"filename":"image_30012025_17_40_44_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/30/b5994a60fd3cd36695258058462b3fed.jpg","text":"TemporaryFile(/tmp/multipartBody5809959660521594626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255293215,"filename":"image_30012025_17_40_24_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/30/19c19863d181843908e7ee24f4e58f9d.jpg","text":"TemporaryFile(/tmp/multipartBody5125642344620964839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255293215,"filename":"image_30012025_17_40_05_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333048824","file1":"1333048819","file0":"1333048808","file4":"1333048835","file5":"1333048837","file3":"1333048831"},"map_files_photo_id_array":[{"photo_id":"1333048837","filename":"file5"},{"photo_id":"1333048824","filename":"file2"},{"photo_id":"1333048835","filename":"file4"},{"photo_id":"1333048819","filename":"file1"},{"photo_id":"1333048808","filename":"file0"},{"photo_id":"1333048831","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333048824":["hashtag1","hashtag2"]},{"1333048835":["hashtag1","hashtag2"]},{"1333048808":["hashtag1","hashtag2"]},{"1333048837":["hashtag1","hashtag2"]},{"1333048831":["hashtag1","hashtag2"]},{"1333048819":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333048824, 1333048835, 1333048808, 1333048837, 1333048831, 1333048819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.21325731277466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:41:32.519004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/40/image_30012025_17_40_54_10376.jpg', '/home/pi/Desktop/images/30012025/17/40/image_30012025_17_41_04_9387.jpg', '/home/pi/Desktop/images/30012025/17/41/image_30012025_17_41_14_10374.jpg', '/home/pi/Desktop/images/30012025/17/41/image_30012025_17_41_25_10382.jpg', '/home/pi/Desktop/images/30012025/17/41/image_30012025_17_41_34_9349.jpg', '/home/pi/Desktop/images/30012025/17/41/image_30012025_17_41_44_10383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/40/image_30012025_17_40_54_10376.jpg
/home/pi/Desktop/images/30012025/17/40/image_30012025_17_41_04_9387.jpg
/home/pi/Desktop/images/30012025/17/41/image_30012025_17_41_14_10374.jpg
/home/pi/Desktop/images/30012025/17/41/image_30012025_17_41_25_10382.jpg
/home/pi/Desktop/images/30012025/17/41/image_30012025_17_41_34_9349.jpg
/home/pi/Desktop/images/30012025/17/41/image_30012025_17_41_44_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":["1333048868","1333048877","1333048873","1333048887","1333048881","1333048863"],"photo_ids_order":["1333048863","1333048868","1333048873","1333048877","1333048881","1333048887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fa50453115917beac8b84a6b9ba3ad0c.jpg","text":"TemporaryFile(/tmp/multipartBody2037788836267935023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255353442,"filename":"image_30012025_17_41_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/30/e67e4cb215fae2dcf2abf5d598d5d7e5.jpg","text":"TemporaryFile(/tmp/multipartBody7239181747668696335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255353442,"filename":"image_30012025_17_41_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/30/60bd1e9ca297e8234c5b532f1bfe9a78.jpg","text":"TemporaryFile(/tmp/multipartBody7254765799042853880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255353442,"filename":"image_30012025_17_41_14_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/30/cfd9f8eb59b26f94f8793f7cab86e9ba.jpg","text":"TemporaryFile(/tmp/multipartBody2703535959840937928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255353442,"filename":"image_30012025_17_41_44_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/30/f92adc6177f09882becc110daa28e1e9.jpg","text":"TemporaryFile(/tmp/multipartBody9207981109863912718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255353442,"filename":"image_30012025_17_41_34_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/30/b850263e959ba66ca35e6874d04bc5d0.jpg","text":"TemporaryFile(/tmp/multipartBody4257743533057272864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255353442,"filename":"image_30012025_17_40_54_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333048873","file1":"1333048868","file0":"1333048863","file4":"1333048881","file5":"1333048887","file3":"1333048877"},"map_files_photo_id_array":[{"photo_id":"1333048887","filename":"file5"},{"photo_id":"1333048873","filename":"file2"},{"photo_id":"1333048881","filename":"file4"},{"photo_id":"1333048868","filename":"file1"},{"photo_id":"1333048863","filename":"file0"},{"photo_id":"1333048877","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333048868":["hashtag1","hashtag2"]},{"1333048877":["hashtag1","hashtag2"]},{"1333048873":["hashtag1","hashtag2"]},{"1333048887":["hashtag1","hashtag2"]},{"1333048881":["hashtag1","hashtag2"]},{"1333048863":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333048868, 1333048877, 1333048873, 1333048887, 1333048881, 1333048863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.489012479782104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:42:32.750551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/41/image_30012025_17_41_55_10348.jpg', '/home/pi/Desktop/images/30012025/17/42/image_30012025_17_42_14_10321.jpg', '/home/pi/Desktop/images/30012025/17/42/image_30012025_17_42_25_10267.jpg', '/home/pi/Desktop/images/30012025/17/42/image_30012025_17_42_34_9339.jpg', '/home/pi/Desktop/images/30012025/17/42/image_30012025_17_42_44_10445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/41/image_30012025_17_41_55_10348.jpg
/home/pi/Desktop/images/30012025/17/42/image_30012025_17_42_14_10321.jpg
/home/pi/Desktop/images/30012025/17/42/image_30012025_17_42_25_10267.jpg
/home/pi/Desktop/images/30012025/17/42/image_30012025_17_42_34_9339.jpg
/home/pi/Desktop/images/30012025/17/42/image_30012025_17_42_44_10445.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5246961116790771 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 17:42:42.814270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/41/image_30012025_17_41_55_10348.jpg', '/home/pi/Desktop/images/30012025/17/42/image_30012025_17_42_14_10321.jpg', '/home/pi/Desktop/images/30012025/17/42/image_30012025_17_42_25_10267.jpg', '/home/pi/Desktop/images/30012025/17/42/image_30012025_17_42_34_9339.jpg', '/home/pi/Desktop/images/30012025/17/42/image_30012025_17_42_44_10445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/41/image_30012025_17_41_55_10348.jpg
/home/pi/Desktop/images/30012025/17/42/image_30012025_17_42_14_10321.jpg
/home/pi/Desktop/images/30012025/17/42/image_30012025_17_42_25_10267.jpg
/home/pi/Desktop/images/30012025/17/42/image_30012025_17_42_34_9339.jpg
/home/pi/Desktop/images/30012025/17/42/image_30012025_17_42_44_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":["1333048997","1333048943","1333049007","1333048959","1333048950"],"photo_ids_order":["1333048943","1333048950","1333048959","1333048997","1333049007"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/15057ebc31d78a091d96dbbd539bf20d.jpg","text":"TemporaryFile(/tmp/multipartBody6624175714019130587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255423710,"filename":"image_30012025_17_42_34_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/709dcc6a22234cec7a1a044d7644adab.jpg","text":"TemporaryFile(/tmp/multipartBody2340216453036896062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255423710,"filename":"image_30012025_17_41_55_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f7a4c12693fe40d4fac2d068cc0ccc3f.jpg","text":"TemporaryFile(/tmp/multipartBody5544339571541847266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255423710,"filename":"image_30012025_17_42_44_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/30/244454d0c8f6cc199af4809ec8f40b17.jpg","text":"TemporaryFile(/tmp/multipartBody556230804147344054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255423710,"filename":"image_30012025_17_42_25_10267.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dd9147515c5f3ddba701579ea6d3a5c2.jpg","text":"TemporaryFile(/tmp/multipartBody5731478285975388768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255423710,"filename":"image_30012025_17_42_14_10321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333048959","file1":"1333048950","file0":"1333048943","file4":"1333049007","file3":"1333048997"},"map_files_photo_id_array":[{"photo_id":"1333048959","filename":"file2"},{"photo_id":"1333049007","filename":"file4"},{"photo_id":"1333048950","filename":"file1"},{"photo_id":"1333048943","filename":"file0"},{"photo_id":"1333048997","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333048997":["hashtag1","hashtag2"]},{"1333048943":["hashtag1","hashtag2"]},{"1333049007":["hashtag1","hashtag2"]},{"1333048959":["hashtag1","hashtag2"]},{"1333048950":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333048997, 1333048943, 1333049007, 1333048959, 1333048950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.01031851768494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:43:32.928002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/42/image_30012025_17_42_54_9469.jpg', '/home/pi/Desktop/images/30012025/17/42/image_30012025_17_43_04_10362.jpg', '/home/pi/Desktop/images/30012025/17/43/image_30012025_17_43_15_10437.jpg', '/home/pi/Desktop/images/30012025/17/43/image_30012025_17_43_24_9357.jpg', '/home/pi/Desktop/images/30012025/17/43/image_30012025_17_43_34_10375.jpg', '/home/pi/Desktop/images/30012025/17/43/image_30012025_17_43_44_9402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/42/image_30012025_17_42_54_9469.jpg
/home/pi/Desktop/images/30012025/17/42/image_30012025_17_43_04_10362.jpg
/home/pi/Desktop/images/30012025/17/43/image_30012025_17_43_15_10437.jpg
/home/pi/Desktop/images/30012025/17/43/image_30012025_17_43_24_9357.jpg
/home/pi/Desktop/images/30012025/17/43/image_30012025_17_43_34_10375.jpg
/home/pi/Desktop/images/30012025/17/43/image_30012025_17_43_44_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.5126821994781494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 17:43:42.947504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/42/image_30012025_17_42_54_9469.jpg', '/home/pi/Desktop/images/30012025/17/42/image_30012025_17_43_04_10362.jpg', '/home/pi/Desktop/images/30012025/17/43/image_30012025_17_43_15_10437.jpg', '/home/pi/Desktop/images/30012025/17/43/image_30012025_17_43_24_9357.jpg', '/home/pi/Desktop/images/30012025/17/43/image_30012025_17_43_34_10375.jpg', '/home/pi/Desktop/images/30012025/17/43/image_30012025_17_43_44_9402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/42/image_30012025_17_42_54_9469.jpg
/home/pi/Desktop/images/30012025/17/42/image_30012025_17_43_04_10362.jpg
/home/pi/Desktop/images/30012025/17/43/image_30012025_17_43_15_10437.jpg
/home/pi/Desktop/images/30012025/17/43/image_30012025_17_43_24_9357.jpg
/home/pi/Desktop/images/30012025/17/43/image_30012025_17_43_34_10375.jpg
/home/pi/Desktop/images/30012025/17/43/image_30012025_17_43_44_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":["1333049100","1333049087","1333049095","1333049080","1333049074","1333049091"],"photo_ids_order":["1333049074","1333049080","1333049087","1333049091","1333049095","1333049100"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/549f8d37b3aa30574f32c4509fb870b9.jpg","text":"TemporaryFile(/tmp/multipartBody4856549983408726731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255483858,"filename":"image_30012025_17_43_44_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/34235b72fdf0f06bc8b76bfe0a52f1c2.jpg","text":"TemporaryFile(/tmp/multipartBody6813541350661754679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255483858,"filename":"image_30012025_17_43_15_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dba7658279cd95ce30774bd9cb2a45f4.jpg","text":"TemporaryFile(/tmp/multipartBody1456150764616282291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255483858,"filename":"image_30012025_17_43_34_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/30/2b79ccb25128acad8fca79a23251b490.jpg","text":"TemporaryFile(/tmp/multipartBody1743695848589438097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255483858,"filename":"image_30012025_17_43_04_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e8103562f9700a33434fc934d430ca2f.jpg","text":"TemporaryFile(/tmp/multipartBody2600105675805383163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255483858,"filename":"image_30012025_17_42_54_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3d16ac485bcc28ccbf9dab3e8cb5301b.jpg","text":"TemporaryFile(/tmp/multipartBody384872496943330195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255483858,"filename":"image_30012025_17_43_24_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333049087","file1":"1333049080","file0":"1333049074","file4":"1333049095","file5":"1333049100","file3":"1333049091"},"map_files_photo_id_array":[{"photo_id":"1333049100","filename":"file5"},{"photo_id":"1333049087","filename":"file2"},{"photo_id":"1333049095","filename":"file4"},{"photo_id":"1333049080","filename":"file1"},{"photo_id":"1333049074","filename":"file0"},{"photo_id":"1333049091","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333049100":["hashtag1","hashtag2"]},{"1333049087":["hashtag1","hashtag2"]},{"1333049095":["hashtag1","hashtag2"]},{"1333049080":["hashtag1","hashtag2"]},{"1333049074":["hashtag1","hashtag2"]},{"1333049091":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333049100, 1333049087, 1333049095, 1333049080, 1333049074, 1333049091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98588418960571 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:44:33.058013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/43/image_30012025_17_43_54_10432.jpg', '/home/pi/Desktop/images/30012025/17/43/image_30012025_17_44_05_10355.jpg', '/home/pi/Desktop/images/30012025/17/44/image_30012025_17_44_14_9357.jpg', '/home/pi/Desktop/images/30012025/17/44/image_30012025_17_44_24_10368.jpg', '/home/pi/Desktop/images/30012025/17/44/image_30012025_17_44_34_9569.jpg', '/home/pi/Desktop/images/30012025/17/44/image_30012025_17_44_44_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/43/image_30012025_17_43_54_10432.jpg
/home/pi/Desktop/images/30012025/17/43/image_30012025_17_44_05_10355.jpg
/home/pi/Desktop/images/30012025/17/44/image_30012025_17_44_14_9357.jpg
/home/pi/Desktop/images/30012025/17/44/image_30012025_17_44_24_10368.jpg
/home/pi/Desktop/images/30012025/17/44/image_30012025_17_44_34_9569.jpg
/home/pi/Desktop/images/30012025/17/44/image_30012025_17_44_44_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":["1333049115","1333049144","1333049138","1333049146","1333049131","1333049124"],"photo_ids_order":["1333049115","1333049124","1333049131","1333049138","1333049144","1333049146"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a04f008d182efe4538d93855dc2ae989.jpg","text":"TemporaryFile(/tmp/multipartBody2492646012187189435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255533969,"filename":"image_30012025_17_43_54_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/30/84d8a1798a5d408504098e2f13685cc0.jpg","text":"TemporaryFile(/tmp/multipartBody3104385415326383760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255533969,"filename":"image_30012025_17_44_34_9569.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/39f4f9bde5d7abc282b5743928ce799e.jpg","text":"TemporaryFile(/tmp/multipartBody7921356573840525451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255533969,"filename":"image_30012025_17_44_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/30/aa00a8634ac37a2db81509bc4de57053.jpg","text":"TemporaryFile(/tmp/multipartBody6893337520996441805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255533969,"filename":"image_30012025_17_44_44_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/30/4b0ade08a57e6b8e7649b37edf81231a.jpg","text":"TemporaryFile(/tmp/multipartBody6427344685295451060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255533969,"filename":"image_30012025_17_44_14_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/30/7c1d9ba923c49629943eb182db4e6031.jpg","text":"TemporaryFile(/tmp/multipartBody7528832419383510139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255533969,"filename":"image_30012025_17_44_05_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333049131","file1":"1333049124","file0":"1333049115","file4":"1333049144","file5":"1333049146","file3":"1333049138"},"map_files_photo_id_array":[{"photo_id":"1333049146","filename":"file5"},{"photo_id":"1333049131","filename":"file2"},{"photo_id":"1333049144","filename":"file4"},{"photo_id":"1333049124","filename":"file1"},{"photo_id":"1333049115","filename":"file0"},{"photo_id":"1333049138","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333049115":["hashtag1","hashtag2"]},{"1333049144":["hashtag1","hashtag2"]},{"1333049138":["hashtag1","hashtag2"]},{"1333049146":["hashtag1","hashtag2"]},{"1333049131":["hashtag1","hashtag2"]},{"1333049124":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333049115, 1333049144, 1333049138, 1333049146, 1333049131, 1333049124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2265567779541 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:45:32.235170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/44/image_30012025_17_44_55_10390.jpg', '/home/pi/Desktop/images/30012025/17/44/image_30012025_17_45_04_9348.jpg', '/home/pi/Desktop/images/30012025/17/45/image_30012025_17_45_14_10329.jpg', '/home/pi/Desktop/images/30012025/17/45/image_30012025_17_45_25_10355.jpg', '/home/pi/Desktop/images/30012025/17/45/image_30012025_17_45_34_9410.jpg', '/home/pi/Desktop/images/30012025/17/45/image_30012025_17_45_45_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/44/image_30012025_17_44_55_10390.jpg
/home/pi/Desktop/images/30012025/17/44/image_30012025_17_45_04_9348.jpg
/home/pi/Desktop/images/30012025/17/45/image_30012025_17_45_14_10329.jpg
/home/pi/Desktop/images/30012025/17/45/image_30012025_17_45_25_10355.jpg
/home/pi/Desktop/images/30012025/17/45/image_30012025_17_45_34_9410.jpg
/home/pi/Desktop/images/30012025/17/45/image_30012025_17_45_45_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333049333","1333049429","1333049434","1333049506","1333049388","1333049421"],"photo_ids_order":["1333049333","1333049388","1333049421","1333049429","1333049434","1333049506"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b7b8e04f2af6c640aa79aa9821fd85dc.jpg","text":"TemporaryFile(/tmp/multipartBody5856487015317611047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255593132,"filename":"image_30012025_17_44_55_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/30/e20e3e3af2332a92f66bac6e968476dc.jpg","text":"TemporaryFile(/tmp/multipartBody5823998810899749969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255593132,"filename":"image_30012025_17_45_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/30/95461c2a45c7f5b31ff4d297a8a928e2.jpg","text":"TemporaryFile(/tmp/multipartBody8254964535690622529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255593132,"filename":"image_30012025_17_45_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/30/5449781329e848a962e8fe7e41d70f0e.jpg","text":"TemporaryFile(/tmp/multipartBody8890810719517764942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255593132,"filename":"image_30012025_17_45_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/30/76b252adf5c03fbc3085e09fb31c0f4a.jpg","text":"TemporaryFile(/tmp/multipartBody8811587570832776255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255593132,"filename":"image_30012025_17_45_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/30/8485efb068ac81e581a8191281c91b52.jpg","text":"TemporaryFile(/tmp/multipartBody2337598067721790119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255593132,"filename":"image_30012025_17_45_14_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333049421","file1":"1333049388","file0":"1333049333","file4":"1333049434","file5":"1333049506","file3":"1333049429"},"map_files_photo_id_array":[{"photo_id":"1333049506","filename":"file5"},{"photo_id":"1333049421","filename":"file2"},{"photo_id":"1333049434","filename":"file4"},{"photo_id":"1333049388","filename":"file1"},{"photo_id":"1333049333","filename":"file0"},{"photo_id":"1333049429","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333049333":["hashtag1","hashtag2"]},{"1333049429":["hashtag1","hashtag2"]},{"1333049434":["hashtag1","hashtag2"]},{"1333049506":["hashtag1","hashtag2"]},{"1333049388":["hashtag1","hashtag2"]},{"1333049421":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333049333, 1333049429, 1333049434, 1333049506, 1333049388, 1333049421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07403039932251 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:46:32.424006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/45/image_30012025_17_45_54_9454.jpg', '/home/pi/Desktop/images/30012025/17/45/image_30012025_17_46_04_10363.jpg', '/home/pi/Desktop/images/30012025/17/46/image_30012025_17_46_15_10337.jpg', '/home/pi/Desktop/images/30012025/17/46/image_30012025_17_46_24_9437.jpg', '/home/pi/Desktop/images/30012025/17/46/image_30012025_17_46_35_10360.jpg', '/home/pi/Desktop/images/30012025/17/46/image_30012025_17_46_44_9394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/45/image_30012025_17_45_54_9454.jpg
/home/pi/Desktop/images/30012025/17/45/image_30012025_17_46_04_10363.jpg
/home/pi/Desktop/images/30012025/17/46/image_30012025_17_46_15_10337.jpg
/home/pi/Desktop/images/30012025/17/46/image_30012025_17_46_24_9437.jpg
/home/pi/Desktop/images/30012025/17/46/image_30012025_17_46_35_10360.jpg
/home/pi/Desktop/images/30012025/17/46/image_30012025_17_46_44_9394.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5156023502349854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 17:46:42.454330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/45/image_30012025_17_45_54_9454.jpg', '/home/pi/Desktop/images/30012025/17/45/image_30012025_17_46_04_10363.jpg', '/home/pi/Desktop/images/30012025/17/46/image_30012025_17_46_15_10337.jpg', '/home/pi/Desktop/images/30012025/17/46/image_30012025_17_46_24_9437.jpg', '/home/pi/Desktop/images/30012025/17/46/image_30012025_17_46_35_10360.jpg', '/home/pi/Desktop/images/30012025/17/46/image_30012025_17_46_44_9394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/45/image_30012025_17_45_54_9454.jpg
/home/pi/Desktop/images/30012025/17/45/image_30012025_17_46_04_10363.jpg
/home/pi/Desktop/images/30012025/17/46/image_30012025_17_46_15_10337.jpg
/home/pi/Desktop/images/30012025/17/46/image_30012025_17_46_24_9437.jpg
/home/pi/Desktop/images/30012025/17/46/image_30012025_17_46_35_10360.jpg
/home/pi/Desktop/images/30012025/17/46/image_30012025_17_46_44_9394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333049572","1333049548","1333049557","1333049539","1333049577","1333049565"],"photo_ids_order":["1333049539","1333049548","1333049557","1333049565","1333049572","1333049577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b2e90714042cd75436aeff95fc3a46d2.jpg","text":"TemporaryFile(/tmp/multipartBody4177540397254371697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255663363,"filename":"image_30012025_17_46_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/30/83b28389f5ca34416043a3beda69a3e8.jpg","text":"TemporaryFile(/tmp/multipartBody8255750787899238897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255663363,"filename":"image_30012025_17_46_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/30/2a157cc29bdf12fd258ebec050823c02.jpg","text":"TemporaryFile(/tmp/multipartBody4219374282189577371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255663363,"filename":"image_30012025_17_46_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/30/4a2e2c0e161cd6c8e452e74b8ac60d64.jpg","text":"TemporaryFile(/tmp/multipartBody2755058444279090232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255663363,"filename":"image_30012025_17_45_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/30/4098ee8b1460b8c42e05a66296a8b022.jpg","text":"TemporaryFile(/tmp/multipartBody1555629109789144620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255663363,"filename":"image_30012025_17_46_44_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/551140c1dce70eb32abb032ddd53fdcd.jpg","text":"TemporaryFile(/tmp/multipartBody2322086269414122335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255663363,"filename":"image_30012025_17_46_24_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333049557","file1":"1333049548","file0":"1333049539","file4":"1333049572","file5":"1333049577","file3":"1333049565"},"map_files_photo_id_array":[{"photo_id":"1333049577","filename":"file5"},{"photo_id":"1333049557","filename":"file2"},{"photo_id":"1333049572","filename":"file4"},{"photo_id":"1333049548","filename":"file1"},{"photo_id":"1333049539","filename":"file0"},{"photo_id":"1333049565","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333049572":["hashtag1","hashtag2"]},{"1333049548":["hashtag1","hashtag2"]},{"1333049557":["hashtag1","hashtag2"]},{"1333049539":["hashtag1","hashtag2"]},{"1333049577":["hashtag1","hashtag2"]},{"1333049565":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333049572, 1333049548, 1333049557, 1333049539, 1333049577, 1333049565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2217915058136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:47:32.688969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/46/image_30012025_17_46_54_10416.jpg', '/home/pi/Desktop/images/30012025/17/46/image_30012025_17_47_05_10337.jpg', '/home/pi/Desktop/images/30012025/17/47/image_30012025_17_47_14_9330.jpg', '/home/pi/Desktop/images/30012025/17/47/image_30012025_17_47_24_10390.jpg', '/home/pi/Desktop/images/30012025/17/47/image_30012025_17_47_35_10351.jpg', '/home/pi/Desktop/images/30012025/17/47/image_30012025_17_47_44_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/46/image_30012025_17_46_54_10416.jpg
/home/pi/Desktop/images/30012025/17/46/image_30012025_17_47_05_10337.jpg
/home/pi/Desktop/images/30012025/17/47/image_30012025_17_47_14_9330.jpg
/home/pi/Desktop/images/30012025/17/47/image_30012025_17_47_24_10390.jpg
/home/pi/Desktop/images/30012025/17/47/image_30012025_17_47_35_10351.jpg
/home/pi/Desktop/images/30012025/17/47/image_30012025_17_47_44_9352.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5459177494049072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 17:47:42.709592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/46/image_30012025_17_46_54_10416.jpg', '/home/pi/Desktop/images/30012025/17/46/image_30012025_17_47_05_10337.jpg', '/home/pi/Desktop/images/30012025/17/47/image_30012025_17_47_14_9330.jpg', '/home/pi/Desktop/images/30012025/17/47/image_30012025_17_47_24_10390.jpg', '/home/pi/Desktop/images/30012025/17/47/image_30012025_17_47_35_10351.jpg', '/home/pi/Desktop/images/30012025/17/47/image_30012025_17_47_44_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/46/image_30012025_17_46_54_10416.jpg
/home/pi/Desktop/images/30012025/17/46/image_30012025_17_47_05_10337.jpg
/home/pi/Desktop/images/30012025/17/47/image_30012025_17_47_14_9330.jpg
/home/pi/Desktop/images/30012025/17/47/image_30012025_17_47_24_10390.jpg
/home/pi/Desktop/images/30012025/17/47/image_30012025_17_47_35_10351.jpg
/home/pi/Desktop/images/30012025/17/47/image_30012025_17_47_44_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":["1333049609","1333049632","1333049629","1333049626","1333049634","1333049601"],"photo_ids_order":["1333049601","1333049609","1333049626","1333049629","1333049632","1333049634"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/44e55ea2eba9eacc95dee6c2eb15a189.jpg","text":"TemporaryFile(/tmp/multipartBody4919312303215260158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255723635,"filename":"image_30012025_17_47_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/30/187cd9d07a389d3d935f178e7cadc5ea.jpg","text":"TemporaryFile(/tmp/multipartBody7437455402343708319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255723635,"filename":"image_30012025_17_47_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/30/5d67d680c83290615a11c7d2e9253a00.jpg","text":"TemporaryFile(/tmp/multipartBody194347049240210572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255723635,"filename":"image_30012025_17_47_24_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/30/557db11ae65a3e3a6d8f14c3e1fe1c66.jpg","text":"TemporaryFile(/tmp/multipartBody2038035469545955328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255723635,"filename":"image_30012025_17_47_14_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9bfc9c10404fd338070cc8a663392142.jpg","text":"TemporaryFile(/tmp/multipartBody3738766064618640093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255723635,"filename":"image_30012025_17_47_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/30/0a3694dcf3ae472446673c08e040c7b2.jpg","text":"TemporaryFile(/tmp/multipartBody3440496266710017787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255723635,"filename":"image_30012025_17_46_54_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333049626","file1":"1333049609","file0":"1333049601","file4":"1333049632","file5":"1333049634","file3":"1333049629"},"map_files_photo_id_array":[{"photo_id":"1333049634","filename":"file5"},{"photo_id":"1333049626","filename":"file2"},{"photo_id":"1333049632","filename":"file4"},{"photo_id":"1333049609","filename":"file1"},{"photo_id":"1333049601","filename":"file0"},{"photo_id":"1333049629","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333049609":["hashtag1","hashtag2"]},{"1333049632":["hashtag1","hashtag2"]},{"1333049629":["hashtag1","hashtag2"]},{"1333049626":["hashtag1","hashtag2"]},{"1333049634":["hashtag1","hashtag2"]},{"1333049601":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333049609, 1333049632, 1333049629, 1333049626, 1333049634, 1333049601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.18319392204285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:48:32.848386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/47/image_30012025_17_47_54_10346.jpg', '/home/pi/Desktop/images/30012025/17/47/image_30012025_17_48_05_10355.jpg', '/home/pi/Desktop/images/30012025/17/48/image_30012025_17_48_14_9377.jpg', '/home/pi/Desktop/images/30012025/17/48/image_30012025_17_48_25_10432.jpg', '/home/pi/Desktop/images/30012025/17/48/image_30012025_17_48_34_9336.jpg', '/home/pi/Desktop/images/30012025/17/48/image_30012025_17_48_44_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/47/image_30012025_17_47_54_10346.jpg
/home/pi/Desktop/images/30012025/17/47/image_30012025_17_48_05_10355.jpg
/home/pi/Desktop/images/30012025/17/48/image_30012025_17_48_14_9377.jpg
/home/pi/Desktop/images/30012025/17/48/image_30012025_17_48_25_10432.jpg
/home/pi/Desktop/images/30012025/17/48/image_30012025_17_48_34_9336.jpg
/home/pi/Desktop/images/30012025/17/48/image_30012025_17_48_44_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":["1333049663","1333049657","1333049651","1333049683","1333049830","1333049668"],"photo_ids_order":["1333049651","1333049657","1333049663","1333049668","1333049683","1333049830"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e1b194ff716276969f318982c8f74aaa.jpg","text":"TemporaryFile(/tmp/multipartBody336021915722489950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255773794,"filename":"image_30012025_17_48_14_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/558d7d2194d1192124b4f06b0557d231.jpg","text":"TemporaryFile(/tmp/multipartBody5113571450848622523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255773794,"filename":"image_30012025_17_48_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/30/2c9f053b56eae1267f3deaa8cb371b1d.jpg","text":"TemporaryFile(/tmp/multipartBody8205038495924379783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255773794,"filename":"image_30012025_17_47_54_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/27c1b199ea3a57dab536daaf1eca979d.jpg","text":"TemporaryFile(/tmp/multipartBody8575590189138070462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255773794,"filename":"image_30012025_17_48_34_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e737df7a3300db80eb07e4e222ef6d60.jpg","text":"TemporaryFile(/tmp/multipartBody5724874384755415449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255773794,"filename":"image_30012025_17_48_44_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/30/e778eb76c59ba3014c51922ab5050475.jpg","text":"TemporaryFile(/tmp/multipartBody3275987374395701351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255773794,"filename":"image_30012025_17_48_25_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333049663","file1":"1333049657","file0":"1333049651","file4":"1333049683","file5":"1333049830","file3":"1333049668"},"map_files_photo_id_array":[{"photo_id":"1333049830","filename":"file5"},{"photo_id":"1333049663","filename":"file2"},{"photo_id":"1333049683","filename":"file4"},{"photo_id":"1333049657","filename":"file1"},{"photo_id":"1333049651","filename":"file0"},{"photo_id":"1333049668","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333049663":["hashtag1","hashtag2"]},{"1333049657":["hashtag1","hashtag2"]},{"1333049651":["hashtag1","hashtag2"]},{"1333049683":["hashtag1","hashtag2"]},{"1333049830":["hashtag1","hashtag2"]},{"1333049668":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333049663, 1333049657, 1333049651, 1333049683, 1333049830, 1333049668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.607486963272095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:49:33.004056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/48/image_30012025_17_48_55_10406.jpg', '/home/pi/Desktop/images/30012025/17/48/image_30012025_17_49_04_9350.jpg', '/home/pi/Desktop/images/30012025/17/49/image_30012025_17_49_15_10464.jpg', '/home/pi/Desktop/images/30012025/17/49/image_30012025_17_49_24_9423.jpg', '/home/pi/Desktop/images/30012025/17/49/image_30012025_17_49_45_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/48/image_30012025_17_48_55_10406.jpg
/home/pi/Desktop/images/30012025/17/48/image_30012025_17_49_04_9350.jpg
/home/pi/Desktop/images/30012025/17/49/image_30012025_17_49_15_10464.jpg
/home/pi/Desktop/images/30012025/17/49/image_30012025_17_49_24_9423.jpg
/home/pi/Desktop/images/30012025/17/49/image_30012025_17_49_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":["1333049894","1333049873","1333049861","1333049881","1333049889"],"photo_ids_order":["1333049861","1333049873","1333049881","1333049889","1333049894"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6e13533a8825f2c09ef312d3b7e65b85.jpg","text":"TemporaryFile(/tmp/multipartBody1830883864514358903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255833896,"filename":"image_30012025_17_49_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/30/d27d7a33792697347e5a1fdf3fbf8add.jpg","text":"TemporaryFile(/tmp/multipartBody4361628510261010581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255833896,"filename":"image_30012025_17_49_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/30/ffebc16e38f1a60cd6aacd10b69d7386.jpg","text":"TemporaryFile(/tmp/multipartBody8361036104237055976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255833896,"filename":"image_30012025_17_48_55_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5a72927d4e8cff50565bc53d8c2466da.jpg","text":"TemporaryFile(/tmp/multipartBody2529642676068962725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255833896,"filename":"image_30012025_17_49_15_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d0be740d027f5846887756b8c7035866.jpg","text":"TemporaryFile(/tmp/multipartBody3304501954465554998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255833896,"filename":"image_30012025_17_49_24_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333049881","file1":"1333049873","file0":"1333049861","file4":"1333049894","file3":"1333049889"},"map_files_photo_id_array":[{"photo_id":"1333049881","filename":"file2"},{"photo_id":"1333049894","filename":"file4"},{"photo_id":"1333049873","filename":"file1"},{"photo_id":"1333049861","filename":"file0"},{"photo_id":"1333049889","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333049894":["hashtag1","hashtag2"]},{"1333049873":["hashtag1","hashtag2"]},{"1333049861":["hashtag1","hashtag2"]},{"1333049881":["hashtag1","hashtag2"]},{"1333049889":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333049894, 1333049873, 1333049861, 1333049881, 1333049889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.40204381942749 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:50:32.228375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/49/image_30012025_17_49_54_9465.jpg', '/home/pi/Desktop/images/30012025/17/49/image_30012025_17_50_05_10451.jpg', '/home/pi/Desktop/images/30012025/17/50/image_30012025_17_50_14_9419.jpg', '/home/pi/Desktop/images/30012025/17/50/image_30012025_17_50_24_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/49/image_30012025_17_49_54_9465.jpg
/home/pi/Desktop/images/30012025/17/49/image_30012025_17_50_05_10451.jpg
/home/pi/Desktop/images/30012025/17/50/image_30012025_17_50_14_9419.jpg
/home/pi/Desktop/images/30012025/17/50/image_30012025_17_50_24_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.490307092666626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 17:50:42.276876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/49/image_30012025_17_49_54_9465.jpg', '/home/pi/Desktop/images/30012025/17/49/image_30012025_17_50_05_10451.jpg', '/home/pi/Desktop/images/30012025/17/50/image_30012025_17_50_14_9419.jpg', '/home/pi/Desktop/images/30012025/17/50/image_30012025_17_50_24_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/49/image_30012025_17_49_54_9465.jpg
/home/pi/Desktop/images/30012025/17/49/image_30012025_17_50_05_10451.jpg
/home/pi/Desktop/images/30012025/17/50/image_30012025_17_50_14_9419.jpg
/home/pi/Desktop/images/30012025/17/50/image_30012025_17_50_24_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":["1333049963","1333050086","1333049930","1333049922"],"photo_ids_order":["1333049922","1333049930","1333049963","1333050086"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5df12b38b590d163e0a6ca542638bdb7.jpg","text":"TemporaryFile(/tmp/multipartBody7055913862133549707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255903148,"filename":"image_30012025_17_50_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/30/848a22b5b95b4ce185917ce5a2e8f9de.jpg","text":"TemporaryFile(/tmp/multipartBody7671730929808651068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255903148,"filename":"image_30012025_17_50_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/30/8042525219810d7776100f11cbb490d4.jpg","text":"TemporaryFile(/tmp/multipartBody885737290136726900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255903148,"filename":"image_30012025_17_50_05_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/30/70738c039af1f49343f7f5c43e19a6ae.jpg","text":"TemporaryFile(/tmp/multipartBody2804820029001110668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255903148,"filename":"image_30012025_17_49_54_9465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333049963","file1":"1333049930","file0":"1333049922","file3":"1333050086"},"map_files_photo_id_array":[{"photo_id":"1333049963","filename":"file2"},{"photo_id":"1333049930","filename":"file1"},{"photo_id":"1333049922","filename":"file0"},{"photo_id":"1333050086","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333049963":["hashtag1","hashtag2"]},{"1333050086":["hashtag1","hashtag2"]},{"1333049930":["hashtag1","hashtag2"]},{"1333049922":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333049963, 1333050086, 1333049930, 1333049922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.664098262786865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:51:32.643371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/50/image_30012025_17_50_35_10354.jpg', '/home/pi/Desktop/images/30012025/17/50/image_30012025_17_51_04_9387.jpg', '/home/pi/Desktop/images/30012025/17/51/image_30012025_17_51_14_10324.jpg', '/home/pi/Desktop/images/30012025/17/51/image_30012025_17_51_25_10354.jpg', '/home/pi/Desktop/images/30012025/17/51/image_30012025_17_51_34_9455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/50/image_30012025_17_50_35_10354.jpg
/home/pi/Desktop/images/30012025/17/50/image_30012025_17_51_04_9387.jpg
/home/pi/Desktop/images/30012025/17/51/image_30012025_17_51_14_10324.jpg
/home/pi/Desktop/images/30012025/17/51/image_30012025_17_51_25_10354.jpg
/home/pi/Desktop/images/30012025/17/51/image_30012025_17_51_34_9455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333050272","1333050253","1333050265","1333050211","1333050246"],"photo_ids_order":["1333050211","1333050246","1333050253","1333050265","1333050272"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/44316ee61a65bff4162556a410df60ef.jpg","text":"TemporaryFile(/tmp/multipartBody6815214431179261776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255953553,"filename":"image_30012025_17_51_34_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0af8761d16eefc9e2d93d223c1cad7ab.jpg","text":"TemporaryFile(/tmp/multipartBody1803374734905888276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255953553,"filename":"image_30012025_17_51_14_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/30/c5995c73593868bb289f09d04e8b90b1.jpg","text":"TemporaryFile(/tmp/multipartBody149796512877443412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255953553,"filename":"image_30012025_17_51_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/30/e2b5538627f4c9e5d7071dddcb63f2b3.jpg","text":"TemporaryFile(/tmp/multipartBody8488163472098417431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255953553,"filename":"image_30012025_17_50_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/30/fbbc2b5f936c07af7865143b39c50f57.jpg","text":"TemporaryFile(/tmp/multipartBody6703133417857937253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738255953553,"filename":"image_30012025_17_51_04_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333050253","file1":"1333050246","file0":"1333050211","file4":"1333050272","file3":"1333050265"},"map_files_photo_id_array":[{"photo_id":"1333050253","filename":"file2"},{"photo_id":"1333050272","filename":"file4"},{"photo_id":"1333050246","filename":"file1"},{"photo_id":"1333050211","filename":"file0"},{"photo_id":"1333050265","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333050272":["hashtag1","hashtag2"]},{"1333050253":["hashtag1","hashtag2"]},{"1333050265":["hashtag1","hashtag2"]},{"1333050211":["hashtag1","hashtag2"]},{"1333050246":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333050272, 1333050253, 1333050265, 1333050211, 1333050246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.85933256149292 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:52:32.738124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/51/image_30012025_17_51_55_10366.jpg', '/home/pi/Desktop/images/30012025/17/51/image_30012025_17_52_04_9454.jpg', '/home/pi/Desktop/images/30012025/17/52/image_30012025_17_52_15_10348.jpg', '/home/pi/Desktop/images/30012025/17/52/image_30012025_17_52_34_10337.jpg', '/home/pi/Desktop/images/30012025/17/52/image_30012025_17_52_45_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/51/image_30012025_17_51_55_10366.jpg
/home/pi/Desktop/images/30012025/17/51/image_30012025_17_52_04_9454.jpg
/home/pi/Desktop/images/30012025/17/52/image_30012025_17_52_15_10348.jpg
/home/pi/Desktop/images/30012025/17/52/image_30012025_17_52_34_10337.jpg
/home/pi/Desktop/images/30012025/17/52/image_30012025_17_52_45_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":["1333050369","1333050299","1333050292","1333050286","1333050304"],"photo_ids_order":["1333050286","1333050292","1333050299","1333050304","1333050369"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8400c274993b677a94a76529702459eb.jpg","text":"TemporaryFile(/tmp/multipartBody2011748712922900544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256013637,"filename":"image_30012025_17_52_45_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/39dc2cbcc7885e6cd778979cb1af2430.jpg","text":"TemporaryFile(/tmp/multipartBody4206541249778485027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256013637,"filename":"image_30012025_17_52_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/30/26d8fff1c17683c8bfb1c59381ac6222.jpg","text":"TemporaryFile(/tmp/multipartBody970185555216930402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256013637,"filename":"image_30012025_17_52_04_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/30/1a7f2a6a9734ffb8103833491fa6d6b5.jpg","text":"TemporaryFile(/tmp/multipartBody2644974788583383682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256013637,"filename":"image_30012025_17_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/30/eb34b6c26f0a5bdae7f609f8320c2d23.jpg","text":"TemporaryFile(/tmp/multipartBody7814687637385044507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256013637,"filename":"image_30012025_17_52_34_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333050299","file1":"1333050292","file0":"1333050286","file4":"1333050369","file3":"1333050304"},"map_files_photo_id_array":[{"photo_id":"1333050299","filename":"file2"},{"photo_id":"1333050369","filename":"file4"},{"photo_id":"1333050292","filename":"file1"},{"photo_id":"1333050286","filename":"file0"},{"photo_id":"1333050304","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333050369":["hashtag1","hashtag2"]},{"1333050299":["hashtag1","hashtag2"]},{"1333050292":["hashtag1","hashtag2"]},{"1333050286":["hashtag1","hashtag2"]},{"1333050304":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333050369, 1333050299, 1333050292, 1333050286, 1333050304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.8029580116272 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:53:32.875980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/52/image_30012025_17_52_54_9457.jpg', '/home/pi/Desktop/images/30012025/17/52/image_30012025_17_53_04_10375.jpg', '/home/pi/Desktop/images/30012025/17/53/image_30012025_17_53_24_10362.jpg', '/home/pi/Desktop/images/30012025/17/53/image_30012025_17_53_35_10362.jpg', '/home/pi/Desktop/images/30012025/17/53/image_30012025_17_53_44_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/52/image_30012025_17_52_54_9457.jpg
/home/pi/Desktop/images/30012025/17/52/image_30012025_17_53_04_10375.jpg
/home/pi/Desktop/images/30012025/17/53/image_30012025_17_53_24_10362.jpg
/home/pi/Desktop/images/30012025/17/53/image_30012025_17_53_35_10362.jpg
/home/pi/Desktop/images/30012025/17/53/image_30012025_17_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":["1333050546","1333050705","1333050652","1333050699","1333050582"],"photo_ids_order":["1333050546","1333050582","1333050652","1333050699","1333050705"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3fab6cc9ca16c0b9eb4d08ae17f28726.jpg","text":"TemporaryFile(/tmp/multipartBody2920168088089561111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256073768,"filename":"image_30012025_17_52_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/30/07e9344dab641cce85d3f58b218f8fd2.jpg","text":"TemporaryFile(/tmp/multipartBody5902571560579195593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256073768,"filename":"image_30012025_17_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/30/5f1b2eeb021714df6f0ac945f7857e97.jpg","text":"TemporaryFile(/tmp/multipartBody2224791944945741685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256073768,"filename":"image_30012025_17_53_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/30/81b51c639b644849a0de1299b251b1d0.jpg","text":"TemporaryFile(/tmp/multipartBody7050425796427259507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256073768,"filename":"image_30012025_17_53_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/30/56e72025b42c85b8d053c26231bc1ffe.jpg","text":"TemporaryFile(/tmp/multipartBody653267983194651026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256073768,"filename":"image_30012025_17_53_04_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333050652","file1":"1333050582","file0":"1333050546","file4":"1333050705","file3":"1333050699"},"map_files_photo_id_array":[{"photo_id":"1333050652","filename":"file2"},{"photo_id":"1333050705","filename":"file4"},{"photo_id":"1333050582","filename":"file1"},{"photo_id":"1333050546","filename":"file0"},{"photo_id":"1333050699","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333050546":["hashtag1","hashtag2"]},{"1333050705":["hashtag1","hashtag2"]},{"1333050652":["hashtag1","hashtag2"]},{"1333050699":["hashtag1","hashtag2"]},{"1333050582":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333050546, 1333050705, 1333050652, 1333050699, 1333050582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.03823781013489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:54:33.009636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/53/image_30012025_17_53_54_10361.jpg', '/home/pi/Desktop/images/30012025/17/53/image_30012025_17_54_05_10349.jpg', '/home/pi/Desktop/images/30012025/17/54/image_30012025_17_54_24_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/53/image_30012025_17_53_54_10361.jpg
/home/pi/Desktop/images/30012025/17/53/image_30012025_17_54_05_10349.jpg
/home/pi/Desktop/images/30012025/17/54/image_30012025_17_54_24_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":["1333050896","1333050875","1333050827"],"photo_ids_order":["1333050827","1333050875","1333050896"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f55d1a0c8dcb10598715db3834a135a1.jpg","text":"TemporaryFile(/tmp/multipartBody6550266899910013069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256133871,"filename":"image_30012025_17_54_24_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d176008e08aa8c90a8bf0365b93c9dc1.jpg","text":"TemporaryFile(/tmp/multipartBody7892826860060311163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256133871,"filename":"image_30012025_17_54_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fefdcefbd50f11d8e2fd833e8755390a.jpg","text":"TemporaryFile(/tmp/multipartBody2309889773685989868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256133871,"filename":"image_30012025_17_53_54_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333050896","file1":"1333050875","file0":"1333050827"},"map_files_photo_id_array":[{"photo_id":"1333050896","filename":"file2"},{"photo_id":"1333050875","filename":"file1"},{"photo_id":"1333050827","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333050896":["hashtag1","hashtag2"]},{"1333050875":["hashtag1","hashtag2"]},{"1333050827":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333050896, 1333050875, 1333050827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.509642601013184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 17:55:03.773125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/20/image_28012025_21_20_35_9334.jpg', '/home/pi/Desktop/images/28012025/21/20/image_28012025_21_20_45_10341.jpg', '/home/pi/Desktop/images/28012025/21/20/image_28012025_21_21_05_9358.jpg', '/home/pi/Desktop/images/28012025/21/21/image_28012025_21_21_15_10399.jpg', '/home/pi/Desktop/images/28012025/21/21/image_28012025_21_21_26_10356.jpg', '/home/pi/Desktop/images/28012025/21/21/image_28012025_21_21_35_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/20/image_28012025_21_20_35_9334.jpg
/home/pi/Desktop/images/28012025/21/20/image_28012025_21_20_45_10341.jpg
/home/pi/Desktop/images/28012025/21/20/image_28012025_21_21_05_9358.jpg
/home/pi/Desktop/images/28012025/21/21/image_28012025_21_21_15_10399.jpg
/home/pi/Desktop/images/28012025/21/21/image_28012025_21_21_26_10356.jpg
/home/pi/Desktop/images/28012025/21/21/image_28012025_21_21_35_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":["1333050947","1333050997","1333050991","1333050985","1333050987","1333050945"],"photo_ids_order":["1333050945","1333050947","1333050985","1333050987","1333050991","1333050997"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/af9931bd0a752198d100d882bf65295c.jpg","text":"TemporaryFile(/tmp/multipartBody5269531535573713828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256165664,"filename":"image_28012025_21_20_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/30/d7d962742676f80f9d0434bbd5e14b01.jpg","text":"TemporaryFile(/tmp/multipartBody1683335298541251215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256165664,"filename":"image_28012025_21_21_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/936ed6023ad2bdc015120a48f35d1fb2.jpg","text":"TemporaryFile(/tmp/multipartBody6008671611416556176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256165664,"filename":"image_28012025_21_21_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/30/69113b2b7d4b6753d6bc5e4ced3b60e6.jpg","text":"TemporaryFile(/tmp/multipartBody3412693783811799795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256165664,"filename":"image_28012025_21_21_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/30/ef4fecf8b4aef57247767aef5bf6acc0.jpg","text":"TemporaryFile(/tmp/multipartBody2375975531821696983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256165664,"filename":"image_28012025_21_21_15_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/76d3e62c31e5e3e0adcfa248946c45b9.jpg","text":"TemporaryFile(/tmp/multipartBody4819231172185143014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256165664,"filename":"image_28012025_21_20_35_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333050985","file1":"1333050947","file0":"1333050945","file4":"1333050991","file5":"1333050997","file3":"1333050987"},"map_files_photo_id_array":[{"photo_id":"1333050997","filename":"file5"},{"photo_id":"1333050985","filename":"file2"},{"photo_id":"1333050991","filename":"file4"},{"photo_id":"1333050947","filename":"file1"},{"photo_id":"1333050945","filename":"file0"},{"photo_id":"1333050987","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333050947":["hashtag1","hashtag2"]},{"1333050997":["hashtag1","hashtag2"]},{"1333050991":["hashtag1","hashtag2"]},{"1333050985":["hashtag1","hashtag2"]},{"1333050987":["hashtag1","hashtag2"]},{"1333050945":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333050947, 1333050997, 1333050991, 1333050985, 1333050987, 1333050945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.27222514152527 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:55:52.214950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/54/image_30012025_17_54_34_9384.jpg', '/home/pi/Desktop/images/30012025/17/55/image_30012025_17_55_14_10351.jpg', '/home/pi/Desktop/images/30012025/17/55/image_30012025_17_55_25_10339.jpg', '/home/pi/Desktop/images/30012025/17/55/image_30012025_17_55_44_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/54/image_30012025_17_54_34_9384.jpg
/home/pi/Desktop/images/30012025/17/55/image_30012025_17_55_14_10351.jpg
/home/pi/Desktop/images/30012025/17/55/image_30012025_17_55_25_10339.jpg
/home/pi/Desktop/images/30012025/17/55/image_30012025_17_55_44_10358.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333051024","1333051018","1333051033","1333051029"],"photo_ids_order":["1333051018","1333051024","1333051029","1333051033"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4dfab3d0f02960c493956ae747b58311.jpg","text":"TemporaryFile(/tmp/multipartBody6081241099546532100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256213097,"filename":"image_30012025_17_55_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/30/fc4857c5136c9b01e7b1d96862407f0b.jpg","text":"TemporaryFile(/tmp/multipartBody6271988178812566468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256213097,"filename":"image_30012025_17_54_34_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/90983e72182091b5968f622e28982d38.jpg","text":"TemporaryFile(/tmp/multipartBody1561560177069581510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256213097,"filename":"image_30012025_17_55_44_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/30/1083301b701500b9f65569ec3ff212ca.jpg","text":"TemporaryFile(/tmp/multipartBody2691249390269281250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256213097,"filename":"image_30012025_17_55_25_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333051029","file1":"1333051024","file0":"1333051018","file3":"1333051033"},"map_files_photo_id_array":[{"photo_id":"1333051029","filename":"file2"},{"photo_id":"1333051024","filename":"file1"},{"photo_id":"1333051018","filename":"file0"},{"photo_id":"1333051033","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333051024":["hashtag1","hashtag2"]},{"1333051018":["hashtag1","hashtag2"]},{"1333051033":["hashtag1","hashtag2"]},{"1333051029":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333051024, 1333051018, 1333051033, 1333051029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.166211128234863 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:56:32.382830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/55/image_30012025_17_55_54_9400.jpg', '/home/pi/Desktop/images/30012025/17/55/image_30012025_17_56_04_10432.jpg', '/home/pi/Desktop/images/30012025/17/56/image_30012025_17_56_24_9352.jpg', '/home/pi/Desktop/images/30012025/17/56/image_30012025_17_56_34_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/55/image_30012025_17_55_54_9400.jpg
/home/pi/Desktop/images/30012025/17/55/image_30012025_17_56_04_10432.jpg
/home/pi/Desktop/images/30012025/17/56/image_30012025_17_56_24_9352.jpg
/home/pi/Desktop/images/30012025/17/56/image_30012025_17_56_34_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":["1333051287","1333051219","1333051306","1333051281"],"photo_ids_order":["1333051219","1333051281","1333051287","1333051306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8458023404d4575c15d92bb1cb3b4d02.jpg","text":"TemporaryFile(/tmp/multipartBody747373960464587434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256253280,"filename":"image_30012025_17_56_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/30/012c980efe47f4127dc4d1198ad7b88c.jpg","text":"TemporaryFile(/tmp/multipartBody812169659945657906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256253280,"filename":"image_30012025_17_55_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/30/5f42f8e295536821b4825b3861c642a6.jpg","text":"TemporaryFile(/tmp/multipartBody102685449591235932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256253280,"filename":"image_30012025_17_56_34_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8b4f847516d9dc66ae70e62837688fc1.jpg","text":"TemporaryFile(/tmp/multipartBody3495240242084322040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256253280,"filename":"image_30012025_17_56_04_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333051287","file1":"1333051281","file0":"1333051219","file3":"1333051306"},"map_files_photo_id_array":[{"photo_id":"1333051287","filename":"file2"},{"photo_id":"1333051281","filename":"file1"},{"photo_id":"1333051219","filename":"file0"},{"photo_id":"1333051306","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333051287":["hashtag1","hashtag2"]},{"1333051219":["hashtag1","hashtag2"]},{"1333051306":["hashtag1","hashtag2"]},{"1333051281":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333051287, 1333051219, 1333051306, 1333051281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.19185495376587 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 17:57:03.923528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/21/image_28012025_21_21_45_10368.jpg', '/home/pi/Desktop/images/28012025/21/21/image_28012025_21_21_56_10347.jpg', '/home/pi/Desktop/images/28012025/21/21/image_28012025_21_22_05_9400.jpg', '/home/pi/Desktop/images/28012025/21/22/image_28012025_21_22_15_10326.jpg', '/home/pi/Desktop/images/28012025/21/22/image_28012025_21_22_35_10407.jpg', '/home/pi/Desktop/images/28012025/21/22/image_28012025_21_22_46_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/21/image_28012025_21_21_45_10368.jpg
/home/pi/Desktop/images/28012025/21/21/image_28012025_21_21_56_10347.jpg
/home/pi/Desktop/images/28012025/21/21/image_28012025_21_22_05_9400.jpg
/home/pi/Desktop/images/28012025/21/22/image_28012025_21_22_15_10326.jpg
/home/pi/Desktop/images/28012025/21/22/image_28012025_21_22_35_10407.jpg
/home/pi/Desktop/images/28012025/21/22/image_28012025_21_22_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":["1333051487","1333051480","1333051417","1333051473","1333051434","1333051382"],"photo_ids_order":["1333051382","1333051417","1333051434","1333051473","1333051480","1333051487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2d3cc694f400887a86de16646f1347b7.jpg","text":"TemporaryFile(/tmp/multipartBody9041250787591585559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256285806,"filename":"image_28012025_21_22_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/30/87e1cdaa77406540136d35d685d73e20.jpg","text":"TemporaryFile(/tmp/multipartBody1448463155035581033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256285806,"filename":"image_28012025_21_22_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/30/485fe827c1e4c2541514c32335aa3e9c.jpg","text":"TemporaryFile(/tmp/multipartBody8749742915839949311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256285806,"filename":"image_28012025_21_21_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/30/c4aff5080c51b7111e531d96dacf0914.jpg","text":"TemporaryFile(/tmp/multipartBody3270213175682735149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256285806,"filename":"image_28012025_21_22_15_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a5624b7f72d134e1ff726fc096efa2e2.jpg","text":"TemporaryFile(/tmp/multipartBody6305669993438255539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256285806,"filename":"image_28012025_21_22_05_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/30/135a9ffa701989444c9b39cb5c07950f.jpg","text":"TemporaryFile(/tmp/multipartBody6398041027046809684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256285806,"filename":"image_28012025_21_21_45_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333051434","file1":"1333051417","file0":"1333051382","file4":"1333051480","file5":"1333051487","file3":"1333051473"},"map_files_photo_id_array":[{"photo_id":"1333051487","filename":"file5"},{"photo_id":"1333051434","filename":"file2"},{"photo_id":"1333051480","filename":"file4"},{"photo_id":"1333051417","filename":"file1"},{"photo_id":"1333051382","filename":"file0"},{"photo_id":"1333051473","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333051487":["hashtag1","hashtag2"]},{"1333051480":["hashtag1","hashtag2"]},{"1333051417":["hashtag1","hashtag2"]},{"1333051473":["hashtag1","hashtag2"]},{"1333051434":["hashtag1","hashtag2"]},{"1333051382":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333051487, 1333051480, 1333051417, 1333051473, 1333051434, 1333051382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.35786247253418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 17:57:52.733647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/56/image_30012025_17_56_44_9463.jpg', '/home/pi/Desktop/images/30012025/17/56/image_30012025_17_57_05_10343.jpg', '/home/pi/Desktop/images/30012025/17/57/image_30012025_17_57_14_9427.jpg', '/home/pi/Desktop/images/30012025/17/57/image_30012025_17_57_44_9451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/56/image_30012025_17_56_44_9463.jpg
/home/pi/Desktop/images/30012025/17/56/image_30012025_17_57_05_10343.jpg
/home/pi/Desktop/images/30012025/17/57/image_30012025_17_57_14_9427.jpg
/home/pi/Desktop/images/30012025/17/57/image_30012025_17_57_44_9451.jpg
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 17:59:04.308105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/56/image_30012025_17_56_44_9463.jpg', '/home/pi/Desktop/images/30012025/17/56/image_30012025_17_57_05_10343.jpg', '/home/pi/Desktop/images/30012025/17/57/image_30012025_17_57_14_9427.jpg', '/home/pi/Desktop/images/30012025/17/57/image_30012025_17_57_44_9451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/56/image_30012025_17_56_44_9463.jpg
/home/pi/Desktop/images/30012025/17/56/image_30012025_17_57_05_10343.jpg
/home/pi/Desktop/images/30012025/17/57/image_30012025_17_57_14_9427.jpg
/home/pi/Desktop/images/30012025/17/57/image_30012025_17_57_44_9451.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333051538","1333051543","1333051549","1333051533"],"photo_ids_order":["1333051533","1333051538","1333051543","1333051549"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3e2acf1822841cf0860ac09ac6248efb.jpg","text":"TemporaryFile(/tmp/multipartBody4408001630188938840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256405241,"filename":"image_30012025_17_57_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/30/7db50d4ed42a5c3a3e44285565499c33.jpg","text":"TemporaryFile(/tmp/multipartBody2870100653439340535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256405241,"filename":"image_30012025_17_57_14_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8d5330922e3325a90e0cb9d2acbb5bcc.jpg","text":"TemporaryFile(/tmp/multipartBody2020744289434667862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256405241,"filename":"image_30012025_17_57_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/30/9c6fefda3ff3e153c278e248f49131f2.jpg","text":"TemporaryFile(/tmp/multipartBody4883708507468236288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256405241,"filename":"image_30012025_17_56_44_9463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333051543","file1":"1333051538","file0":"1333051533","file3":"1333051549"},"map_files_photo_id_array":[{"photo_id":"1333051543","filename":"file2"},{"photo_id":"1333051538","filename":"file1"},{"photo_id":"1333051533","filename":"file0"},{"photo_id":"1333051549","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333051538":["hashtag1","hashtag2"]},{"1333051543":["hashtag1","hashtag2"]},{"1333051549":["hashtag1","hashtag2"]},{"1333051533":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333051538, 1333051543, 1333051549, 1333051533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.448206424713135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 17:59:43.025033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/57/image_30012025_17_57_55_10354.jpg', '/home/pi/Desktop/images/30012025/17/58/image_30012025_17_58_14_10431.jpg', '/home/pi/Desktop/images/30012025/17/58/image_30012025_17_58_25_10355.jpg', '/home/pi/Desktop/images/30012025/17/58/image_30012025_17_58_45_10384.jpg', '/home/pi/Desktop/images/30012025/17/59/image_30012025_17_59_15_10358.jpg', '/home/pi/Desktop/images/30012025/17/59/image_30012025_17_59_34_10407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/57/image_30012025_17_57_55_10354.jpg
/home/pi/Desktop/images/30012025/17/58/image_30012025_17_58_14_10431.jpg
/home/pi/Desktop/images/30012025/17/58/image_30012025_17_58_25_10355.jpg
/home/pi/Desktop/images/30012025/17/58/image_30012025_17_58_45_10384.jpg
/home/pi/Desktop/images/30012025/17/59/image_30012025_17_59_15_10358.jpg
/home/pi/Desktop/images/30012025/17/59/image_30012025_17_59_34_10407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333051601","1333051588","1333051572","1333051605","1333051595","1333051580"],"photo_ids_order":["1333051572","1333051580","1333051588","1333051595","1333051601","1333051605"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8ab6aff8f3f90094ffe3b77318cd5d02.jpg","text":"TemporaryFile(/tmp/multipartBody6804040500423820790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256443958,"filename":"image_30012025_17_59_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/30/e3bcd489d72f72487543a849500162f3.jpg","text":"TemporaryFile(/tmp/multipartBody488925024813280078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256443958,"filename":"image_30012025_17_58_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/30/1bbadcf05c65e492742449c50408be85.jpg","text":"TemporaryFile(/tmp/multipartBody7457880699014335222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256443958,"filename":"image_30012025_17_57_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d42ceb4de5fa341cb6957ec5cacccd54.jpg","text":"TemporaryFile(/tmp/multipartBody6455001523282631527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256443958,"filename":"image_30012025_17_59_34_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/30/e0b678da814bdf1d6d3872148d5c4253.jpg","text":"TemporaryFile(/tmp/multipartBody6253543445304081273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256443958,"filename":"image_30012025_17_58_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/30/ae38304fc7fb7a78657a7e6d26511549.jpg","text":"TemporaryFile(/tmp/multipartBody6645583539587675456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256443958,"filename":"image_30012025_17_58_14_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333051588","file1":"1333051580","file0":"1333051572","file4":"1333051601","file5":"1333051605","file3":"1333051595"},"map_files_photo_id_array":[{"photo_id":"1333051605","filename":"file5"},{"photo_id":"1333051588","filename":"file2"},{"photo_id":"1333051601","filename":"file4"},{"photo_id":"1333051580","filename":"file1"},{"photo_id":"1333051572","filename":"file0"},{"photo_id":"1333051595","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333051601":["hashtag1","hashtag2"]},{"1333051588":["hashtag1","hashtag2"]},{"1333051572":["hashtag1","hashtag2"]},{"1333051605":["hashtag1","hashtag2"]},{"1333051595":["hashtag1","hashtag2"]},{"1333051580":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333051601, 1333051588, 1333051572, 1333051605, 1333051595, 1333051580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.97222089767456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:00:32.240273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/22/image_28012025_21_22_55_9397.jpg', '/home/pi/Desktop/images/28012025/21/22/image_28012025_21_23_05_10476.jpg', '/home/pi/Desktop/images/28012025/21/23/image_28012025_21_23_15_9318.jpg', '/home/pi/Desktop/images/28012025/21/23/image_28012025_21_23_25_10363.jpg', '/home/pi/Desktop/images/28012025/21/23/image_28012025_21_23_35_10356.jpg', '/home/pi/Desktop/images/28012025/21/23/image_28012025_21_23_45_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/22/image_28012025_21_22_55_9397.jpg
/home/pi/Desktop/images/28012025/21/22/image_28012025_21_23_05_10476.jpg
/home/pi/Desktop/images/28012025/21/23/image_28012025_21_23_15_9318.jpg
/home/pi/Desktop/images/28012025/21/23/image_28012025_21_23_25_10363.jpg
/home/pi/Desktop/images/28012025/21/23/image_28012025_21_23_35_10356.jpg
/home/pi/Desktop/images/28012025/21/23/image_28012025_21_23_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":["1333051643","1333051632","1333051620","1333051614","1333051638","1333051626"],"photo_ids_order":["1333051614","1333051620","1333051626","1333051632","1333051638","1333051643"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/01518fd2cc5e2e5621804aa78cb556bc.jpg","text":"TemporaryFile(/tmp/multipartBody9132663168252779150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256494661,"filename":"image_28012025_21_23_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/30/69f93ad9ee0e41ad0357bf66f06a2119.jpg","text":"TemporaryFile(/tmp/multipartBody1912231248857281129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256494661,"filename":"image_28012025_21_23_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/30/58bac9fa1038777a2e99021c42a72cf3.jpg","text":"TemporaryFile(/tmp/multipartBody8309140549065204827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256494661,"filename":"image_28012025_21_23_05_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/30/8e12daf590e772937c15ef6d93c858f4.jpg","text":"TemporaryFile(/tmp/multipartBody6282804958404625351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256494661,"filename":"image_28012025_21_22_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/30/e800616ba81e696a2d0dc373a2668be6.jpg","text":"TemporaryFile(/tmp/multipartBody4228411686209285500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256494661,"filename":"image_28012025_21_23_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/30/3341145f19bfa273e7ef2eb7e145c9d4.jpg","text":"TemporaryFile(/tmp/multipartBody8993623500021966140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256494661,"filename":"image_28012025_21_23_15_9318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333051626","file1":"1333051620","file0":"1333051614","file4":"1333051638","file5":"1333051643","file3":"1333051632"},"map_files_photo_id_array":[{"photo_id":"1333051643","filename":"file5"},{"photo_id":"1333051626","filename":"file2"},{"photo_id":"1333051638","filename":"file4"},{"photo_id":"1333051620","filename":"file1"},{"photo_id":"1333051614","filename":"file0"},{"photo_id":"1333051632","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333051643":["hashtag1","hashtag2"]},{"1333051632":["hashtag1","hashtag2"]},{"1333051620":["hashtag1","hashtag2"]},{"1333051614":["hashtag1","hashtag2"]},{"1333051638":["hashtag1","hashtag2"]},{"1333051626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333051643, 1333051632, 1333051620, 1333051614, 1333051638, 1333051626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.26556420326233 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:01:32.525293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/17/59/image_30012025_17_59_44_9443.jpg', '/home/pi/Desktop/images/30012025/18/01/image_30012025_18_01_14_10076.jpg', '/home/pi/Desktop/images/30012025/18/01/image_30012025_18_01_25_10404.jpg', '/home/pi/Desktop/images/30012025/18/01/image_30012025_18_01_35_10473.jpg', '/home/pi/Desktop/images/30012025/18/01/image_30012025_18_01_44_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/17/59/image_30012025_17_59_44_9443.jpg
/home/pi/Desktop/images/30012025/18/01/image_30012025_18_01_14_10076.jpg
/home/pi/Desktop/images/30012025/18/01/image_30012025_18_01_25_10404.jpg
/home/pi/Desktop/images/30012025/18/01/image_30012025_18_01_35_10473.jpg
/home/pi/Desktop/images/30012025/18/01/image_30012025_18_01_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":["1333052374","1333052533","1333052487","1333052178","1333051980"],"photo_ids_order":["1333051980","1333052178","1333052374","1333052487","1333052533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/90ebea866437ef57df12fe33302cad3d.jpg","text":"TemporaryFile(/tmp/multipartBody3252425357717700112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256553420,"filename":"image_30012025_18_01_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/30/80ec2a26cb19a81a2b1aad267fc843ee.jpg","text":"TemporaryFile(/tmp/multipartBody6689667762091472520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256553420,"filename":"image_30012025_18_01_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/30/389a6080b92788e0b5a636a0aacc670d.jpg","text":"TemporaryFile(/tmp/multipartBody999823216864370333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256553420,"filename":"image_30012025_18_01_35_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/30/04b9f244affdff6dc1b52dd5f647e4e2.jpg","text":"TemporaryFile(/tmp/multipartBody3746070492427240031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256553420,"filename":"image_30012025_18_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/30/616df8fd18fab1f95d7e2ff074eecb67.jpg","text":"TemporaryFile(/tmp/multipartBody3872969515971527034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256553420,"filename":"image_30012025_17_59_44_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333052374","file1":"1333052178","file0":"1333051980","file4":"1333052533","file3":"1333052487"},"map_files_photo_id_array":[{"photo_id":"1333052374","filename":"file2"},{"photo_id":"1333052533","filename":"file4"},{"photo_id":"1333052178","filename":"file1"},{"photo_id":"1333051980","filename":"file0"},{"photo_id":"1333052487","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333052374":["hashtag1","hashtag2"]},{"1333052533":["hashtag1","hashtag2"]},{"1333052487":["hashtag1","hashtag2"]},{"1333052178":["hashtag1","hashtag2"]},{"1333051980":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333052374, 1333052533, 1333052487, 1333052178, 1333051980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.84973978996277 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:02:32.613976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/01/image_30012025_18_01_55_10365.jpg', '/home/pi/Desktop/images/30012025/18/01/image_30012025_18_02_04_9378.jpg', '/home/pi/Desktop/images/30012025/18/02/image_30012025_18_02_25_10348.jpg', '/home/pi/Desktop/images/30012025/18/02/image_30012025_18_02_34_9352.jpg', '/home/pi/Desktop/images/30012025/18/02/image_30012025_18_02_45_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/01/image_30012025_18_01_55_10365.jpg
/home/pi/Desktop/images/30012025/18/01/image_30012025_18_02_04_9378.jpg
/home/pi/Desktop/images/30012025/18/02/image_30012025_18_02_25_10348.jpg
/home/pi/Desktop/images/30012025/18/02/image_30012025_18_02_34_9352.jpg
/home/pi/Desktop/images/30012025/18/02/image_30012025_18_02_45_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333052884","1333052892","1333052835","1333052817","1333052789"],"photo_ids_order":["1333052789","1333052817","1333052835","1333052884","1333052892"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/430c68c0738d5ccaf2bea97aac87ae88.jpg","text":"TemporaryFile(/tmp/multipartBody8338183266326986338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256613512,"filename":"image_30012025_18_02_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/30/ffaeff1e0bca06622bbcc9a158bc2e9a.jpg","text":"TemporaryFile(/tmp/multipartBody3180087966018252364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256613512,"filename":"image_30012025_18_02_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/30/e67a05c63a5f691aec5ff1e453348e01.jpg","text":"TemporaryFile(/tmp/multipartBody5085249305761682605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256613512,"filename":"image_30012025_18_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/30/e33243bb625ad1ecb98c1b98f1e07f82.jpg","text":"TemporaryFile(/tmp/multipartBody4891792112855428772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256613512,"filename":"image_30012025_18_02_04_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/30/f94214532ad0270152ae379d98dc0aba.jpg","text":"TemporaryFile(/tmp/multipartBody311763759713104361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256613512,"filename":"image_30012025_18_01_55_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333052835","file1":"1333052817","file0":"1333052789","file4":"1333052892","file3":"1333052884"},"map_files_photo_id_array":[{"photo_id":"1333052835","filename":"file2"},{"photo_id":"1333052892","filename":"file4"},{"photo_id":"1333052817","filename":"file1"},{"photo_id":"1333052789","filename":"file0"},{"photo_id":"1333052884","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333052884":["hashtag1","hashtag2"]},{"1333052892":["hashtag1","hashtag2"]},{"1333052835":["hashtag1","hashtag2"]},{"1333052817":["hashtag1","hashtag2"]},{"1333052789":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333052884, 1333052892, 1333052835, 1333052817, 1333052789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.4486517906189 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:03:32.748422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/02/image_30012025_18_02_55_10410.jpg', '/home/pi/Desktop/images/30012025/18/02/image_30012025_18_03_04_9376.jpg', '/home/pi/Desktop/images/30012025/18/03/image_30012025_18_03_15_10333.jpg', '/home/pi/Desktop/images/30012025/18/03/image_30012025_18_03_24_9434.jpg', '/home/pi/Desktop/images/30012025/18/03/image_30012025_18_03_34_10417.jpg', '/home/pi/Desktop/images/30012025/18/03/image_30012025_18_03_45_10414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/02/image_30012025_18_02_55_10410.jpg
/home/pi/Desktop/images/30012025/18/02/image_30012025_18_03_04_9376.jpg
/home/pi/Desktop/images/30012025/18/03/image_30012025_18_03_15_10333.jpg
/home/pi/Desktop/images/30012025/18/03/image_30012025_18_03_24_9434.jpg
/home/pi/Desktop/images/30012025/18/03/image_30012025_18_03_34_10417.jpg
/home/pi/Desktop/images/30012025/18/03/image_30012025_18_03_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":["1333052980","1333052965","1333052947","1333053004","1333052970","1333052975"],"photo_ids_order":["1333052947","1333052965","1333052970","1333052975","1333052980","1333053004"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/662a846947af3e50de526bcdd9ba207c.jpg","text":"TemporaryFile(/tmp/multipartBody1107010425163767199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256673676,"filename":"image_30012025_18_03_34_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/30/ac673e6555a37d1cdcf68982f7b66355.jpg","text":"TemporaryFile(/tmp/multipartBody1291380779027569323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256673676,"filename":"image_30012025_18_03_04_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/30/251a5683c0f88bc1afe3fba0b3bb7525.jpg","text":"TemporaryFile(/tmp/multipartBody5728843950486877552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256673676,"filename":"image_30012025_18_02_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/30/869c2a508289395b292ab9086b9d0404.jpg","text":"TemporaryFile(/tmp/multipartBody875876469547437647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256673676,"filename":"image_30012025_18_03_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/30/d48971c9134f89aadc3084ecffcf40b9.jpg","text":"TemporaryFile(/tmp/multipartBody2891091050181382010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256673676,"filename":"image_30012025_18_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/30/6b8dcaac299e9508587dc7151ae88169.jpg","text":"TemporaryFile(/tmp/multipartBody2562508246332161176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256673676,"filename":"image_30012025_18_03_24_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333052970","file1":"1333052965","file0":"1333052947","file4":"1333052980","file5":"1333053004","file3":"1333052975"},"map_files_photo_id_array":[{"photo_id":"1333053004","filename":"file5"},{"photo_id":"1333052970","filename":"file2"},{"photo_id":"1333052980","filename":"file4"},{"photo_id":"1333052965","filename":"file1"},{"photo_id":"1333052947","filename":"file0"},{"photo_id":"1333052975","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333052980":["hashtag1","hashtag2"]},{"1333052965":["hashtag1","hashtag2"]},{"1333052947":["hashtag1","hashtag2"]},{"1333053004":["hashtag1","hashtag2"]},{"1333052970":["hashtag1","hashtag2"]},{"1333052975":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333052980, 1333052965, 1333052947, 1333053004, 1333052970, 1333052975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.0077805519104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:04:32.928020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/03/image_30012025_18_03_54_9354.jpg', '/home/pi/Desktop/images/30012025/18/03/image_30012025_18_04_05_10395.jpg', '/home/pi/Desktop/images/30012025/18/04/image_30012025_18_04_14_9414.jpg', '/home/pi/Desktop/images/30012025/18/04/image_30012025_18_04_24_10350.jpg', '/home/pi/Desktop/images/30012025/18/04/image_30012025_18_04_35_10340.jpg', '/home/pi/Desktop/images/30012025/18/04/image_30012025_18_04_44_9425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/03/image_30012025_18_03_54_9354.jpg
/home/pi/Desktop/images/30012025/18/03/image_30012025_18_04_05_10395.jpg
/home/pi/Desktop/images/30012025/18/04/image_30012025_18_04_14_9414.jpg
/home/pi/Desktop/images/30012025/18/04/image_30012025_18_04_24_10350.jpg
/home/pi/Desktop/images/30012025/18/04/image_30012025_18_04_35_10340.jpg
/home/pi/Desktop/images/30012025/18/04/image_30012025_18_04_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":["1333053104","1333053097","1333053082","1333053076","1333053089","1333053149"],"photo_ids_order":["1333053076","1333053082","1333053089","1333053097","1333053104","1333053149"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dbc20899073807f5c5f89ae3f77b6aa1.jpg","text":"TemporaryFile(/tmp/multipartBody9133660694005259215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256733836,"filename":"image_30012025_18_04_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/30/e805b3107f0808ee9d822859c63b036a.jpg","text":"TemporaryFile(/tmp/multipartBody4889820469146127033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256733836,"filename":"image_30012025_18_04_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/30/54b2dc59e9fc83cc544e173b9e539bc8.jpg","text":"TemporaryFile(/tmp/multipartBody1190582221747758241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256733836,"filename":"image_30012025_18_04_05_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1b0bff6fbcb7979a0585cc25ce853499.jpg","text":"TemporaryFile(/tmp/multipartBody4915092819512283844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256733836,"filename":"image_30012025_18_03_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/30/d09f01ee7e5dc0694de67de901175d36.jpg","text":"TemporaryFile(/tmp/multipartBody4783754040476005351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256733836,"filename":"image_30012025_18_04_14_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/18846168c1e6f23fe7101b418379724a.jpg","text":"TemporaryFile(/tmp/multipartBody836113665077507230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256733836,"filename":"image_30012025_18_04_44_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333053089","file1":"1333053082","file0":"1333053076","file4":"1333053104","file5":"1333053149","file3":"1333053097"},"map_files_photo_id_array":[{"photo_id":"1333053149","filename":"file5"},{"photo_id":"1333053089","filename":"file2"},{"photo_id":"1333053104","filename":"file4"},{"photo_id":"1333053082","filename":"file1"},{"photo_id":"1333053076","filename":"file0"},{"photo_id":"1333053097","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333053104":["hashtag1","hashtag2"]},{"1333053097":["hashtag1","hashtag2"]},{"1333053082":["hashtag1","hashtag2"]},{"1333053076":["hashtag1","hashtag2"]},{"1333053089":["hashtag1","hashtag2"]},{"1333053149":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333053104, 1333053097, 1333053082, 1333053076, 1333053089, 1333053149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.33932614326477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:05:32.234164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/04/image_30012025_18_04_55_10356.jpg', '/home/pi/Desktop/images/30012025/18/04/image_30012025_18_05_05_10481.jpg', '/home/pi/Desktop/images/30012025/18/05/image_30012025_18_05_14_9322.jpg', '/home/pi/Desktop/images/30012025/18/05/image_30012025_18_05_25_10352.jpg', '/home/pi/Desktop/images/30012025/18/05/image_30012025_18_05_34_9433.jpg', '/home/pi/Desktop/images/30012025/18/05/image_30012025_18_05_45_10380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/04/image_30012025_18_04_55_10356.jpg
/home/pi/Desktop/images/30012025/18/04/image_30012025_18_05_05_10481.jpg
/home/pi/Desktop/images/30012025/18/05/image_30012025_18_05_14_9322.jpg
/home/pi/Desktop/images/30012025/18/05/image_30012025_18_05_25_10352.jpg
/home/pi/Desktop/images/30012025/18/05/image_30012025_18_05_34_9433.jpg
/home/pi/Desktop/images/30012025/18/05/image_30012025_18_05_45_10380.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5398449897766113 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 18:05:42.142305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/04/image_30012025_18_04_55_10356.jpg', '/home/pi/Desktop/images/30012025/18/04/image_30012025_18_05_05_10481.jpg', '/home/pi/Desktop/images/30012025/18/05/image_30012025_18_05_14_9322.jpg', '/home/pi/Desktop/images/30012025/18/05/image_30012025_18_05_25_10352.jpg', '/home/pi/Desktop/images/30012025/18/05/image_30012025_18_05_34_9433.jpg', '/home/pi/Desktop/images/30012025/18/05/image_30012025_18_05_45_10380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/04/image_30012025_18_04_55_10356.jpg
/home/pi/Desktop/images/30012025/18/04/image_30012025_18_05_05_10481.jpg
/home/pi/Desktop/images/30012025/18/05/image_30012025_18_05_14_9322.jpg
/home/pi/Desktop/images/30012025/18/05/image_30012025_18_05_25_10352.jpg
/home/pi/Desktop/images/30012025/18/05/image_30012025_18_05_34_9433.jpg
/home/pi/Desktop/images/30012025/18/05/image_30012025_18_05_45_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333053259","1333053276","1333053272","1333053254","1333053242","1333053266"],"photo_ids_order":["1333053242","1333053254","1333053259","1333053266","1333053272","1333053276"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/63541cbca01c41b9a4b976d936d584ff.jpg","text":"TemporaryFile(/tmp/multipartBody9055477076782194972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256803070,"filename":"image_30012025_18_05_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/30/75bbc4ca99204d83e192709a30a67bc4.jpg","text":"TemporaryFile(/tmp/multipartBody779662337308758168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256803070,"filename":"image_30012025_18_05_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/30/3d93a64bfcd4e48c00d58ab85fca9364.jpg","text":"TemporaryFile(/tmp/multipartBody690712258791780237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256803070,"filename":"image_30012025_18_05_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/30/8d84820e62f7944db24012dbab1c512c.jpg","text":"TemporaryFile(/tmp/multipartBody3593761248679104472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256803070,"filename":"image_30012025_18_05_05_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f5ba77200544f36d41eea00ff135a2fb.jpg","text":"TemporaryFile(/tmp/multipartBody6442454522727115059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256803070,"filename":"image_30012025_18_04_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/30/73b4b9253871a54712ff06da4e27f01a.jpg","text":"TemporaryFile(/tmp/multipartBody8730231250383060199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256803070,"filename":"image_30012025_18_05_25_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333053259","file1":"1333053254","file0":"1333053242","file4":"1333053272","file5":"1333053276","file3":"1333053266"},"map_files_photo_id_array":[{"photo_id":"1333053276","filename":"file5"},{"photo_id":"1333053259","filename":"file2"},{"photo_id":"1333053272","filename":"file4"},{"photo_id":"1333053254","filename":"file1"},{"photo_id":"1333053242","filename":"file0"},{"photo_id":"1333053266","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333053259":["hashtag1","hashtag2"]},{"1333053276":["hashtag1","hashtag2"]},{"1333053272":["hashtag1","hashtag2"]},{"1333053254":["hashtag1","hashtag2"]},{"1333053242":["hashtag1","hashtag2"]},{"1333053266":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333053259, 1333053276, 1333053272, 1333053254, 1333053242, 1333053266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.962958335876465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:06:32.452263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/05/image_30012025_18_05_55_10473.jpg', '/home/pi/Desktop/images/30012025/18/05/image_30012025_18_06_04_9404.jpg', '/home/pi/Desktop/images/30012025/18/06/image_30012025_18_06_15_10403.jpg', '/home/pi/Desktop/images/30012025/18/06/image_30012025_18_06_24_9436.jpg', '/home/pi/Desktop/images/30012025/18/06/image_30012025_18_06_35_10367.jpg', '/home/pi/Desktop/images/30012025/18/06/image_30012025_18_06_45_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/05/image_30012025_18_05_55_10473.jpg
/home/pi/Desktop/images/30012025/18/05/image_30012025_18_06_04_9404.jpg
/home/pi/Desktop/images/30012025/18/06/image_30012025_18_06_15_10403.jpg
/home/pi/Desktop/images/30012025/18/06/image_30012025_18_06_24_9436.jpg
/home/pi/Desktop/images/30012025/18/06/image_30012025_18_06_35_10367.jpg
/home/pi/Desktop/images/30012025/18/06/image_30012025_18_06_45_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":["1333053394","1333053436","1333053430","1333053386","1333053389","1333053425"],"photo_ids_order":["1333053386","1333053389","1333053394","1333053425","1333053430","1333053436"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5f7780d4f450da7938ce44178b93b7ca.jpg","text":"TemporaryFile(/tmp/multipartBody2041858225212096041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256853362,"filename":"image_30012025_18_06_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/30/da57f7cf6ab3f161f8b5361e4da04657.jpg","text":"TemporaryFile(/tmp/multipartBody595872544541321998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256853362,"filename":"image_30012025_18_06_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/30/250844cb9443151f9971c3499510663f.jpg","text":"TemporaryFile(/tmp/multipartBody2284384905633337100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256853362,"filename":"image_30012025_18_06_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/30/2afe7b1c182d2c7d4138005a0fa2c64a.jpg","text":"TemporaryFile(/tmp/multipartBody5875539952525536192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256853362,"filename":"image_30012025_18_05_55_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/30/24b7762e30b78eb5074ef2fa2d6ad75c.jpg","text":"TemporaryFile(/tmp/multipartBody7582677837627694312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256853362,"filename":"image_30012025_18_06_04_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7c3a1ba67d5533aa2eea82aabcd5889f.jpg","text":"TemporaryFile(/tmp/multipartBody3223677064677672867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256853362,"filename":"image_30012025_18_06_24_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333053394","file1":"1333053389","file0":"1333053386","file4":"1333053430","file5":"1333053436","file3":"1333053425"},"map_files_photo_id_array":[{"photo_id":"1333053436","filename":"file5"},{"photo_id":"1333053394","filename":"file2"},{"photo_id":"1333053430","filename":"file4"},{"photo_id":"1333053389","filename":"file1"},{"photo_id":"1333053386","filename":"file0"},{"photo_id":"1333053425","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333053394":["hashtag1","hashtag2"]},{"1333053436":["hashtag1","hashtag2"]},{"1333053430":["hashtag1","hashtag2"]},{"1333053386":["hashtag1","hashtag2"]},{"1333053389":["hashtag1","hashtag2"]},{"1333053425":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333053394, 1333053436, 1333053430, 1333053386, 1333053389, 1333053425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.1633734703064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:07:32.639997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/06/image_30012025_18_06_54_9424.jpg', '/home/pi/Desktop/images/30012025/18/06/image_30012025_18_07_05_10349.jpg', '/home/pi/Desktop/images/30012025/18/07/image_30012025_18_07_14_9438.jpg', '/home/pi/Desktop/images/30012025/18/07/image_30012025_18_07_25_10356.jpg', '/home/pi/Desktop/images/30012025/18/07/image_30012025_18_07_35_10506.jpg', '/home/pi/Desktop/images/30012025/18/07/image_30012025_18_07_44_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/06/image_30012025_18_06_54_9424.jpg
/home/pi/Desktop/images/30012025/18/06/image_30012025_18_07_05_10349.jpg
/home/pi/Desktop/images/30012025/18/07/image_30012025_18_07_14_9438.jpg
/home/pi/Desktop/images/30012025/18/07/image_30012025_18_07_25_10356.jpg
/home/pi/Desktop/images/30012025/18/07/image_30012025_18_07_35_10506.jpg
/home/pi/Desktop/images/30012025/18/07/image_30012025_18_07_44_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":["1333053499","1333053508","1333053522","1333053531","1333053516","1333053527"],"photo_ids_order":["1333053499","1333053508","1333053516","1333053522","1333053527","1333053531"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6589b545245949a3ca222528e1f91c55.jpg","text":"TemporaryFile(/tmp/multipartBody3244420543374398466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256913573,"filename":"image_30012025_18_06_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/30/872961e45ba234e982234d52ea01a162.jpg","text":"TemporaryFile(/tmp/multipartBody6564251835158116192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256913573,"filename":"image_30012025_18_07_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/30/11d3e2127cc652b42cafdc7f15149039.jpg","text":"TemporaryFile(/tmp/multipartBody8567835479171032812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256913573,"filename":"image_30012025_18_07_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/30/28e478d32adb6cba85a95af1cc915523.jpg","text":"TemporaryFile(/tmp/multipartBody6622339534902573273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256913573,"filename":"image_30012025_18_07_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/30/9f36a1b9f9c5d38563a975a6c8c50b64.jpg","text":"TemporaryFile(/tmp/multipartBody8997117806526349198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256913573,"filename":"image_30012025_18_07_14_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0a080f186f9f2c8827cdd984be88e81c.jpg","text":"TemporaryFile(/tmp/multipartBody2694849055210003203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256913573,"filename":"image_30012025_18_07_35_10506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333053516","file1":"1333053508","file0":"1333053499","file4":"1333053527","file5":"1333053531","file3":"1333053522"},"map_files_photo_id_array":[{"photo_id":"1333053531","filename":"file5"},{"photo_id":"1333053516","filename":"file2"},{"photo_id":"1333053527","filename":"file4"},{"photo_id":"1333053508","filename":"file1"},{"photo_id":"1333053499","filename":"file0"},{"photo_id":"1333053522","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333053499":["hashtag1","hashtag2"]},{"1333053508":["hashtag1","hashtag2"]},{"1333053522":["hashtag1","hashtag2"]},{"1333053531":["hashtag1","hashtag2"]},{"1333053516":["hashtag1","hashtag2"]},{"1333053527":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333053499, 1333053508, 1333053522, 1333053531, 1333053516, 1333053527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.880645990371704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:08:32.796150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/07/image_30012025_18_07_55_10347.jpg', '/home/pi/Desktop/images/30012025/18/07/image_30012025_18_08_04_9378.jpg', '/home/pi/Desktop/images/30012025/18/08/image_30012025_18_08_15_10414.jpg', '/home/pi/Desktop/images/30012025/18/08/image_30012025_18_08_25_10474.jpg', '/home/pi/Desktop/images/30012025/18/08/image_30012025_18_08_34_9355.jpg', '/home/pi/Desktop/images/30012025/18/08/image_30012025_18_08_45_10441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/07/image_30012025_18_07_55_10347.jpg
/home/pi/Desktop/images/30012025/18/07/image_30012025_18_08_04_9378.jpg
/home/pi/Desktop/images/30012025/18/08/image_30012025_18_08_15_10414.jpg
/home/pi/Desktop/images/30012025/18/08/image_30012025_18_08_25_10474.jpg
/home/pi/Desktop/images/30012025/18/08/image_30012025_18_08_34_9355.jpg
/home/pi/Desktop/images/30012025/18/08/image_30012025_18_08_45_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":["1333053583","1333053588","1333053570","1333053564","1333053558","1333053578"],"photo_ids_order":["1333053558","1333053564","1333053570","1333053578","1333053583","1333053588"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4906fb51a40dae6adbe4661cf89f6e18.jpg","text":"TemporaryFile(/tmp/multipartBody2988358561290028556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256973698,"filename":"image_30012025_18_08_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/30/9a167484270243fa71e9c5acd7936c93.jpg","text":"TemporaryFile(/tmp/multipartBody3577189446383425182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256973698,"filename":"image_30012025_18_08_45_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7d9c99a7d1d000c979c7b4633ca07a2e.jpg","text":"TemporaryFile(/tmp/multipartBody7138592062890020598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256973698,"filename":"image_30012025_18_08_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/30/65d65644003a17b747dfcf141dbddafb.jpg","text":"TemporaryFile(/tmp/multipartBody5201861446435724498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256973698,"filename":"image_30012025_18_08_04_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/30/8e60b5fcd52ddeda5bf01dd55292e28c.jpg","text":"TemporaryFile(/tmp/multipartBody5284180060906702646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256973698,"filename":"image_30012025_18_07_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/30/7d4d262503b2e617f2a670db703d7844.jpg","text":"TemporaryFile(/tmp/multipartBody6831639213365329431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738256973698,"filename":"image_30012025_18_08_25_10474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333053570","file1":"1333053564","file0":"1333053558","file4":"1333053583","file5":"1333053588","file3":"1333053578"},"map_files_photo_id_array":[{"photo_id":"1333053588","filename":"file5"},{"photo_id":"1333053570","filename":"file2"},{"photo_id":"1333053583","filename":"file4"},{"photo_id":"1333053564","filename":"file1"},{"photo_id":"1333053558","filename":"file0"},{"photo_id":"1333053578","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333053583":["hashtag1","hashtag2"]},{"1333053588":["hashtag1","hashtag2"]},{"1333053570":["hashtag1","hashtag2"]},{"1333053564":["hashtag1","hashtag2"]},{"1333053558":["hashtag1","hashtag2"]},{"1333053578":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333053583, 1333053588, 1333053570, 1333053564, 1333053558, 1333053578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63747811317444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:09:32.949815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/08/image_30012025_18_08_54_9362.jpg', '/home/pi/Desktop/images/30012025/18/08/image_30012025_18_09_05_10365.jpg', '/home/pi/Desktop/images/30012025/18/09/image_30012025_18_09_15_10502.jpg', '/home/pi/Desktop/images/30012025/18/09/image_30012025_18_09_24_9350.jpg', '/home/pi/Desktop/images/30012025/18/09/image_30012025_18_09_35_10348.jpg', '/home/pi/Desktop/images/30012025/18/09/image_30012025_18_09_44_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/08/image_30012025_18_08_54_9362.jpg
/home/pi/Desktop/images/30012025/18/08/image_30012025_18_09_05_10365.jpg
/home/pi/Desktop/images/30012025/18/09/image_30012025_18_09_15_10502.jpg
/home/pi/Desktop/images/30012025/18/09/image_30012025_18_09_24_9350.jpg
/home/pi/Desktop/images/30012025/18/09/image_30012025_18_09_35_10348.jpg
/home/pi/Desktop/images/30012025/18/09/image_30012025_18_09_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":["1333053646","1333053622","1333053642","1333053630","1333053614","1333053638"],"photo_ids_order":["1333053614","1333053622","1333053630","1333053638","1333053642","1333053646"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0ffc871bd0c0cbbc2527e509caa6f302.jpg","text":"TemporaryFile(/tmp/multipartBody62952101030089876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257033854,"filename":"image_30012025_18_09_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/30/c0e635ee26c5a957d56e71a4fa59dc39.jpg","text":"TemporaryFile(/tmp/multipartBody8664389412906612233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257033854,"filename":"image_30012025_18_09_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/30/5ddc0752656dee0ba9889ce9d27d7d6a.jpg","text":"TemporaryFile(/tmp/multipartBody7654498377169659928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257033854,"filename":"image_30012025_18_09_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/30/4f81c97d01662fcd606429cb231bb8d7.jpg","text":"TemporaryFile(/tmp/multipartBody6871921449075461437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257033854,"filename":"image_30012025_18_09_15_10502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/78be057ee74b1e79ff58475764c6f309.jpg","text":"TemporaryFile(/tmp/multipartBody4401542031891797571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257033854,"filename":"image_30012025_18_08_54_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fb050366b7400d7047f896b6931dcb19.jpg","text":"TemporaryFile(/tmp/multipartBody479057431124207838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257033854,"filename":"image_30012025_18_09_24_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333053630","file1":"1333053622","file0":"1333053614","file4":"1333053642","file5":"1333053646","file3":"1333053638"},"map_files_photo_id_array":[{"photo_id":"1333053646","filename":"file5"},{"photo_id":"1333053630","filename":"file2"},{"photo_id":"1333053642","filename":"file4"},{"photo_id":"1333053622","filename":"file1"},{"photo_id":"1333053614","filename":"file0"},{"photo_id":"1333053638","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333053646":["hashtag1","hashtag2"]},{"1333053622":["hashtag1","hashtag2"]},{"1333053642":["hashtag1","hashtag2"]},{"1333053630":["hashtag1","hashtag2"]},{"1333053614":["hashtag1","hashtag2"]},{"1333053638":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333053646, 1333053622, 1333053642, 1333053630, 1333053614, 1333053638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.81112718582153 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:10:33.153308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/09/image_30012025_18_09_54_10353.jpg', '/home/pi/Desktop/images/30012025/18/09/image_30012025_18_10_05_10372.jpg', '/home/pi/Desktop/images/30012025/18/10/image_30012025_18_10_14_9414.jpg', '/home/pi/Desktop/images/30012025/18/10/image_30012025_18_10_25_10360.jpg', '/home/pi/Desktop/images/30012025/18/10/image_30012025_18_10_35_10378.jpg', '/home/pi/Desktop/images/30012025/18/10/image_30012025_18_10_44_9374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/09/image_30012025_18_09_54_10353.jpg
/home/pi/Desktop/images/30012025/18/09/image_30012025_18_10_05_10372.jpg
/home/pi/Desktop/images/30012025/18/10/image_30012025_18_10_14_9414.jpg
/home/pi/Desktop/images/30012025/18/10/image_30012025_18_10_25_10360.jpg
/home/pi/Desktop/images/30012025/18/10/image_30012025_18_10_35_10378.jpg
/home/pi/Desktop/images/30012025/18/10/image_30012025_18_10_44_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.5169589519500732 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 18:10:43.136057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/09/image_30012025_18_09_54_10353.jpg', '/home/pi/Desktop/images/30012025/18/09/image_30012025_18_10_05_10372.jpg', '/home/pi/Desktop/images/30012025/18/10/image_30012025_18_10_14_9414.jpg', '/home/pi/Desktop/images/30012025/18/10/image_30012025_18_10_25_10360.jpg', '/home/pi/Desktop/images/30012025/18/10/image_30012025_18_10_35_10378.jpg', '/home/pi/Desktop/images/30012025/18/10/image_30012025_18_10_44_9374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/09/image_30012025_18_09_54_10353.jpg
/home/pi/Desktop/images/30012025/18/09/image_30012025_18_10_05_10372.jpg
/home/pi/Desktop/images/30012025/18/10/image_30012025_18_10_14_9414.jpg
/home/pi/Desktop/images/30012025/18/10/image_30012025_18_10_25_10360.jpg
/home/pi/Desktop/images/30012025/18/10/image_30012025_18_10_35_10378.jpg
/home/pi/Desktop/images/30012025/18/10/image_30012025_18_10_44_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":["1333053693","1333053678","1333053750","1333053702","1333053758","1333053686"],"photo_ids_order":["1333053678","1333053686","1333053693","1333053702","1333053750","1333053758"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/27061f6365aceeb7e94632a7dff66c30.jpg","text":"TemporaryFile(/tmp/multipartBody3633705466842739538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257104061,"filename":"image_30012025_18_10_14_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dd15268dda735f3042bf1ba49ff57cd5.jpg","text":"TemporaryFile(/tmp/multipartBody6098791440682134036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257104061,"filename":"image_30012025_18_09_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/30/6275c88754241243fbf95b5137a8faf7.jpg","text":"TemporaryFile(/tmp/multipartBody4785464240383924573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257104061,"filename":"image_30012025_18_10_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/30/5cb16d19d1454968d9cf3d6900c6f7ea.jpg","text":"TemporaryFile(/tmp/multipartBody3545056546145147594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257104061,"filename":"image_30012025_18_10_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/30/368739d3ebca86cd6efab0bea15e5581.jpg","text":"TemporaryFile(/tmp/multipartBody2406389499821943143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257104061,"filename":"image_30012025_18_10_44_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/30/de004638c482707cf3fd0fc2aac7b925.jpg","text":"TemporaryFile(/tmp/multipartBody6937181208374136898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257104061,"filename":"image_30012025_18_10_05_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333053693","file1":"1333053686","file0":"1333053678","file4":"1333053750","file5":"1333053758","file3":"1333053702"},"map_files_photo_id_array":[{"photo_id":"1333053758","filename":"file5"},{"photo_id":"1333053693","filename":"file2"},{"photo_id":"1333053750","filename":"file4"},{"photo_id":"1333053686","filename":"file1"},{"photo_id":"1333053678","filename":"file0"},{"photo_id":"1333053702","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333053693":["hashtag1","hashtag2"]},{"1333053678":["hashtag1","hashtag2"]},{"1333053750":["hashtag1","hashtag2"]},{"1333053702":["hashtag1","hashtag2"]},{"1333053758":["hashtag1","hashtag2"]},{"1333053686":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333053693, 1333053678, 1333053750, 1333053702, 1333053758, 1333053686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04511260986328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:11:32.258397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/10/image_30012025_18_10_55_10352.jpg', '/home/pi/Desktop/images/30012025/18/10/image_30012025_18_11_04_9412.jpg', '/home/pi/Desktop/images/30012025/18/11/image_30012025_18_11_15_10442.jpg', '/home/pi/Desktop/images/30012025/18/11/image_30012025_18_11_25_10418.jpg', '/home/pi/Desktop/images/30012025/18/11/image_30012025_18_11_34_9440.jpg', '/home/pi/Desktop/images/30012025/18/11/image_30012025_18_11_45_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/10/image_30012025_18_10_55_10352.jpg
/home/pi/Desktop/images/30012025/18/10/image_30012025_18_11_04_9412.jpg
/home/pi/Desktop/images/30012025/18/11/image_30012025_18_11_15_10442.jpg
/home/pi/Desktop/images/30012025/18/11/image_30012025_18_11_25_10418.jpg
/home/pi/Desktop/images/30012025/18/11/image_30012025_18_11_34_9440.jpg
/home/pi/Desktop/images/30012025/18/11/image_30012025_18_11_45_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":["1333053850","1333053847","1333053826","1333053843","1333053837","1333053818"],"photo_ids_order":["1333053818","1333053826","1333053837","1333053843","1333053847","1333053850"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/472b5ce232a0388e0927c92f16429b9b.jpg","text":"TemporaryFile(/tmp/multipartBody2063213606308154443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257153172,"filename":"image_30012025_18_11_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/30/1f04f57f332b4d2febad743813e3e4ee.jpg","text":"TemporaryFile(/tmp/multipartBody3328891498137028431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257153172,"filename":"image_30012025_18_11_34_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8fd13c2305d7be4e371b21f253b4dc17.jpg","text":"TemporaryFile(/tmp/multipartBody8339405429691110103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257153172,"filename":"image_30012025_18_11_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/30/966ecfd25a7df9e4f4e196ae54a19cd1.jpg","text":"TemporaryFile(/tmp/multipartBody3970492431690020719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257153172,"filename":"image_30012025_18_11_25_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/30/f03684f51576856fd21ca66755bcf620.jpg","text":"TemporaryFile(/tmp/multipartBody5220911228786152687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257153172,"filename":"image_30012025_18_11_15_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/30/6472b5238721b72ee90301bdb9e145a3.jpg","text":"TemporaryFile(/tmp/multipartBody7861293030115066759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257153172,"filename":"image_30012025_18_10_55_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333053837","file1":"1333053826","file0":"1333053818","file4":"1333053847","file5":"1333053850","file3":"1333053843"},"map_files_photo_id_array":[{"photo_id":"1333053850","filename":"file5"},{"photo_id":"1333053837","filename":"file2"},{"photo_id":"1333053847","filename":"file4"},{"photo_id":"1333053826","filename":"file1"},{"photo_id":"1333053818","filename":"file0"},{"photo_id":"1333053843","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333053850":["hashtag1","hashtag2"]},{"1333053847":["hashtag1","hashtag2"]},{"1333053826":["hashtag1","hashtag2"]},{"1333053843":["hashtag1","hashtag2"]},{"1333053837":["hashtag1","hashtag2"]},{"1333053818":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333053850, 1333053847, 1333053826, 1333053843, 1333053837, 1333053818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.27678322792053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:12:32.547867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/11/image_30012025_18_11_54_9439.jpg', '/home/pi/Desktop/images/30012025/18/11/image_30012025_18_12_05_10357.jpg', '/home/pi/Desktop/images/30012025/18/12/image_30012025_18_12_45_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/11/image_30012025_18_11_54_9439.jpg
/home/pi/Desktop/images/30012025/18/11/image_30012025_18_12_05_10357.jpg
/home/pi/Desktop/images/30012025/18/12/image_30012025_18_12_45_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":["1333053869","1333053878","1333053872"],"photo_ids_order":["1333053869","1333053872","1333053878"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/86160b17994ee5de98ad0ddf7b37d656.jpg","text":"TemporaryFile(/tmp/multipartBody7770288789882051477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257213415,"filename":"image_30012025_18_11_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/30/983fd3a2b29ec5b5790c5ac717215402.jpg","text":"TemporaryFile(/tmp/multipartBody4983098700751739239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257213415,"filename":"image_30012025_18_12_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/30/f2a042748689b8ecd119022e9e4b3c0c.jpg","text":"TemporaryFile(/tmp/multipartBody2750527271476247214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257213415,"filename":"image_30012025_18_12_05_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333053878","file1":"1333053872","file0":"1333053869"},"map_files_photo_id_array":[{"photo_id":"1333053878","filename":"file2"},{"photo_id":"1333053872","filename":"file1"},{"photo_id":"1333053869","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333053869":["hashtag1","hashtag2"]},{"1333053878":["hashtag1","hashtag2"]},{"1333053872":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333053869, 1333053878, 1333053872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.11875009536743 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 18:13:04.429599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/23/image_28012025_21_23_55_10505.jpg', '/home/pi/Desktop/images/28012025/21/23/image_28012025_21_24_05_9348.jpg', '/home/pi/Desktop/images/28012025/21/24/image_28012025_21_24_15_10332.jpg', '/home/pi/Desktop/images/28012025/21/24/image_28012025_21_24_25_10362.jpg', '/home/pi/Desktop/images/28012025/21/24/image_28012025_21_24_35_9339.jpg', '/home/pi/Desktop/images/28012025/21/24/image_28012025_21_24_45_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/23/image_28012025_21_23_55_10505.jpg
/home/pi/Desktop/images/28012025/21/23/image_28012025_21_24_05_9348.jpg
/home/pi/Desktop/images/28012025/21/24/image_28012025_21_24_15_10332.jpg
/home/pi/Desktop/images/28012025/21/24/image_28012025_21_24_25_10362.jpg
/home/pi/Desktop/images/28012025/21/24/image_28012025_21_24_35_9339.jpg
/home/pi/Desktop/images/28012025/21/24/image_28012025_21_24_45_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":["1333054000","1333053901","1333054008","1333053954","1333053965","1333053944"],"photo_ids_order":["1333053901","1333053944","1333053954","1333053965","1333054000","1333054008"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/74e36a346fbda33a4dcc895c2d25e69f.jpg","text":"TemporaryFile(/tmp/multipartBody1684893224807152762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257246286,"filename":"image_28012025_21_24_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/30/fbeba4db7e9ee99b1bcc35ee56c32042.jpg","text":"TemporaryFile(/tmp/multipartBody8246733630457141564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257246286,"filename":"image_28012025_21_23_55_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/30/c2ed5bf9fbae1ebbec30d8b5208f6ffa.jpg","text":"TemporaryFile(/tmp/multipartBody4590136934780556237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257246286,"filename":"image_28012025_21_24_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/30/1ee08a2d3ce98519c00a5234ecf93ef4.jpg","text":"TemporaryFile(/tmp/multipartBody2028840131898413816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257246286,"filename":"image_28012025_21_24_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/30/34fb9dc5704f9b1204fb4cadc96e3d5d.jpg","text":"TemporaryFile(/tmp/multipartBody4029515406083271589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257246286,"filename":"image_28012025_21_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/30/d0e2813595c474b1f6e2a4ad16621042.jpg","text":"TemporaryFile(/tmp/multipartBody5067142106389353552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257246286,"filename":"image_28012025_21_24_05_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333053954","file1":"1333053944","file0":"1333053901","file4":"1333054000","file5":"1333054008","file3":"1333053965"},"map_files_photo_id_array":[{"photo_id":"1333054008","filename":"file5"},{"photo_id":"1333053954","filename":"file2"},{"photo_id":"1333054000","filename":"file4"},{"photo_id":"1333053944","filename":"file1"},{"photo_id":"1333053901","filename":"file0"},{"photo_id":"1333053965","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333054000":["hashtag1","hashtag2"]},{"1333053901":["hashtag1","hashtag2"]},{"1333054008":["hashtag1","hashtag2"]},{"1333053954":["hashtag1","hashtag2"]},{"1333053965":["hashtag1","hashtag2"]},{"1333053944":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333054000, 1333053901, 1333054008, 1333053954, 1333053965, 1333053944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.13534188270569 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 18:14:03.715651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/12/image_30012025_18_12_54_9353.jpg', '/home/pi/Desktop/images/30012025/18/12/image_30012025_18_13_05_10349.jpg', '/home/pi/Desktop/images/30012025/18/13/image_30012025_18_13_14_9437.jpg', '/home/pi/Desktop/images/30012025/18/13/image_30012025_18_13_25_10349.jpg', '/home/pi/Desktop/images/30012025/18/13/image_30012025_18_13_34_9544.jpg', '/home/pi/Desktop/images/30012025/18/13/image_30012025_18_13_44_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/12/image_30012025_18_12_54_9353.jpg
/home/pi/Desktop/images/30012025/18/12/image_30012025_18_13_05_10349.jpg
/home/pi/Desktop/images/30012025/18/13/image_30012025_18_13_14_9437.jpg
/home/pi/Desktop/images/30012025/18/13/image_30012025_18_13_25_10349.jpg
/home/pi/Desktop/images/30012025/18/13/image_30012025_18_13_34_9544.jpg
/home/pi/Desktop/images/30012025/18/13/image_30012025_18_13_44_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":["1333054162","1333054105","1333054108","1333054122","1333054112","1333054115"],"photo_ids_order":["1333054105","1333054108","1333054112","1333054115","1333054122","1333054162"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6bc32b61522aac02fc0ad42033b9f9f9.jpg","text":"TemporaryFile(/tmp/multipartBody1330230507055367969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257304653,"filename":"image_30012025_18_13_44_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/30/964b9ba1c83bd415db25f806fc94a1d0.jpg","text":"TemporaryFile(/tmp/multipartBody4105133211369046976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257304653,"filename":"image_30012025_18_12_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/30/e27aca129bc247e23d0239a8f9b9b5ea.jpg","text":"TemporaryFile(/tmp/multipartBody1886638758951826319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257304653,"filename":"image_30012025_18_13_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/29288b9b9e0b7991c55f3160fa6f4fe3.jpg","text":"TemporaryFile(/tmp/multipartBody4154497193388197264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257304653,"filename":"image_30012025_18_13_34_9544.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cd93eecb576a8dbf715a484f6f9ac1f0.jpg","text":"TemporaryFile(/tmp/multipartBody7426349546514537159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257304653,"filename":"image_30012025_18_13_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/30/214dc71235987d348df383b3aabfbec3.jpg","text":"TemporaryFile(/tmp/multipartBody1428323208234531864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257304653,"filename":"image_30012025_18_13_25_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333054112","file1":"1333054108","file0":"1333054105","file4":"1333054122","file5":"1333054162","file3":"1333054115"},"map_files_photo_id_array":[{"photo_id":"1333054162","filename":"file5"},{"photo_id":"1333054112","filename":"file2"},{"photo_id":"1333054122","filename":"file4"},{"photo_id":"1333054108","filename":"file1"},{"photo_id":"1333054105","filename":"file0"},{"photo_id":"1333054115","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333054162":["hashtag1","hashtag2"]},{"1333054105":["hashtag1","hashtag2"]},{"1333054108":["hashtag1","hashtag2"]},{"1333054122":["hashtag1","hashtag2"]},{"1333054112":["hashtag1","hashtag2"]},{"1333054115":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333054162, 1333054105, 1333054108, 1333054122, 1333054112, 1333054115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26278853416443 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:14:52.936579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/13/image_30012025_18_13_55_10360.jpg', '/home/pi/Desktop/images/30012025/18/13/image_30012025_18_14_04_9425.jpg', '/home/pi/Desktop/images/30012025/18/14/image_30012025_18_14_15_10403.jpg', '/home/pi/Desktop/images/30012025/18/14/image_30012025_18_14_25_10347.jpg', '/home/pi/Desktop/images/30012025/18/14/image_30012025_18_14_34_9360.jpg', '/home/pi/Desktop/images/30012025/18/14/image_30012025_18_14_45_10375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/13/image_30012025_18_13_55_10360.jpg
/home/pi/Desktop/images/30012025/18/13/image_30012025_18_14_04_9425.jpg
/home/pi/Desktop/images/30012025/18/14/image_30012025_18_14_15_10403.jpg
/home/pi/Desktop/images/30012025/18/14/image_30012025_18_14_25_10347.jpg
/home/pi/Desktop/images/30012025/18/14/image_30012025_18_14_34_9360.jpg
/home/pi/Desktop/images/30012025/18/14/image_30012025_18_14_45_10375.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333054201","1333054191","1333054182","1333054196","1333054205","1333054186"],"photo_ids_order":["1333054182","1333054186","1333054191","1333054196","1333054201","1333054205"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1ec5edf3ae1e2a5c9d9a6aefd3a12035.jpg","text":"TemporaryFile(/tmp/multipartBody2346950575421418411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257353887,"filename":"image_30012025_18_14_34_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/30/a44195626e2b668de00900b319fd831a.jpg","text":"TemporaryFile(/tmp/multipartBody409426928256626613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257353887,"filename":"image_30012025_18_14_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/30/d2cb3d93e42015e2e0fb92e8af0467c7.jpg","text":"TemporaryFile(/tmp/multipartBody5300891952914851333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257353887,"filename":"image_30012025_18_13_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/30/bbc9d5e3efa8136343e1288253de85ec.jpg","text":"TemporaryFile(/tmp/multipartBody8726217336912329655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257353887,"filename":"image_30012025_18_14_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/30/e400b505728b58061b54883a90641907.jpg","text":"TemporaryFile(/tmp/multipartBody6561494059017020680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257353887,"filename":"image_30012025_18_14_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/30/cfbc664f4e27e3a12e55f4183eeb4d60.jpg","text":"TemporaryFile(/tmp/multipartBody1964272147019267901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257353887,"filename":"image_30012025_18_14_04_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333054191","file1":"1333054186","file0":"1333054182","file4":"1333054201","file5":"1333054205","file3":"1333054196"},"map_files_photo_id_array":[{"photo_id":"1333054205","filename":"file5"},{"photo_id":"1333054191","filename":"file2"},{"photo_id":"1333054201","filename":"file4"},{"photo_id":"1333054186","filename":"file1"},{"photo_id":"1333054182","filename":"file0"},{"photo_id":"1333054196","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333054201":["hashtag1","hashtag2"]},{"1333054191":["hashtag1","hashtag2"]},{"1333054182":["hashtag1","hashtag2"]},{"1333054196":["hashtag1","hashtag2"]},{"1333054205":["hashtag1","hashtag2"]},{"1333054186":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333054201, 1333054191, 1333054182, 1333054196, 1333054205, 1333054186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21906113624573 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-30 18:15:42.162597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/14/image_30012025_18_14_54_9442.jpg', '/home/pi/Desktop/images/30012025/18/14/image_30012025_18_15_05_10353.jpg', '/home/pi/Desktop/images/30012025/18/15/image_30012025_18_15_15_10402.jpg', '/home/pi/Desktop/images/30012025/18/15/image_30012025_18_15_24_9359.jpg', '/home/pi/Desktop/images/30012025/18/15/image_30012025_18_15_35_10363.jpg', '/home/pi/Desktop/images/30012025/18/15/image_30012025_18_15_44_9464.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/14/image_30012025_18_14_54_9442.jpg
/home/pi/Desktop/images/30012025/18/14/image_30012025_18_15_05_10353.jpg
/home/pi/Desktop/images/30012025/18/15/image_30012025_18_15_15_10402.jpg
/home/pi/Desktop/images/30012025/18/15/image_30012025_18_15_24_9359.jpg
/home/pi/Desktop/images/30012025/18/15/image_30012025_18_15_35_10363.jpg
/home/pi/Desktop/images/30012025/18/15/image_30012025_18_15_44_9464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333054240","1333054237","1333054225","1333054233","1333054229","1333054244"],"photo_ids_order":["1333054225","1333054229","1333054233","1333054237","1333054240","1333054244"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/581fcf6a2f9a07e0272a4c4c9ebdec76.jpg","text":"TemporaryFile(/tmp/multipartBody1136575599731770521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257403075,"filename":"image_30012025_18_15_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/30/21ff02d2c4b56850bf19aa67a5ba02a9.jpg","text":"TemporaryFile(/tmp/multipartBody5134281406840561817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257403075,"filename":"image_30012025_18_15_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/30/c760944be7ebd4b91724b62f11670baa.jpg","text":"TemporaryFile(/tmp/multipartBody5591504765833039572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257403075,"filename":"image_30012025_18_14_54_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/30/a2c203d8e362d11d8cb9f2c86f2993ef.jpg","text":"TemporaryFile(/tmp/multipartBody8966160667505405619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257403075,"filename":"image_30012025_18_15_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/30/735c3e0bc27232214c23bd94e0ecf942.jpg","text":"TemporaryFile(/tmp/multipartBody5667939545135563265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257403075,"filename":"image_30012025_18_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/30/2fe32ebe66c98a7fe688350e26cf1cea.jpg","text":"TemporaryFile(/tmp/multipartBody3941768313468191008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257403075,"filename":"image_30012025_18_15_44_9464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333054233","file1":"1333054229","file0":"1333054225","file4":"1333054240","file5":"1333054244","file3":"1333054237"},"map_files_photo_id_array":[{"photo_id":"1333054244","filename":"file5"},{"photo_id":"1333054233","filename":"file2"},{"photo_id":"1333054240","filename":"file4"},{"photo_id":"1333054229","filename":"file1"},{"photo_id":"1333054225","filename":"file0"},{"photo_id":"1333054237","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333054240":["hashtag1","hashtag2"]},{"1333054237":["hashtag1","hashtag2"]},{"1333054225":["hashtag1","hashtag2"]},{"1333054233":["hashtag1","hashtag2"]},{"1333054229":["hashtag1","hashtag2"]},{"1333054244":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333054240, 1333054237, 1333054225, 1333054233, 1333054229, 1333054244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45204305648804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:16:32.396343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/15/image_30012025_18_15_54_10340.jpg', '/home/pi/Desktop/images/30012025/18/15/image_30012025_18_16_05_10344.jpg', '/home/pi/Desktop/images/30012025/18/16/image_30012025_18_16_14_9444.jpg', '/home/pi/Desktop/images/30012025/18/16/image_30012025_18_16_25_10356.jpg', '/home/pi/Desktop/images/30012025/18/16/image_30012025_18_16_35_10376.jpg', '/home/pi/Desktop/images/30012025/18/16/image_30012025_18_16_44_9419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/15/image_30012025_18_15_54_10340.jpg
/home/pi/Desktop/images/30012025/18/15/image_30012025_18_16_05_10344.jpg
/home/pi/Desktop/images/30012025/18/16/image_30012025_18_16_14_9444.jpg
/home/pi/Desktop/images/30012025/18/16/image_30012025_18_16_25_10356.jpg
/home/pi/Desktop/images/30012025/18/16/image_30012025_18_16_35_10376.jpg
/home/pi/Desktop/images/30012025/18/16/image_30012025_18_16_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":["1333054263","1333054295","1333054268","1333054291","1333054285","1333054279"],"photo_ids_order":["1333054263","1333054268","1333054279","1333054285","1333054291","1333054295"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a9853b3461a4e35eae1378a08abcc6c5.jpg","text":"TemporaryFile(/tmp/multipartBody816710656626770746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257453304,"filename":"image_30012025_18_15_54_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/30/18afb077d44f0c2d15e72f4a14e35e12.jpg","text":"TemporaryFile(/tmp/multipartBody7953899397466703114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257453304,"filename":"image_30012025_18_16_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/30/ed0a0b7a3607eba9074a59cdb870c105.jpg","text":"TemporaryFile(/tmp/multipartBody6758738206524420728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257453304,"filename":"image_30012025_18_16_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/30/aedba64f4c3a2ac018073f3d4c43cb10.jpg","text":"TemporaryFile(/tmp/multipartBody9214189047221055193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257453304,"filename":"image_30012025_18_16_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/30/5ea06d02951cc7e865ad5d7752209e7c.jpg","text":"TemporaryFile(/tmp/multipartBody2357017578472748054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257453304,"filename":"image_30012025_18_16_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/30/4f5ec03aa6c66732517c9c440e537086.jpg","text":"TemporaryFile(/tmp/multipartBody8874877328464817396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257453304,"filename":"image_30012025_18_16_14_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333054279","file1":"1333054268","file0":"1333054263","file4":"1333054291","file5":"1333054295","file3":"1333054285"},"map_files_photo_id_array":[{"photo_id":"1333054295","filename":"file5"},{"photo_id":"1333054279","filename":"file2"},{"photo_id":"1333054291","filename":"file4"},{"photo_id":"1333054268","filename":"file1"},{"photo_id":"1333054263","filename":"file0"},{"photo_id":"1333054285","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333054263":["hashtag1","hashtag2"]},{"1333054295":["hashtag1","hashtag2"]},{"1333054268":["hashtag1","hashtag2"]},{"1333054291":["hashtag1","hashtag2"]},{"1333054285":["hashtag1","hashtag2"]},{"1333054279":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333054263, 1333054295, 1333054268, 1333054291, 1333054285, 1333054279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.4671847820282 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:17:32.725974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/16/image_30012025_18_16_55_10364.jpg', '/home/pi/Desktop/images/30012025/18/16/image_30012025_18_17_04_9336.jpg', '/home/pi/Desktop/images/30012025/18/17/image_30012025_18_17_14_10329.jpg', '/home/pi/Desktop/images/30012025/18/17/image_30012025_18_17_25_10345.jpg', '/home/pi/Desktop/images/30012025/18/17/image_30012025_18_17_34_9374.jpg', '/home/pi/Desktop/images/30012025/18/17/image_30012025_18_17_44_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/16/image_30012025_18_16_55_10364.jpg
/home/pi/Desktop/images/30012025/18/16/image_30012025_18_17_04_9336.jpg
/home/pi/Desktop/images/30012025/18/17/image_30012025_18_17_14_10329.jpg
/home/pi/Desktop/images/30012025/18/17/image_30012025_18_17_25_10345.jpg
/home/pi/Desktop/images/30012025/18/17/image_30012025_18_17_34_9374.jpg
/home/pi/Desktop/images/30012025/18/17/image_30012025_18_17_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":["1333054354","1333054327","1333054336","1333054321","1333054315","1333054365"],"photo_ids_order":["1333054315","1333054321","1333054327","1333054336","1333054354","1333054365"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a379dc3ad7b1e8b8399d9820e88e5c2d.jpg","text":"TemporaryFile(/tmp/multipartBody4107322675846335480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257513621,"filename":"image_30012025_18_17_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/30/c9ce0ed3528060dbbd9292098f9a583d.jpg","text":"TemporaryFile(/tmp/multipartBody3541430026941250021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257513621,"filename":"image_30012025_18_17_14_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/30/eba727389336318a75ac4748ef2b9ddd.jpg","text":"TemporaryFile(/tmp/multipartBody544878689714831594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257513621,"filename":"image_30012025_18_17_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/30/2ddccbb136693764ec3a45acee9200b2.jpg","text":"TemporaryFile(/tmp/multipartBody4407300410556316355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257513621,"filename":"image_30012025_18_17_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/30/7da40c5322e5fd0759cf6261a895f998.jpg","text":"TemporaryFile(/tmp/multipartBody3686077663303262182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257513621,"filename":"image_30012025_18_16_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/30/1db7eb9c632a02234f923031d39e719b.jpg","text":"TemporaryFile(/tmp/multipartBody2591979914418383656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257513621,"filename":"image_30012025_18_17_44_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333054327","file1":"1333054321","file0":"1333054315","file4":"1333054354","file5":"1333054365","file3":"1333054336"},"map_files_photo_id_array":[{"photo_id":"1333054365","filename":"file5"},{"photo_id":"1333054327","filename":"file2"},{"photo_id":"1333054354","filename":"file4"},{"photo_id":"1333054321","filename":"file1"},{"photo_id":"1333054315","filename":"file0"},{"photo_id":"1333054336","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333054354":["hashtag1","hashtag2"]},{"1333054327":["hashtag1","hashtag2"]},{"1333054336":["hashtag1","hashtag2"]},{"1333054321":["hashtag1","hashtag2"]},{"1333054315":["hashtag1","hashtag2"]},{"1333054365":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333054354, 1333054327, 1333054336, 1333054321, 1333054315, 1333054365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.589133501052856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:18:32.849105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/17/image_30012025_18_17_55_10408.jpg', '/home/pi/Desktop/images/30012025/18/17/image_30012025_18_18_04_9428.jpg', '/home/pi/Desktop/images/30012025/18/18/image_30012025_18_18_15_10348.jpg', '/home/pi/Desktop/images/30012025/18/18/image_30012025_18_18_25_10375.jpg', '/home/pi/Desktop/images/30012025/18/18/image_30012025_18_18_34_9462.jpg', '/home/pi/Desktop/images/30012025/18/18/image_30012025_18_18_45_10409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/17/image_30012025_18_17_55_10408.jpg
/home/pi/Desktop/images/30012025/18/17/image_30012025_18_18_04_9428.jpg
/home/pi/Desktop/images/30012025/18/18/image_30012025_18_18_15_10348.jpg
/home/pi/Desktop/images/30012025/18/18/image_30012025_18_18_25_10375.jpg
/home/pi/Desktop/images/30012025/18/18/image_30012025_18_18_34_9462.jpg
/home/pi/Desktop/images/30012025/18/18/image_30012025_18_18_45_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":["1333054419","1333054407","1333054397","1333054403","1333054390","1333054384"],"photo_ids_order":["1333054384","1333054390","1333054397","1333054403","1333054407","1333054419"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3c43e40145f4ec69ecaffd7273a8b34d.jpg","text":"TemporaryFile(/tmp/multipartBody3631072720440335671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257573772,"filename":"image_30012025_18_18_45_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7ec4aeb81a5bdd71f5ba3ffdc99a024c.jpg","text":"TemporaryFile(/tmp/multipartBody5069990749084557204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257573772,"filename":"image_30012025_18_18_34_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/30/13162f4bd5e8effa3eec31cb19c5650c.jpg","text":"TemporaryFile(/tmp/multipartBody8926651678138506275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257573772,"filename":"image_30012025_18_18_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/30/4eda1845402098b215b28ad542177d50.jpg","text":"TemporaryFile(/tmp/multipartBody4218100443045664623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257573772,"filename":"image_30012025_18_18_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ad02f1bdea503f8dd550b1326fdd6466.jpg","text":"TemporaryFile(/tmp/multipartBody5633366177146959063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257573772,"filename":"image_30012025_18_18_04_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b7cab70228179589f8004a829c5639d4.jpg","text":"TemporaryFile(/tmp/multipartBody678448958080314629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257573772,"filename":"image_30012025_18_17_55_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333054397","file1":"1333054390","file0":"1333054384","file4":"1333054407","file5":"1333054419","file3":"1333054403"},"map_files_photo_id_array":[{"photo_id":"1333054419","filename":"file5"},{"photo_id":"1333054397","filename":"file2"},{"photo_id":"1333054407","filename":"file4"},{"photo_id":"1333054390","filename":"file1"},{"photo_id":"1333054384","filename":"file0"},{"photo_id":"1333054403","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333054419":["hashtag1","hashtag2"]},{"1333054407":["hashtag1","hashtag2"]},{"1333054397":["hashtag1","hashtag2"]},{"1333054403":["hashtag1","hashtag2"]},{"1333054390":["hashtag1","hashtag2"]},{"1333054384":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333054419, 1333054407, 1333054397, 1333054403, 1333054390, 1333054384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.26159119606018 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:19:33.075133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/18/image_30012025_18_18_54_9350.jpg', '/home/pi/Desktop/images/30012025/18/19/image_30012025_18_19_15_10346.jpg', '/home/pi/Desktop/images/30012025/18/19/image_30012025_18_19_24_9352.jpg', '/home/pi/Desktop/images/30012025/18/19/image_30012025_18_19_45_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/18/image_30012025_18_18_54_9350.jpg
/home/pi/Desktop/images/30012025/18/19/image_30012025_18_19_15_10346.jpg
/home/pi/Desktop/images/30012025/18/19/image_30012025_18_19_24_9352.jpg
/home/pi/Desktop/images/30012025/18/19/image_30012025_18_19_45_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":["1333054695","1333054557","1333054463","1333054448"],"photo_ids_order":["1333054448","1333054463","1333054557","1333054695"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b8858a14b0e8bd88877270271ac7f541.jpg","text":"TemporaryFile(/tmp/multipartBody2004785448556767877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257633947,"filename":"image_30012025_18_19_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/30/4b80a58802a14cd239cd396c4a4530c1.jpg","text":"TemporaryFile(/tmp/multipartBody7229243895131287600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257633947,"filename":"image_30012025_18_19_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/30/87154c0e5f7531c915011a2db6197dd4.jpg","text":"TemporaryFile(/tmp/multipartBody6764200305949245138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257633947,"filename":"image_30012025_18_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/30/dd6d64ab0d870429a169ef85f3c5b090.jpg","text":"TemporaryFile(/tmp/multipartBody5948372448441989784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257633947,"filename":"image_30012025_18_18_54_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333054557","file1":"1333054463","file0":"1333054448","file3":"1333054695"},"map_files_photo_id_array":[{"photo_id":"1333054557","filename":"file2"},{"photo_id":"1333054463","filename":"file1"},{"photo_id":"1333054448","filename":"file0"},{"photo_id":"1333054695","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333054695":["hashtag1","hashtag2"]},{"1333054557":["hashtag1","hashtag2"]},{"1333054463":["hashtag1","hashtag2"]},{"1333054448":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333054695, 1333054557, 1333054463, 1333054448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.961942195892334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:20:32.287024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/24/image_28012025_21_24_55_10365.jpg', '/home/pi/Desktop/images/28012025/21/24/image_28012025_21_25_05_9433.jpg', '/home/pi/Desktop/images/28012025/21/25/image_28012025_21_25_15_10481.jpg', '/home/pi/Desktop/images/28012025/21/25/image_28012025_21_25_25_9356.jpg', '/home/pi/Desktop/images/28012025/21/25/image_28012025_21_25_35_10344.jpg', '/home/pi/Desktop/images/28012025/21/25/image_28012025_21_25_45_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/21/24/image_28012025_21_24_55_10365.jpg
/home/pi/Desktop/images/28012025/21/24/image_28012025_21_25_05_9433.jpg
/home/pi/Desktop/images/28012025/21/25/image_28012025_21_25_15_10481.jpg
/home/pi/Desktop/images/28012025/21/25/image_28012025_21_25_25_9356.jpg
/home/pi/Desktop/images/28012025/21/25/image_28012025_21_25_35_10344.jpg
/home/pi/Desktop/images/28012025/21/25/image_28012025_21_25_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":["1333055678","1333055665","1333055572","1333055674","1333055509","1333055503"],"photo_ids_order":["1333055503","1333055509","1333055572","1333055665","1333055674","1333055678"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7ed6b6c6564642e27175b071b9be51bf.jpg","text":"TemporaryFile(/tmp/multipartBody4263843909833237276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257698183,"filename":"image_28012025_21_25_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/30/5624b8953f81120835e7028ecbfa0902.jpg","text":"TemporaryFile(/tmp/multipartBody6413041119987035092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257698183,"filename":"image_28012025_21_25_25_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0fade58d7b46383fbd9880a77db21725.jpg","text":"TemporaryFile(/tmp/multipartBody7833917256508113220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257698183,"filename":"image_28012025_21_25_15_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/30/cb6d99936aa11071453f2473f6a9458c.jpg","text":"TemporaryFile(/tmp/multipartBody8626306889584331480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257698183,"filename":"image_28012025_21_25_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/30/75e79a64f65a68e13ce37b2a19a27f6c.jpg","text":"TemporaryFile(/tmp/multipartBody537013622296246613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257698183,"filename":"image_28012025_21_25_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/30/c70fe0003f5f50e823892d61d9ffd16b.jpg","text":"TemporaryFile(/tmp/multipartBody2477504146214823885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257698183,"filename":"image_28012025_21_24_55_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333055572","file1":"1333055509","file0":"1333055503","file4":"1333055674","file5":"1333055678","file3":"1333055665"},"map_files_photo_id_array":[{"photo_id":"1333055678","filename":"file5"},{"photo_id":"1333055572","filename":"file2"},{"photo_id":"1333055674","filename":"file4"},{"photo_id":"1333055509","filename":"file1"},{"photo_id":"1333055503","filename":"file0"},{"photo_id":"1333055665","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333055678":["hashtag1","hashtag2"]},{"1333055665":["hashtag1","hashtag2"]},{"1333055572":["hashtag1","hashtag2"]},{"1333055674":["hashtag1","hashtag2"]},{"1333055509":["hashtag1","hashtag2"]},{"1333055503":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333055678, 1333055665, 1333055572, 1333055674, 1333055509, 1333055503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.55088543891907 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:21:32.659912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/19/image_30012025_18_19_54_9353.jpg', '/home/pi/Desktop/images/30012025/18/19/image_30012025_18_20_05_10435.jpg', '/home/pi/Desktop/images/30012025/18/20/image_30012025_18_20_14_9425.jpg', '/home/pi/Desktop/images/30012025/18/20/image_30012025_18_20_25_10379.jpg', '/home/pi/Desktop/images/30012025/18/20/image_30012025_18_20_34_9440.jpg', '/home/pi/Desktop/images/30012025/18/20/image_30012025_18_20_45_10477.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/19/image_30012025_18_19_54_9353.jpg
/home/pi/Desktop/images/30012025/18/19/image_30012025_18_20_05_10435.jpg
/home/pi/Desktop/images/30012025/18/20/image_30012025_18_20_14_9425.jpg
/home/pi/Desktop/images/30012025/18/20/image_30012025_18_20_25_10379.jpg
/home/pi/Desktop/images/30012025/18/20/image_30012025_18_20_34_9440.jpg
/home/pi/Desktop/images/30012025/18/20/image_30012025_18_20_45_10477.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333055874","1333055856","1333055958","1333055832","1333055861","1333055866"],"photo_ids_order":["1333055832","1333055856","1333055861","1333055866","1333055874","1333055958"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b7f4d49e4ec63d2e718cd7e863ed50b2.jpg","text":"TemporaryFile(/tmp/multipartBody8951553512665865220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257753581,"filename":"image_30012025_18_20_34_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b1216e064d9a6cd71d46ee08b3705c41.jpg","text":"TemporaryFile(/tmp/multipartBody8885303635710984206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257753581,"filename":"image_30012025_18_20_05_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f04cef06720751425b04552c1fb90d8d.jpg","text":"TemporaryFile(/tmp/multipartBody6983576357352234970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257753581,"filename":"image_30012025_18_20_45_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/30/e22d24c88cbf07d7d72de2be54e3fdb8.jpg","text":"TemporaryFile(/tmp/multipartBody4021079963807951735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257753581,"filename":"image_30012025_18_19_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/30/2b80f8c49f0545b0ea8f2ee332eff720.jpg","text":"TemporaryFile(/tmp/multipartBody7589554838933294753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257753581,"filename":"image_30012025_18_20_14_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/30/a1cea9223b03c39f8c15db5e2db764c2.jpg","text":"TemporaryFile(/tmp/multipartBody2903049651667869552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257753581,"filename":"image_30012025_18_20_25_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333055861","file1":"1333055856","file0":"1333055832","file4":"1333055874","file5":"1333055958","file3":"1333055866"},"map_files_photo_id_array":[{"photo_id":"1333055958","filename":"file5"},{"photo_id":"1333055861","filename":"file2"},{"photo_id":"1333055874","filename":"file4"},{"photo_id":"1333055856","filename":"file1"},{"photo_id":"1333055832","filename":"file0"},{"photo_id":"1333055866","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333055874":["hashtag1","hashtag2"]},{"1333055856":["hashtag1","hashtag2"]},{"1333055958":["hashtag1","hashtag2"]},{"1333055832":["hashtag1","hashtag2"]},{"1333055861":["hashtag1","hashtag2"]},{"1333055866":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333055874, 1333055856, 1333055958, 1333055832, 1333055861, 1333055866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.313095569610596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:22:32.714470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/20/image_30012025_18_20_55_10424.jpg', '/home/pi/Desktop/images/30012025/18/20/image_30012025_18_21_04_9343.jpg', '/home/pi/Desktop/images/30012025/18/21/image_30012025_18_21_15_10351.jpg', '/home/pi/Desktop/images/30012025/18/21/image_30012025_18_21_24_9421.jpg', '/home/pi/Desktop/images/30012025/18/21/image_30012025_18_21_34_10406.jpg', '/home/pi/Desktop/images/30012025/18/21/image_30012025_18_21_44_9956.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/20/image_30012025_18_20_55_10424.jpg
/home/pi/Desktop/images/30012025/18/20/image_30012025_18_21_04_9343.jpg
/home/pi/Desktop/images/30012025/18/21/image_30012025_18_21_15_10351.jpg
/home/pi/Desktop/images/30012025/18/21/image_30012025_18_21_24_9421.jpg
/home/pi/Desktop/images/30012025/18/21/image_30012025_18_21_34_10406.jpg
/home/pi/Desktop/images/30012025/18/21/image_30012025_18_21_44_9956.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333056059","1333056040","1333056058","1333056052","1333056046","1333056034"],"photo_ids_order":["1333056034","1333056040","1333056046","1333056052","1333056058","1333056059"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0ebbe4cb9dfb246b2a4a031204fa35ff.jpg","text":"TemporaryFile(/tmp/multipartBody8432438142939124419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257813641,"filename":"image_30012025_18_21_44_9956.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8abb5d66d297a7914dc94d12a96e3811.jpg","text":"TemporaryFile(/tmp/multipartBody3048171725536223401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257813641,"filename":"image_30012025_18_21_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/30/7a54d9797972195191216614da8c075f.jpg","text":"TemporaryFile(/tmp/multipartBody6785210906909393395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257813641,"filename":"image_30012025_18_21_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/30/6312f6918092c7ef24f1686a8a0e84a6.jpg","text":"TemporaryFile(/tmp/multipartBody8185861343628869396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257813641,"filename":"image_30012025_18_21_24_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/83a7a6189d6cdf24c95f0a1686b1e1fb.jpg","text":"TemporaryFile(/tmp/multipartBody641879201454398925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257813641,"filename":"image_30012025_18_21_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/30/64d7bc3660a4438c721c96949885f2d5.jpg","text":"TemporaryFile(/tmp/multipartBody1211362369751083124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257813641,"filename":"image_30012025_18_20_55_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333056046","file1":"1333056040","file0":"1333056034","file4":"1333056058","file5":"1333056059","file3":"1333056052"},"map_files_photo_id_array":[{"photo_id":"1333056059","filename":"file5"},{"photo_id":"1333056046","filename":"file2"},{"photo_id":"1333056058","filename":"file4"},{"photo_id":"1333056040","filename":"file1"},{"photo_id":"1333056034","filename":"file0"},{"photo_id":"1333056052","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333056059":["hashtag1","hashtag2"]},{"1333056040":["hashtag1","hashtag2"]},{"1333056058":["hashtag1","hashtag2"]},{"1333056052":["hashtag1","hashtag2"]},{"1333056046":["hashtag1","hashtag2"]},{"1333056034":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333056059, 1333056040, 1333056058, 1333056052, 1333056046, 1333056034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33988547325134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:23:32.894645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/21/image_30012025_18_21_55_10367.jpg', '/home/pi/Desktop/images/30012025/18/21/image_30012025_18_22_04_9350.jpg', '/home/pi/Desktop/images/30012025/18/22/image_30012025_18_22_15_10382.jpg', '/home/pi/Desktop/images/30012025/18/22/image_30012025_18_22_25_10475.jpg', '/home/pi/Desktop/images/30012025/18/22/image_30012025_18_22_34_9425.jpg', '/home/pi/Desktop/images/30012025/18/22/image_30012025_18_22_45_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/21/image_30012025_18_21_55_10367.jpg
/home/pi/Desktop/images/30012025/18/21/image_30012025_18_22_04_9350.jpg
/home/pi/Desktop/images/30012025/18/22/image_30012025_18_22_15_10382.jpg
/home/pi/Desktop/images/30012025/18/22/image_30012025_18_22_25_10475.jpg
/home/pi/Desktop/images/30012025/18/22/image_30012025_18_22_34_9425.jpg
/home/pi/Desktop/images/30012025/18/22/image_30012025_18_22_45_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":["1333056095","1333056089","1333056119","1333056113","1333056085","1333056099"],"photo_ids_order":["1333056085","1333056089","1333056095","1333056099","1333056113","1333056119"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9c69f8aa5449fda60bc1dc7fafcfd5fb.jpg","text":"TemporaryFile(/tmp/multipartBody1137039390273498935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257873824,"filename":"image_30012025_18_22_15_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/30/2b4299b08bdacd735d5e23c1365c162a.jpg","text":"TemporaryFile(/tmp/multipartBody7990336974826306235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257873824,"filename":"image_30012025_18_22_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/30/6e25bed6fc000823391f15769c7723e9.jpg","text":"TemporaryFile(/tmp/multipartBody5028896776278635362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257873824,"filename":"image_30012025_18_22_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/30/1bc352a0f28a8fe5615a0808d496ef09.jpg","text":"TemporaryFile(/tmp/multipartBody1425104725430032549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257873824,"filename":"image_30012025_18_22_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/30/91dc82183ba4ec22e86e725d845381f1.jpg","text":"TemporaryFile(/tmp/multipartBody6624315623891492684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257873824,"filename":"image_30012025_18_21_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/30/64b49c06ad6e08a4578e97a229e2e1fa.jpg","text":"TemporaryFile(/tmp/multipartBody3264473109616425049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257873824,"filename":"image_30012025_18_22_25_10475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333056095","file1":"1333056089","file0":"1333056085","file4":"1333056113","file5":"1333056119","file3":"1333056099"},"map_files_photo_id_array":[{"photo_id":"1333056119","filename":"file5"},{"photo_id":"1333056095","filename":"file2"},{"photo_id":"1333056113","filename":"file4"},{"photo_id":"1333056089","filename":"file1"},{"photo_id":"1333056085","filename":"file0"},{"photo_id":"1333056099","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333056095":["hashtag1","hashtag2"]},{"1333056089":["hashtag1","hashtag2"]},{"1333056119":["hashtag1","hashtag2"]},{"1333056113":["hashtag1","hashtag2"]},{"1333056085":["hashtag1","hashtag2"]},{"1333056099":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333056095, 1333056089, 1333056119, 1333056113, 1333056085, 1333056099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.128154277801514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:24:33.061815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/22/image_30012025_18_22_54_9396.jpg', '/home/pi/Desktop/images/30012025/18/22/image_30012025_18_23_05_10337.jpg', '/home/pi/Desktop/images/30012025/18/23/image_30012025_18_23_14_9548.jpg', '/home/pi/Desktop/images/30012025/18/23/image_30012025_18_23_24_10346.jpg', '/home/pi/Desktop/images/30012025/18/23/image_30012025_18_23_35_10358.jpg', '/home/pi/Desktop/images/30012025/18/23/image_30012025_18_23_44_9447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/22/image_30012025_18_22_54_9396.jpg
/home/pi/Desktop/images/30012025/18/22/image_30012025_18_23_05_10337.jpg
/home/pi/Desktop/images/30012025/18/23/image_30012025_18_23_14_9548.jpg
/home/pi/Desktop/images/30012025/18/23/image_30012025_18_23_24_10346.jpg
/home/pi/Desktop/images/30012025/18/23/image_30012025_18_23_35_10358.jpg
/home/pi/Desktop/images/30012025/18/23/image_30012025_18_23_44_9447.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5252246856689453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 18:24:43.147750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/22/image_30012025_18_22_54_9396.jpg', '/home/pi/Desktop/images/30012025/18/22/image_30012025_18_23_05_10337.jpg', '/home/pi/Desktop/images/30012025/18/23/image_30012025_18_23_14_9548.jpg', '/home/pi/Desktop/images/30012025/18/23/image_30012025_18_23_24_10346.jpg', '/home/pi/Desktop/images/30012025/18/23/image_30012025_18_23_35_10358.jpg', '/home/pi/Desktop/images/30012025/18/23/image_30012025_18_23_44_9447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/22/image_30012025_18_22_54_9396.jpg
/home/pi/Desktop/images/30012025/18/22/image_30012025_18_23_05_10337.jpg
/home/pi/Desktop/images/30012025/18/23/image_30012025_18_23_14_9548.jpg
/home/pi/Desktop/images/30012025/18/23/image_30012025_18_23_24_10346.jpg
/home/pi/Desktop/images/30012025/18/23/image_30012025_18_23_35_10358.jpg
/home/pi/Desktop/images/30012025/18/23/image_30012025_18_23_44_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":["1333056196","1333056178","1333056169","1333056162","1333056186","1333056174"],"photo_ids_order":["1333056162","1333056169","1333056174","1333056178","1333056186","1333056196"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d3bf7081287d2d7c734ea113c42a3f73.jpg","text":"TemporaryFile(/tmp/multipartBody844426052755535826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257944050,"filename":"image_30012025_18_23_44_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6a27cdd8467d1bbac97d1da40449d84f.jpg","text":"TemporaryFile(/tmp/multipartBody9050791987765314337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257944050,"filename":"image_30012025_18_23_24_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b1787cc87ae1edb494f2268a2c2430df.jpg","text":"TemporaryFile(/tmp/multipartBody1806605007441301733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257944050,"filename":"image_30012025_18_23_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/30/74b359f7a9cf4626610fcdd739045f5f.jpg","text":"TemporaryFile(/tmp/multipartBody8829356150882621318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257944050,"filename":"image_30012025_18_22_54_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/30/02ecd421429a903cf4c4841896184740.jpg","text":"TemporaryFile(/tmp/multipartBody6441834692077641540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257944050,"filename":"image_30012025_18_23_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/30/6c0b2a370f70bc66a687609d717e5f82.jpg","text":"TemporaryFile(/tmp/multipartBody5751140822697159107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257944050,"filename":"image_30012025_18_23_14_9548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333056174","file1":"1333056169","file0":"1333056162","file4":"1333056186","file5":"1333056196","file3":"1333056178"},"map_files_photo_id_array":[{"photo_id":"1333056196","filename":"file5"},{"photo_id":"1333056174","filename":"file2"},{"photo_id":"1333056186","filename":"file4"},{"photo_id":"1333056169","filename":"file1"},{"photo_id":"1333056162","filename":"file0"},{"photo_id":"1333056178","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333056196":["hashtag1","hashtag2"]},{"1333056178":["hashtag1","hashtag2"]},{"1333056169":["hashtag1","hashtag2"]},{"1333056162":["hashtag1","hashtag2"]},{"1333056186":["hashtag1","hashtag2"]},{"1333056174":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333056196, 1333056178, 1333056169, 1333056162, 1333056186, 1333056174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.113576889038086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:25:32.216510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/23/image_30012025_18_23_55_10342.jpg', '/home/pi/Desktop/images/30012025/18/23/image_30012025_18_24_05_10434.jpg', '/home/pi/Desktop/images/30012025/18/24/image_30012025_18_24_14_9340.jpg', '/home/pi/Desktop/images/30012025/18/24/image_30012025_18_24_25_10344.jpg', '/home/pi/Desktop/images/30012025/18/24/image_30012025_18_24_34_9442.jpg', '/home/pi/Desktop/images/30012025/18/24/image_30012025_18_24_44_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/23/image_30012025_18_23_55_10342.jpg
/home/pi/Desktop/images/30012025/18/23/image_30012025_18_24_05_10434.jpg
/home/pi/Desktop/images/30012025/18/24/image_30012025_18_24_14_9340.jpg
/home/pi/Desktop/images/30012025/18/24/image_30012025_18_24_25_10344.jpg
/home/pi/Desktop/images/30012025/18/24/image_30012025_18_24_34_9442.jpg
/home/pi/Desktop/images/30012025/18/24/image_30012025_18_24_44_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":["1333056249","1333056228","1333056239","1333056233","1333056244","1333056223"],"photo_ids_order":["1333056223","1333056228","1333056233","1333056239","1333056244","1333056249"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a8961752bccbb82f90c0f8639ebcd645.jpg","text":"TemporaryFile(/tmp/multipartBody506778704076467654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257993148,"filename":"image_30012025_18_24_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/30/d426608db6023aced3a6acba1f3ffc53.jpg","text":"TemporaryFile(/tmp/multipartBody3078091421022264570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257993148,"filename":"image_30012025_18_24_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/30/cc5131b1517276772895929970feeba6.jpg","text":"TemporaryFile(/tmp/multipartBody5225746782050223043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257993148,"filename":"image_30012025_18_24_25_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c9196f256a3eba0dea3343ffa7bb3fc2.jpg","text":"TemporaryFile(/tmp/multipartBody8023451410519863332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257993148,"filename":"image_30012025_18_24_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/30/48712e005fe93a83757d48b9c4120430.jpg","text":"TemporaryFile(/tmp/multipartBody6750554394943201812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257993148,"filename":"image_30012025_18_24_34_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/30/e83a69ef120adcc1937184e4f0abc392.jpg","text":"TemporaryFile(/tmp/multipartBody6691219271926934706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738257993148,"filename":"image_30012025_18_23_55_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333056233","file1":"1333056228","file0":"1333056223","file4":"1333056244","file5":"1333056249","file3":"1333056239"},"map_files_photo_id_array":[{"photo_id":"1333056249","filename":"file5"},{"photo_id":"1333056233","filename":"file2"},{"photo_id":"1333056244","filename":"file4"},{"photo_id":"1333056228","filename":"file1"},{"photo_id":"1333056223","filename":"file0"},{"photo_id":"1333056239","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333056249":["hashtag1","hashtag2"]},{"1333056228":["hashtag1","hashtag2"]},{"1333056239":["hashtag1","hashtag2"]},{"1333056233":["hashtag1","hashtag2"]},{"1333056244":["hashtag1","hashtag2"]},{"1333056223":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333056249, 1333056228, 1333056239, 1333056233, 1333056244, 1333056223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.472357511520386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:26:32.481944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/24/image_30012025_18_24_55_10474.jpg', '/home/pi/Desktop/images/30012025/18/24/image_30012025_18_25_04_9332.jpg', '/home/pi/Desktop/images/30012025/18/25/image_30012025_18_25_15_10464.jpg', '/home/pi/Desktop/images/30012025/18/25/image_30012025_18_25_24_9490.jpg', '/home/pi/Desktop/images/30012025/18/25/image_30012025_18_25_35_10348.jpg', '/home/pi/Desktop/images/30012025/18/25/image_30012025_18_25_44_9440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/24/image_30012025_18_24_55_10474.jpg
/home/pi/Desktop/images/30012025/18/24/image_30012025_18_25_04_9332.jpg
/home/pi/Desktop/images/30012025/18/25/image_30012025_18_25_15_10464.jpg
/home/pi/Desktop/images/30012025/18/25/image_30012025_18_25_24_9490.jpg
/home/pi/Desktop/images/30012025/18/25/image_30012025_18_25_35_10348.jpg
/home/pi/Desktop/images/30012025/18/25/image_30012025_18_25_44_9440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333056293","1333056295","1333056288","1333056282","1333056276","1333056270"],"photo_ids_order":["1333056270","1333056276","1333056282","1333056288","1333056293","1333056295"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/44b40ab1bc82594f250666225b181b12.jpg","text":"TemporaryFile(/tmp/multipartBody7640673862590278694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258053386,"filename":"image_30012025_18_25_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/30/9c67c48a0486432615c2d1296598c1bc.jpg","text":"TemporaryFile(/tmp/multipartBody7235424744665915222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258053386,"filename":"image_30012025_18_25_44_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/30/d9161d4e2d484b5f2f5383e898bf9eb0.jpg","text":"TemporaryFile(/tmp/multipartBody2740576198191465878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258053386,"filename":"image_30012025_18_25_24_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/30/73aae5d224f2669e053d81b52f864ec5.jpg","text":"TemporaryFile(/tmp/multipartBody2520771934637340319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258053386,"filename":"image_30012025_18_25_15_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d5dcc859796af5030c3b385b3d21a93f.jpg","text":"TemporaryFile(/tmp/multipartBody926830219058795397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258053386,"filename":"image_30012025_18_25_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/30/85032717810cfa0c3221ea115fb1672f.jpg","text":"TemporaryFile(/tmp/multipartBody4151918452752772924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258053386,"filename":"image_30012025_18_24_55_10474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333056282","file1":"1333056276","file0":"1333056270","file4":"1333056293","file5":"1333056295","file3":"1333056288"},"map_files_photo_id_array":[{"photo_id":"1333056295","filename":"file5"},{"photo_id":"1333056282","filename":"file2"},{"photo_id":"1333056293","filename":"file4"},{"photo_id":"1333056276","filename":"file1"},{"photo_id":"1333056270","filename":"file0"},{"photo_id":"1333056288","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333056293":["hashtag1","hashtag2"]},{"1333056295":["hashtag1","hashtag2"]},{"1333056288":["hashtag1","hashtag2"]},{"1333056282":["hashtag1","hashtag2"]},{"1333056276":["hashtag1","hashtag2"]},{"1333056270":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333056293, 1333056295, 1333056288, 1333056282, 1333056276, 1333056270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5374550819397 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:27:32.728758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/25/image_30012025_18_25_54_10360.jpg', '/home/pi/Desktop/images/30012025/18/25/image_30012025_18_26_05_10356.jpg', '/home/pi/Desktop/images/30012025/18/26/image_30012025_18_26_34_9470.jpg', '/home/pi/Desktop/images/30012025/18/26/image_30012025_18_26_44_10341.jpg', '/home/pi/Desktop/images/30012025/18/26/image_30012025_18_26_55_10374.jpg', '/home/pi/Desktop/images/30012025/18/26/image_30012025_18_27_04_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/25/image_30012025_18_25_54_10360.jpg
/home/pi/Desktop/images/30012025/18/25/image_30012025_18_26_05_10356.jpg
/home/pi/Desktop/images/30012025/18/26/image_30012025_18_26_34_9470.jpg
/home/pi/Desktop/images/30012025/18/26/image_30012025_18_26_44_10341.jpg
/home/pi/Desktop/images/30012025/18/26/image_30012025_18_26_55_10374.jpg
/home/pi/Desktop/images/30012025/18/26/image_30012025_18_27_04_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":["1333056348","1333056341","1333056335","1333056329","1333056323","1333056370"],"photo_ids_order":["1333056323","1333056329","1333056335","1333056341","1333056348","1333056370"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f26d71b5c6d4cd680c98ffa62ead4dfe.jpg","text":"TemporaryFile(/tmp/multipartBody3795385455870748536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258113635,"filename":"image_30012025_18_26_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/30/0c61f19f7ddd359bd08cceffcdf1e2c9.jpg","text":"TemporaryFile(/tmp/multipartBody7411407832324974891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258113635,"filename":"image_30012025_18_26_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/30/3a66d9b080bdd5c563a4a176e90ea358.jpg","text":"TemporaryFile(/tmp/multipartBody6912038472361437639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258113635,"filename":"image_30012025_18_26_34_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/30/c62175544ae5ad5f6f6d9bbed7c1e4c0.jpg","text":"TemporaryFile(/tmp/multipartBody427761653562412010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258113635,"filename":"image_30012025_18_26_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/30/b4a7ac654151ecd7adce67292fe9e672.jpg","text":"TemporaryFile(/tmp/multipartBody2238396939617185542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258113635,"filename":"image_30012025_18_25_54_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1343a482dd99f9047bd77400ed9271e6.jpg","text":"TemporaryFile(/tmp/multipartBody9195482161600150813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258113635,"filename":"image_30012025_18_27_04_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333056335","file1":"1333056329","file0":"1333056323","file4":"1333056348","file5":"1333056370","file3":"1333056341"},"map_files_photo_id_array":[{"photo_id":"1333056370","filename":"file5"},{"photo_id":"1333056335","filename":"file2"},{"photo_id":"1333056348","filename":"file4"},{"photo_id":"1333056329","filename":"file1"},{"photo_id":"1333056323","filename":"file0"},{"photo_id":"1333056341","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333056348":["hashtag1","hashtag2"]},{"1333056341":["hashtag1","hashtag2"]},{"1333056335":["hashtag1","hashtag2"]},{"1333056329":["hashtag1","hashtag2"]},{"1333056323":["hashtag1","hashtag2"]},{"1333056370":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333056348, 1333056341, 1333056335, 1333056329, 1333056323, 1333056370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.65255069732666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:28:32.972574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/27/image_30012025_18_27_14_10352.jpg', '/home/pi/Desktop/images/30012025/18/27/image_30012025_18_27_25_10412.jpg', '/home/pi/Desktop/images/30012025/18/27/image_30012025_18_27_34_9339.jpg', '/home/pi/Desktop/images/30012025/18/27/image_30012025_18_27_45_10343.jpg', '/home/pi/Desktop/images/30012025/18/27/image_30012025_18_27_55_10445.jpg', '/home/pi/Desktop/images/30012025/18/27/image_30012025_18_28_04_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/27/image_30012025_18_27_14_10352.jpg
/home/pi/Desktop/images/30012025/18/27/image_30012025_18_27_25_10412.jpg
/home/pi/Desktop/images/30012025/18/27/image_30012025_18_27_34_9339.jpg
/home/pi/Desktop/images/30012025/18/27/image_30012025_18_27_45_10343.jpg
/home/pi/Desktop/images/30012025/18/27/image_30012025_18_27_55_10445.jpg
/home/pi/Desktop/images/30012025/18/27/image_30012025_18_28_04_9342.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.52066969871521 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 18:28:43.129943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/27/image_30012025_18_27_14_10352.jpg', '/home/pi/Desktop/images/30012025/18/27/image_30012025_18_27_25_10412.jpg', '/home/pi/Desktop/images/30012025/18/27/image_30012025_18_27_34_9339.jpg', '/home/pi/Desktop/images/30012025/18/27/image_30012025_18_27_45_10343.jpg', '/home/pi/Desktop/images/30012025/18/27/image_30012025_18_27_55_10445.jpg', '/home/pi/Desktop/images/30012025/18/27/image_30012025_18_28_04_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/27/image_30012025_18_27_14_10352.jpg
/home/pi/Desktop/images/30012025/18/27/image_30012025_18_27_25_10412.jpg
/home/pi/Desktop/images/30012025/18/27/image_30012025_18_27_34_9339.jpg
/home/pi/Desktop/images/30012025/18/27/image_30012025_18_27_45_10343.jpg
/home/pi/Desktop/images/30012025/18/27/image_30012025_18_27_55_10445.jpg
/home/pi/Desktop/images/30012025/18/27/image_30012025_18_28_04_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333056723","1333056467","1333056583","1333056472","1333056460","1333056477"],"photo_ids_order":["1333056460","1333056467","1333056472","1333056477","1333056583","1333056723"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/19fa61bc093a1563f332a5944bf35ac3.jpg","text":"TemporaryFile(/tmp/multipartBody4494671463055989559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258184048,"filename":"image_30012025_18_28_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/30/3b707bf80e91d4f6fca72375ceeea127.jpg","text":"TemporaryFile(/tmp/multipartBody4171428048301331058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258184048,"filename":"image_30012025_18_27_25_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/30/9fde05befeb249df9195d576af6e18ce.jpg","text":"TemporaryFile(/tmp/multipartBody3400971293487727968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258184048,"filename":"image_30012025_18_27_55_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/30/be2badfe2b88fb612a8b369a764ef190.jpg","text":"TemporaryFile(/tmp/multipartBody8223509676264393600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258184048,"filename":"image_30012025_18_27_34_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a14410038f66920b9de32aaf9309c66d.jpg","text":"TemporaryFile(/tmp/multipartBody131477492726513955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258184048,"filename":"image_30012025_18_27_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/30/c86cae2673faaf05eb3c2ff332cd4441.jpg","text":"TemporaryFile(/tmp/multipartBody2052789303873175214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258184048,"filename":"image_30012025_18_27_45_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333056472","file1":"1333056467","file0":"1333056460","file4":"1333056583","file5":"1333056723","file3":"1333056477"},"map_files_photo_id_array":[{"photo_id":"1333056723","filename":"file5"},{"photo_id":"1333056472","filename":"file2"},{"photo_id":"1333056583","filename":"file4"},{"photo_id":"1333056467","filename":"file1"},{"photo_id":"1333056460","filename":"file0"},{"photo_id":"1333056477","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333056723":["hashtag1","hashtag2"]},{"1333056467":["hashtag1","hashtag2"]},{"1333056583":["hashtag1","hashtag2"]},{"1333056472":["hashtag1","hashtag2"]},{"1333056460":["hashtag1","hashtag2"]},{"1333056477":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333056723, 1333056467, 1333056583, 1333056472, 1333056460, 1333056477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.82241725921631 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:29:32.203675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/28/image_30012025_18_28_15_10353.jpg', '/home/pi/Desktop/images/30012025/18/28/image_30012025_18_28_24_9340.jpg', '/home/pi/Desktop/images/30012025/18/28/image_30012025_18_28_34_10429.jpg', '/home/pi/Desktop/images/30012025/18/28/image_30012025_18_28_45_10523.jpg', '/home/pi/Desktop/images/30012025/18/28/image_30012025_18_28_54_9359.jpg', '/home/pi/Desktop/images/30012025/18/28/image_30012025_18_29_05_10436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/28/image_30012025_18_28_15_10353.jpg
/home/pi/Desktop/images/30012025/18/28/image_30012025_18_28_24_9340.jpg
/home/pi/Desktop/images/30012025/18/28/image_30012025_18_28_34_10429.jpg
/home/pi/Desktop/images/30012025/18/28/image_30012025_18_28_45_10523.jpg
/home/pi/Desktop/images/30012025/18/28/image_30012025_18_28_54_9359.jpg
/home/pi/Desktop/images/30012025/18/28/image_30012025_18_29_05_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333057514","1333057756","1333057336","1333057138","1333057242","1333057694"],"photo_ids_order":["1333057138","1333057242","1333057336","1333057514","1333057694","1333057756"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/10cf875a333be1461c1c7e24cc79042f.jpg","text":"TemporaryFile(/tmp/multipartBody6971879580125999291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258233113,"filename":"image_30012025_18_28_45_10523.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e6c5d1172bbdcc21b844a3c634730552.jpg","text":"TemporaryFile(/tmp/multipartBody4687728652854477538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258233113,"filename":"image_30012025_18_29_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/30/bd04018c8525509c848005e191797de8.jpg","text":"TemporaryFile(/tmp/multipartBody6707929512274059007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258233113,"filename":"image_30012025_18_28_34_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1fd51afec219d48873ee42d8850f499d.jpg","text":"TemporaryFile(/tmp/multipartBody10389432945151303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258233113,"filename":"image_30012025_18_28_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/30/9730807f3a52ad427e3dde0bafc440d5.jpg","text":"TemporaryFile(/tmp/multipartBody7073952172367911526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258233113,"filename":"image_30012025_18_28_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/30/cbc322940e58a3cb83ef0bc669021146.jpg","text":"TemporaryFile(/tmp/multipartBody4667906836470197252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258233113,"filename":"image_30012025_18_28_54_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333057336","file1":"1333057242","file0":"1333057138","file4":"1333057694","file5":"1333057756","file3":"1333057514"},"map_files_photo_id_array":[{"photo_id":"1333057756","filename":"file5"},{"photo_id":"1333057336","filename":"file2"},{"photo_id":"1333057694","filename":"file4"},{"photo_id":"1333057242","filename":"file1"},{"photo_id":"1333057138","filename":"file0"},{"photo_id":"1333057514","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333057514":["hashtag1","hashtag2"]},{"1333057756":["hashtag1","hashtag2"]},{"1333057336":["hashtag1","hashtag2"]},{"1333057138":["hashtag1","hashtag2"]},{"1333057242":["hashtag1","hashtag2"]},{"1333057694":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333057514, 1333057756, 1333057336, 1333057138, 1333057242, 1333057694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.64699578285217 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:30:32.526050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/29/image_30012025_18_29_14_9339.jpg', '/home/pi/Desktop/images/30012025/18/29/image_30012025_18_29_24_10351.jpg', '/home/pi/Desktop/images/30012025/18/29/image_30012025_18_29_35_10470.jpg', '/home/pi/Desktop/images/30012025/18/29/image_30012025_18_29_44_9447.jpg', '/home/pi/Desktop/images/30012025/18/29/image_30012025_18_29_55_10514.jpg', '/home/pi/Desktop/images/30012025/18/29/image_30012025_18_30_04_9431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/29/image_30012025_18_29_14_9339.jpg
/home/pi/Desktop/images/30012025/18/29/image_30012025_18_29_24_10351.jpg
/home/pi/Desktop/images/30012025/18/29/image_30012025_18_29_35_10470.jpg
/home/pi/Desktop/images/30012025/18/29/image_30012025_18_29_44_9447.jpg
/home/pi/Desktop/images/30012025/18/29/image_30012025_18_29_55_10514.jpg
/home/pi/Desktop/images/30012025/18/29/image_30012025_18_30_04_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":["1333058293","1333058287","1333058542","1333058419","1333058283","1333058301"],"photo_ids_order":["1333058283","1333058287","1333058293","1333058301","1333058419","1333058542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3cd08cef5933020b399910ea4ce8ff6f.jpg","text":"TemporaryFile(/tmp/multipartBody7114725445934347078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258293450,"filename":"image_30012025_18_29_35_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/30/2b8593547591bc023582a7bd552ba33b.jpg","text":"TemporaryFile(/tmp/multipartBody5751139221944829323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258293450,"filename":"image_30012025_18_29_24_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/77f18433ce154c96cc6c7bdb8b8c3a32.jpg","text":"TemporaryFile(/tmp/multipartBody6218575368951508722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258293450,"filename":"image_30012025_18_30_04_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9bec1f709e77ee50fd3ea6dfc9785809.jpg","text":"TemporaryFile(/tmp/multipartBody2689982073946218117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258293450,"filename":"image_30012025_18_29_55_10514.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f8a23185824b2b50efad94352d395037.jpg","text":"TemporaryFile(/tmp/multipartBody2673126934869437685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258293450,"filename":"image_30012025_18_29_14_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/50b166070e30044f67eb4e58e7a8da63.jpg","text":"TemporaryFile(/tmp/multipartBody8016891748126731987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258293450,"filename":"image_30012025_18_29_44_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333058293","file1":"1333058287","file0":"1333058283","file4":"1333058419","file5":"1333058542","file3":"1333058301"},"map_files_photo_id_array":[{"photo_id":"1333058542","filename":"file5"},{"photo_id":"1333058293","filename":"file2"},{"photo_id":"1333058419","filename":"file4"},{"photo_id":"1333058287","filename":"file1"},{"photo_id":"1333058283","filename":"file0"},{"photo_id":"1333058301","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333058293":["hashtag1","hashtag2"]},{"1333058287":["hashtag1","hashtag2"]},{"1333058542":["hashtag1","hashtag2"]},{"1333058419":["hashtag1","hashtag2"]},{"1333058283":["hashtag1","hashtag2"]},{"1333058301":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333058293, 1333058287, 1333058542, 1333058419, 1333058283, 1333058301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.852747678756714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:31:32.865760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/30/image_30012025_18_30_15_10361.jpg', '/home/pi/Desktop/images/30012025/18/30/image_30012025_18_30_24_9349.jpg', '/home/pi/Desktop/images/30012025/18/30/image_30012025_18_30_34_10370.jpg', '/home/pi/Desktop/images/30012025/18/30/image_30012025_18_30_45_10426.jpg', '/home/pi/Desktop/images/30012025/18/30/image_30012025_18_31_05_10357.jpg', '/home/pi/Desktop/images/30012025/18/31/image_30012025_18_31_15_10463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/30/image_30012025_18_30_15_10361.jpg
/home/pi/Desktop/images/30012025/18/30/image_30012025_18_30_24_9349.jpg
/home/pi/Desktop/images/30012025/18/30/image_30012025_18_30_34_10370.jpg
/home/pi/Desktop/images/30012025/18/30/image_30012025_18_30_45_10426.jpg
/home/pi/Desktop/images/30012025/18/30/image_30012025_18_31_05_10357.jpg
/home/pi/Desktop/images/30012025/18/31/image_30012025_18_31_15_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":["1333058717","1333058815","1333058763","1333058757","1333058786","1333058768"],"photo_ids_order":["1333058717","1333058757","1333058763","1333058768","1333058786","1333058815"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ac71a36269d3ffa09630618abe6b01b9.jpg","text":"TemporaryFile(/tmp/multipartBody4123562354188880092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258353820,"filename":"image_30012025_18_30_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/30/37fbd4c5e0533f39e036cbe150a3a61c.jpg","text":"TemporaryFile(/tmp/multipartBody4189695544249945263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258353820,"filename":"image_30012025_18_31_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/30/938a8bd526d6833eddb9e52971c05ad8.jpg","text":"TemporaryFile(/tmp/multipartBody6848465413539668847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258353820,"filename":"image_30012025_18_30_34_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3c0774f33c5bb9c3c0249c1c6d314650.jpg","text":"TemporaryFile(/tmp/multipartBody1775748973366500494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258353820,"filename":"image_30012025_18_30_24_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d52705bf69870503795e381ff70acc57.jpg","text":"TemporaryFile(/tmp/multipartBody3936069593007983506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258353820,"filename":"image_30012025_18_31_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/30/566517def043622ef1d7b4ab12da5eb2.jpg","text":"TemporaryFile(/tmp/multipartBody7880673152602348140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258353820,"filename":"image_30012025_18_30_45_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333058763","file1":"1333058757","file0":"1333058717","file4":"1333058786","file5":"1333058815","file3":"1333058768"},"map_files_photo_id_array":[{"photo_id":"1333058815","filename":"file5"},{"photo_id":"1333058763","filename":"file2"},{"photo_id":"1333058786","filename":"file4"},{"photo_id":"1333058757","filename":"file1"},{"photo_id":"1333058717","filename":"file0"},{"photo_id":"1333058768","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333058717":["hashtag1","hashtag2"]},{"1333058815":["hashtag1","hashtag2"]},{"1333058763":["hashtag1","hashtag2"]},{"1333058757":["hashtag1","hashtag2"]},{"1333058786":["hashtag1","hashtag2"]},{"1333058768":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333058717, 1333058815, 1333058763, 1333058757, 1333058786, 1333058768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.61702346801758 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:32:32.909952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/31/image_30012025_18_31_24_9363.jpg', '/home/pi/Desktop/images/30012025/18/31/image_30012025_18_31_35_10359.jpg', '/home/pi/Desktop/images/30012025/18/31/image_30012025_18_32_05_10393.jpg', '/home/pi/Desktop/images/30012025/18/32/image_30012025_18_32_25_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/31/image_30012025_18_31_24_9363.jpg
/home/pi/Desktop/images/30012025/18/31/image_30012025_18_31_35_10359.jpg
/home/pi/Desktop/images/30012025/18/31/image_30012025_18_32_05_10393.jpg
/home/pi/Desktop/images/30012025/18/32/image_30012025_18_32_25_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.5436432361602783 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 18:32:43.081715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/31/image_30012025_18_31_24_9363.jpg', '/home/pi/Desktop/images/30012025/18/31/image_30012025_18_31_35_10359.jpg', '/home/pi/Desktop/images/30012025/18/31/image_30012025_18_32_05_10393.jpg', '/home/pi/Desktop/images/30012025/18/32/image_30012025_18_32_25_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/31/image_30012025_18_31_24_9363.jpg
/home/pi/Desktop/images/30012025/18/31/image_30012025_18_31_35_10359.jpg
/home/pi/Desktop/images/30012025/18/31/image_30012025_18_32_05_10393.jpg
/home/pi/Desktop/images/30012025/18/32/image_30012025_18_32_25_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":["1333059175","1333059170","1333059104","1333059014"],"photo_ids_order":["1333059014","1333059104","1333059170","1333059175"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/92e382108c3dde02bcfc81383d129285.jpg","text":"TemporaryFile(/tmp/multipartBody1241532636365081925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258423967,"filename":"image_30012025_18_32_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/30/e3dd3dbadd80375b64f1ba3f508ce2c0.jpg","text":"TemporaryFile(/tmp/multipartBody3302912072414577220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258423967,"filename":"image_30012025_18_32_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/30/bfb7bc0bd0f4efd6a4d7bb90d1fece5a.jpg","text":"TemporaryFile(/tmp/multipartBody2120614445263969677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258423967,"filename":"image_30012025_18_31_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/30/a3b1a003983bec803943ccf722c965d6.jpg","text":"TemporaryFile(/tmp/multipartBody5145755063184694521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258423967,"filename":"image_30012025_18_31_24_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333059170","file1":"1333059104","file0":"1333059014","file3":"1333059175"},"map_files_photo_id_array":[{"photo_id":"1333059170","filename":"file2"},{"photo_id":"1333059104","filename":"file1"},{"photo_id":"1333059014","filename":"file0"},{"photo_id":"1333059175","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333059175":["hashtag1","hashtag2"]},{"1333059170":["hashtag1","hashtag2"]},{"1333059104":["hashtag1","hashtag2"]},{"1333059014":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333059175, 1333059170, 1333059104, 1333059014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.844428062438965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:33:33.292508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/32/image_30012025_18_32_35_10350.jpg', '/home/pi/Desktop/images/30012025/18/32/image_30012025_18_33_04_9343.jpg', '/home/pi/Desktop/images/30012025/18/33/image_30012025_18_33_14_10360.jpg', '/home/pi/Desktop/images/30012025/18/33/image_30012025_18_33_25_10441.jpg', '/home/pi/Desktop/images/30012025/18/33/image_30012025_18_33_34_9343.jpg', '/home/pi/Desktop/images/30012025/18/33/image_30012025_18_33_45_10444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/32/image_30012025_18_32_35_10350.jpg
/home/pi/Desktop/images/30012025/18/32/image_30012025_18_33_04_9343.jpg
/home/pi/Desktop/images/30012025/18/33/image_30012025_18_33_14_10360.jpg
/home/pi/Desktop/images/30012025/18/33/image_30012025_18_33_25_10441.jpg
/home/pi/Desktop/images/30012025/18/33/image_30012025_18_33_34_9343.jpg
/home/pi/Desktop/images/30012025/18/33/image_30012025_18_33_45_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":["1333059271","1333059571","1333059479","1333059587","1333059278","1333059376"],"photo_ids_order":["1333059271","1333059278","1333059376","1333059479","1333059571","1333059587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b7c8e9577c28d17b4400b06c0df9abee.jpg","text":"TemporaryFile(/tmp/multipartBody7005300425699566847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258474207,"filename":"image_30012025_18_32_35_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3b2f1caf16d637eb8d3fff5c2c9a44b3.jpg","text":"TemporaryFile(/tmp/multipartBody5147872374328939553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258474207,"filename":"image_30012025_18_33_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/30/97941c8f1aa640d2304473f1e6dc2c9b.jpg","text":"TemporaryFile(/tmp/multipartBody8780766380066622960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258474207,"filename":"image_30012025_18_33_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/30/165300f00de41c8df69834c90c0bc27c.jpg","text":"TemporaryFile(/tmp/multipartBody3561277868861868685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258474207,"filename":"image_30012025_18_33_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/30/c5eebaf4232a916e224c62c429eb0eab.jpg","text":"TemporaryFile(/tmp/multipartBody1077150922439806870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258474207,"filename":"image_30012025_18_33_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/30/3caa97a0b4a13e92c5ae11b579878727.jpg","text":"TemporaryFile(/tmp/multipartBody4024050953762335804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258474207,"filename":"image_30012025_18_33_14_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333059376","file1":"1333059278","file0":"1333059271","file4":"1333059571","file5":"1333059587","file3":"1333059479"},"map_files_photo_id_array":[{"photo_id":"1333059587","filename":"file5"},{"photo_id":"1333059376","filename":"file2"},{"photo_id":"1333059571","filename":"file4"},{"photo_id":"1333059278","filename":"file1"},{"photo_id":"1333059271","filename":"file0"},{"photo_id":"1333059479","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333059271":["hashtag1","hashtag2"]},{"1333059571":["hashtag1","hashtag2"]},{"1333059479":["hashtag1","hashtag2"]},{"1333059587":["hashtag1","hashtag2"]},{"1333059278":["hashtag1","hashtag2"]},{"1333059376":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333059271, 1333059571, 1333059479, 1333059587, 1333059278, 1333059376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.612873792648315 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:34:32.323227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/33/image_30012025_18_33_54_9406.jpg', '/home/pi/Desktop/images/30012025/18/34/image_30012025_18_34_15_10420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/33/image_30012025_18_33_54_9406.jpg
/home/pi/Desktop/images/30012025/18/34/image_30012025_18_34_15_10420.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.45362138748168945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 18:34:42.429178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/33/image_30012025_18_33_54_9406.jpg', '/home/pi/Desktop/images/30012025/18/34/image_30012025_18_34_15_10420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/33/image_30012025_18_33_54_9406.jpg
/home/pi/Desktop/images/30012025/18/34/image_30012025_18_34_15_10420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333059793","1333059787"],"photo_ids_order":["1333059787","1333059793"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6a95b2bd1d02c316767b97406e91cc70.jpg","text":"TemporaryFile(/tmp/multipartBody7092485652807834274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258543286,"filename":"image_30012025_18_34_15_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/615556d52848989790f123321835dc8f.jpg","text":"TemporaryFile(/tmp/multipartBody3312687059030977823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258543286,"filename":"image_30012025_18_33_54_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1333059793","file0":"1333059787"},"map_files_photo_id_array":[{"photo_id":"1333059793","filename":"file1"},{"photo_id":"1333059787","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333059793":["hashtag1","hashtag2"]},{"1333059787":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333059793, 1333059787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.90087056159973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:35:32.559144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/34/image_30012025_18_34_54_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/34/image_30012025_18_34_54_10353.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333059894"],"photo_id":"1333059894","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f8e972a95610fe72dafcefb6c56954b1.jpg","text":"TemporaryFile(/tmp/multipartBody215440479393171964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258593369,"filename":"image_30012025_18_34_54_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1333059894"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1333059894"}],"hashtags":[],"portfolio_id":"20052290","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.429134368896484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:35:52.624040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/25/image_28012025_21_25_55_9334.jpg', '/home/pi/Desktop/images/28012025/21/25/image_28012025_21_26_05_10355.jpg', '/home/pi/Desktop/images/28012025/21/26/image_28012025_21_26_15_10437.jpg', '/home/pi/Desktop/images/28012025/21/26/image_28012025_21_26_25_9366.jpg', '/home/pi/Desktop/images/28012025/21/26/image_28012025_21_26_35_10441.jpg', '/home/pi/Desktop/images/28012025/21/26/image_28012025_21_26_45_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/21/25/image_28012025_21_25_55_9334.jpg
/home/pi/Desktop/images/28012025/21/25/image_28012025_21_26_05_10355.jpg
/home/pi/Desktop/images/28012025/21/26/image_28012025_21_26_15_10437.jpg
/home/pi/Desktop/images/28012025/21/26/image_28012025_21_26_25_9366.jpg
/home/pi/Desktop/images/28012025/21/26/image_28012025_21_26_35_10441.jpg
/home/pi/Desktop/images/28012025/21/26/image_28012025_21_26_45_9332.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.025865077972412 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 18:36:03.441639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/25/image_28012025_21_25_55_9334.jpg', '/home/pi/Desktop/images/28012025/21/25/image_28012025_21_26_05_10355.jpg', '/home/pi/Desktop/images/28012025/21/26/image_28012025_21_26_15_10437.jpg', '/home/pi/Desktop/images/28012025/21/26/image_28012025_21_26_25_9366.jpg', '/home/pi/Desktop/images/28012025/21/26/image_28012025_21_26_35_10441.jpg', '/home/pi/Desktop/images/28012025/21/26/image_28012025_21_26_45_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/21/25/image_28012025_21_25_55_9334.jpg
/home/pi/Desktop/images/28012025/21/25/image_28012025_21_26_05_10355.jpg
/home/pi/Desktop/images/28012025/21/26/image_28012025_21_26_15_10437.jpg
/home/pi/Desktop/images/28012025/21/26/image_28012025_21_26_25_9366.jpg
/home/pi/Desktop/images/28012025/21/26/image_28012025_21_26_35_10441.jpg
/home/pi/Desktop/images/28012025/21/26/image_28012025_21_26_45_9332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333059973","1333060016","1333059922","1333059919","1333059965","1333060022"],"photo_ids_order":["1333059919","1333059922","1333059965","1333059973","1333060016","1333060022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/10f2550ac380da387a67269b17064917.jpg","text":"TemporaryFile(/tmp/multipartBody8632886551170147982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258625078,"filename":"image_28012025_21_26_25_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/48b5ba6dfdfcd05cd8f58595646b34d1.jpg","text":"TemporaryFile(/tmp/multipartBody4514921384481722066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258625078,"filename":"image_28012025_21_26_35_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/30/260713f9013970d2f0ea4d90434285c9.jpg","text":"TemporaryFile(/tmp/multipartBody9004772523599143204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258625078,"filename":"image_28012025_21_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/30/279a6ebea5493932229e046211b45b62.jpg","text":"TemporaryFile(/tmp/multipartBody3468886788708638921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258625078,"filename":"image_28012025_21_25_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/30/7dbe334b5a3ea85a73a28a56f6540fb2.jpg","text":"TemporaryFile(/tmp/multipartBody9190313328333064351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258625078,"filename":"image_28012025_21_26_15_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/65d42f9851b2c1a5127976a3b7b2d5e4.jpg","text":"TemporaryFile(/tmp/multipartBody6087245114816830996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258625078,"filename":"image_28012025_21_26_45_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333059965","file1":"1333059922","file0":"1333059919","file4":"1333060016","file5":"1333060022","file3":"1333059973"},"map_files_photo_id_array":[{"photo_id":"1333060022","filename":"file5"},{"photo_id":"1333059965","filename":"file2"},{"photo_id":"1333060016","filename":"file4"},{"photo_id":"1333059922","filename":"file1"},{"photo_id":"1333059919","filename":"file0"},{"photo_id":"1333059973","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333059973":["hashtag1","hashtag2"]},{"1333060016":["hashtag1","hashtag2"]},{"1333059922":["hashtag1","hashtag2"]},{"1333059919":["hashtag1","hashtag2"]},{"1333059965":["hashtag1","hashtag2"]},{"1333060022":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333059973, 1333060016, 1333059922, 1333059919, 1333059965, 1333060022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.49005150794983 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:36:52.770783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/35/image_30012025_18_35_14_9326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/35/image_30012025_18_35_14_9326.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333060054"],"photo_id":"1333060054","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b6d2f0b0454d47a41a87bfa2865041dd.jpg","text":"TemporaryFile(/tmp/multipartBody116260681780156068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258673597,"filename":"image_30012025_18_35_14_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1333060054"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1333060054"}],"hashtags":[],"portfolio_id":"20052290","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.394996404647827 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:37:33.056519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/36/image_30012025_18_36_25_10442.jpg', '/home/pi/Desktop/images/30012025/18/36/image_30012025_18_37_05_10359.jpg', '/home/pi/Desktop/images/30012025/18/37/image_30012025_18_37_15_10414.jpg', '/home/pi/Desktop/images/30012025/18/37/image_30012025_18_37_24_9367.jpg', '/home/pi/Desktop/images/30012025/18/37/image_30012025_18_37_35_10359.jpg', '/home/pi/Desktop/images/30012025/18/37/image_30012025_18_37_44_9453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/36/image_30012025_18_36_25_10442.jpg
/home/pi/Desktop/images/30012025/18/36/image_30012025_18_37_05_10359.jpg
/home/pi/Desktop/images/30012025/18/37/image_30012025_18_37_15_10414.jpg
/home/pi/Desktop/images/30012025/18/37/image_30012025_18_37_24_9367.jpg
/home/pi/Desktop/images/30012025/18/37/image_30012025_18_37_35_10359.jpg
/home/pi/Desktop/images/30012025/18/37/image_30012025_18_37_44_9453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333060393","1333060270","1333060275","1333060329","1333060284","1333060295"],"photo_ids_order":["1333060270","1333060275","1333060284","1333060295","1333060329","1333060393"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/75590c94f59d005c10cbce94eb1f6757.jpg","text":"TemporaryFile(/tmp/multipartBody7291381343694750025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258713965,"filename":"image_30012025_18_37_44_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/30/a26f8343d750deb2d080dd9cb251e585.jpg","text":"TemporaryFile(/tmp/multipartBody9155416679625146783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258713965,"filename":"image_30012025_18_36_25_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/30/ec1d1939f46ce1f212d2d57a0e3ba038.jpg","text":"TemporaryFile(/tmp/multipartBody5837495144987041255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258713965,"filename":"image_30012025_18_37_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/30/ee28d1d8157b12ea68a30a1b1f5e8c2e.jpg","text":"TemporaryFile(/tmp/multipartBody3031997899208263537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258713965,"filename":"image_30012025_18_37_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/30/d4c69543220219b8f8b03b3f33ae931c.jpg","text":"TemporaryFile(/tmp/multipartBody8386063189169982802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258713965,"filename":"image_30012025_18_37_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/30/cb56cf4dcc97323c878630c55798b41e.jpg","text":"TemporaryFile(/tmp/multipartBody6267371249891852273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258713965,"filename":"image_30012025_18_37_24_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333060284","file1":"1333060275","file0":"1333060270","file4":"1333060329","file5":"1333060393","file3":"1333060295"},"map_files_photo_id_array":[{"photo_id":"1333060393","filename":"file5"},{"photo_id":"1333060284","filename":"file2"},{"photo_id":"1333060329","filename":"file4"},{"photo_id":"1333060275","filename":"file1"},{"photo_id":"1333060270","filename":"file0"},{"photo_id":"1333060295","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333060393":["hashtag1","hashtag2"]},{"1333060270":["hashtag1","hashtag2"]},{"1333060275":["hashtag1","hashtag2"]},{"1333060329":["hashtag1","hashtag2"]},{"1333060284":["hashtag1","hashtag2"]},{"1333060295":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333060393, 1333060270, 1333060275, 1333060329, 1333060284, 1333060295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.9684202671051 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:38:32.152096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/37/image_30012025_18_37_54_10364.jpg', '/home/pi/Desktop/images/30012025/18/37/image_30012025_18_38_05_10461.jpg', '/home/pi/Desktop/images/30012025/18/38/image_30012025_18_38_14_9353.jpg', '/home/pi/Desktop/images/30012025/18/38/image_30012025_18_38_25_10373.jpg', '/home/pi/Desktop/images/30012025/18/38/image_30012025_18_38_34_9452.jpg', '/home/pi/Desktop/images/30012025/18/38/image_30012025_18_38_44_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/37/image_30012025_18_37_54_10364.jpg
/home/pi/Desktop/images/30012025/18/37/image_30012025_18_38_05_10461.jpg
/home/pi/Desktop/images/30012025/18/38/image_30012025_18_38_14_9353.jpg
/home/pi/Desktop/images/30012025/18/38/image_30012025_18_38_25_10373.jpg
/home/pi/Desktop/images/30012025/18/38/image_30012025_18_38_34_9452.jpg
/home/pi/Desktop/images/30012025/18/38/image_30012025_18_38_44_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":["1333060442","1333060468","1333060452","1333060446","1333060463","1333060457"],"photo_ids_order":["1333060442","1333060446","1333060452","1333060457","1333060463","1333060468"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3fef60d25541bdb25979b9fa84532717.jpg","text":"TemporaryFile(/tmp/multipartBody6680004979500004696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258773060,"filename":"image_30012025_18_37_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/30/7739d5feca5413eb9b638b9375f1602e.jpg","text":"TemporaryFile(/tmp/multipartBody5539789915997197765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258773060,"filename":"image_30012025_18_38_44_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/30/887506a4660826b85eba14457bbdd469.jpg","text":"TemporaryFile(/tmp/multipartBody2692736551744676259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258773060,"filename":"image_30012025_18_38_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/30/f340c275966cff711c71747446dd36da.jpg","text":"TemporaryFile(/tmp/multipartBody6208807364502548041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258773060,"filename":"image_30012025_18_38_05_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/30/c5c0d840154f6f0598460ba69730760b.jpg","text":"TemporaryFile(/tmp/multipartBody2535233601414123883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258773060,"filename":"image_30012025_18_38_34_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/30/3a1f54c31a742037b19c8fe220cd7e22.jpg","text":"TemporaryFile(/tmp/multipartBody2419895851913372393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258773060,"filename":"image_30012025_18_38_25_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333060452","file1":"1333060446","file0":"1333060442","file4":"1333060463","file5":"1333060468","file3":"1333060457"},"map_files_photo_id_array":[{"photo_id":"1333060468","filename":"file5"},{"photo_id":"1333060452","filename":"file2"},{"photo_id":"1333060463","filename":"file4"},{"photo_id":"1333060446","filename":"file1"},{"photo_id":"1333060442","filename":"file0"},{"photo_id":"1333060457","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333060442":["hashtag1","hashtag2"]},{"1333060468":["hashtag1","hashtag2"]},{"1333060452":["hashtag1","hashtag2"]},{"1333060446":["hashtag1","hashtag2"]},{"1333060463":["hashtag1","hashtag2"]},{"1333060457":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333060442, 1333060468, 1333060452, 1333060446, 1333060463, 1333060457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.86648750305176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:39:32.344202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/38/image_30012025_18_38_55_10436.jpg', '/home/pi/Desktop/images/30012025/18/38/image_30012025_18_39_04_9347.jpg', '/home/pi/Desktop/images/30012025/18/39/image_30012025_18_39_15_10339.jpg', '/home/pi/Desktop/images/30012025/18/39/image_30012025_18_39_24_9442.jpg', '/home/pi/Desktop/images/30012025/18/39/image_30012025_18_39_34_10366.jpg', '/home/pi/Desktop/images/30012025/18/39/image_30012025_18_39_45_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/38/image_30012025_18_38_55_10436.jpg
/home/pi/Desktop/images/30012025/18/38/image_30012025_18_39_04_9347.jpg
/home/pi/Desktop/images/30012025/18/39/image_30012025_18_39_15_10339.jpg
/home/pi/Desktop/images/30012025/18/39/image_30012025_18_39_24_9442.jpg
/home/pi/Desktop/images/30012025/18/39/image_30012025_18_39_34_10366.jpg
/home/pi/Desktop/images/30012025/18/39/image_30012025_18_39_45_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":["1333060492","1333060495","1333060507","1333060497","1333060503","1333060511"],"photo_ids_order":["1333060492","1333060495","1333060497","1333060503","1333060507","1333060511"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/994c6bb32df131452332df6c858db812.jpg","text":"TemporaryFile(/tmp/multipartBody8660625132718022073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258833253,"filename":"image_30012025_18_38_55_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/30/ed51d708e285798394c4511f4f55f1c7.jpg","text":"TemporaryFile(/tmp/multipartBody2598429766718867234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258833253,"filename":"image_30012025_18_39_04_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1190425acb604d0ba4acd8daf7ba0c49.jpg","text":"TemporaryFile(/tmp/multipartBody2941474536910515494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258833253,"filename":"image_30012025_18_39_34_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d012a8a44a1065fec82e4a1a6ff03ecf.jpg","text":"TemporaryFile(/tmp/multipartBody2121100510892564842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258833253,"filename":"image_30012025_18_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/30/61301f4da3d083780a637971814b9be2.jpg","text":"TemporaryFile(/tmp/multipartBody1538703118569138144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258833253,"filename":"image_30012025_18_39_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/30/c4a89ff3dce6a454147a5befd62bc114.jpg","text":"TemporaryFile(/tmp/multipartBody7026653539372710251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258833253,"filename":"image_30012025_18_39_45_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333060497","file1":"1333060495","file0":"1333060492","file4":"1333060507","file5":"1333060511","file3":"1333060503"},"map_files_photo_id_array":[{"photo_id":"1333060511","filename":"file5"},{"photo_id":"1333060497","filename":"file2"},{"photo_id":"1333060507","filename":"file4"},{"photo_id":"1333060495","filename":"file1"},{"photo_id":"1333060492","filename":"file0"},{"photo_id":"1333060503","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333060492":["hashtag1","hashtag2"]},{"1333060495":["hashtag1","hashtag2"]},{"1333060507":["hashtag1","hashtag2"]},{"1333060497":["hashtag1","hashtag2"]},{"1333060503":["hashtag1","hashtag2"]},{"1333060511":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333060492, 1333060495, 1333060507, 1333060497, 1333060503, 1333060511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.72111892700195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:40:32.657519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/39/image_30012025_18_39_54_9433.jpg', '/home/pi/Desktop/images/30012025/18/39/image_30012025_18_40_05_10342.jpg', '/home/pi/Desktop/images/30012025/18/40/image_30012025_18_40_15_10370.jpg', '/home/pi/Desktop/images/30012025/18/40/image_30012025_18_40_24_9355.jpg', '/home/pi/Desktop/images/30012025/18/40/image_30012025_18_40_35_10369.jpg', '/home/pi/Desktop/images/30012025/18/40/image_30012025_18_40_45_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/39/image_30012025_18_39_54_9433.jpg
/home/pi/Desktop/images/30012025/18/39/image_30012025_18_40_05_10342.jpg
/home/pi/Desktop/images/30012025/18/40/image_30012025_18_40_15_10370.jpg
/home/pi/Desktop/images/30012025/18/40/image_30012025_18_40_24_9355.jpg
/home/pi/Desktop/images/30012025/18/40/image_30012025_18_40_35_10369.jpg
/home/pi/Desktop/images/30012025/18/40/image_30012025_18_40_45_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":["1333060549","1333060540","1333060534","1333060719","1333060544","1333060625"],"photo_ids_order":["1333060534","1333060540","1333060544","1333060549","1333060625","1333060719"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ee0b8e0828697c8202c6d4d2d8841b78.jpg","text":"TemporaryFile(/tmp/multipartBody3041152205336412374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258893575,"filename":"image_30012025_18_40_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/30/6dcd68acb3e297152834b4192be936c2.jpg","text":"TemporaryFile(/tmp/multipartBody2990829911647355359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258893575,"filename":"image_30012025_18_40_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/30/734072bb970c0184fcc36fad6c50121d.jpg","text":"TemporaryFile(/tmp/multipartBody2978623779899186788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258893575,"filename":"image_30012025_18_39_54_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0fa8cc7c49d4f1ef10fd5558bc389c34.jpg","text":"TemporaryFile(/tmp/multipartBody4588501989060189997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258893575,"filename":"image_30012025_18_40_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/30/d60d7af22775e10ecb69fed238b9f67e.jpg","text":"TemporaryFile(/tmp/multipartBody7316336596178205454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258893575,"filename":"image_30012025_18_40_15_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/213fb5162330ca64e0df27bdf7522eb1.jpg","text":"TemporaryFile(/tmp/multipartBody8701892195526821407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258893575,"filename":"image_30012025_18_40_35_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333060544","file1":"1333060540","file0":"1333060534","file4":"1333060625","file5":"1333060719","file3":"1333060549"},"map_files_photo_id_array":[{"photo_id":"1333060719","filename":"file5"},{"photo_id":"1333060544","filename":"file2"},{"photo_id":"1333060625","filename":"file4"},{"photo_id":"1333060540","filename":"file1"},{"photo_id":"1333060534","filename":"file0"},{"photo_id":"1333060549","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333060549":["hashtag1","hashtag2"]},{"1333060540":["hashtag1","hashtag2"]},{"1333060534":["hashtag1","hashtag2"]},{"1333060719":["hashtag1","hashtag2"]},{"1333060544":["hashtag1","hashtag2"]},{"1333060625":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333060549, 1333060540, 1333060534, 1333060719, 1333060544, 1333060625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.521602630615234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:41:33.012697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/40/image_30012025_18_40_54_9341.jpg', '/home/pi/Desktop/images/30012025/18/40/image_30012025_18_41_05_10339.jpg', '/home/pi/Desktop/images/30012025/18/41/image_30012025_18_41_14_9417.jpg', '/home/pi/Desktop/images/30012025/18/41/image_30012025_18_41_24_10348.jpg', '/home/pi/Desktop/images/30012025/18/41/image_30012025_18_41_35_10427.jpg', '/home/pi/Desktop/images/30012025/18/41/image_30012025_18_41_44_9449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/40/image_30012025_18_40_54_9341.jpg
/home/pi/Desktop/images/30012025/18/40/image_30012025_18_41_05_10339.jpg
/home/pi/Desktop/images/30012025/18/41/image_30012025_18_41_14_9417.jpg
/home/pi/Desktop/images/30012025/18/41/image_30012025_18_41_24_10348.jpg
/home/pi/Desktop/images/30012025/18/41/image_30012025_18_41_35_10427.jpg
/home/pi/Desktop/images/30012025/18/41/image_30012025_18_41_44_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":["1333060870","1333060933","1333061189","1333061090","1333060920","1333061174"],"photo_ids_order":["1333060870","1333060920","1333060933","1333061090","1333061174","1333061189"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/da1349e20006c4810e49e7ae0369f5ea.jpg","text":"TemporaryFile(/tmp/multipartBody6188056821827261655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258953919,"filename":"image_30012025_18_40_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/30/0ab9aa1b424704b921435100119235f4.jpg","text":"TemporaryFile(/tmp/multipartBody983279437529178625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258953919,"filename":"image_30012025_18_41_14_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/30/2c242ce9fc93e333d435292867e9a2cf.jpg","text":"TemporaryFile(/tmp/multipartBody1082714499628690546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258953919,"filename":"image_30012025_18_41_44_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/30/5ac7ecbf1171c259ccafb9c376b2a185.jpg","text":"TemporaryFile(/tmp/multipartBody2491740285962103007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258953919,"filename":"image_30012025_18_41_24_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a1b701d909e4c011ac5c7b4410e2ed9d.jpg","text":"TemporaryFile(/tmp/multipartBody6866850224136111938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258953919,"filename":"image_30012025_18_41_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/30/6607f0c60b2ff7b170a0bb78bc21eafb.jpg","text":"TemporaryFile(/tmp/multipartBody8430468505463585373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738258953919,"filename":"image_30012025_18_41_35_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333060933","file1":"1333060920","file0":"1333060870","file4":"1333061174","file5":"1333061189","file3":"1333061090"},"map_files_photo_id_array":[{"photo_id":"1333061189","filename":"file5"},{"photo_id":"1333060933","filename":"file2"},{"photo_id":"1333061174","filename":"file4"},{"photo_id":"1333060920","filename":"file1"},{"photo_id":"1333060870","filename":"file0"},{"photo_id":"1333061090","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333060870":["hashtag1","hashtag2"]},{"1333060933":["hashtag1","hashtag2"]},{"1333061189":["hashtag1","hashtag2"]},{"1333061090":["hashtag1","hashtag2"]},{"1333060920":["hashtag1","hashtag2"]},{"1333061174":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333060870, 1333060933, 1333061189, 1333061090, 1333060920, 1333061174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.44465470314026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:42:33.069928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/41/image_30012025_18_41_55_10383.jpg', '/home/pi/Desktop/images/30012025/18/41/image_30012025_18_42_04_9433.jpg', '/home/pi/Desktop/images/30012025/18/42/image_30012025_18_42_15_10474.jpg', '/home/pi/Desktop/images/30012025/18/42/image_30012025_18_42_24_9437.jpg', '/home/pi/Desktop/images/30012025/18/42/image_30012025_18_42_35_10465.jpg', '/home/pi/Desktop/images/30012025/18/42/image_30012025_18_42_44_9516.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/41/image_30012025_18_41_55_10383.jpg
/home/pi/Desktop/images/30012025/18/41/image_30012025_18_42_04_9433.jpg
/home/pi/Desktop/images/30012025/18/42/image_30012025_18_42_15_10474.jpg
/home/pi/Desktop/images/30012025/18/42/image_30012025_18_42_24_9437.jpg
/home/pi/Desktop/images/30012025/18/42/image_30012025_18_42_35_10465.jpg
/home/pi/Desktop/images/30012025/18/42/image_30012025_18_42_44_9516.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333061446","1333061458","1333061323","1333061311","1333061316","1333061390"],"photo_ids_order":["1333061311","1333061316","1333061323","1333061390","1333061446","1333061458"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/03c7453a7fb94f65a18c14a1c8c21705.jpg","text":"TemporaryFile(/tmp/multipartBody4848885931693705881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259013970,"filename":"image_30012025_18_42_35_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e77cf4e583461ebd7ed4c3bbac2e183c.jpg","text":"TemporaryFile(/tmp/multipartBody8704715359237100494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259013970,"filename":"image_30012025_18_42_44_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/30/b4ae2a91fa4a1ff58179c23e5636c4b1.jpg","text":"TemporaryFile(/tmp/multipartBody7350857409474490132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259013970,"filename":"image_30012025_18_42_15_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/30/c91d6e7d9f3d6526a1986e88fa96072e.jpg","text":"TemporaryFile(/tmp/multipartBody5017422464813595723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259013970,"filename":"image_30012025_18_41_55_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/30/a525cb3fc572f5df74d43f581520809b.jpg","text":"TemporaryFile(/tmp/multipartBody60062304482918957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259013970,"filename":"image_30012025_18_42_04_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/30/829ce790edc396263300d88fafacdb52.jpg","text":"TemporaryFile(/tmp/multipartBody6393948593410853875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259013970,"filename":"image_30012025_18_42_24_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333061323","file1":"1333061316","file0":"1333061311","file4":"1333061446","file5":"1333061458","file3":"1333061390"},"map_files_photo_id_array":[{"photo_id":"1333061458","filename":"file5"},{"photo_id":"1333061323","filename":"file2"},{"photo_id":"1333061446","filename":"file4"},{"photo_id":"1333061316","filename":"file1"},{"photo_id":"1333061311","filename":"file0"},{"photo_id":"1333061390","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333061446":["hashtag1","hashtag2"]},{"1333061458":["hashtag1","hashtag2"]},{"1333061323":["hashtag1","hashtag2"]},{"1333061311":["hashtag1","hashtag2"]},{"1333061316":["hashtag1","hashtag2"]},{"1333061390":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333061446, 1333061458, 1333061323, 1333061311, 1333061316, 1333061390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.842124938964844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:43:32.312375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/42/image_30012025_18_42_54_10462.jpg', '/home/pi/Desktop/images/30012025/18/42/image_30012025_18_43_05_10472.jpg', '/home/pi/Desktop/images/30012025/18/43/image_30012025_18_43_14_9337.jpg', '/home/pi/Desktop/images/30012025/18/43/image_30012025_18_43_25_10372.jpg', '/home/pi/Desktop/images/30012025/18/43/image_30012025_18_43_34_9464.jpg', '/home/pi/Desktop/images/30012025/18/43/image_30012025_18_43_45_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/42/image_30012025_18_42_54_10462.jpg
/home/pi/Desktop/images/30012025/18/42/image_30012025_18_43_05_10472.jpg
/home/pi/Desktop/images/30012025/18/43/image_30012025_18_43_14_9337.jpg
/home/pi/Desktop/images/30012025/18/43/image_30012025_18_43_25_10372.jpg
/home/pi/Desktop/images/30012025/18/43/image_30012025_18_43_34_9464.jpg
/home/pi/Desktop/images/30012025/18/43/image_30012025_18_43_45_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":["1333061515","1333061487","1333061512","1333061496","1333061517","1333061507"],"photo_ids_order":["1333061487","1333061496","1333061507","1333061512","1333061515","1333061517"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c9d0a40bc4ae0e9523d55e5905e48789.jpg","text":"TemporaryFile(/tmp/multipartBody5997305436580061058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259073217,"filename":"image_30012025_18_43_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/30/b27cc77d81673412a84c501354db3976.jpg","text":"TemporaryFile(/tmp/multipartBody7616118263323729981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259073217,"filename":"image_30012025_18_42_54_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/30/278e9d8666adbe37619a0718e589fa43.jpg","text":"TemporaryFile(/tmp/multipartBody8278617714100950169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259073217,"filename":"image_30012025_18_43_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d9b1c85f1ac605fc1f55879b38bd8a04.jpg","text":"TemporaryFile(/tmp/multipartBody7976875617837831315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259073217,"filename":"image_30012025_18_43_05_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/30/ccfe86d1f345fd93c9e3aef8f2a8c4fb.jpg","text":"TemporaryFile(/tmp/multipartBody5018020490545439124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259073217,"filename":"image_30012025_18_43_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/30/27ac9ebeb02a9085f2ba5fff63a11f10.jpg","text":"TemporaryFile(/tmp/multipartBody3163585975647230864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259073217,"filename":"image_30012025_18_43_14_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333061507","file1":"1333061496","file0":"1333061487","file4":"1333061515","file5":"1333061517","file3":"1333061512"},"map_files_photo_id_array":[{"photo_id":"1333061517","filename":"file5"},{"photo_id":"1333061507","filename":"file2"},{"photo_id":"1333061515","filename":"file4"},{"photo_id":"1333061496","filename":"file1"},{"photo_id":"1333061487","filename":"file0"},{"photo_id":"1333061512","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333061515":["hashtag1","hashtag2"]},{"1333061487":["hashtag1","hashtag2"]},{"1333061512":["hashtag1","hashtag2"]},{"1333061496":["hashtag1","hashtag2"]},{"1333061517":["hashtag1","hashtag2"]},{"1333061507":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333061515, 1333061487, 1333061512, 1333061496, 1333061517, 1333061507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.477073669433594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:44:32.705204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/43/image_30012025_18_43_55_10362.jpg', '/home/pi/Desktop/images/30012025/18/43/image_30012025_18_44_04_9340.jpg', '/home/pi/Desktop/images/30012025/18/44/image_30012025_18_44_15_10444.jpg', '/home/pi/Desktop/images/30012025/18/44/image_30012025_18_44_24_9456.jpg', '/home/pi/Desktop/images/30012025/18/44/image_30012025_18_44_35_10356.jpg', '/home/pi/Desktop/images/30012025/18/44/image_30012025_18_44_45_10488.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/43/image_30012025_18_43_55_10362.jpg
/home/pi/Desktop/images/30012025/18/43/image_30012025_18_44_04_9340.jpg
/home/pi/Desktop/images/30012025/18/44/image_30012025_18_44_15_10444.jpg
/home/pi/Desktop/images/30012025/18/44/image_30012025_18_44_24_9456.jpg
/home/pi/Desktop/images/30012025/18/44/image_30012025_18_44_35_10356.jpg
/home/pi/Desktop/images/30012025/18/44/image_30012025_18_44_45_10488.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333061544","1333061535","1333061552","1333061582","1333061576","1333061540"],"photo_ids_order":["1333061535","1333061540","1333061544","1333061552","1333061576","1333061582"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/df1b190ba83cffd30bff0d475282d4f5.jpg","text":"TemporaryFile(/tmp/multipartBody1150078815131037956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259133611,"filename":"image_30012025_18_44_15_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/43212032c3010900b9603ba7ee3d02a2.jpg","text":"TemporaryFile(/tmp/multipartBody1759108709710603991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259133611,"filename":"image_30012025_18_43_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/30/3c68d9536634c69b26cbf8213e998487.jpg","text":"TemporaryFile(/tmp/multipartBody2258722874241016263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259133611,"filename":"image_30012025_18_44_24_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/30/e8eefb7b7998ca582db844fe26564e1d.jpg","text":"TemporaryFile(/tmp/multipartBody3859592217705953710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259133611,"filename":"image_30012025_18_44_45_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/30/d4ba49b1024b2724f4ce6f64e1940c26.jpg","text":"TemporaryFile(/tmp/multipartBody2719674463706549445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259133611,"filename":"image_30012025_18_44_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/30/653f0061c912264e0852002d1a83aa63.jpg","text":"TemporaryFile(/tmp/multipartBody5721092846325170419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259133611,"filename":"image_30012025_18_44_04_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333061544","file1":"1333061540","file0":"1333061535","file4":"1333061576","file5":"1333061582","file3":"1333061552"},"map_files_photo_id_array":[{"photo_id":"1333061582","filename":"file5"},{"photo_id":"1333061544","filename":"file2"},{"photo_id":"1333061576","filename":"file4"},{"photo_id":"1333061540","filename":"file1"},{"photo_id":"1333061535","filename":"file0"},{"photo_id":"1333061552","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333061544":["hashtag1","hashtag2"]},{"1333061535":["hashtag1","hashtag2"]},{"1333061552":["hashtag1","hashtag2"]},{"1333061582":["hashtag1","hashtag2"]},{"1333061576":["hashtag1","hashtag2"]},{"1333061540":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333061544, 1333061535, 1333061552, 1333061582, 1333061576, 1333061540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.11923789978027 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:45:32.737293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/44/image_30012025_18_44_54_9334.jpg', '/home/pi/Desktop/images/30012025/18/44/image_30012025_18_45_05_10341.jpg', '/home/pi/Desktop/images/30012025/18/45/image_30012025_18_45_14_9447.jpg', '/home/pi/Desktop/images/30012025/18/45/image_30012025_18_45_24_10344.jpg', '/home/pi/Desktop/images/30012025/18/45/image_30012025_18_45_35_10476.jpg', '/home/pi/Desktop/images/30012025/18/45/image_30012025_18_45_44_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/44/image_30012025_18_44_54_9334.jpg
/home/pi/Desktop/images/30012025/18/44/image_30012025_18_45_05_10341.jpg
/home/pi/Desktop/images/30012025/18/45/image_30012025_18_45_14_9447.jpg
/home/pi/Desktop/images/30012025/18/45/image_30012025_18_45_24_10344.jpg
/home/pi/Desktop/images/30012025/18/45/image_30012025_18_45_35_10476.jpg
/home/pi/Desktop/images/30012025/18/45/image_30012025_18_45_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":["1333061842","1333061908","1333061868","1333061651","1333061705","1333061782"],"photo_ids_order":["1333061651","1333061705","1333061782","1333061842","1333061868","1333061908"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4afd48290e95b44a4409d482a205867b.jpg","text":"TemporaryFile(/tmp/multipartBody1702672460949202870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259193654,"filename":"image_30012025_18_45_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/30/41060b38b94ffa204e096acda612879e.jpg","text":"TemporaryFile(/tmp/multipartBody4763159521650028471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259193654,"filename":"image_30012025_18_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/30/82bb32295d601b281e223939038bf8ad.jpg","text":"TemporaryFile(/tmp/multipartBody1011417402501849490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259193654,"filename":"image_30012025_18_45_35_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/30/1a41a462252a3bfdbffd7673111fa55e.jpg","text":"TemporaryFile(/tmp/multipartBody2948415910636790739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259193654,"filename":"image_30012025_18_44_54_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/31e3355076bb22bc84c6e453746320a9.jpg","text":"TemporaryFile(/tmp/multipartBody3058300154381514470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259193654,"filename":"image_30012025_18_45_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/30/70faf8bbfd46ba009de34984c0f0aa3e.jpg","text":"TemporaryFile(/tmp/multipartBody8293043939842349325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259193654,"filename":"image_30012025_18_45_14_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333061782","file1":"1333061705","file0":"1333061651","file4":"1333061868","file5":"1333061908","file3":"1333061842"},"map_files_photo_id_array":[{"photo_id":"1333061908","filename":"file5"},{"photo_id":"1333061782","filename":"file2"},{"photo_id":"1333061868","filename":"file4"},{"photo_id":"1333061705","filename":"file1"},{"photo_id":"1333061651","filename":"file0"},{"photo_id":"1333061842","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333061842":["hashtag1","hashtag2"]},{"1333061908":["hashtag1","hashtag2"]},{"1333061868":["hashtag1","hashtag2"]},{"1333061651":["hashtag1","hashtag2"]},{"1333061705":["hashtag1","hashtag2"]},{"1333061782":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333061842, 1333061908, 1333061868, 1333061651, 1333061705, 1333061782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.1518657207489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:46:33.069879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/45/image_30012025_18_45_55_10354.jpg', '/home/pi/Desktop/images/30012025/18/45/image_30012025_18_46_05_10375.jpg', '/home/pi/Desktop/images/30012025/18/46/image_30012025_18_46_14_9397.jpg', '/home/pi/Desktop/images/30012025/18/46/image_30012025_18_46_25_10543.jpg', '/home/pi/Desktop/images/30012025/18/46/image_30012025_18_46_34_9365.jpg', '/home/pi/Desktop/images/30012025/18/46/image_30012025_18_46_45_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/45/image_30012025_18_45_55_10354.jpg
/home/pi/Desktop/images/30012025/18/45/image_30012025_18_46_05_10375.jpg
/home/pi/Desktop/images/30012025/18/46/image_30012025_18_46_14_9397.jpg
/home/pi/Desktop/images/30012025/18/46/image_30012025_18_46_25_10543.jpg
/home/pi/Desktop/images/30012025/18/46/image_30012025_18_46_34_9365.jpg
/home/pi/Desktop/images/30012025/18/46/image_30012025_18_46_45_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333062319","1333062351","1333062308","1333062346","1333062331","1333062340"],"photo_ids_order":["1333062308","1333062319","1333062331","1333062340","1333062346","1333062351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7ddbeacaa5f83ae64a5bacfa7854d47f.jpg","text":"TemporaryFile(/tmp/multipartBody4007379912662611320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259254004,"filename":"image_30012025_18_46_05_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0539a77b0c804a8399a358869c166297.jpg","text":"TemporaryFile(/tmp/multipartBody4106151022161907209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259254004,"filename":"image_30012025_18_46_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/30/44ce0f883919eda8b684ba854c347515.jpg","text":"TemporaryFile(/tmp/multipartBody2330900173587446834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259254004,"filename":"image_30012025_18_45_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/30/d085d4e051654558eb2dcc9ae4077520.jpg","text":"TemporaryFile(/tmp/multipartBody8027766766351171684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259254004,"filename":"image_30012025_18_46_34_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1d005a3e2db6b5ff6e7d8f8324b8a3f8.jpg","text":"TemporaryFile(/tmp/multipartBody1909249985690295988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259254004,"filename":"image_30012025_18_46_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/30/ec031164719bfdba827edb6aa1c5f81e.jpg","text":"TemporaryFile(/tmp/multipartBody3016424084989470497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259254004,"filename":"image_30012025_18_46_25_10543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333062331","file1":"1333062319","file0":"1333062308","file4":"1333062346","file5":"1333062351","file3":"1333062340"},"map_files_photo_id_array":[{"photo_id":"1333062351","filename":"file5"},{"photo_id":"1333062331","filename":"file2"},{"photo_id":"1333062346","filename":"file4"},{"photo_id":"1333062319","filename":"file1"},{"photo_id":"1333062308","filename":"file0"},{"photo_id":"1333062340","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333062319":["hashtag1","hashtag2"]},{"1333062351":["hashtag1","hashtag2"]},{"1333062308":["hashtag1","hashtag2"]},{"1333062346":["hashtag1","hashtag2"]},{"1333062331":["hashtag1","hashtag2"]},{"1333062340":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333062319, 1333062351, 1333062308, 1333062346, 1333062331, 1333062340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.34837031364441 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:47:32.147108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/46/image_30012025_18_46_54_9456.jpg', '/home/pi/Desktop/images/30012025/18/46/image_30012025_18_47_05_10361.jpg', '/home/pi/Desktop/images/30012025/18/47/image_30012025_18_47_15_10481.jpg', '/home/pi/Desktop/images/30012025/18/47/image_30012025_18_47_24_9360.jpg', '/home/pi/Desktop/images/30012025/18/47/image_30012025_18_47_35_10413.jpg', '/home/pi/Desktop/images/30012025/18/47/image_30012025_18_47_44_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/46/image_30012025_18_46_54_9456.jpg
/home/pi/Desktop/images/30012025/18/46/image_30012025_18_47_05_10361.jpg
/home/pi/Desktop/images/30012025/18/47/image_30012025_18_47_15_10481.jpg
/home/pi/Desktop/images/30012025/18/47/image_30012025_18_47_24_9360.jpg
/home/pi/Desktop/images/30012025/18/47/image_30012025_18_47_35_10413.jpg
/home/pi/Desktop/images/30012025/18/47/image_30012025_18_47_44_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":["1333062387","1333062453","1333062479","1333062461","1333062458","1333062448"],"photo_ids_order":["1333062387","1333062448","1333062453","1333062458","1333062461","1333062479"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/21a1acb5a50a8a959d652f8da6748330.jpg","text":"TemporaryFile(/tmp/multipartBody404853698066261301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259313085,"filename":"image_30012025_18_46_54_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/30/d08689e794d2df534ad23271ea5f065b.jpg","text":"TemporaryFile(/tmp/multipartBody3273964130066673498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259313085,"filename":"image_30012025_18_47_15_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/30/3f5296f8e4d209742906fc17f0b24bf0.jpg","text":"TemporaryFile(/tmp/multipartBody2978089410012898426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259313085,"filename":"image_30012025_18_47_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/30/6bb16a92782505d624cb7d31f9b4dd90.jpg","text":"TemporaryFile(/tmp/multipartBody6178086951361493430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259313085,"filename":"image_30012025_18_47_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/30/7eaeeba45244eeca04b6a6c4fca93b03.jpg","text":"TemporaryFile(/tmp/multipartBody3739604039958997654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259313085,"filename":"image_30012025_18_47_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/30/b224e02d4d8d63b6607aff7f90d33a31.jpg","text":"TemporaryFile(/tmp/multipartBody1211575364199470521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259313085,"filename":"image_30012025_18_47_05_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333062453","file1":"1333062448","file0":"1333062387","file4":"1333062461","file5":"1333062479","file3":"1333062458"},"map_files_photo_id_array":[{"photo_id":"1333062479","filename":"file5"},{"photo_id":"1333062453","filename":"file2"},{"photo_id":"1333062461","filename":"file4"},{"photo_id":"1333062448","filename":"file1"},{"photo_id":"1333062387","filename":"file0"},{"photo_id":"1333062458","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333062387":["hashtag1","hashtag2"]},{"1333062453":["hashtag1","hashtag2"]},{"1333062479":["hashtag1","hashtag2"]},{"1333062461":["hashtag1","hashtag2"]},{"1333062458":["hashtag1","hashtag2"]},{"1333062448":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333062387, 1333062453, 1333062479, 1333062461, 1333062458, 1333062448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.00845146179199 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:48:32.385804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/47/image_30012025_18_47_55_10344.jpg', '/home/pi/Desktop/images/30012025/18/47/image_30012025_18_48_05_10390.jpg', '/home/pi/Desktop/images/30012025/18/48/image_30012025_18_48_14_9348.jpg', '/home/pi/Desktop/images/30012025/18/48/image_30012025_18_48_25_10357.jpg', '/home/pi/Desktop/images/30012025/18/48/image_30012025_18_48_44_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/47/image_30012025_18_47_55_10344.jpg
/home/pi/Desktop/images/30012025/18/47/image_30012025_18_48_05_10390.jpg
/home/pi/Desktop/images/30012025/18/48/image_30012025_18_48_14_9348.jpg
/home/pi/Desktop/images/30012025/18/48/image_30012025_18_48_25_10357.jpg
/home/pi/Desktop/images/30012025/18/48/image_30012025_18_48_44_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":["1333062570","1333062502","1333062645","1333062611","1333062655"],"photo_ids_order":["1333062502","1333062570","1333062611","1333062645","1333062655"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3638063c8cdbfa0dab904b50363508b7.jpg","text":"TemporaryFile(/tmp/multipartBody6537565515866562877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259373291,"filename":"image_30012025_18_48_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/30/4263f3a1046b85a403c4b97413fb7309.jpg","text":"TemporaryFile(/tmp/multipartBody6170328420817235130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259373291,"filename":"image_30012025_18_47_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/30/9f530d943c38052669ec6d566cae426f.jpg","text":"TemporaryFile(/tmp/multipartBody7815123470655331561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259373291,"filename":"image_30012025_18_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/30/3fe0b4d9e85a57c17b6d631c19fdd111.jpg","text":"TemporaryFile(/tmp/multipartBody5843838119499538202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259373291,"filename":"image_30012025_18_48_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/30/224693277add8c723df293bb0544c7ff.jpg","text":"TemporaryFile(/tmp/multipartBody4507162928726364908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259373291,"filename":"image_30012025_18_48_44_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333062611","file1":"1333062570","file0":"1333062502","file4":"1333062655","file3":"1333062645"},"map_files_photo_id_array":[{"photo_id":"1333062611","filename":"file2"},{"photo_id":"1333062655","filename":"file4"},{"photo_id":"1333062570","filename":"file1"},{"photo_id":"1333062502","filename":"file0"},{"photo_id":"1333062645","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333062570":["hashtag1","hashtag2"]},{"1333062502":["hashtag1","hashtag2"]},{"1333062645":["hashtag1","hashtag2"]},{"1333062611":["hashtag1","hashtag2"]},{"1333062655":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333062570, 1333062502, 1333062645, 1333062611, 1333062655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 51.58148002624512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:49:32.740768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/48/image_30012025_18_48_55_10359.jpg', '/home/pi/Desktop/images/30012025/18/48/image_30012025_18_49_04_9426.jpg', '/home/pi/Desktop/images/30012025/18/49/image_30012025_18_49_15_10434.jpg', '/home/pi/Desktop/images/30012025/18/49/image_30012025_18_49_24_9444.jpg', '/home/pi/Desktop/images/30012025/18/49/image_30012025_18_49_35_10428.jpg', '/home/pi/Desktop/images/30012025/18/49/image_30012025_18_49_45_10423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/48/image_30012025_18_48_55_10359.jpg
/home/pi/Desktop/images/30012025/18/48/image_30012025_18_49_04_9426.jpg
/home/pi/Desktop/images/30012025/18/49/image_30012025_18_49_15_10434.jpg
/home/pi/Desktop/images/30012025/18/49/image_30012025_18_49_24_9444.jpg
/home/pi/Desktop/images/30012025/18/49/image_30012025_18_49_35_10428.jpg
/home/pi/Desktop/images/30012025/18/49/image_30012025_18_49_45_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":["1333062709","1333062693","1333062692","1333062705","1333062689","1333062701"],"photo_ids_order":["1333062689","1333062692","1333062693","1333062701","1333062705","1333062709"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/876553afcadccf339dfd61861bd884bc.jpg","text":"TemporaryFile(/tmp/multipartBody8841257349323880782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259433652,"filename":"image_30012025_18_49_45_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/30/bade5aad7c8a610413f990f4b339b15f.jpg","text":"TemporaryFile(/tmp/multipartBody5595566502626523363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259433652,"filename":"image_30012025_18_49_15_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/95baa7cfc73c4e75ef8cd0d37e58d545.jpg","text":"TemporaryFile(/tmp/multipartBody1564097623193338715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259433652,"filename":"image_30012025_18_49_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/30/f5b8a53b3a5c0d48f78a264bc8c4a71d.jpg","text":"TemporaryFile(/tmp/multipartBody1031186724739403890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259433652,"filename":"image_30012025_18_49_35_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/30/85e9c36c39c8b5e54a586457918e49b6.jpg","text":"TemporaryFile(/tmp/multipartBody4320584964166774951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259433652,"filename":"image_30012025_18_48_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/30/eb163db563af1bc878cf36747f253f16.jpg","text":"TemporaryFile(/tmp/multipartBody5865680606347493292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259433652,"filename":"image_30012025_18_49_24_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333062693","file1":"1333062692","file0":"1333062689","file4":"1333062705","file5":"1333062709","file3":"1333062701"},"map_files_photo_id_array":[{"photo_id":"1333062709","filename":"file5"},{"photo_id":"1333062693","filename":"file2"},{"photo_id":"1333062705","filename":"file4"},{"photo_id":"1333062692","filename":"file1"},{"photo_id":"1333062689","filename":"file0"},{"photo_id":"1333062701","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333062709":["hashtag1","hashtag2"]},{"1333062693":["hashtag1","hashtag2"]},{"1333062692":["hashtag1","hashtag2"]},{"1333062705":["hashtag1","hashtag2"]},{"1333062689":["hashtag1","hashtag2"]},{"1333062701":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333062709, 1333062693, 1333062692, 1333062705, 1333062689, 1333062701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.511882066726685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:50:32.785444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/49/image_30012025_18_49_54_9343.jpg', '/home/pi/Desktop/images/30012025/18/49/image_30012025_18_50_05_10351.jpg', '/home/pi/Desktop/images/30012025/18/50/image_30012025_18_50_14_9415.jpg', '/home/pi/Desktop/images/30012025/18/50/image_30012025_18_50_24_10351.jpg', '/home/pi/Desktop/images/30012025/18/50/image_30012025_18_50_35_10482.jpg', '/home/pi/Desktop/images/30012025/18/50/image_30012025_18_50_44_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/49/image_30012025_18_49_54_9343.jpg
/home/pi/Desktop/images/30012025/18/49/image_30012025_18_50_05_10351.jpg
/home/pi/Desktop/images/30012025/18/50/image_30012025_18_50_14_9415.jpg
/home/pi/Desktop/images/30012025/18/50/image_30012025_18_50_24_10351.jpg
/home/pi/Desktop/images/30012025/18/50/image_30012025_18_50_35_10482.jpg
/home/pi/Desktop/images/30012025/18/50/image_30012025_18_50_44_9356.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5207345485687256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 18:50:42.866230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/49/image_30012025_18_49_54_9343.jpg', '/home/pi/Desktop/images/30012025/18/49/image_30012025_18_50_05_10351.jpg', '/home/pi/Desktop/images/30012025/18/50/image_30012025_18_50_14_9415.jpg', '/home/pi/Desktop/images/30012025/18/50/image_30012025_18_50_24_10351.jpg', '/home/pi/Desktop/images/30012025/18/50/image_30012025_18_50_35_10482.jpg', '/home/pi/Desktop/images/30012025/18/50/image_30012025_18_50_44_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/49/image_30012025_18_49_54_9343.jpg
/home/pi/Desktop/images/30012025/18/49/image_30012025_18_50_05_10351.jpg
/home/pi/Desktop/images/30012025/18/50/image_30012025_18_50_14_9415.jpg
/home/pi/Desktop/images/30012025/18/50/image_30012025_18_50_24_10351.jpg
/home/pi/Desktop/images/30012025/18/50/image_30012025_18_50_35_10482.jpg
/home/pi/Desktop/images/30012025/18/50/image_30012025_18_50_44_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":["1333062765","1333062768","1333062744","1333062761","1333062757","1333062751"],"photo_ids_order":["1333062744","1333062751","1333062757","1333062761","1333062765","1333062768"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/10d5621313f245f42762e4f774aafcf8.jpg","text":"TemporaryFile(/tmp/multipartBody345007485543338800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259503775,"filename":"image_30012025_18_50_35_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/48639ff4a4141c394e8b184381ec95f8.jpg","text":"TemporaryFile(/tmp/multipartBody8463549475390326326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259503775,"filename":"image_30012025_18_50_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/30/4fd9b6f8b564702cf6c77db2c401a613.jpg","text":"TemporaryFile(/tmp/multipartBody3266924612639533265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259503775,"filename":"image_30012025_18_49_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/30/b6526a7f38b81851e3395935a9f2909c.jpg","text":"TemporaryFile(/tmp/multipartBody2157000547262895069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259503775,"filename":"image_30012025_18_50_24_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ff35e89e8ad2b61765c4fb5d6668b937.jpg","text":"TemporaryFile(/tmp/multipartBody6461566311332507734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259503775,"filename":"image_30012025_18_50_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/30/20493b4f4291b27a06da705c2ca41c4f.jpg","text":"TemporaryFile(/tmp/multipartBody1456152750050112788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259503775,"filename":"image_30012025_18_50_05_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333062757","file1":"1333062751","file0":"1333062744","file4":"1333062765","file5":"1333062768","file3":"1333062761"},"map_files_photo_id_array":[{"photo_id":"1333062768","filename":"file5"},{"photo_id":"1333062757","filename":"file2"},{"photo_id":"1333062765","filename":"file4"},{"photo_id":"1333062751","filename":"file1"},{"photo_id":"1333062744","filename":"file0"},{"photo_id":"1333062761","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333062765":["hashtag1","hashtag2"]},{"1333062768":["hashtag1","hashtag2"]},{"1333062744":["hashtag1","hashtag2"]},{"1333062761":["hashtag1","hashtag2"]},{"1333062757":["hashtag1","hashtag2"]},{"1333062751":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333062765, 1333062768, 1333062744, 1333062761, 1333062757, 1333062751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.51949381828308 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:51:32.984663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/50/image_30012025_18_50_55_10354.jpg', '/home/pi/Desktop/images/30012025/18/50/image_30012025_18_51_05_10365.jpg', '/home/pi/Desktop/images/30012025/18/51/image_30012025_18_51_14_9341.jpg', '/home/pi/Desktop/images/30012025/18/51/image_30012025_18_51_25_10372.jpg', '/home/pi/Desktop/images/30012025/18/51/image_30012025_18_51_34_9447.jpg', '/home/pi/Desktop/images/30012025/18/51/image_30012025_18_51_45_10435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/50/image_30012025_18_50_55_10354.jpg
/home/pi/Desktop/images/30012025/18/50/image_30012025_18_51_05_10365.jpg
/home/pi/Desktop/images/30012025/18/51/image_30012025_18_51_14_9341.jpg
/home/pi/Desktop/images/30012025/18/51/image_30012025_18_51_25_10372.jpg
/home/pi/Desktop/images/30012025/18/51/image_30012025_18_51_34_9447.jpg
/home/pi/Desktop/images/30012025/18/51/image_30012025_18_51_45_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":["1333062804","1333062788","1333062800","1333062784","1333062793","1333062781"],"photo_ids_order":["1333062781","1333062784","1333062788","1333062793","1333062800","1333062804"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/428c0806172b0c235a75af5f3c3516f9.jpg","text":"TemporaryFile(/tmp/multipartBody6766183837028653448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259554356,"filename":"image_30012025_18_51_45_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/25b6ffe79f954d34716273cf07ea2302.jpg","text":"TemporaryFile(/tmp/multipartBody6979045287176742663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259554356,"filename":"image_30012025_18_51_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/30/f983f683b8cd75bb473ab78053e59321.jpg","text":"TemporaryFile(/tmp/multipartBody4333001785501337453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259554356,"filename":"image_30012025_18_51_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/30/72d5acdd4c9d70698aadc9fd94ff5797.jpg","text":"TemporaryFile(/tmp/multipartBody7772888032479455580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259554356,"filename":"image_30012025_18_51_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/30/7cb136a857f9fafa5ef357d0ac16e1f9.jpg","text":"TemporaryFile(/tmp/multipartBody148397732784820235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259554356,"filename":"image_30012025_18_51_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/992ba5551ebccb69208fab998c0cb586.jpg","text":"TemporaryFile(/tmp/multipartBody2389486501485038492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259554356,"filename":"image_30012025_18_50_55_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333062788","file1":"1333062784","file0":"1333062781","file4":"1333062800","file5":"1333062804","file3":"1333062793"},"map_files_photo_id_array":[{"photo_id":"1333062804","filename":"file5"},{"photo_id":"1333062788","filename":"file2"},{"photo_id":"1333062800","filename":"file4"},{"photo_id":"1333062784","filename":"file1"},{"photo_id":"1333062781","filename":"file0"},{"photo_id":"1333062793","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333062804":["hashtag1","hashtag2"]},{"1333062788":["hashtag1","hashtag2"]},{"1333062800":["hashtag1","hashtag2"]},{"1333062784":["hashtag1","hashtag2"]},{"1333062793":["hashtag1","hashtag2"]},{"1333062781":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333062804, 1333062788, 1333062800, 1333062784, 1333062793, 1333062781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.47081899642944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:52:32.171775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/51/image_30012025_18_51_55_10366.jpg', '/home/pi/Desktop/images/30012025/18/51/image_30012025_18_52_04_9466.jpg', '/home/pi/Desktop/images/30012025/18/52/image_30012025_18_52_15_10373.jpg', '/home/pi/Desktop/images/30012025/18/52/image_30012025_18_52_24_9439.jpg', '/home/pi/Desktop/images/30012025/18/52/image_30012025_18_52_35_10349.jpg', '/home/pi/Desktop/images/30012025/18/52/image_30012025_18_52_44_9480.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/51/image_30012025_18_51_55_10366.jpg
/home/pi/Desktop/images/30012025/18/51/image_30012025_18_52_04_9466.jpg
/home/pi/Desktop/images/30012025/18/52/image_30012025_18_52_15_10373.jpg
/home/pi/Desktop/images/30012025/18/52/image_30012025_18_52_24_9439.jpg
/home/pi/Desktop/images/30012025/18/52/image_30012025_18_52_35_10349.jpg
/home/pi/Desktop/images/30012025/18/52/image_30012025_18_52_44_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":["1333062840","1333062830","1333062824","1333062835","1333062844","1333062817"],"photo_ids_order":["1333062817","1333062824","1333062830","1333062835","1333062840","1333062844"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/545a1597bae35a4df077ad2f9317ef17.jpg","text":"TemporaryFile(/tmp/multipartBody7555927850873531619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259613095,"filename":"image_30012025_18_52_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/30/5fd15fa6d65d9a736239990913148eba.jpg","text":"TemporaryFile(/tmp/multipartBody7722616831988876227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259613095,"filename":"image_30012025_18_52_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/30/5694ad93515a74fc5c1e81edc8871667.jpg","text":"TemporaryFile(/tmp/multipartBody1217391352984339645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259613095,"filename":"image_30012025_18_52_04_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cc7716f27d86d30f63b3cc1cd2917528.jpg","text":"TemporaryFile(/tmp/multipartBody4797423395953555210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259613095,"filename":"image_30012025_18_52_24_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/30/05cdaa3e1731ef2798300ac7ba63b2c8.jpg","text":"TemporaryFile(/tmp/multipartBody5002253514140031951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259613095,"filename":"image_30012025_18_52_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/30/49770486c4d5c1ffd5b7a0edaf9910d7.jpg","text":"TemporaryFile(/tmp/multipartBody3476053826187574251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259613095,"filename":"image_30012025_18_51_55_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333062830","file1":"1333062824","file0":"1333062817","file4":"1333062840","file5":"1333062844","file3":"1333062835"},"map_files_photo_id_array":[{"photo_id":"1333062844","filename":"file5"},{"photo_id":"1333062830","filename":"file2"},{"photo_id":"1333062840","filename":"file4"},{"photo_id":"1333062824","filename":"file1"},{"photo_id":"1333062817","filename":"file0"},{"photo_id":"1333062835","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333062840":["hashtag1","hashtag2"]},{"1333062830":["hashtag1","hashtag2"]},{"1333062824":["hashtag1","hashtag2"]},{"1333062835":["hashtag1","hashtag2"]},{"1333062844":["hashtag1","hashtag2"]},{"1333062817":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333062840, 1333062830, 1333062824, 1333062835, 1333062844, 1333062817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.112696170806885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:53:32.552176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/52/image_30012025_18_52_54_10362.jpg', '/home/pi/Desktop/images/30012025/18/52/image_30012025_18_53_05_10360.jpg', '/home/pi/Desktop/images/30012025/18/53/image_30012025_18_53_14_9411.jpg', '/home/pi/Desktop/images/30012025/18/53/image_30012025_18_53_25_10365.jpg', '/home/pi/Desktop/images/30012025/18/53/image_30012025_18_53_35_10482.jpg', '/home/pi/Desktop/images/30012025/18/53/image_30012025_18_53_44_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/52/image_30012025_18_52_54_10362.jpg
/home/pi/Desktop/images/30012025/18/52/image_30012025_18_53_05_10360.jpg
/home/pi/Desktop/images/30012025/18/53/image_30012025_18_53_14_9411.jpg
/home/pi/Desktop/images/30012025/18/53/image_30012025_18_53_25_10365.jpg
/home/pi/Desktop/images/30012025/18/53/image_30012025_18_53_35_10482.jpg
/home/pi/Desktop/images/30012025/18/53/image_30012025_18_53_44_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":["1333062873","1333062881","1333062869","1333062878","1333062865","1333062859"],"photo_ids_order":["1333062859","1333062865","1333062869","1333062873","1333062878","1333062881"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3b934090fb19c78b6d49faa2b0ac294e.jpg","text":"TemporaryFile(/tmp/multipartBody8453209520221127916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259673462,"filename":"image_30012025_18_53_25_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/30/af059c639b5f1a8b4117899493c3e361.jpg","text":"TemporaryFile(/tmp/multipartBody7459824423279249006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259673462,"filename":"image_30012025_18_53_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/30/55a0c923b1aad705df9aaa6c7b7e8eca.jpg","text":"TemporaryFile(/tmp/multipartBody8639089367161469378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259673462,"filename":"image_30012025_18_53_14_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/30/792a7c66fcccdfaeefe79000f3015e8a.jpg","text":"TemporaryFile(/tmp/multipartBody9154856275403003193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259673462,"filename":"image_30012025_18_53_35_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a6099a89334802c8fcb4594339dca946.jpg","text":"TemporaryFile(/tmp/multipartBody5999913926751968542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259673462,"filename":"image_30012025_18_53_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/30/219ec3a25e3f993dfedf7002830e83c2.jpg","text":"TemporaryFile(/tmp/multipartBody2585435970795695152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259673462,"filename":"image_30012025_18_52_54_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333062869","file1":"1333062865","file0":"1333062859","file4":"1333062878","file5":"1333062881","file3":"1333062873"},"map_files_photo_id_array":[{"photo_id":"1333062881","filename":"file5"},{"photo_id":"1333062869","filename":"file2"},{"photo_id":"1333062878","filename":"file4"},{"photo_id":"1333062865","filename":"file1"},{"photo_id":"1333062859","filename":"file0"},{"photo_id":"1333062873","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333062873":["hashtag1","hashtag2"]},{"1333062881":["hashtag1","hashtag2"]},{"1333062869":["hashtag1","hashtag2"]},{"1333062878":["hashtag1","hashtag2"]},{"1333062865":["hashtag1","hashtag2"]},{"1333062859":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333062873, 1333062881, 1333062869, 1333062878, 1333062865, 1333062859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.4373676776886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:54:32.782440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/53/image_30012025_18_53_55_10354.jpg', '/home/pi/Desktop/images/30012025/18/53/image_30012025_18_54_04_9336.jpg', '/home/pi/Desktop/images/30012025/18/54/image_30012025_18_54_14_10342.jpg', '/home/pi/Desktop/images/30012025/18/54/image_30012025_18_54_25_10372.jpg', '/home/pi/Desktop/images/30012025/18/54/image_30012025_18_54_34_9354.jpg', '/home/pi/Desktop/images/30012025/18/54/image_30012025_18_54_44_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/53/image_30012025_18_53_55_10354.jpg
/home/pi/Desktop/images/30012025/18/53/image_30012025_18_54_04_9336.jpg
/home/pi/Desktop/images/30012025/18/54/image_30012025_18_54_14_10342.jpg
/home/pi/Desktop/images/30012025/18/54/image_30012025_18_54_25_10372.jpg
/home/pi/Desktop/images/30012025/18/54/image_30012025_18_54_34_9354.jpg
/home/pi/Desktop/images/30012025/18/54/image_30012025_18_54_44_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333062924","1333062906","1333062915","1333062899","1333062920","1333062928"],"photo_ids_order":["1333062899","1333062906","1333062915","1333062920","1333062924","1333062928"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6dd55235a565f8957f5d2eccdf2a2e61.jpg","text":"TemporaryFile(/tmp/multipartBody3577738253864689449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259733696,"filename":"image_30012025_18_54_34_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/30/10d40cb7bfe36c50146958326fd67674.jpg","text":"TemporaryFile(/tmp/multipartBody1981260748676468943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259733696,"filename":"image_30012025_18_54_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/30/7811a609d78342e6f826f2b4380f5cba.jpg","text":"TemporaryFile(/tmp/multipartBody3110278151800981563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259733696,"filename":"image_30012025_18_54_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/30/a44a898dd883865a4030a1c67102e0e7.jpg","text":"TemporaryFile(/tmp/multipartBody2501189350296400896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259733696,"filename":"image_30012025_18_53_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/30/d815559f397fbe0b34404a19983c17dd.jpg","text":"TemporaryFile(/tmp/multipartBody6578467714589935873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259733696,"filename":"image_30012025_18_54_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/87ec2353b09e9579c633add8be47b99d.jpg","text":"TemporaryFile(/tmp/multipartBody5675049683459968359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259733696,"filename":"image_30012025_18_54_44_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333062915","file1":"1333062906","file0":"1333062899","file4":"1333062924","file5":"1333062928","file3":"1333062920"},"map_files_photo_id_array":[{"photo_id":"1333062928","filename":"file5"},{"photo_id":"1333062915","filename":"file2"},{"photo_id":"1333062924","filename":"file4"},{"photo_id":"1333062906","filename":"file1"},{"photo_id":"1333062899","filename":"file0"},{"photo_id":"1333062920","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333062924":["hashtag1","hashtag2"]},{"1333062906":["hashtag1","hashtag2"]},{"1333062915":["hashtag1","hashtag2"]},{"1333062899":["hashtag1","hashtag2"]},{"1333062920":["hashtag1","hashtag2"]},{"1333062928":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333062924, 1333062906, 1333062915, 1333062899, 1333062920, 1333062928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.1299102306366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:55:32.957949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/54/image_30012025_18_54_55_10418.jpg', '/home/pi/Desktop/images/30012025/18/54/image_30012025_18_55_04_9426.jpg', '/home/pi/Desktop/images/30012025/18/55/image_30012025_18_55_15_10363.jpg', '/home/pi/Desktop/images/30012025/18/55/image_30012025_18_55_24_9353.jpg', '/home/pi/Desktop/images/30012025/18/55/image_30012025_18_55_34_10350.jpg', '/home/pi/Desktop/images/30012025/18/55/image_30012025_18_55_45_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/54/image_30012025_18_54_55_10418.jpg
/home/pi/Desktop/images/30012025/18/54/image_30012025_18_55_04_9426.jpg
/home/pi/Desktop/images/30012025/18/55/image_30012025_18_55_15_10363.jpg
/home/pi/Desktop/images/30012025/18/55/image_30012025_18_55_24_9353.jpg
/home/pi/Desktop/images/30012025/18/55/image_30012025_18_55_34_10350.jpg
/home/pi/Desktop/images/30012025/18/55/image_30012025_18_55_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":["1333062981","1333062990","1333062977","1333062985","1333062970","1333062973"],"photo_ids_order":["1333062970","1333062973","1333062977","1333062981","1333062985","1333062990"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9db1b4c4f222d4d924777ae739bb9e15.jpg","text":"TemporaryFile(/tmp/multipartBody6771611295346922984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259793894,"filename":"image_30012025_18_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/30/d72cccd4930ddb98b1c9e019299e8f74.jpg","text":"TemporaryFile(/tmp/multipartBody2391672532710801686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259793894,"filename":"image_30012025_18_55_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/30/c3ce4ca4036e824d744602bc07e1ed74.jpg","text":"TemporaryFile(/tmp/multipartBody7008941547910176421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259793894,"filename":"image_30012025_18_55_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/30/529b43f2a0f626a4d21f92d9dba0bd17.jpg","text":"TemporaryFile(/tmp/multipartBody7276287866861080998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259793894,"filename":"image_30012025_18_55_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/30/424e79722205c0759db3555b4c0362ec.jpg","text":"TemporaryFile(/tmp/multipartBody259974964426526570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259793894,"filename":"image_30012025_18_54_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/30/1b6a4391221dfd42967e35d2966c6c1d.jpg","text":"TemporaryFile(/tmp/multipartBody6545111366051950843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259793894,"filename":"image_30012025_18_55_04_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333062977","file1":"1333062973","file0":"1333062970","file4":"1333062985","file5":"1333062990","file3":"1333062981"},"map_files_photo_id_array":[{"photo_id":"1333062990","filename":"file5"},{"photo_id":"1333062977","filename":"file2"},{"photo_id":"1333062985","filename":"file4"},{"photo_id":"1333062973","filename":"file1"},{"photo_id":"1333062970","filename":"file0"},{"photo_id":"1333062981","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333062981":["hashtag1","hashtag2"]},{"1333062990":["hashtag1","hashtag2"]},{"1333062977":["hashtag1","hashtag2"]},{"1333062985":["hashtag1","hashtag2"]},{"1333062970":["hashtag1","hashtag2"]},{"1333062973":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333062981, 1333062990, 1333062977, 1333062985, 1333062970, 1333062973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.32412123680115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:56:32.255848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/55/image_30012025_18_55_54_9343.jpg', '/home/pi/Desktop/images/30012025/18/55/image_30012025_18_56_04_10368.jpg', '/home/pi/Desktop/images/30012025/18/56/image_30012025_18_56_15_10427.jpg', '/home/pi/Desktop/images/30012025/18/56/image_30012025_18_56_24_9359.jpg', '/home/pi/Desktop/images/30012025/18/56/image_30012025_18_56_35_10333.jpg', '/home/pi/Desktop/images/30012025/18/56/image_30012025_18_56_45_10436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/55/image_30012025_18_55_54_9343.jpg
/home/pi/Desktop/images/30012025/18/55/image_30012025_18_56_04_10368.jpg
/home/pi/Desktop/images/30012025/18/56/image_30012025_18_56_15_10427.jpg
/home/pi/Desktop/images/30012025/18/56/image_30012025_18_56_24_9359.jpg
/home/pi/Desktop/images/30012025/18/56/image_30012025_18_56_35_10333.jpg
/home/pi/Desktop/images/30012025/18/56/image_30012025_18_56_45_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333063011","1333063070","1333063064","1333063045","1333063068","1333063006"],"photo_ids_order":["1333063006","1333063011","1333063045","1333063064","1333063068","1333063070"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/990feb63a458d76e01768ea7868bb344.jpg","text":"TemporaryFile(/tmp/multipartBody3122731162786186875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259853180,"filename":"image_30012025_18_56_04_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/30/4c010c6d4085d2dff17b392ba4b35411.jpg","text":"TemporaryFile(/tmp/multipartBody7032302677213491227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259853180,"filename":"image_30012025_18_56_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/30/ef56d5b81aa8a2e9fa622ead09658d2f.jpg","text":"TemporaryFile(/tmp/multipartBody7181501307009152071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259853180,"filename":"image_30012025_18_56_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/30/3cf0bcf740f609128f942dc99db4053a.jpg","text":"TemporaryFile(/tmp/multipartBody7449859404349485786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259853180,"filename":"image_30012025_18_56_15_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/30/dd345276f9bbcd3bcd679c7669be6b0f.jpg","text":"TemporaryFile(/tmp/multipartBody1192899412334600685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259853180,"filename":"image_30012025_18_56_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/30/c10ace5742178b7bc20efc1de68d6104.jpg","text":"TemporaryFile(/tmp/multipartBody7760290762195439769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738259853180,"filename":"image_30012025_18_55_54_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333063045","file1":"1333063011","file0":"1333063006","file4":"1333063068","file5":"1333063070","file3":"1333063064"},"map_files_photo_id_array":[{"photo_id":"1333063070","filename":"file5"},{"photo_id":"1333063045","filename":"file2"},{"photo_id":"1333063068","filename":"file4"},{"photo_id":"1333063011","filename":"file1"},{"photo_id":"1333063006","filename":"file0"},{"photo_id":"1333063064","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333063011":["hashtag1","hashtag2"]},{"1333063070":["hashtag1","hashtag2"]},{"1333063064":["hashtag1","hashtag2"]},{"1333063045":["hashtag1","hashtag2"]},{"1333063068":["hashtag1","hashtag2"]},{"1333063006":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333063011, 1333063070, 1333063064, 1333063045, 1333063068, 1333063006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.5014169216156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:57:32.542087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/56/image_30012025_18_56_54_9350.jpg', '/home/pi/Desktop/images/30012025/18/56/image_30012025_18_57_05_10422.jpg', '/home/pi/Desktop/images/30012025/18/57/image_30012025_18_57_14_9398.jpg', '/home/pi/Desktop/images/30012025/18/57/image_30012025_18_57_25_10358.jpg', '/home/pi/Desktop/images/30012025/18/57/image_30012025_18_57_35_10395.jpg', '/home/pi/Desktop/images/30012025/18/57/image_30012025_18_57_44_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/56/image_30012025_18_56_54_9350.jpg
/home/pi/Desktop/images/30012025/18/56/image_30012025_18_57_05_10422.jpg
/home/pi/Desktop/images/30012025/18/57/image_30012025_18_57_14_9398.jpg
/home/pi/Desktop/images/30012025/18/57/image_30012025_18_57_25_10358.jpg
/home/pi/Desktop/images/30012025/18/57/image_30012025_18_57_35_10395.jpg
/home/pi/Desktop/images/30012025/18/57/image_30012025_18_57_44_9345.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-30 18:59:04.861623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/56/image_30012025_18_56_54_9350.jpg', '/home/pi/Desktop/images/30012025/18/56/image_30012025_18_57_05_10422.jpg', '/home/pi/Desktop/images/30012025/18/57/image_30012025_18_57_14_9398.jpg', '/home/pi/Desktop/images/30012025/18/57/image_30012025_18_57_25_10358.jpg', '/home/pi/Desktop/images/30012025/18/57/image_30012025_18_57_35_10395.jpg', '/home/pi/Desktop/images/30012025/18/57/image_30012025_18_57_44_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/56/image_30012025_18_56_54_9350.jpg
/home/pi/Desktop/images/30012025/18/56/image_30012025_18_57_05_10422.jpg
/home/pi/Desktop/images/30012025/18/57/image_30012025_18_57_14_9398.jpg
/home/pi/Desktop/images/30012025/18/57/image_30012025_18_57_25_10358.jpg
/home/pi/Desktop/images/30012025/18/57/image_30012025_18_57_35_10395.jpg
/home/pi/Desktop/images/30012025/18/57/image_30012025_18_57_44_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":["1333063335","1333063329","1333063349","1333063342","1333063345","1333063339"],"photo_ids_order":["1333063329","1333063335","1333063339","1333063342","1333063345","1333063349"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cf53bb01694f910cafb7b93837095505.jpg","text":"TemporaryFile(/tmp/multipartBody4634048481544738821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260005888,"filename":"image_30012025_18_57_05_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/30/6339b13c78aa881b1b41dab69ba1b494.jpg","text":"TemporaryFile(/tmp/multipartBody8304372314190490703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260005888,"filename":"image_30012025_18_56_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/30/bfc759230e1d1107e72381a532efd25c.jpg","text":"TemporaryFile(/tmp/multipartBody6184680841485929439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260005888,"filename":"image_30012025_18_57_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/30/fb427e8a39ea1d16f396c22b63703ad0.jpg","text":"TemporaryFile(/tmp/multipartBody7416921463529770111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260005888,"filename":"image_30012025_18_57_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/30/9cd741c19d68bedf65f78232b7f9134f.jpg","text":"TemporaryFile(/tmp/multipartBody3152832587538618138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260005888,"filename":"image_30012025_18_57_35_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/30/6313cb89dee306b2eb9f0505f176efff.jpg","text":"TemporaryFile(/tmp/multipartBody3666723173261817806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260005888,"filename":"image_30012025_18_57_14_9398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333063339","file1":"1333063335","file0":"1333063329","file4":"1333063345","file5":"1333063349","file3":"1333063342"},"map_files_photo_id_array":[{"photo_id":"1333063349","filename":"file5"},{"photo_id":"1333063339","filename":"file2"},{"photo_id":"1333063345","filename":"file4"},{"photo_id":"1333063335","filename":"file1"},{"photo_id":"1333063329","filename":"file0"},{"photo_id":"1333063342","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333063335":["hashtag1","hashtag2"]},{"1333063329":["hashtag1","hashtag2"]},{"1333063349":["hashtag1","hashtag2"]},{"1333063342":["hashtag1","hashtag2"]},{"1333063345":["hashtag1","hashtag2"]},{"1333063339":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333063335, 1333063329, 1333063349, 1333063342, 1333063345, 1333063339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.49616813659668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 18:59:53.130321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/57/image_30012025_18_57_55_10386.jpg', '/home/pi/Desktop/images/30012025/18/57/image_30012025_18_58_05_10358.jpg', '/home/pi/Desktop/images/30012025/18/58/image_30012025_18_58_14_9345.jpg', '/home/pi/Desktop/images/30012025/18/58/image_30012025_18_58_25_10413.jpg', '/home/pi/Desktop/images/30012025/18/58/image_30012025_18_58_34_9450.jpg', '/home/pi/Desktop/images/30012025/18/58/image_30012025_18_58_45_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/57/image_30012025_18_57_55_10386.jpg
/home/pi/Desktop/images/30012025/18/57/image_30012025_18_58_05_10358.jpg
/home/pi/Desktop/images/30012025/18/58/image_30012025_18_58_14_9345.jpg
/home/pi/Desktop/images/30012025/18/58/image_30012025_18_58_25_10413.jpg
/home/pi/Desktop/images/30012025/18/58/image_30012025_18_58_34_9450.jpg
/home/pi/Desktop/images/30012025/18/58/image_30012025_18_58_45_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":["1333063416","1333063388","1333063379","1333063448","1333063436","1333063420"],"photo_ids_order":["1333063379","1333063388","1333063416","1333063420","1333063436","1333063448"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/be517d1f02c77b18bab90166a1760ef2.jpg","text":"TemporaryFile(/tmp/multipartBody4224930925093305369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260054073,"filename":"image_30012025_18_58_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/30/e6cc780af6f9ac3ec45059960d1da002.jpg","text":"TemporaryFile(/tmp/multipartBody3134253511431477727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260054073,"filename":"image_30012025_18_58_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ba02558d4ce50b731e791919ee5a0165.jpg","text":"TemporaryFile(/tmp/multipartBody719370555020512668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260054073,"filename":"image_30012025_18_57_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/30/3bcad33a0969c00de78f87ba4d0d4285.jpg","text":"TemporaryFile(/tmp/multipartBody3787135359310066846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260054073,"filename":"image_30012025_18_58_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/30/2235339049f1a8ee124e7fbecf4c0bf6.jpg","text":"TemporaryFile(/tmp/multipartBody3225772850133809917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260054073,"filename":"image_30012025_18_58_34_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3764e094cd4f666b268bfac041449dae.jpg","text":"TemporaryFile(/tmp/multipartBody1768708247769473265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260054073,"filename":"image_30012025_18_58_25_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333063416","file1":"1333063388","file0":"1333063379","file4":"1333063436","file5":"1333063448","file3":"1333063420"},"map_files_photo_id_array":[{"photo_id":"1333063448","filename":"file5"},{"photo_id":"1333063416","filename":"file2"},{"photo_id":"1333063436","filename":"file4"},{"photo_id":"1333063388","filename":"file1"},{"photo_id":"1333063379","filename":"file0"},{"photo_id":"1333063420","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333063416":["hashtag1","hashtag2"]},{"1333063388":["hashtag1","hashtag2"]},{"1333063379":["hashtag1","hashtag2"]},{"1333063448":["hashtag1","hashtag2"]},{"1333063436":["hashtag1","hashtag2"]},{"1333063420":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333063416, 1333063388, 1333063379, 1333063448, 1333063436, 1333063420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28158926963806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 19:00:42.392361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/58/image_30012025_18_58_54_9467.jpg', '/home/pi/Desktop/images/30012025/18/58/image_30012025_18_59_04_10354.jpg', '/home/pi/Desktop/images/30012025/18/59/image_30012025_18_59_15_10356.jpg', '/home/pi/Desktop/images/30012025/18/59/image_30012025_18_59_24_9352.jpg', '/home/pi/Desktop/images/30012025/18/59/image_30012025_18_59_34_10363.jpg', '/home/pi/Desktop/images/30012025/18/59/image_30012025_18_59_45_10445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/58/image_30012025_18_58_54_9467.jpg
/home/pi/Desktop/images/30012025/18/58/image_30012025_18_59_04_10354.jpg
/home/pi/Desktop/images/30012025/18/59/image_30012025_18_59_15_10356.jpg
/home/pi/Desktop/images/30012025/18/59/image_30012025_18_59_24_9352.jpg
/home/pi/Desktop/images/30012025/18/59/image_30012025_18_59_34_10363.jpg
/home/pi/Desktop/images/30012025/18/59/image_30012025_18_59_45_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":["1333063509","1333063518","1333063503","1333063512","1333063506","1333063501"],"photo_ids_order":["1333063501","1333063503","1333063506","1333063509","1333063512","1333063518"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/43d7ff21b7bc1471aceaa299a85e7e46.jpg","text":"TemporaryFile(/tmp/multipartBody3779112732740209219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260103328,"filename":"image_30012025_18_59_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/30/647312f81cff9f6e05c50f7922994b7c.jpg","text":"TemporaryFile(/tmp/multipartBody8814355177880042112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260103328,"filename":"image_30012025_18_59_45_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b5363f3f7fcde315f447a35438c4ddb8.jpg","text":"TemporaryFile(/tmp/multipartBody1373355049270837788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260103328,"filename":"image_30012025_18_59_04_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e0e689c6e0f9a9405e4d8f20dd7a59c8.jpg","text":"TemporaryFile(/tmp/multipartBody8361510312515543889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260103328,"filename":"image_30012025_18_59_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/30/1cd3daee8da9ff9372f7ace03eb3c9ec.jpg","text":"TemporaryFile(/tmp/multipartBody5741950098309601307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260103328,"filename":"image_30012025_18_59_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/30/46b6eec94ce6ced58170d3aafe4a20af.jpg","text":"TemporaryFile(/tmp/multipartBody5378675052133978096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260103328,"filename":"image_30012025_18_58_54_9467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333063506","file1":"1333063503","file0":"1333063501","file4":"1333063512","file5":"1333063518","file3":"1333063509"},"map_files_photo_id_array":[{"photo_id":"1333063518","filename":"file5"},{"photo_id":"1333063506","filename":"file2"},{"photo_id":"1333063512","filename":"file4"},{"photo_id":"1333063503","filename":"file1"},{"photo_id":"1333063501","filename":"file0"},{"photo_id":"1333063509","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333063509":["hashtag1","hashtag2"]},{"1333063518":["hashtag1","hashtag2"]},{"1333063503":["hashtag1","hashtag2"]},{"1333063512":["hashtag1","hashtag2"]},{"1333063506":["hashtag1","hashtag2"]},{"1333063501":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333063509, 1333063518, 1333063503, 1333063512, 1333063506, 1333063501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22038412094116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:01:32.589573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/18/59/image_30012025_18_59_54_9351.jpg', '/home/pi/Desktop/images/30012025/19/00/image_30012025_19_00_16_10078.jpg', '/home/pi/Desktop/images/30012025/19/00/image_30012025_19_00_27_10420.jpg', '/home/pi/Desktop/images/30012025/19/00/image_30012025_19_00_37_10455.jpg', '/home/pi/Desktop/images/30012025/19/00/image_30012025_19_00_46_9333.jpg', '/home/pi/Desktop/images/30012025/19/00/image_30012025_19_00_57_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/18/59/image_30012025_18_59_54_9351.jpg
/home/pi/Desktop/images/30012025/19/00/image_30012025_19_00_16_10078.jpg
/home/pi/Desktop/images/30012025/19/00/image_30012025_19_00_27_10420.jpg
/home/pi/Desktop/images/30012025/19/00/image_30012025_19_00_37_10455.jpg
/home/pi/Desktop/images/30012025/19/00/image_30012025_19_00_46_9333.jpg
/home/pi/Desktop/images/30012025/19/00/image_30012025_19_00_57_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":["1333063539","1333063548","1333063533","1333063550","1333063544","1333063590"],"photo_ids_order":["1333063533","1333063539","1333063544","1333063548","1333063550","1333063590"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2dd8eb1567b87bb2b09124de834c9703.jpg","text":"TemporaryFile(/tmp/multipartBody4402535633960408697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260153505,"filename":"image_30012025_19_00_16_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/30/073c25d18423777751e1dec6a174e3d7.jpg","text":"TemporaryFile(/tmp/multipartBody8255037402981742981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260153505,"filename":"image_30012025_19_00_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/30/cdedd2f7544c008977f521cfaa63dac7.jpg","text":"TemporaryFile(/tmp/multipartBody1320310876287528542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260153505,"filename":"image_30012025_18_59_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/30/51eef674d2b2719f77f89bf16b3a3f6f.jpg","text":"TemporaryFile(/tmp/multipartBody8003865151980114542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260153505,"filename":"image_30012025_19_00_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/30/bca9bf031ead44b11074622ce1665e1c.jpg","text":"TemporaryFile(/tmp/multipartBody7819042427507658010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260153505,"filename":"image_30012025_19_00_27_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/30/83389d85bc038b89f688e00a62fdd5b5.jpg","text":"TemporaryFile(/tmp/multipartBody1127415000808079068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260153505,"filename":"image_30012025_19_00_57_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333063544","file1":"1333063539","file0":"1333063533","file4":"1333063550","file5":"1333063590","file3":"1333063548"},"map_files_photo_id_array":[{"photo_id":"1333063590","filename":"file5"},{"photo_id":"1333063544","filename":"file2"},{"photo_id":"1333063550","filename":"file4"},{"photo_id":"1333063539","filename":"file1"},{"photo_id":"1333063533","filename":"file0"},{"photo_id":"1333063548","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333063539":["hashtag1","hashtag2"]},{"1333063548":["hashtag1","hashtag2"]},{"1333063533":["hashtag1","hashtag2"]},{"1333063550":["hashtag1","hashtag2"]},{"1333063544":["hashtag1","hashtag2"]},{"1333063590":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333063539, 1333063548, 1333063533, 1333063550, 1333063544, 1333063590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29514813423157 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:02:33.051732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/00/image_30012025_19_01_06_9426.jpg', '/home/pi/Desktop/images/30012025/19/01/image_30012025_19_01_17_10342.jpg', '/home/pi/Desktop/images/30012025/19/01/image_30012025_19_01_27_10492.jpg', '/home/pi/Desktop/images/30012025/19/01/image_30012025_19_01_36_9350.jpg', '/home/pi/Desktop/images/30012025/19/01/image_30012025_19_01_47_10358.jpg', '/home/pi/Desktop/images/30012025/19/01/image_30012025_19_01_56_9463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/00/image_30012025_19_01_06_9426.jpg
/home/pi/Desktop/images/30012025/19/01/image_30012025_19_01_17_10342.jpg
/home/pi/Desktop/images/30012025/19/01/image_30012025_19_01_27_10492.jpg
/home/pi/Desktop/images/30012025/19/01/image_30012025_19_01_36_9350.jpg
/home/pi/Desktop/images/30012025/19/01/image_30012025_19_01_47_10358.jpg
/home/pi/Desktop/images/30012025/19/01/image_30012025_19_01_56_9463.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5530617237091064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 19:02:42.996052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/00/image_30012025_19_01_06_9426.jpg', '/home/pi/Desktop/images/30012025/19/01/image_30012025_19_01_17_10342.jpg', '/home/pi/Desktop/images/30012025/19/01/image_30012025_19_01_27_10492.jpg', '/home/pi/Desktop/images/30012025/19/01/image_30012025_19_01_36_9350.jpg', '/home/pi/Desktop/images/30012025/19/01/image_30012025_19_01_47_10358.jpg', '/home/pi/Desktop/images/30012025/19/01/image_30012025_19_01_56_9463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/00/image_30012025_19_01_06_9426.jpg
/home/pi/Desktop/images/30012025/19/01/image_30012025_19_01_17_10342.jpg
/home/pi/Desktop/images/30012025/19/01/image_30012025_19_01_27_10492.jpg
/home/pi/Desktop/images/30012025/19/01/image_30012025_19_01_36_9350.jpg
/home/pi/Desktop/images/30012025/19/01/image_30012025_19_01_47_10358.jpg
/home/pi/Desktop/images/30012025/19/01/image_30012025_19_01_56_9463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333063977","1333063970","1333063973","1333063913","1333063966","1333063933"],"photo_ids_order":["1333063913","1333063933","1333063966","1333063970","1333063973","1333063977"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/85632e25be419e86784047f153c06b1f.jpg","text":"TemporaryFile(/tmp/multipartBody8653245499121747387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260223910,"filename":"image_30012025_19_01_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/30/52b47d90a6ce20fb00d9b69b81842420.jpg","text":"TemporaryFile(/tmp/multipartBody5305299598903867890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260223910,"filename":"image_30012025_19_01_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/30/9821485d7a093a7d79b2737fe4536279.jpg","text":"TemporaryFile(/tmp/multipartBody59728319073841197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260223910,"filename":"image_30012025_19_01_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/30/117e5d78a03ce51a01d726c57bcfd9c5.jpg","text":"TemporaryFile(/tmp/multipartBody4811107437778420884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260223910,"filename":"image_30012025_19_01_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/30/b5b0b7861abc5a23e803b02cb048041f.jpg","text":"TemporaryFile(/tmp/multipartBody5985550274288691024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260223910,"filename":"image_30012025_19_01_27_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/30/66d685c52ecca824bdd659482d3f2ec5.jpg","text":"TemporaryFile(/tmp/multipartBody1828408726051962693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260223910,"filename":"image_30012025_19_01_17_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333063966","file1":"1333063933","file0":"1333063913","file4":"1333063973","file5":"1333063977","file3":"1333063970"},"map_files_photo_id_array":[{"photo_id":"1333063977","filename":"file5"},{"photo_id":"1333063966","filename":"file2"},{"photo_id":"1333063973","filename":"file4"},{"photo_id":"1333063933","filename":"file1"},{"photo_id":"1333063913","filename":"file0"},{"photo_id":"1333063970","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333063977":["hashtag1","hashtag2"]},{"1333063970":["hashtag1","hashtag2"]},{"1333063973":["hashtag1","hashtag2"]},{"1333063913":["hashtag1","hashtag2"]},{"1333063966":["hashtag1","hashtag2"]},{"1333063933":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333063977, 1333063970, 1333063973, 1333063913, 1333063966, 1333063933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38050389289856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:03:32.175361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/01/image_30012025_19_02_07_10330.jpg', '/home/pi/Desktop/images/30012025/19/02/image_30012025_19_02_17_10462.jpg', '/home/pi/Desktop/images/30012025/19/02/image_30012025_19_02_26_9359.jpg', '/home/pi/Desktop/images/30012025/19/02/image_30012025_19_02_37_10348.jpg', '/home/pi/Desktop/images/30012025/19/02/image_30012025_19_02_47_10445.jpg', '/home/pi/Desktop/images/30012025/19/02/image_30012025_19_02_57_9365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/01/image_30012025_19_02_07_10330.jpg
/home/pi/Desktop/images/30012025/19/02/image_30012025_19_02_17_10462.jpg
/home/pi/Desktop/images/30012025/19/02/image_30012025_19_02_26_9359.jpg
/home/pi/Desktop/images/30012025/19/02/image_30012025_19_02_37_10348.jpg
/home/pi/Desktop/images/30012025/19/02/image_30012025_19_02_47_10445.jpg
/home/pi/Desktop/images/30012025/19/02/image_30012025_19_02_57_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":["1333064081","1333064099","1333064092","1333064086","1333064095","1333064203"],"photo_ids_order":["1333064081","1333064086","1333064092","1333064095","1333064099","1333064203"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/64e7616fa4c5edaf6b0d7e06bda0a676.jpg","text":"TemporaryFile(/tmp/multipartBody963651650393510236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260273089,"filename":"image_30012025_19_02_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/30/275a4257f5f38d75df04d0bb56775009.jpg","text":"TemporaryFile(/tmp/multipartBody5729966340851022404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260273089,"filename":"image_30012025_19_02_47_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d56115f5bfbb639340396ed36a687be4.jpg","text":"TemporaryFile(/tmp/multipartBody2437723350420445830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260273089,"filename":"image_30012025_19_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/30/ec22476965bb01b8f6dc631ece5d2f3f.jpg","text":"TemporaryFile(/tmp/multipartBody7738874978068158763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260273089,"filename":"image_30012025_19_02_17_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/30/5cb9de9714674e396d7d4ad80b908105.jpg","text":"TemporaryFile(/tmp/multipartBody2820535365444186276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260273089,"filename":"image_30012025_19_02_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/30/7b0cf7306cca8d7d3dd478df256e23a0.jpg","text":"TemporaryFile(/tmp/multipartBody1513072330490483100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260273089,"filename":"image_30012025_19_02_57_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333064092","file1":"1333064086","file0":"1333064081","file4":"1333064099","file5":"1333064203","file3":"1333064095"},"map_files_photo_id_array":[{"photo_id":"1333064203","filename":"file5"},{"photo_id":"1333064092","filename":"file2"},{"photo_id":"1333064099","filename":"file4"},{"photo_id":"1333064086","filename":"file1"},{"photo_id":"1333064081","filename":"file0"},{"photo_id":"1333064095","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333064081":["hashtag1","hashtag2"]},{"1333064099":["hashtag1","hashtag2"]},{"1333064092":["hashtag1","hashtag2"]},{"1333064086":["hashtag1","hashtag2"]},{"1333064095":["hashtag1","hashtag2"]},{"1333064203":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333064081, 1333064099, 1333064092, 1333064086, 1333064095, 1333064203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50111174583435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:04:32.362441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/02/image_30012025_19_03_07_10410.jpg', '/home/pi/Desktop/images/30012025/19/03/image_30012025_19_03_16_9345.jpg', '/home/pi/Desktop/images/30012025/19/03/image_30012025_19_03_27_10388.jpg', '/home/pi/Desktop/images/30012025/19/03/image_30012025_19_03_37_10464.jpg', '/home/pi/Desktop/images/30012025/19/03/image_30012025_19_03_47_9424.jpg', '/home/pi/Desktop/images/30012025/19/03/image_30012025_19_03_57_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/02/image_30012025_19_03_07_10410.jpg
/home/pi/Desktop/images/30012025/19/03/image_30012025_19_03_16_9345.jpg
/home/pi/Desktop/images/30012025/19/03/image_30012025_19_03_27_10388.jpg
/home/pi/Desktop/images/30012025/19/03/image_30012025_19_03_37_10464.jpg
/home/pi/Desktop/images/30012025/19/03/image_30012025_19_03_47_9424.jpg
/home/pi/Desktop/images/30012025/19/03/image_30012025_19_03_57_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":["1333064261","1333064264","1333064267","1333064426","1333064428","1333064283"],"photo_ids_order":["1333064261","1333064264","1333064267","1333064283","1333064426","1333064428"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4d5892b49d4cd597e415797c913d5d75.jpg","text":"TemporaryFile(/tmp/multipartBody1507907137443059483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260333280,"filename":"image_30012025_19_03_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/30/6e7d69bc8635f257aa18bcd1e2c445da.jpg","text":"TemporaryFile(/tmp/multipartBody2555998102081178780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260333280,"filename":"image_30012025_19_03_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/30/f01cadc9c1f70c64368a29cf5172801b.jpg","text":"TemporaryFile(/tmp/multipartBody2003117692056734926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260333280,"filename":"image_30012025_19_03_27_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/30/ec55b5677a9dae35d30baec63f928bf8.jpg","text":"TemporaryFile(/tmp/multipartBody4866954306553792763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260333280,"filename":"image_30012025_19_03_47_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/97aa9f885192a693544f4298545d73ec.jpg","text":"TemporaryFile(/tmp/multipartBody8104146346365594050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260333280,"filename":"image_30012025_19_03_57_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9907a6e5b40a322880d1611fb0594899.jpg","text":"TemporaryFile(/tmp/multipartBody390983178612849990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260333280,"filename":"image_30012025_19_03_37_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333064267","file1":"1333064264","file0":"1333064261","file4":"1333064426","file5":"1333064428","file3":"1333064283"},"map_files_photo_id_array":[{"photo_id":"1333064428","filename":"file5"},{"photo_id":"1333064267","filename":"file2"},{"photo_id":"1333064426","filename":"file4"},{"photo_id":"1333064264","filename":"file1"},{"photo_id":"1333064261","filename":"file0"},{"photo_id":"1333064283","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333064261":["hashtag1","hashtag2"]},{"1333064264":["hashtag1","hashtag2"]},{"1333064267":["hashtag1","hashtag2"]},{"1333064426":["hashtag1","hashtag2"]},{"1333064428":["hashtag1","hashtag2"]},{"1333064283":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333064261, 1333064264, 1333064267, 1333064426, 1333064428, 1333064283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.681418657302856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:05:32.549187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/03/image_30012025_19_04_06_9329.jpg', '/home/pi/Desktop/images/30012025/19/04/image_30012025_19_04_17_10343.jpg', '/home/pi/Desktop/images/30012025/19/04/image_30012025_19_04_27_10370.jpg', '/home/pi/Desktop/images/30012025/19/04/image_30012025_19_04_36_9344.jpg', '/home/pi/Desktop/images/30012025/19/04/image_30012025_19_04_47_10371.jpg', '/home/pi/Desktop/images/30012025/19/04/image_30012025_19_04_57_10434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/03/image_30012025_19_04_06_9329.jpg
/home/pi/Desktop/images/30012025/19/04/image_30012025_19_04_17_10343.jpg
/home/pi/Desktop/images/30012025/19/04/image_30012025_19_04_27_10370.jpg
/home/pi/Desktop/images/30012025/19/04/image_30012025_19_04_36_9344.jpg
/home/pi/Desktop/images/30012025/19/04/image_30012025_19_04_47_10371.jpg
/home/pi/Desktop/images/30012025/19/04/image_30012025_19_04_57_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":["1333064564","1333064567","1333064558","1333064569","1333064553","1333064547"],"photo_ids_order":["1333064547","1333064553","1333064558","1333064564","1333064567","1333064569"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/be2045c090c450129fc348a26d9f6cd7.jpg","text":"TemporaryFile(/tmp/multipartBody3941058425571581125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260393453,"filename":"image_30012025_19_04_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/30/5fb09c33db5f23c32c408b9da36b3dcc.jpg","text":"TemporaryFile(/tmp/multipartBody110708747401376189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260393453,"filename":"image_30012025_19_04_47_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/600c2f5472d386067272752451a61f9d.jpg","text":"TemporaryFile(/tmp/multipartBody2682118225137066373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260393453,"filename":"image_30012025_19_04_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/30/29a92b1b9495ca1869b2350f04391c6f.jpg","text":"TemporaryFile(/tmp/multipartBody9199877689170638315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260393453,"filename":"image_30012025_19_04_57_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/30/9395e0367db78a402c42fbcd24f4ac85.jpg","text":"TemporaryFile(/tmp/multipartBody1851974021454279097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260393453,"filename":"image_30012025_19_04_17_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fed4627ce3f0356b027366b85e59b2d0.jpg","text":"TemporaryFile(/tmp/multipartBody1220460013511278826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260393453,"filename":"image_30012025_19_04_06_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333064558","file1":"1333064553","file0":"1333064547","file4":"1333064567","file5":"1333064569","file3":"1333064564"},"map_files_photo_id_array":[{"photo_id":"1333064569","filename":"file5"},{"photo_id":"1333064558","filename":"file2"},{"photo_id":"1333064567","filename":"file4"},{"photo_id":"1333064553","filename":"file1"},{"photo_id":"1333064547","filename":"file0"},{"photo_id":"1333064564","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333064564":["hashtag1","hashtag2"]},{"1333064567":["hashtag1","hashtag2"]},{"1333064558":["hashtag1","hashtag2"]},{"1333064569":["hashtag1","hashtag2"]},{"1333064553":["hashtag1","hashtag2"]},{"1333064547":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333064564, 1333064567, 1333064558, 1333064569, 1333064553, 1333064547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.733054399490356 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:06:32.715995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/04/image_30012025_19_05_06_9341.jpg', '/home/pi/Desktop/images/30012025/19/05/image_30012025_19_05_17_10398.jpg', '/home/pi/Desktop/images/30012025/19/05/image_30012025_19_05_26_9369.jpg', '/home/pi/Desktop/images/30012025/19/05/image_30012025_19_05_37_10382.jpg', '/home/pi/Desktop/images/30012025/19/05/image_30012025_19_05_47_10388.jpg', '/home/pi/Desktop/images/30012025/19/05/image_30012025_19_05_56_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/04/image_30012025_19_05_06_9341.jpg
/home/pi/Desktop/images/30012025/19/05/image_30012025_19_05_17_10398.jpg
/home/pi/Desktop/images/30012025/19/05/image_30012025_19_05_26_9369.jpg
/home/pi/Desktop/images/30012025/19/05/image_30012025_19_05_37_10382.jpg
/home/pi/Desktop/images/30012025/19/05/image_30012025_19_05_47_10388.jpg
/home/pi/Desktop/images/30012025/19/05/image_30012025_19_05_56_9355.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5221426486968994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 19:06:42.876731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/04/image_30012025_19_05_06_9341.jpg', '/home/pi/Desktop/images/30012025/19/05/image_30012025_19_05_17_10398.jpg', '/home/pi/Desktop/images/30012025/19/05/image_30012025_19_05_26_9369.jpg', '/home/pi/Desktop/images/30012025/19/05/image_30012025_19_05_37_10382.jpg', '/home/pi/Desktop/images/30012025/19/05/image_30012025_19_05_47_10388.jpg', '/home/pi/Desktop/images/30012025/19/05/image_30012025_19_05_56_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/04/image_30012025_19_05_06_9341.jpg
/home/pi/Desktop/images/30012025/19/05/image_30012025_19_05_17_10398.jpg
/home/pi/Desktop/images/30012025/19/05/image_30012025_19_05_26_9369.jpg
/home/pi/Desktop/images/30012025/19/05/image_30012025_19_05_37_10382.jpg
/home/pi/Desktop/images/30012025/19/05/image_30012025_19_05_47_10388.jpg
/home/pi/Desktop/images/30012025/19/05/image_30012025_19_05_56_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":["1333064842","1333064859","1333064853","1333064847","1333064835","1333064829"],"photo_ids_order":["1333064829","1333064835","1333064842","1333064847","1333064853","1333064859"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3f29aa001a5187082572faec8f30d1a4.jpg","text":"TemporaryFile(/tmp/multipartBody378816969983806458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260463782,"filename":"image_30012025_19_05_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/30/8070150ea7f95b87ad98a275985b8b9f.jpg","text":"TemporaryFile(/tmp/multipartBody8769995828314211115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260463782,"filename":"image_30012025_19_05_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/30/407c1f14faba21e5945d84aa11190ccd.jpg","text":"TemporaryFile(/tmp/multipartBody6347706256792582419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260463782,"filename":"image_30012025_19_05_47_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/30/6405080b89607f69dc889ccfff0fb81b.jpg","text":"TemporaryFile(/tmp/multipartBody8142878433812052414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260463782,"filename":"image_30012025_19_05_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/30/9f912ee2ed790a2c52cadbab77e4cb7a.jpg","text":"TemporaryFile(/tmp/multipartBody6291425749694789114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260463782,"filename":"image_30012025_19_05_17_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/30/dba72b0bb7dbd3517b8951109b23b602.jpg","text":"TemporaryFile(/tmp/multipartBody5936920297098338791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260463782,"filename":"image_30012025_19_05_06_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333064842","file1":"1333064835","file0":"1333064829","file4":"1333064853","file5":"1333064859","file3":"1333064847"},"map_files_photo_id_array":[{"photo_id":"1333064859","filename":"file5"},{"photo_id":"1333064842","filename":"file2"},{"photo_id":"1333064853","filename":"file4"},{"photo_id":"1333064835","filename":"file1"},{"photo_id":"1333064829","filename":"file0"},{"photo_id":"1333064847","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333064842":["hashtag1","hashtag2"]},{"1333064859":["hashtag1","hashtag2"]},{"1333064853":["hashtag1","hashtag2"]},{"1333064847":["hashtag1","hashtag2"]},{"1333064835":["hashtag1","hashtag2"]},{"1333064829":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333064842, 1333064859, 1333064853, 1333064847, 1333064835, 1333064829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.644164085388184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:07:32.907242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/05/image_30012025_19_06_07_10389.jpg', '/home/pi/Desktop/images/30012025/19/06/image_30012025_19_06_17_10350.jpg', '/home/pi/Desktop/images/30012025/19/06/image_30012025_19_06_26_9366.jpg', '/home/pi/Desktop/images/30012025/19/06/image_30012025_19_06_37_10426.jpg', '/home/pi/Desktop/images/30012025/19/06/image_30012025_19_06_46_9341.jpg', '/home/pi/Desktop/images/30012025/19/06/image_30012025_19_06_57_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/05/image_30012025_19_06_07_10389.jpg
/home/pi/Desktop/images/30012025/19/06/image_30012025_19_06_17_10350.jpg
/home/pi/Desktop/images/30012025/19/06/image_30012025_19_06_26_9366.jpg
/home/pi/Desktop/images/30012025/19/06/image_30012025_19_06_37_10426.jpg
/home/pi/Desktop/images/30012025/19/06/image_30012025_19_06_46_9341.jpg
/home/pi/Desktop/images/30012025/19/06/image_30012025_19_06_57_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":["1333064873","1333064890","1333064884","1333064893","1333064887","1333064878"],"photo_ids_order":["1333064873","1333064878","1333064884","1333064887","1333064890","1333064893"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e2847bda9f20cf5c57f5c1f86062e0d5.jpg","text":"TemporaryFile(/tmp/multipartBody5621656833758774530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260513822,"filename":"image_30012025_19_06_07_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/30/16c7122c836ea95a5c114e258a0345d8.jpg","text":"TemporaryFile(/tmp/multipartBody2355841053944746661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260513822,"filename":"image_30012025_19_06_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/30/cd99d249019dbce3b1ac4595458fbe06.jpg","text":"TemporaryFile(/tmp/multipartBody8478019042709613269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260513822,"filename":"image_30012025_19_06_26_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/30/54548bb6158bca4d0764eb57a0b14922.jpg","text":"TemporaryFile(/tmp/multipartBody237421462942576505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260513822,"filename":"image_30012025_19_06_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/30/9c700613db529f7e87caf7ba93d2dfcb.jpg","text":"TemporaryFile(/tmp/multipartBody4455311174435272884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260513822,"filename":"image_30012025_19_06_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/30/91987d2deb389b3f3d9b111ed4e34253.jpg","text":"TemporaryFile(/tmp/multipartBody4645744114339581603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260513822,"filename":"image_30012025_19_06_17_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333064884","file1":"1333064878","file0":"1333064873","file4":"1333064890","file5":"1333064893","file3":"1333064887"},"map_files_photo_id_array":[{"photo_id":"1333064893","filename":"file5"},{"photo_id":"1333064884","filename":"file2"},{"photo_id":"1333064890","filename":"file4"},{"photo_id":"1333064878","filename":"file1"},{"photo_id":"1333064873","filename":"file0"},{"photo_id":"1333064887","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333064873":["hashtag1","hashtag2"]},{"1333064890":["hashtag1","hashtag2"]},{"1333064884":["hashtag1","hashtag2"]},{"1333064893":["hashtag1","hashtag2"]},{"1333064887":["hashtag1","hashtag2"]},{"1333064878":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333064873, 1333064890, 1333064884, 1333064893, 1333064887, 1333064878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.02394771575928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:08:32.145545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/06/image_30012025_19_07_07_10422.jpg', '/home/pi/Desktop/images/30012025/19/07/image_30012025_19_07_16_9308.jpg', '/home/pi/Desktop/images/30012025/19/07/image_30012025_19_07_26_9840.jpg', '/home/pi/Desktop/images/30012025/19/07/image_30012025_19_07_37_10360.jpg', '/home/pi/Desktop/images/30012025/19/07/image_30012025_19_07_47_10429.jpg', '/home/pi/Desktop/images/30012025/19/07/image_30012025_19_07_56_9359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/06/image_30012025_19_07_07_10422.jpg
/home/pi/Desktop/images/30012025/19/07/image_30012025_19_07_16_9308.jpg
/home/pi/Desktop/images/30012025/19/07/image_30012025_19_07_26_9840.jpg
/home/pi/Desktop/images/30012025/19/07/image_30012025_19_07_37_10360.jpg
/home/pi/Desktop/images/30012025/19/07/image_30012025_19_07_47_10429.jpg
/home/pi/Desktop/images/30012025/19/07/image_30012025_19_07_56_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":["1333064919","1333064930","1333064938","1333064926","1333064979","1333064955"],"photo_ids_order":["1333064919","1333064926","1333064930","1333064938","1333064955","1333064979"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5e4d81bf15d6d5629189b927dd2bce2a.jpg","text":"TemporaryFile(/tmp/multipartBody1921394064084937193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260573060,"filename":"image_30012025_19_07_07_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/55cb7b295581b3dd1a65a30624632e98.jpg","text":"TemporaryFile(/tmp/multipartBody3172230819927402554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260573060,"filename":"image_30012025_19_07_26_9840.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/18be6f3282703918233a7809df831b77.jpg","text":"TemporaryFile(/tmp/multipartBody1224656147042395878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260573060,"filename":"image_30012025_19_07_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/30/fb36d2459680683d45b00c0f30a262da.jpg","text":"TemporaryFile(/tmp/multipartBody6269459761955126657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260573060,"filename":"image_30012025_19_07_16_9308.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c95a321c37b5a544f0d31163a91ba67d.jpg","text":"TemporaryFile(/tmp/multipartBody1450530994767114156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260573060,"filename":"image_30012025_19_07_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/30/21f961e4b296038667fdbea2c3b10523.jpg","text":"TemporaryFile(/tmp/multipartBody1778954499300881555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260573060,"filename":"image_30012025_19_07_47_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333064930","file1":"1333064926","file0":"1333064919","file4":"1333064955","file5":"1333064979","file3":"1333064938"},"map_files_photo_id_array":[{"photo_id":"1333064979","filename":"file5"},{"photo_id":"1333064930","filename":"file2"},{"photo_id":"1333064955","filename":"file4"},{"photo_id":"1333064926","filename":"file1"},{"photo_id":"1333064919","filename":"file0"},{"photo_id":"1333064938","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333064919":["hashtag1","hashtag2"]},{"1333064930":["hashtag1","hashtag2"]},{"1333064938":["hashtag1","hashtag2"]},{"1333064926":["hashtag1","hashtag2"]},{"1333064979":["hashtag1","hashtag2"]},{"1333064955":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333064919, 1333064930, 1333064938, 1333064926, 1333064979, 1333064955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.657742738723755 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:09:32.356922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/07/image_30012025_19_08_07_10371.jpg', '/home/pi/Desktop/images/30012025/19/08/image_30012025_19_08_17_10346.jpg', '/home/pi/Desktop/images/30012025/19/08/image_30012025_19_08_37_10345.jpg', '/home/pi/Desktop/images/30012025/19/08/image_30012025_19_08_47_10359.jpg', '/home/pi/Desktop/images/30012025/19/08/image_30012025_19_08_56_9362.jpg', '/home/pi/Desktop/images/30012025/19/08/image_30012025_19_09_07_10433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/07/image_30012025_19_08_07_10371.jpg
/home/pi/Desktop/images/30012025/19/08/image_30012025_19_08_17_10346.jpg
/home/pi/Desktop/images/30012025/19/08/image_30012025_19_08_37_10345.jpg
/home/pi/Desktop/images/30012025/19/08/image_30012025_19_08_47_10359.jpg
/home/pi/Desktop/images/30012025/19/08/image_30012025_19_08_56_9362.jpg
/home/pi/Desktop/images/30012025/19/08/image_30012025_19_09_07_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":["1333065050","1333065046","1333065049","1333065051","1333065039","1333065042"],"photo_ids_order":["1333065039","1333065042","1333065046","1333065049","1333065050","1333065051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a46ceb0e3a2e2c3e9be5da8d2cdf14ae.jpg","text":"TemporaryFile(/tmp/multipartBody5453652621981478776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260633266,"filename":"image_30012025_19_08_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/30/9a87dd908b3ce471b16a0871bdad0404.jpg","text":"TemporaryFile(/tmp/multipartBody5256959155091433348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260633266,"filename":"image_30012025_19_08_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/30/01c1d9cfd688c49e5ab84440a11c342e.jpg","text":"TemporaryFile(/tmp/multipartBody8313549081549031542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260633266,"filename":"image_30012025_19_08_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/30/361b05ed7914513f37426bd9195ff63e.jpg","text":"TemporaryFile(/tmp/multipartBody8666669543712112222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260633266,"filename":"image_30012025_19_09_07_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/30/514f66da58f5aa976117fd4029d7c9f5.jpg","text":"TemporaryFile(/tmp/multipartBody7762760317528986198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260633266,"filename":"image_30012025_19_08_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/30/cf100f2533446389402f7fa91f78a6ab.jpg","text":"TemporaryFile(/tmp/multipartBody2522572883913512132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260633266,"filename":"image_30012025_19_08_17_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333065046","file1":"1333065042","file0":"1333065039","file4":"1333065050","file5":"1333065051","file3":"1333065049"},"map_files_photo_id_array":[{"photo_id":"1333065051","filename":"file5"},{"photo_id":"1333065046","filename":"file2"},{"photo_id":"1333065050","filename":"file4"},{"photo_id":"1333065042","filename":"file1"},{"photo_id":"1333065039","filename":"file0"},{"photo_id":"1333065049","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333065050":["hashtag1","hashtag2"]},{"1333065046":["hashtag1","hashtag2"]},{"1333065049":["hashtag1","hashtag2"]},{"1333065051":["hashtag1","hashtag2"]},{"1333065039":["hashtag1","hashtag2"]},{"1333065042":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333065050, 1333065046, 1333065049, 1333065051, 1333065039, 1333065042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29008483886719 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:10:32.647318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/09/image_30012025_19_09_16_9352.jpg', '/home/pi/Desktop/images/30012025/19/09/image_30012025_19_09_27_10376.jpg', '/home/pi/Desktop/images/30012025/19/09/image_30012025_19_09_37_10406.jpg', '/home/pi/Desktop/images/30012025/19/09/image_30012025_19_09_46_9326.jpg', '/home/pi/Desktop/images/30012025/19/09/image_30012025_19_09_57_10347.jpg', '/home/pi/Desktop/images/30012025/19/09/image_30012025_19_10_07_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/09/image_30012025_19_09_16_9352.jpg
/home/pi/Desktop/images/30012025/19/09/image_30012025_19_09_27_10376.jpg
/home/pi/Desktop/images/30012025/19/09/image_30012025_19_09_37_10406.jpg
/home/pi/Desktop/images/30012025/19/09/image_30012025_19_09_46_9326.jpg
/home/pi/Desktop/images/30012025/19/09/image_30012025_19_09_57_10347.jpg
/home/pi/Desktop/images/30012025/19/09/image_30012025_19_10_07_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.5179238319396973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 19:10:42.665499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/09/image_30012025_19_09_16_9352.jpg', '/home/pi/Desktop/images/30012025/19/09/image_30012025_19_09_27_10376.jpg', '/home/pi/Desktop/images/30012025/19/09/image_30012025_19_09_37_10406.jpg', '/home/pi/Desktop/images/30012025/19/09/image_30012025_19_09_46_9326.jpg', '/home/pi/Desktop/images/30012025/19/09/image_30012025_19_09_57_10347.jpg', '/home/pi/Desktop/images/30012025/19/09/image_30012025_19_10_07_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/09/image_30012025_19_09_16_9352.jpg
/home/pi/Desktop/images/30012025/19/09/image_30012025_19_09_27_10376.jpg
/home/pi/Desktop/images/30012025/19/09/image_30012025_19_09_37_10406.jpg
/home/pi/Desktop/images/30012025/19/09/image_30012025_19_09_46_9326.jpg
/home/pi/Desktop/images/30012025/19/09/image_30012025_19_09_57_10347.jpg
/home/pi/Desktop/images/30012025/19/09/image_30012025_19_10_07_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":["1333065218","1333065200","1333065214","1333065223","1333065205","1333065210"],"photo_ids_order":["1333065200","1333065205","1333065210","1333065214","1333065218","1333065223"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/307513fc2bfc243ef20640258135963a.jpg","text":"TemporaryFile(/tmp/multipartBody4060813256469506865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260703607,"filename":"image_30012025_19_09_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/30/b548548262781fb6f5d5344e35ca5760.jpg","text":"TemporaryFile(/tmp/multipartBody8510689488692611641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260703607,"filename":"image_30012025_19_09_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/30/4c6186299a262f3cbc2e88e1e8fc72d3.jpg","text":"TemporaryFile(/tmp/multipartBody6262756662811016868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260703607,"filename":"image_30012025_19_09_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/30/c80acbe95b4993acd52df456ca12305a.jpg","text":"TemporaryFile(/tmp/multipartBody7915881809607112056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260703607,"filename":"image_30012025_19_10_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/30/d36fb3b57294ddb358de988223ae9029.jpg","text":"TemporaryFile(/tmp/multipartBody4042951106919476846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260703607,"filename":"image_30012025_19_09_27_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f8d79a0db8ec8e0dc9a643222c695da5.jpg","text":"TemporaryFile(/tmp/multipartBody5590353640585995755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260703607,"filename":"image_30012025_19_09_37_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333065210","file1":"1333065205","file0":"1333065200","file4":"1333065218","file5":"1333065223","file3":"1333065214"},"map_files_photo_id_array":[{"photo_id":"1333065223","filename":"file5"},{"photo_id":"1333065210","filename":"file2"},{"photo_id":"1333065218","filename":"file4"},{"photo_id":"1333065205","filename":"file1"},{"photo_id":"1333065200","filename":"file0"},{"photo_id":"1333065214","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333065218":["hashtag1","hashtag2"]},{"1333065200":["hashtag1","hashtag2"]},{"1333065214":["hashtag1","hashtag2"]},{"1333065223":["hashtag1","hashtag2"]},{"1333065205":["hashtag1","hashtag2"]},{"1333065210":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333065218, 1333065200, 1333065214, 1333065223, 1333065205, 1333065210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.49859642982483 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:11:32.794390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/10/image_30012025_19_10_17_9439.jpg', '/home/pi/Desktop/images/30012025/19/10/image_30012025_19_10_27_10488.jpg', '/home/pi/Desktop/images/30012025/19/10/image_30012025_19_10_47_10518.jpg', '/home/pi/Desktop/images/30012025/19/10/image_30012025_19_10_56_9381.jpg', '/home/pi/Desktop/images/30012025/19/10/image_30012025_19_11_07_10348.jpg', '/home/pi/Desktop/images/30012025/19/11/image_30012025_19_11_26_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/10/image_30012025_19_10_17_9439.jpg
/home/pi/Desktop/images/30012025/19/10/image_30012025_19_10_27_10488.jpg
/home/pi/Desktop/images/30012025/19/10/image_30012025_19_10_47_10518.jpg
/home/pi/Desktop/images/30012025/19/10/image_30012025_19_10_56_9381.jpg
/home/pi/Desktop/images/30012025/19/10/image_30012025_19_11_07_10348.jpg
/home/pi/Desktop/images/30012025/19/11/image_30012025_19_11_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":["1333065431","1333065428","1333065422","1333065433","1333065417","1333065411"],"photo_ids_order":["1333065411","1333065417","1333065422","1333065428","1333065431","1333065433"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d8711747c486a9d67249a1c76f22b767.jpg","text":"TemporaryFile(/tmp/multipartBody5571558516400834015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260753704,"filename":"image_30012025_19_11_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/30/cd8e562bf6306733d8ce256ca1523b86.jpg","text":"TemporaryFile(/tmp/multipartBody6151830437376602198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260753704,"filename":"image_30012025_19_10_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/30/4048ff08b347ddbd177286a029862aef.jpg","text":"TemporaryFile(/tmp/multipartBody3486679398536135959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260753704,"filename":"image_30012025_19_10_47_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/30/af65c6ec431681c912df22bdd0a08357.jpg","text":"TemporaryFile(/tmp/multipartBody6320239051296412474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260753704,"filename":"image_30012025_19_11_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/30/948e2faffa1af1fa07638b7ee60ad308.jpg","text":"TemporaryFile(/tmp/multipartBody6492115742269350311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260753704,"filename":"image_30012025_19_10_27_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/30/931ff48b8fde012d58d91c6e8bd8b9e3.jpg","text":"TemporaryFile(/tmp/multipartBody6434811457474083338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260753704,"filename":"image_30012025_19_10_17_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333065422","file1":"1333065417","file0":"1333065411","file4":"1333065431","file5":"1333065433","file3":"1333065428"},"map_files_photo_id_array":[{"photo_id":"1333065433","filename":"file5"},{"photo_id":"1333065422","filename":"file2"},{"photo_id":"1333065431","filename":"file4"},{"photo_id":"1333065417","filename":"file1"},{"photo_id":"1333065411","filename":"file0"},{"photo_id":"1333065428","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333065431":["hashtag1","hashtag2"]},{"1333065428":["hashtag1","hashtag2"]},{"1333065422":["hashtag1","hashtag2"]},{"1333065433":["hashtag1","hashtag2"]},{"1333065417":["hashtag1","hashtag2"]},{"1333065411":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333065431, 1333065428, 1333065422, 1333065433, 1333065417, 1333065411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.981833696365356 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:12:33.007026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/11/image_30012025_19_11_37_10369.jpg', '/home/pi/Desktop/images/30012025/19/11/image_30012025_19_11_57_10341.jpg', '/home/pi/Desktop/images/30012025/19/11/image_30012025_19_12_07_10471.jpg', '/home/pi/Desktop/images/30012025/19/12/image_30012025_19_12_16_9358.jpg', '/home/pi/Desktop/images/30012025/19/12/image_30012025_19_12_27_10356.jpg', '/home/pi/Desktop/images/30012025/19/12/image_30012025_19_12_36_9417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/11/image_30012025_19_11_37_10369.jpg
/home/pi/Desktop/images/30012025/19/11/image_30012025_19_11_57_10341.jpg
/home/pi/Desktop/images/30012025/19/11/image_30012025_19_12_07_10471.jpg
/home/pi/Desktop/images/30012025/19/12/image_30012025_19_12_16_9358.jpg
/home/pi/Desktop/images/30012025/19/12/image_30012025_19_12_27_10356.jpg
/home/pi/Desktop/images/30012025/19/12/image_30012025_19_12_36_9417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333065460","1333065472","1333065480","1333065468","1333065456","1333065522"],"photo_ids_order":["1333065456","1333065460","1333065468","1333065472","1333065480","1333065522"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f8a6699b303ecd3f0321a8ed7f55cd30.jpg","text":"TemporaryFile(/tmp/multipartBody6742048565303863184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260813920,"filename":"image_30012025_19_11_57_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/30/e93b4340897f920d9089c7fafbc19461.jpg","text":"TemporaryFile(/tmp/multipartBody385642411192517286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260813920,"filename":"image_30012025_19_12_16_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/30/9f8ed04135138a0eb01f8a23867562dd.jpg","text":"TemporaryFile(/tmp/multipartBody9009853101623443540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260813920,"filename":"image_30012025_19_12_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/30/a5623bf0e885a7f42d01703f6fa2c281.jpg","text":"TemporaryFile(/tmp/multipartBody4387903680447889145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260813920,"filename":"image_30012025_19_12_07_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/aa59cbc234fb2bb9ed801844c2aee604.jpg","text":"TemporaryFile(/tmp/multipartBody117453919655317042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260813920,"filename":"image_30012025_19_11_37_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/30/cea782d947ce607ca993cced158981dc.jpg","text":"TemporaryFile(/tmp/multipartBody1291580174454843104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260813920,"filename":"image_30012025_19_12_36_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333065468","file1":"1333065460","file0":"1333065456","file4":"1333065480","file5":"1333065522","file3":"1333065472"},"map_files_photo_id_array":[{"photo_id":"1333065522","filename":"file5"},{"photo_id":"1333065468","filename":"file2"},{"photo_id":"1333065480","filename":"file4"},{"photo_id":"1333065460","filename":"file1"},{"photo_id":"1333065456","filename":"file0"},{"photo_id":"1333065472","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333065460":["hashtag1","hashtag2"]},{"1333065472":["hashtag1","hashtag2"]},{"1333065480":["hashtag1","hashtag2"]},{"1333065468":["hashtag1","hashtag2"]},{"1333065456":["hashtag1","hashtag2"]},{"1333065522":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333065460, 1333065472, 1333065480, 1333065468, 1333065456, 1333065522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.60652828216553 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:13:32.210512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/12/image_30012025_19_12_47_10355.jpg', '/home/pi/Desktop/images/30012025/19/12/image_30012025_19_12_57_10419.jpg', '/home/pi/Desktop/images/30012025/19/12/image_30012025_19_13_06_9340.jpg', '/home/pi/Desktop/images/30012025/19/13/image_30012025_19_13_27_10475.jpg', '/home/pi/Desktop/images/30012025/19/13/image_30012025_19_13_36_9337.jpg', '/home/pi/Desktop/images/30012025/19/13/image_30012025_19_13_47_10486.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/12/image_30012025_19_12_47_10355.jpg
/home/pi/Desktop/images/30012025/19/12/image_30012025_19_12_57_10419.jpg
/home/pi/Desktop/images/30012025/19/12/image_30012025_19_13_06_9340.jpg
/home/pi/Desktop/images/30012025/19/13/image_30012025_19_13_27_10475.jpg
/home/pi/Desktop/images/30012025/19/13/image_30012025_19_13_36_9337.jpg
/home/pi/Desktop/images/30012025/19/13/image_30012025_19_13_47_10486.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333065617","1333065592","1333065580","1333065613","1333065607","1333065603"],"photo_ids_order":["1333065580","1333065592","1333065603","1333065607","1333065613","1333065617"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f37108c16af55fbeffa59e204c63a320.jpg","text":"TemporaryFile(/tmp/multipartBody4258827050297193467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260873120,"filename":"image_30012025_19_13_47_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/30/7823fa95e32905d7d3ebca6189b0b1b3.jpg","text":"TemporaryFile(/tmp/multipartBody1632497363811908284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260873120,"filename":"image_30012025_19_12_57_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/30/d2d1e1aad5a3b5fe67ef6a9e8b52fcfb.jpg","text":"TemporaryFile(/tmp/multipartBody8544041280168119478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260873120,"filename":"image_30012025_19_12_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/30/f5ef1772b6222c66d644ce4243f86402.jpg","text":"TemporaryFile(/tmp/multipartBody4960005971187282288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260873120,"filename":"image_30012025_19_13_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/30/7c91015fda5c9ebe86bd9b734f0614f7.jpg","text":"TemporaryFile(/tmp/multipartBody321352531839741485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260873120,"filename":"image_30012025_19_13_27_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/30/f4dde7e5fb21450b9d6e9fbaec839281.jpg","text":"TemporaryFile(/tmp/multipartBody2749294848034388677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260873120,"filename":"image_30012025_19_13_06_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333065603","file1":"1333065592","file0":"1333065580","file4":"1333065613","file5":"1333065617","file3":"1333065607"},"map_files_photo_id_array":[{"photo_id":"1333065617","filename":"file5"},{"photo_id":"1333065603","filename":"file2"},{"photo_id":"1333065613","filename":"file4"},{"photo_id":"1333065592","filename":"file1"},{"photo_id":"1333065580","filename":"file0"},{"photo_id":"1333065607","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333065617":["hashtag1","hashtag2"]},{"1333065592":["hashtag1","hashtag2"]},{"1333065580":["hashtag1","hashtag2"]},{"1333065613":["hashtag1","hashtag2"]},{"1333065607":["hashtag1","hashtag2"]},{"1333065603":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333065617, 1333065592, 1333065580, 1333065613, 1333065607, 1333065603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.738752603530884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:14:32.342010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/13/image_30012025_19_13_56_9389.jpg', '/home/pi/Desktop/images/30012025/19/13/image_30012025_19_14_07_10361.jpg', '/home/pi/Desktop/images/30012025/19/14/image_30012025_19_14_17_10442.jpg', '/home/pi/Desktop/images/30012025/19/14/image_30012025_19_14_27_9437.jpg', '/home/pi/Desktop/images/30012025/19/14/image_30012025_19_14_37_10511.jpg', '/home/pi/Desktop/images/30012025/19/14/image_30012025_19_14_46_9365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/13/image_30012025_19_13_56_9389.jpg
/home/pi/Desktop/images/30012025/19/13/image_30012025_19_14_07_10361.jpg
/home/pi/Desktop/images/30012025/19/14/image_30012025_19_14_17_10442.jpg
/home/pi/Desktop/images/30012025/19/14/image_30012025_19_14_27_9437.jpg
/home/pi/Desktop/images/30012025/19/14/image_30012025_19_14_37_10511.jpg
/home/pi/Desktop/images/30012025/19/14/image_30012025_19_14_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":["1333065665","1333065659","1333065641","1333065690","1333065678","1333065648"],"photo_ids_order":["1333065641","1333065648","1333065659","1333065665","1333065678","1333065690"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8eb17164982c11392fe92eb041356449.jpg","text":"TemporaryFile(/tmp/multipartBody6982608358654503195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260933248,"filename":"image_30012025_19_14_27_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/30/92bd40959e6d77f7d5d37fd107fdb45e.jpg","text":"TemporaryFile(/tmp/multipartBody3451544579370149168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260933248,"filename":"image_30012025_19_14_17_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/30/b0a4e20ed47ab0f994187c832172e3f6.jpg","text":"TemporaryFile(/tmp/multipartBody8028436722753757711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260933248,"filename":"image_30012025_19_13_56_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/787d5239d564d86bceaa350419537b0e.jpg","text":"TemporaryFile(/tmp/multipartBody2190807765221225912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260933248,"filename":"image_30012025_19_14_46_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/30/317e2ccd9187b2b132ed838407998494.jpg","text":"TemporaryFile(/tmp/multipartBody3381013005438529481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260933248,"filename":"image_30012025_19_14_37_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/30/4974aa44f9a53b9a77f26441ee3ab937.jpg","text":"TemporaryFile(/tmp/multipartBody4325554416142797945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260933248,"filename":"image_30012025_19_14_07_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333065659","file1":"1333065648","file0":"1333065641","file4":"1333065678","file5":"1333065690","file3":"1333065665"},"map_files_photo_id_array":[{"photo_id":"1333065690","filename":"file5"},{"photo_id":"1333065659","filename":"file2"},{"photo_id":"1333065678","filename":"file4"},{"photo_id":"1333065648","filename":"file1"},{"photo_id":"1333065641","filename":"file0"},{"photo_id":"1333065665","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333065665":["hashtag1","hashtag2"]},{"1333065659":["hashtag1","hashtag2"]},{"1333065641":["hashtag1","hashtag2"]},{"1333065690":["hashtag1","hashtag2"]},{"1333065678":["hashtag1","hashtag2"]},{"1333065648":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333065665, 1333065659, 1333065641, 1333065690, 1333065678, 1333065648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.67190647125244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:15:32.567770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/14/image_30012025_19_14_57_10537.jpg', '/home/pi/Desktop/images/30012025/19/14/image_30012025_19_15_06_9343.jpg', '/home/pi/Desktop/images/30012025/19/15/image_30012025_19_15_17_10360.jpg', '/home/pi/Desktop/images/30012025/19/15/image_30012025_19_15_27_10367.jpg', '/home/pi/Desktop/images/30012025/19/15/image_30012025_19_15_36_9457.jpg', '/home/pi/Desktop/images/30012025/19/15/image_30012025_19_15_47_10501.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/14/image_30012025_19_14_57_10537.jpg
/home/pi/Desktop/images/30012025/19/14/image_30012025_19_15_06_9343.jpg
/home/pi/Desktop/images/30012025/19/15/image_30012025_19_15_17_10360.jpg
/home/pi/Desktop/images/30012025/19/15/image_30012025_19_15_27_10367.jpg
/home/pi/Desktop/images/30012025/19/15/image_30012025_19_15_36_9457.jpg
/home/pi/Desktop/images/30012025/19/15/image_30012025_19_15_47_10501.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333065722","1333066600","1333066293","1333065718","1333066719","1333066002"],"photo_ids_order":["1333065718","1333065722","1333066002","1333066293","1333066600","1333066719"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7ff046bfda7f572fbf04f61453e067e9.jpg","text":"TemporaryFile(/tmp/multipartBody8417406262433814486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260993482,"filename":"image_30012025_19_15_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/30/c65974ba69794a38a0b0986596cefefd.jpg","text":"TemporaryFile(/tmp/multipartBody4333348160572707430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260993482,"filename":"image_30012025_19_15_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/30/2e77a70f9e44bcf63da9fae02e35c192.jpg","text":"TemporaryFile(/tmp/multipartBody564199379703608538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260993482,"filename":"image_30012025_19_15_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/30/3de9220cc1b41db5cc674893c82550e9.jpg","text":"TemporaryFile(/tmp/multipartBody9217527379208035700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260993482,"filename":"image_30012025_19_14_57_10537.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f24479119dda9dff99309d3b0c3bb453.jpg","text":"TemporaryFile(/tmp/multipartBody8966302607555976513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260993482,"filename":"image_30012025_19_15_47_10501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b05c8714322026eaea080792804e4143.jpg","text":"TemporaryFile(/tmp/multipartBody1046254946637312500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738260993482,"filename":"image_30012025_19_15_17_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333066002","file1":"1333065722","file0":"1333065718","file4":"1333066600","file5":"1333066719","file3":"1333066293"},"map_files_photo_id_array":[{"photo_id":"1333066719","filename":"file5"},{"photo_id":"1333066002","filename":"file2"},{"photo_id":"1333066600","filename":"file4"},{"photo_id":"1333065722","filename":"file1"},{"photo_id":"1333065718","filename":"file0"},{"photo_id":"1333066293","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333065722":["hashtag1","hashtag2"]},{"1333066600":["hashtag1","hashtag2"]},{"1333066293":["hashtag1","hashtag2"]},{"1333065718":["hashtag1","hashtag2"]},{"1333066719":["hashtag1","hashtag2"]},{"1333066002":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333065722, 1333066600, 1333066293, 1333065718, 1333066719, 1333066002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94556736946106 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:16:32.892072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/15/image_30012025_19_15_56_9361.jpg', '/home/pi/Desktop/images/30012025/19/15/image_30012025_19_16_07_10354.jpg', '/home/pi/Desktop/images/30012025/19/16/image_30012025_19_16_27_9416.jpg', '/home/pi/Desktop/images/30012025/19/16/image_30012025_19_16_37_10446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/15/image_30012025_19_15_56_9361.jpg
/home/pi/Desktop/images/30012025/19/15/image_30012025_19_16_07_10354.jpg
/home/pi/Desktop/images/30012025/19/16/image_30012025_19_16_27_9416.jpg
/home/pi/Desktop/images/30012025/19/16/image_30012025_19_16_37_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":["1333067050","1333066985","1333066979","1333066973"],"photo_ids_order":["1333066973","1333066979","1333066985","1333067050"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/83b840f3d920c29ad0ac24cfb4665232.jpg","text":"TemporaryFile(/tmp/multipartBody8203139069880656326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261053772,"filename":"image_30012025_19_16_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/30/311ebbfbc8b98dd7885612e60631868f.jpg","text":"TemporaryFile(/tmp/multipartBody4157168644005606880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261053772,"filename":"image_30012025_19_16_27_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/30/0adfc198be99e71dafde5f7a5bc55d50.jpg","text":"TemporaryFile(/tmp/multipartBody52012537588553006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261053772,"filename":"image_30012025_19_16_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/30/4d8f4b63be3f11a9c5715bf2bf9f4c7c.jpg","text":"TemporaryFile(/tmp/multipartBody7025413300354075147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261053772,"filename":"image_30012025_19_15_56_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333066985","file1":"1333066979","file0":"1333066973","file3":"1333067050"},"map_files_photo_id_array":[{"photo_id":"1333066985","filename":"file2"},{"photo_id":"1333066979","filename":"file1"},{"photo_id":"1333066973","filename":"file0"},{"photo_id":"1333067050","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333067050":["hashtag1","hashtag2"]},{"1333066985":["hashtag1","hashtag2"]},{"1333066979":["hashtag1","hashtag2"]},{"1333066973":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333067050, 1333066985, 1333066979, 1333066973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.373250007629395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 19:17:04.482365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/26/image_28012025_21_26_55_10341.jpg', '/home/pi/Desktop/images/28012025/21/26/image_28012025_21_27_05_10336.jpg', '/home/pi/Desktop/images/28012025/21/27/image_28012025_21_27_15_9314.jpg', '/home/pi/Desktop/images/28012025/21/27/image_28012025_21_27_25_10365.jpg', '/home/pi/Desktop/images/28012025/21/27/image_28012025_21_27_35_10440.jpg', '/home/pi/Desktop/images/28012025/21/27/image_28012025_21_27_55_10444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/26/image_28012025_21_26_55_10341.jpg
/home/pi/Desktop/images/28012025/21/26/image_28012025_21_27_05_10336.jpg
/home/pi/Desktop/images/28012025/21/27/image_28012025_21_27_15_9314.jpg
/home/pi/Desktop/images/28012025/21/27/image_28012025_21_27_25_10365.jpg
/home/pi/Desktop/images/28012025/21/27/image_28012025_21_27_35_10440.jpg
/home/pi/Desktop/images/28012025/21/27/image_28012025_21_27_55_10444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333067298","1333067292","1333067090","1333067098","1333067185","1333067179"],"photo_ids_order":["1333067090","1333067098","1333067179","1333067185","1333067292","1333067298"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/360f97854353eeddd132cab3bb3da1da.jpg","text":"TemporaryFile(/tmp/multipartBody4586715423546193268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261086415,"filename":"image_28012025_21_27_55_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3f5c293a2957af582c66c2805dbc3b7b.jpg","text":"TemporaryFile(/tmp/multipartBody5051053318777621600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261086415,"filename":"image_28012025_21_27_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/30/e5b975bd4ec078daeb6ee3095efd5a4b.jpg","text":"TemporaryFile(/tmp/multipartBody1832833133941643737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261086415,"filename":"image_28012025_21_26_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/30/4d69c1e18ecf16dced195fc7f65d7aeb.jpg","text":"TemporaryFile(/tmp/multipartBody2328350352888266229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261086415,"filename":"image_28012025_21_27_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/30/155f8dba3f788d531d7c800a76edc2cb.jpg","text":"TemporaryFile(/tmp/multipartBody5353200368948541208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261086415,"filename":"image_28012025_21_27_25_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/30/2228ac05c5dab8fda840a1d6fd50ea11.jpg","text":"TemporaryFile(/tmp/multipartBody5207079499489032022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261086415,"filename":"image_28012025_21_27_15_9314.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333067179","file1":"1333067098","file0":"1333067090","file4":"1333067292","file5":"1333067298","file3":"1333067185"},"map_files_photo_id_array":[{"photo_id":"1333067298","filename":"file5"},{"photo_id":"1333067179","filename":"file2"},{"photo_id":"1333067292","filename":"file4"},{"photo_id":"1333067098","filename":"file1"},{"photo_id":"1333067090","filename":"file0"},{"photo_id":"1333067185","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333067298":["hashtag1","hashtag2"]},{"1333067292":["hashtag1","hashtag2"]},{"1333067090":["hashtag1","hashtag2"]},{"1333067098":["hashtag1","hashtag2"]},{"1333067185":["hashtag1","hashtag2"]},{"1333067179":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333067298, 1333067292, 1333067090, 1333067098, 1333067185, 1333067179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.25071835517883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:17:53.200960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/16/image_30012025_19_16_57_10339.jpg', '/home/pi/Desktop/images/30012025/19/16/image_30012025_19_17_07_10449.jpg', '/home/pi/Desktop/images/30012025/19/17/image_30012025_19_17_17_9421.jpg', '/home/pi/Desktop/images/30012025/19/17/image_30012025_19_17_27_10436.jpg', '/home/pi/Desktop/images/30012025/19/17/image_30012025_19_17_36_9346.jpg', '/home/pi/Desktop/images/30012025/19/17/image_30012025_19_17_47_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/16/image_30012025_19_16_57_10339.jpg
/home/pi/Desktop/images/30012025/19/16/image_30012025_19_17_07_10449.jpg
/home/pi/Desktop/images/30012025/19/17/image_30012025_19_17_17_9421.jpg
/home/pi/Desktop/images/30012025/19/17/image_30012025_19_17_27_10436.jpg
/home/pi/Desktop/images/30012025/19/17/image_30012025_19_17_36_9346.jpg
/home/pi/Desktop/images/30012025/19/17/image_30012025_19_17_47_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":["1333067752","1333067317","1333067313","1333067627","1333067501","1333067383"],"photo_ids_order":["1333067313","1333067317","1333067383","1333067501","1333067627","1333067752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/78a7d25bff61ab4c5069631ff235ea7c.jpg","text":"TemporaryFile(/tmp/multipartBody1067109064006604761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261134114,"filename":"image_30012025_19_17_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/30/92ccbdb0c6539781ee8c512295a6f1ff.jpg","text":"TemporaryFile(/tmp/multipartBody4340525507778160570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261134114,"filename":"image_30012025_19_17_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/30/900f1d8a2a7dd2423decf7b5824af452.jpg","text":"TemporaryFile(/tmp/multipartBody3332031533748461821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261134114,"filename":"image_30012025_19_16_57_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d3a9feb4fb72b0bfa674c8cb3f051666.jpg","text":"TemporaryFile(/tmp/multipartBody2491071167882997572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261134114,"filename":"image_30012025_19_17_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/30/1a7da65e69128c097782c7a5fac6531c.jpg","text":"TemporaryFile(/tmp/multipartBody9144326259638721111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261134114,"filename":"image_30012025_19_17_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/30/fceffe8a60b541331acf62864ece14cd.jpg","text":"TemporaryFile(/tmp/multipartBody3725986664386595054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261134114,"filename":"image_30012025_19_17_17_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333067383","file1":"1333067317","file0":"1333067313","file4":"1333067627","file5":"1333067752","file3":"1333067501"},"map_files_photo_id_array":[{"photo_id":"1333067752","filename":"file5"},{"photo_id":"1333067383","filename":"file2"},{"photo_id":"1333067627","filename":"file4"},{"photo_id":"1333067317","filename":"file1"},{"photo_id":"1333067313","filename":"file0"},{"photo_id":"1333067501","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333067752":["hashtag1","hashtag2"]},{"1333067317":["hashtag1","hashtag2"]},{"1333067313":["hashtag1","hashtag2"]},{"1333067627":["hashtag1","hashtag2"]},{"1333067501":["hashtag1","hashtag2"]},{"1333067383":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333067752, 1333067317, 1333067313, 1333067627, 1333067501, 1333067383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.3763632774353 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 19:18:42.449003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/17/image_30012025_19_17_57_10354.jpg', '/home/pi/Desktop/images/30012025/19/17/image_30012025_19_18_06_9351.jpg', '/home/pi/Desktop/images/30012025/19/18/image_30012025_19_18_17_10362.jpg', '/home/pi/Desktop/images/30012025/19/18/image_30012025_19_18_27_10352.jpg', '/home/pi/Desktop/images/30012025/19/18/image_30012025_19_18_36_9343.jpg', '/home/pi/Desktop/images/30012025/19/18/image_30012025_19_18_47_10400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/17/image_30012025_19_17_57_10354.jpg
/home/pi/Desktop/images/30012025/19/17/image_30012025_19_18_06_9351.jpg
/home/pi/Desktop/images/30012025/19/18/image_30012025_19_18_17_10362.jpg
/home/pi/Desktop/images/30012025/19/18/image_30012025_19_18_27_10352.jpg
/home/pi/Desktop/images/30012025/19/18/image_30012025_19_18_36_9343.jpg
/home/pi/Desktop/images/30012025/19/18/image_30012025_19_18_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":["1333068395","1333068632","1333068812","1333068914","1333068181","1333068046"],"photo_ids_order":["1333068046","1333068181","1333068395","1333068632","1333068812","1333068914"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/60416070f3787e13360ccd9cd10269c7.jpg","text":"TemporaryFile(/tmp/multipartBody6882674599804414182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261183356,"filename":"image_30012025_19_18_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/30/087d06662261b46bbfd2617cfe16a459.jpg","text":"TemporaryFile(/tmp/multipartBody143584590306505352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261183356,"filename":"image_30012025_19_18_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/30/970a495dee0a3a11bcb6b31e304c352c.jpg","text":"TemporaryFile(/tmp/multipartBody19648680542864399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261183356,"filename":"image_30012025_19_18_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/30/215fc65ffd34ad2124d6cf09e372ca2a.jpg","text":"TemporaryFile(/tmp/multipartBody4472783906293411979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261183356,"filename":"image_30012025_19_18_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/30/375ccc637b621d79eab71f5cdbb44bb9.jpg","text":"TemporaryFile(/tmp/multipartBody3093786650846992420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261183356,"filename":"image_30012025_19_18_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/30/b1e604f07bd504d565c208f5ed4b1d60.jpg","text":"TemporaryFile(/tmp/multipartBody8657078789910993373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261183356,"filename":"image_30012025_19_17_57_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333068395","file1":"1333068181","file0":"1333068046","file4":"1333068812","file5":"1333068914","file3":"1333068632"},"map_files_photo_id_array":[{"photo_id":"1333068914","filename":"file5"},{"photo_id":"1333068395","filename":"file2"},{"photo_id":"1333068812","filename":"file4"},{"photo_id":"1333068181","filename":"file1"},{"photo_id":"1333068046","filename":"file0"},{"photo_id":"1333068632","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333068395":["hashtag1","hashtag2"]},{"1333068632":["hashtag1","hashtag2"]},{"1333068812":["hashtag1","hashtag2"]},{"1333068914":["hashtag1","hashtag2"]},{"1333068181":["hashtag1","hashtag2"]},{"1333068046":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333068395, 1333068632, 1333068812, 1333068914, 1333068181, 1333068046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64395260810852 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:19:33.610383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/18/image_30012025_19_18_56_9357.jpg', '/home/pi/Desktop/images/30012025/19/18/image_30012025_19_19_07_10352.jpg', '/home/pi/Desktop/images/30012025/19/19/image_30012025_19_19_17_10372.jpg', '/home/pi/Desktop/images/30012025/19/19/image_30012025_19_19_26_9353.jpg', '/home/pi/Desktop/images/30012025/19/19/image_30012025_19_19_37_10357.jpg', '/home/pi/Desktop/images/30012025/19/19/image_30012025_19_19_47_10403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/18/image_30012025_19_18_56_9357.jpg
/home/pi/Desktop/images/30012025/19/18/image_30012025_19_19_07_10352.jpg
/home/pi/Desktop/images/30012025/19/19/image_30012025_19_19_17_10372.jpg
/home/pi/Desktop/images/30012025/19/19/image_30012025_19_19_26_9353.jpg
/home/pi/Desktop/images/30012025/19/19/image_30012025_19_19_37_10357.jpg
/home/pi/Desktop/images/30012025/19/19/image_30012025_19_19_47_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":["1333069035","1333069044","1333069046","1333069093","1333069039","1333069095"],"photo_ids_order":["1333069035","1333069039","1333069044","1333069046","1333069093","1333069095"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e8fa6e938eb91e4071d1eac39d825d78.jpg","text":"TemporaryFile(/tmp/multipartBody3288831779578288903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261234536,"filename":"image_30012025_19_18_56_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4ca35b439f520e1e83fb9a22ee1df389.jpg","text":"TemporaryFile(/tmp/multipartBody5395514256057874742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261234536,"filename":"image_30012025_19_19_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/30/d01080120876561ad14b8c4394acd5e8.jpg","text":"TemporaryFile(/tmp/multipartBody2560340073629857549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261234536,"filename":"image_30012025_19_19_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/30/2dd42b9fcffcfb1e02da1e1b609d00fb.jpg","text":"TemporaryFile(/tmp/multipartBody389029073540802818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261234536,"filename":"image_30012025_19_19_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/30/7e8765a187eb1b2e4afd752e6dc5be61.jpg","text":"TemporaryFile(/tmp/multipartBody4582014014317166166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261234536,"filename":"image_30012025_19_19_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/30/65067524afe1fb1f47dbf69ef63f2ef8.jpg","text":"TemporaryFile(/tmp/multipartBody1123141203042488424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261234536,"filename":"image_30012025_19_19_47_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333069044","file1":"1333069039","file0":"1333069035","file4":"1333069093","file5":"1333069095","file3":"1333069046"},"map_files_photo_id_array":[{"photo_id":"1333069095","filename":"file5"},{"photo_id":"1333069044","filename":"file2"},{"photo_id":"1333069093","filename":"file4"},{"photo_id":"1333069039","filename":"file1"},{"photo_id":"1333069035","filename":"file0"},{"photo_id":"1333069046","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333069035":["hashtag1","hashtag2"]},{"1333069044":["hashtag1","hashtag2"]},{"1333069046":["hashtag1","hashtag2"]},{"1333069093":["hashtag1","hashtag2"]},{"1333069039":["hashtag1","hashtag2"]},{"1333069095":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333069035, 1333069044, 1333069046, 1333069093, 1333069039, 1333069095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2557909488678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:20:32.718760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/19/image_30012025_19_19_56_9334.jpg', '/home/pi/Desktop/images/30012025/19/19/image_30012025_19_20_07_10464.jpg', '/home/pi/Desktop/images/30012025/19/20/image_30012025_19_20_16_9375.jpg', '/home/pi/Desktop/images/30012025/19/20/image_30012025_19_20_27_10443.jpg', '/home/pi/Desktop/images/30012025/19/20/image_30012025_19_20_37_10369.jpg', '/home/pi/Desktop/images/30012025/19/20/image_30012025_19_20_46_9329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/19/image_30012025_19_19_56_9334.jpg
/home/pi/Desktop/images/30012025/19/19/image_30012025_19_20_07_10464.jpg
/home/pi/Desktop/images/30012025/19/20/image_30012025_19_20_16_9375.jpg
/home/pi/Desktop/images/30012025/19/20/image_30012025_19_20_27_10443.jpg
/home/pi/Desktop/images/30012025/19/20/image_30012025_19_20_37_10369.jpg
/home/pi/Desktop/images/30012025/19/20/image_30012025_19_20_46_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":["1333069260","1333069274","1333069253","1333069285","1333069267","1333069281"],"photo_ids_order":["1333069253","1333069260","1333069267","1333069274","1333069281","1333069285"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3eefc22f04704bf72af604cac86ec2cd.jpg","text":"TemporaryFile(/tmp/multipartBody5199371509336101859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261293624,"filename":"image_30012025_19_20_07_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/30/0896a63411b42dfa1703b3a99f4a4697.jpg","text":"TemporaryFile(/tmp/multipartBody5977762011369456703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261293624,"filename":"image_30012025_19_20_27_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/30/0a4f2d40e13c14ea2e61cf3092680965.jpg","text":"TemporaryFile(/tmp/multipartBody6288507608170535650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261293624,"filename":"image_30012025_19_19_56_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/30/4aec9d02091d7c0957d525eb1b55845c.jpg","text":"TemporaryFile(/tmp/multipartBody7088504657936836040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261293624,"filename":"image_30012025_19_20_46_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/002e88b48e649060cfa9e20506d07036.jpg","text":"TemporaryFile(/tmp/multipartBody7361018162481732953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261293624,"filename":"image_30012025_19_20_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/30/a2e977d7b5a1e2b423a9f0611d19aa2f.jpg","text":"TemporaryFile(/tmp/multipartBody88043483046366867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261293624,"filename":"image_30012025_19_20_37_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333069267","file1":"1333069260","file0":"1333069253","file4":"1333069281","file5":"1333069285","file3":"1333069274"},"map_files_photo_id_array":[{"photo_id":"1333069285","filename":"file5"},{"photo_id":"1333069267","filename":"file2"},{"photo_id":"1333069281","filename":"file4"},{"photo_id":"1333069260","filename":"file1"},{"photo_id":"1333069253","filename":"file0"},{"photo_id":"1333069274","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333069260":["hashtag1","hashtag2"]},{"1333069274":["hashtag1","hashtag2"]},{"1333069253":["hashtag1","hashtag2"]},{"1333069285":["hashtag1","hashtag2"]},{"1333069267":["hashtag1","hashtag2"]},{"1333069281":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333069260, 1333069274, 1333069253, 1333069285, 1333069267, 1333069281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.849451303482056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:21:32.907380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/20/image_30012025_19_20_57_10350.jpg', '/home/pi/Desktop/images/30012025/19/20/image_30012025_19_21_07_10355.jpg', '/home/pi/Desktop/images/30012025/19/21/image_30012025_19_21_16_9356.jpg', '/home/pi/Desktop/images/30012025/19/21/image_30012025_19_21_27_10358.jpg', '/home/pi/Desktop/images/30012025/19/21/image_30012025_19_21_37_10356.jpg', '/home/pi/Desktop/images/30012025/19/21/image_30012025_19_21_47_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/20/image_30012025_19_20_57_10350.jpg
/home/pi/Desktop/images/30012025/19/20/image_30012025_19_21_07_10355.jpg
/home/pi/Desktop/images/30012025/19/21/image_30012025_19_21_16_9356.jpg
/home/pi/Desktop/images/30012025/19/21/image_30012025_19_21_27_10358.jpg
/home/pi/Desktop/images/30012025/19/21/image_30012025_19_21_37_10356.jpg
/home/pi/Desktop/images/30012025/19/21/image_30012025_19_21_47_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":["1333069323","1333069313","1333069297","1333069318","1333069303","1333069309"],"photo_ids_order":["1333069297","1333069303","1333069309","1333069313","1333069318","1333069323"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0f3508efd3ae9ca8a4473b5580d8483d.jpg","text":"TemporaryFile(/tmp/multipartBody3513030977655669579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261353827,"filename":"image_30012025_19_21_47_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cb20f69217872e60b2110238a22ad141.jpg","text":"TemporaryFile(/tmp/multipartBody3202317740226974085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261353827,"filename":"image_30012025_19_21_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/30/bb7f26b82c83a6599ff29f34bc2c96cc.jpg","text":"TemporaryFile(/tmp/multipartBody7671536991822509058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261353827,"filename":"image_30012025_19_20_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/30/b3ed9bf63128025febe3a0b8882a6617.jpg","text":"TemporaryFile(/tmp/multipartBody1089062244995893020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261353827,"filename":"image_30012025_19_21_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/30/f8461afceecc8a9e5583990f2417f282.jpg","text":"TemporaryFile(/tmp/multipartBody5552797519180869570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261353827,"filename":"image_30012025_19_21_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/30/6e346280a78587748362320b81ec9c1b.jpg","text":"TemporaryFile(/tmp/multipartBody7109438619215277196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261353827,"filename":"image_30012025_19_21_16_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333069309","file1":"1333069303","file0":"1333069297","file4":"1333069318","file5":"1333069323","file3":"1333069313"},"map_files_photo_id_array":[{"photo_id":"1333069323","filename":"file5"},{"photo_id":"1333069309","filename":"file2"},{"photo_id":"1333069318","filename":"file4"},{"photo_id":"1333069303","filename":"file1"},{"photo_id":"1333069297","filename":"file0"},{"photo_id":"1333069313","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333069323":["hashtag1","hashtag2"]},{"1333069313":["hashtag1","hashtag2"]},{"1333069297":["hashtag1","hashtag2"]},{"1333069318":["hashtag1","hashtag2"]},{"1333069303":["hashtag1","hashtag2"]},{"1333069309":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333069323, 1333069313, 1333069297, 1333069318, 1333069303, 1333069309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.3419086933136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:22:33.012710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/21/image_30012025_19_21_57_10453.jpg', '/home/pi/Desktop/images/30012025/19/22/image_30012025_19_22_17_10339.jpg', '/home/pi/Desktop/images/30012025/19/22/image_30012025_19_22_27_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/21/image_30012025_19_21_57_10453.jpg
/home/pi/Desktop/images/30012025/19/22/image_30012025_19_22_17_10339.jpg
/home/pi/Desktop/images/30012025/19/22/image_30012025_19_22_27_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333069338","1333069343","1333069334"],"photo_ids_order":["1333069334","1333069338","1333069343"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/eb0d55dd601fa395ecdefcb2bee66711.jpg","text":"TemporaryFile(/tmp/multipartBody864163379225785021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261413871,"filename":"image_30012025_19_22_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/30/a793a25f2a5059cda6a7d16a91f18217.jpg","text":"TemporaryFile(/tmp/multipartBody6388694618159854200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261413871,"filename":"image_30012025_19_22_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/30/3fda9dfd984db1dc8a2afbd0a7f65362.jpg","text":"TemporaryFile(/tmp/multipartBody1847561191815043901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261413871,"filename":"image_30012025_19_21_57_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333069343","file1":"1333069338","file0":"1333069334"},"map_files_photo_id_array":[{"photo_id":"1333069343","filename":"file2"},{"photo_id":"1333069338","filename":"file1"},{"photo_id":"1333069334","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333069338":["hashtag1","hashtag2"]},{"1333069343":["hashtag1","hashtag2"]},{"1333069334":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333069338, 1333069343, 1333069334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.598196506500244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 19:23:03.833476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/27/image_28012025_21_28_06_10359.jpg', '/home/pi/Desktop/images/28012025/21/28/image_28012025_21_28_15_9352.jpg', '/home/pi/Desktop/images/28012025/21/28/image_28012025_21_28_25_10380.jpg', '/home/pi/Desktop/images/28012025/21/28/image_28012025_21_28_45_10370.jpg', '/home/pi/Desktop/images/28012025/21/28/image_28012025_21_28_56_10535.jpg', '/home/pi/Desktop/images/28012025/21/28/image_28012025_21_29_05_9417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/27/image_28012025_21_28_06_10359.jpg
/home/pi/Desktop/images/28012025/21/28/image_28012025_21_28_15_9352.jpg
/home/pi/Desktop/images/28012025/21/28/image_28012025_21_28_25_10380.jpg
/home/pi/Desktop/images/28012025/21/28/image_28012025_21_28_45_10370.jpg
/home/pi/Desktop/images/28012025/21/28/image_28012025_21_28_56_10535.jpg
/home/pi/Desktop/images/28012025/21/28/image_28012025_21_29_05_9417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333069376","1333069361","1333069370","1333069358","1333069366","1333069389"],"photo_ids_order":["1333069358","1333069361","1333069366","1333069370","1333069376","1333069389"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e11205f1c91151ebbf684dcaa65dc2de.jpg","text":"TemporaryFile(/tmp/multipartBody1488390386948014279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261445850,"filename":"image_28012025_21_28_56_10535.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7c404a5ee7bab792171207856c42d756.jpg","text":"TemporaryFile(/tmp/multipartBody5634282008490659901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261445850,"filename":"image_28012025_21_28_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/30/99fdc7136b39b1892b838f2663e5984e.jpg","text":"TemporaryFile(/tmp/multipartBody8876157408895575970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261445850,"filename":"image_28012025_21_28_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/30/cd3cc60cce3e19f3934e53fe30c05404.jpg","text":"TemporaryFile(/tmp/multipartBody6291881363631655217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261445850,"filename":"image_28012025_21_28_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/30/6cf7cb05afc3b3ebc81aaad09cdfc844.jpg","text":"TemporaryFile(/tmp/multipartBody1246818013472005672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261445850,"filename":"image_28012025_21_28_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/30/ded2f0166d948e498d47d2f04e3de200.jpg","text":"TemporaryFile(/tmp/multipartBody8243576940630593843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261445850,"filename":"image_28012025_21_29_05_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333069366","file1":"1333069361","file0":"1333069358","file4":"1333069376","file5":"1333069389","file3":"1333069370"},"map_files_photo_id_array":[{"photo_id":"1333069389","filename":"file5"},{"photo_id":"1333069366","filename":"file2"},{"photo_id":"1333069376","filename":"file4"},{"photo_id":"1333069361","filename":"file1"},{"photo_id":"1333069358","filename":"file0"},{"photo_id":"1333069370","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333069376":["hashtag1","hashtag2"]},{"1333069361":["hashtag1","hashtag2"]},{"1333069370":["hashtag1","hashtag2"]},{"1333069358":["hashtag1","hashtag2"]},{"1333069366":["hashtag1","hashtag2"]},{"1333069389":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333069376, 1333069361, 1333069370, 1333069358, 1333069366, 1333069389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.5108699798584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:23:52.369007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/22/image_30012025_19_22_36_9255.jpg', '/home/pi/Desktop/images/30012025/19/22/image_30012025_19_23_06_9344.jpg', '/home/pi/Desktop/images/30012025/19/23/image_30012025_19_23_17_10331.jpg', '/home/pi/Desktop/images/30012025/19/23/image_30012025_19_23_37_10363.jpg', '/home/pi/Desktop/images/30012025/19/23/image_30012025_19_23_47_10444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/22/image_30012025_19_22_36_9255.jpg
/home/pi/Desktop/images/30012025/19/22/image_30012025_19_23_06_9344.jpg
/home/pi/Desktop/images/30012025/19/23/image_30012025_19_23_17_10331.jpg
/home/pi/Desktop/images/30012025/19/23/image_30012025_19_23_37_10363.jpg
/home/pi/Desktop/images/30012025/19/23/image_30012025_19_23_47_10444.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333069659","1333069646","1333069655","1333069651","1333069648"],"photo_ids_order":["1333069646","1333069648","1333069651","1333069655","1333069659"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/799d1c7678b05c3d51d40fcc03da52f1.jpg","text":"TemporaryFile(/tmp/multipartBody6944957629762269830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261493514,"filename":"image_30012025_19_23_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/30/19d3c1290f8178fe14635a30830a1e13.jpg","text":"TemporaryFile(/tmp/multipartBody2827208362478681291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261493514,"filename":"image_30012025_19_22_36_9255.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1c064c42db661f4a7478093d7b99b443.jpg","text":"TemporaryFile(/tmp/multipartBody5266590529018587382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261493514,"filename":"image_30012025_19_23_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/30/f789ff820d19b6acb4a7b281a226c127.jpg","text":"TemporaryFile(/tmp/multipartBody3192203617803444149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261493514,"filename":"image_30012025_19_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/30/c729257cb66c6cebda1727ad9aa1a3d0.jpg","text":"TemporaryFile(/tmp/multipartBody1677759439989803810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261493514,"filename":"image_30012025_19_23_06_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333069651","file1":"1333069648","file0":"1333069646","file4":"1333069659","file3":"1333069655"},"map_files_photo_id_array":[{"photo_id":"1333069651","filename":"file2"},{"photo_id":"1333069659","filename":"file4"},{"photo_id":"1333069648","filename":"file1"},{"photo_id":"1333069646","filename":"file0"},{"photo_id":"1333069655","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333069659":["hashtag1","hashtag2"]},{"1333069646":["hashtag1","hashtag2"]},{"1333069655":["hashtag1","hashtag2"]},{"1333069651":["hashtag1","hashtag2"]},{"1333069648":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333069659, 1333069646, 1333069655, 1333069651, 1333069648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.5301833152771 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:24:32.402634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/29/image_28012025_21_29_15_10478.jpg', '/home/pi/Desktop/images/28012025/21/29/image_28012025_21_29_25_9466.jpg', '/home/pi/Desktop/images/28012025/21/29/image_28012025_21_29_35_10358.jpg', '/home/pi/Desktop/images/28012025/21/29/image_28012025_21_29_45_9367.jpg', '/home/pi/Desktop/images/28012025/21/29/image_28012025_21_29_55_10368.jpg', '/home/pi/Desktop/images/28012025/21/29/image_28012025_21_30_05_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/21/29/image_28012025_21_29_15_10478.jpg
/home/pi/Desktop/images/28012025/21/29/image_28012025_21_29_25_9466.jpg
/home/pi/Desktop/images/28012025/21/29/image_28012025_21_29_35_10358.jpg
/home/pi/Desktop/images/28012025/21/29/image_28012025_21_29_45_9367.jpg
/home/pi/Desktop/images/28012025/21/29/image_28012025_21_29_55_10368.jpg
/home/pi/Desktop/images/28012025/21/29/image_28012025_21_30_05_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":["1333069691","1333069685","1333069673","1333069678","1333069695","1333069668"],"photo_ids_order":["1333069668","1333069673","1333069678","1333069685","1333069691","1333069695"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2102e7c62ebbf2b7a831e4a84ecb7d2d.jpg","text":"TemporaryFile(/tmp/multipartBody4672083562710306049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261534836,"filename":"image_28012025_21_29_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/30/925ce511324d1537c8833e41568aa2ef.jpg","text":"TemporaryFile(/tmp/multipartBody6523642088754067407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261534836,"filename":"image_28012025_21_29_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/30/e7b789523965f38bc03d0e2025875ed1.jpg","text":"TemporaryFile(/tmp/multipartBody2766269687290032067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261534836,"filename":"image_28012025_21_29_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/30/41543c75cd389a7bae6adb590e6400bc.jpg","text":"TemporaryFile(/tmp/multipartBody1531763906410964472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261534836,"filename":"image_28012025_21_29_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/30/b5d6288288e4ea9fff6f145d1e527868.jpg","text":"TemporaryFile(/tmp/multipartBody1207570884176738305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261534836,"filename":"image_28012025_21_30_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/30/b2751d180f1cef71c0fcda9dbbbcb6b9.jpg","text":"TemporaryFile(/tmp/multipartBody4693720388405191605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261534836,"filename":"image_28012025_21_29_15_10478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333069678","file1":"1333069673","file0":"1333069668","file4":"1333069691","file5":"1333069695","file3":"1333069685"},"map_files_photo_id_array":[{"photo_id":"1333069695","filename":"file5"},{"photo_id":"1333069678","filename":"file2"},{"photo_id":"1333069691","filename":"file4"},{"photo_id":"1333069673","filename":"file1"},{"photo_id":"1333069668","filename":"file0"},{"photo_id":"1333069685","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333069691":["hashtag1","hashtag2"]},{"1333069685":["hashtag1","hashtag2"]},{"1333069673":["hashtag1","hashtag2"]},{"1333069678":["hashtag1","hashtag2"]},{"1333069695":["hashtag1","hashtag2"]},{"1333069668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333069691, 1333069685, 1333069673, 1333069678, 1333069695, 1333069668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.879045248031616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:25:32.570470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/23/image_30012025_19_23_56_9358.jpg', '/home/pi/Desktop/images/30012025/19/23/image_30012025_19_24_07_10347.jpg', '/home/pi/Desktop/images/30012025/19/24/image_30012025_19_24_26_9343.jpg', '/home/pi/Desktop/images/30012025/19/24/image_30012025_19_25_07_10438.jpg', '/home/pi/Desktop/images/30012025/19/25/image_30012025_19_25_16_9348.jpg', '/home/pi/Desktop/images/30012025/19/25/image_30012025_19_25_27_10376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/23/image_30012025_19_23_56_9358.jpg
/home/pi/Desktop/images/30012025/19/23/image_30012025_19_24_07_10347.jpg
/home/pi/Desktop/images/30012025/19/24/image_30012025_19_24_26_9343.jpg
/home/pi/Desktop/images/30012025/19/24/image_30012025_19_25_07_10438.jpg
/home/pi/Desktop/images/30012025/19/25/image_30012025_19_25_16_9348.jpg
/home/pi/Desktop/images/30012025/19/25/image_30012025_19_25_27_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":["1333069748","1333069733","1333069727","1333069736","1333069744","1333069740"],"photo_ids_order":["1333069727","1333069733","1333069736","1333069740","1333069744","1333069748"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fb1149b3a8a4600eed929967aa72703b.jpg","text":"TemporaryFile(/tmp/multipartBody1827017832131373978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261593483,"filename":"image_30012025_19_25_27_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5345a5cfbfe88df21d36ae3d4044f463.jpg","text":"TemporaryFile(/tmp/multipartBody7336248321675972650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261593483,"filename":"image_30012025_19_24_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/30/b172f33eb04ea5309a5383c10a85326c.jpg","text":"TemporaryFile(/tmp/multipartBody419440501945607340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261593483,"filename":"image_30012025_19_23_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/30/22f31345c2ade97d1397c6845cec390d.jpg","text":"TemporaryFile(/tmp/multipartBody3655175523610476836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261593483,"filename":"image_30012025_19_24_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/30/2411e1d88489f30cfc883f2e4e56bcd0.jpg","text":"TemporaryFile(/tmp/multipartBody2630436347765483374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261593483,"filename":"image_30012025_19_25_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/30/f0655bc27822e9f66b0a09b1277a7bcb.jpg","text":"TemporaryFile(/tmp/multipartBody5024472290516686780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261593483,"filename":"image_30012025_19_25_07_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333069736","file1":"1333069733","file0":"1333069727","file4":"1333069744","file5":"1333069748","file3":"1333069740"},"map_files_photo_id_array":[{"photo_id":"1333069748","filename":"file5"},{"photo_id":"1333069736","filename":"file2"},{"photo_id":"1333069744","filename":"file4"},{"photo_id":"1333069733","filename":"file1"},{"photo_id":"1333069727","filename":"file0"},{"photo_id":"1333069740","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333069748":["hashtag1","hashtag2"]},{"1333069733":["hashtag1","hashtag2"]},{"1333069727":["hashtag1","hashtag2"]},{"1333069736":["hashtag1","hashtag2"]},{"1333069744":["hashtag1","hashtag2"]},{"1333069740":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333069748, 1333069733, 1333069727, 1333069736, 1333069744, 1333069740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.790746450424194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:26:32.742446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/25/image_30012025_19_25_37_10356.jpg', '/home/pi/Desktop/images/30012025/19/25/image_30012025_19_25_46_9364.jpg', '/home/pi/Desktop/images/30012025/19/25/image_30012025_19_25_57_10479.jpg', '/home/pi/Desktop/images/30012025/19/26/image_30012025_19_26_17_10336.jpg', '/home/pi/Desktop/images/30012025/19/26/image_30012025_19_26_27_10408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/25/image_30012025_19_25_37_10356.jpg
/home/pi/Desktop/images/30012025/19/25/image_30012025_19_25_46_9364.jpg
/home/pi/Desktop/images/30012025/19/25/image_30012025_19_25_57_10479.jpg
/home/pi/Desktop/images/30012025/19/26/image_30012025_19_26_17_10336.jpg
/home/pi/Desktop/images/30012025/19/26/image_30012025_19_26_27_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":["1333069845","1333069824","1333069853","1333069867","1333069849"],"photo_ids_order":["1333069824","1333069845","1333069849","1333069853","1333069867"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ff895b7030bd72d0b42642b57fed5732.jpg","text":"TemporaryFile(/tmp/multipartBody1014087647157438039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261653638,"filename":"image_30012025_19_25_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/30/2454841a106320d858c6087f1a0c4c56.jpg","text":"TemporaryFile(/tmp/multipartBody4039848002226107479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261653638,"filename":"image_30012025_19_25_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/30/0e7ae4f9afb374b77bb9aa0898ca3cf8.jpg","text":"TemporaryFile(/tmp/multipartBody1795142385232434956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261653638,"filename":"image_30012025_19_26_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/30/66f7bce7eccb5035af13220a0ff74967.jpg","text":"TemporaryFile(/tmp/multipartBody4319602871271875072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261653638,"filename":"image_30012025_19_26_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/30/c3289681124b0fe0b965b91b0433da9b.jpg","text":"TemporaryFile(/tmp/multipartBody7740012594370511309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261653638,"filename":"image_30012025_19_25_57_10479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333069849","file1":"1333069845","file0":"1333069824","file4":"1333069867","file3":"1333069853"},"map_files_photo_id_array":[{"photo_id":"1333069849","filename":"file2"},{"photo_id":"1333069867","filename":"file4"},{"photo_id":"1333069845","filename":"file1"},{"photo_id":"1333069824","filename":"file0"},{"photo_id":"1333069853","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333069845":["hashtag1","hashtag2"]},{"1333069824":["hashtag1","hashtag2"]},{"1333069853":["hashtag1","hashtag2"]},{"1333069867":["hashtag1","hashtag2"]},{"1333069849":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333069845, 1333069824, 1333069853, 1333069867, 1333069849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.529946088790894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:27:33.016994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/26/image_30012025_19_26_56_9342.jpg', '/home/pi/Desktop/images/30012025/19/27/image_30012025_19_27_17_10350.jpg', '/home/pi/Desktop/images/30012025/19/27/image_30012025_19_27_26_9344.jpg', '/home/pi/Desktop/images/30012025/19/27/image_30012025_19_27_37_10368.jpg', '/home/pi/Desktop/images/30012025/19/27/image_30012025_19_27_47_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/26/image_30012025_19_26_56_9342.jpg
/home/pi/Desktop/images/30012025/19/27/image_30012025_19_27_17_10350.jpg
/home/pi/Desktop/images/30012025/19/27/image_30012025_19_27_26_9344.jpg
/home/pi/Desktop/images/30012025/19/27/image_30012025_19_27_37_10368.jpg
/home/pi/Desktop/images/30012025/19/27/image_30012025_19_27_47_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":["1333069902","1333069898","1333069886","1333069907","1333069893"],"photo_ids_order":["1333069886","1333069893","1333069898","1333069902","1333069907"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/75aa1be7a047171850fd1a5400708a1d.jpg","text":"TemporaryFile(/tmp/multipartBody3508104450679439372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261713909,"filename":"image_30012025_19_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/30/c8685a3aec3d51c7cf14684e2a071c40.jpg","text":"TemporaryFile(/tmp/multipartBody8976219874318274802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261713909,"filename":"image_30012025_19_27_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/30/b0e46d68fb1223c35c853e2e968e91ce.jpg","text":"TemporaryFile(/tmp/multipartBody1004196859827963567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261713909,"filename":"image_30012025_19_26_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/30/4d848e2c5c05cd0b3708a2222fbf50a7.jpg","text":"TemporaryFile(/tmp/multipartBody8869190168200487669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261713909,"filename":"image_30012025_19_27_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/30/d2ed0eb5401967af294d5b23bf4193ff.jpg","text":"TemporaryFile(/tmp/multipartBody4719719689749495449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261713909,"filename":"image_30012025_19_27_17_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333069898","file1":"1333069893","file0":"1333069886","file4":"1333069907","file3":"1333069902"},"map_files_photo_id_array":[{"photo_id":"1333069898","filename":"file2"},{"photo_id":"1333069907","filename":"file4"},{"photo_id":"1333069893","filename":"file1"},{"photo_id":"1333069886","filename":"file0"},{"photo_id":"1333069902","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333069902":["hashtag1","hashtag2"]},{"1333069898":["hashtag1","hashtag2"]},{"1333069886":["hashtag1","hashtag2"]},{"1333069907":["hashtag1","hashtag2"]},{"1333069893":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333069902, 1333069898, 1333069886, 1333069907, 1333069893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.21817708015442 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:28:33.135895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/27/image_30012025_19_27_56_9368.jpg', '/home/pi/Desktop/images/30012025/19/27/image_30012025_19_28_07_10480.jpg', '/home/pi/Desktop/images/30012025/19/28/image_30012025_19_28_16_9347.jpg', '/home/pi/Desktop/images/30012025/19/28/image_30012025_19_28_27_10364.jpg', '/home/pi/Desktop/images/30012025/19/28/image_30012025_19_28_37_10370.jpg', '/home/pi/Desktop/images/30012025/19/28/image_30012025_19_28_46_9408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/27/image_30012025_19_27_56_9368.jpg
/home/pi/Desktop/images/30012025/19/27/image_30012025_19_28_07_10480.jpg
/home/pi/Desktop/images/30012025/19/28/image_30012025_19_28_16_9347.jpg
/home/pi/Desktop/images/30012025/19/28/image_30012025_19_28_27_10364.jpg
/home/pi/Desktop/images/30012025/19/28/image_30012025_19_28_37_10370.jpg
/home/pi/Desktop/images/30012025/19/28/image_30012025_19_28_46_9408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333069929","1333069938","1333069923","1333069934","1333069942","1333069927"],"photo_ids_order":["1333069923","1333069927","1333069929","1333069934","1333069938","1333069942"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c983c211d8e90b1267bda0be667b0da0.jpg","text":"TemporaryFile(/tmp/multipartBody6509681014170687353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261774050,"filename":"image_30012025_19_28_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/30/82cbd380cb3005c94092824f59ad8e6c.jpg","text":"TemporaryFile(/tmp/multipartBody8055658330760973573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261774050,"filename":"image_30012025_19_28_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/30/3a8f1d5f5ad42a1fb85a4466fe5c217c.jpg","text":"TemporaryFile(/tmp/multipartBody1332061237854265244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261774050,"filename":"image_30012025_19_27_56_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/30/69b72393ec8b9d1718d8924e0e2e278b.jpg","text":"TemporaryFile(/tmp/multipartBody9165291332469568518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261774050,"filename":"image_30012025_19_28_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/30/aab8f03a5a55f6cec4df31fd456faa83.jpg","text":"TemporaryFile(/tmp/multipartBody1812014773503601794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261774050,"filename":"image_30012025_19_28_46_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/63d7d1ae5995aeb7f92715b437317b43.jpg","text":"TemporaryFile(/tmp/multipartBody7022694565598786172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261774050,"filename":"image_30012025_19_28_07_10480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333069929","file1":"1333069927","file0":"1333069923","file4":"1333069938","file5":"1333069942","file3":"1333069934"},"map_files_photo_id_array":[{"photo_id":"1333069942","filename":"file5"},{"photo_id":"1333069929","filename":"file2"},{"photo_id":"1333069938","filename":"file4"},{"photo_id":"1333069927","filename":"file1"},{"photo_id":"1333069923","filename":"file0"},{"photo_id":"1333069934","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333069929":["hashtag1","hashtag2"]},{"1333069938":["hashtag1","hashtag2"]},{"1333069923":["hashtag1","hashtag2"]},{"1333069934":["hashtag1","hashtag2"]},{"1333069942":["hashtag1","hashtag2"]},{"1333069927":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333069929, 1333069938, 1333069923, 1333069934, 1333069942, 1333069927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.49501991271973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:29:32.298033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/28/image_30012025_19_28_57_10345.jpg', '/home/pi/Desktop/images/30012025/19/28/image_30012025_19_29_07_10416.jpg', '/home/pi/Desktop/images/30012025/19/29/image_30012025_19_29_16_9371.jpg', '/home/pi/Desktop/images/30012025/19/29/image_30012025_19_29_27_10489.jpg', '/home/pi/Desktop/images/30012025/19/29/image_30012025_19_29_36_9353.jpg', '/home/pi/Desktop/images/30012025/19/29/image_30012025_19_29_47_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/28/image_30012025_19_28_57_10345.jpg
/home/pi/Desktop/images/30012025/19/28/image_30012025_19_29_07_10416.jpg
/home/pi/Desktop/images/30012025/19/29/image_30012025_19_29_16_9371.jpg
/home/pi/Desktop/images/30012025/19/29/image_30012025_19_29_27_10489.jpg
/home/pi/Desktop/images/30012025/19/29/image_30012025_19_29_36_9353.jpg
/home/pi/Desktop/images/30012025/19/29/image_30012025_19_29_47_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":["1333070107","1333070169","1333070121","1333070130","1333070159","1333070170"],"photo_ids_order":["1333070107","1333070121","1333070130","1333070159","1333070169","1333070170"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a80c09ce645c404737a8e69eb679a899.jpg","text":"TemporaryFile(/tmp/multipartBody2667266445685628520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261833215,"filename":"image_30012025_19_28_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/30/5d25e9b2fa77ce52e05237d9b2968db3.jpg","text":"TemporaryFile(/tmp/multipartBody8550365837845506320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261833215,"filename":"image_30012025_19_29_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/30/a330efadd114a197c304fb09e6c9d5ad.jpg","text":"TemporaryFile(/tmp/multipartBody7621372334861573847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261833215,"filename":"image_30012025_19_29_07_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/22ca6d419d885b52ef5fc27c51d2c357.jpg","text":"TemporaryFile(/tmp/multipartBody3452201317423450592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261833215,"filename":"image_30012025_19_29_16_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/30/5ffdc4a8e56e52f1d2e3da396b8908ae.jpg","text":"TemporaryFile(/tmp/multipartBody6603514781759974962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261833215,"filename":"image_30012025_19_29_27_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/30/fed14b5597a880150d475083b839588a.jpg","text":"TemporaryFile(/tmp/multipartBody7600222117541648913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261833215,"filename":"image_30012025_19_29_47_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333070130","file1":"1333070121","file0":"1333070107","file4":"1333070169","file5":"1333070170","file3":"1333070159"},"map_files_photo_id_array":[{"photo_id":"1333070170","filename":"file5"},{"photo_id":"1333070130","filename":"file2"},{"photo_id":"1333070169","filename":"file4"},{"photo_id":"1333070121","filename":"file1"},{"photo_id":"1333070107","filename":"file0"},{"photo_id":"1333070159","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333070107":["hashtag1","hashtag2"]},{"1333070169":["hashtag1","hashtag2"]},{"1333070121":["hashtag1","hashtag2"]},{"1333070130":["hashtag1","hashtag2"]},{"1333070159":["hashtag1","hashtag2"]},{"1333070170":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333070107, 1333070169, 1333070121, 1333070130, 1333070159, 1333070170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.969210386276245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:30:32.570579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/29/image_30012025_19_29_57_10412.jpg', '/home/pi/Desktop/images/30012025/19/29/image_30012025_19_30_06_9346.jpg', '/home/pi/Desktop/images/30012025/19/30/image_30012025_19_30_17_10465.jpg', '/home/pi/Desktop/images/30012025/19/30/image_30012025_19_30_26_9460.jpg', '/home/pi/Desktop/images/30012025/19/30/image_30012025_19_30_37_10369.jpg', '/home/pi/Desktop/images/30012025/19/30/image_30012025_19_30_46_9440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/29/image_30012025_19_29_57_10412.jpg
/home/pi/Desktop/images/30012025/19/29/image_30012025_19_30_06_9346.jpg
/home/pi/Desktop/images/30012025/19/30/image_30012025_19_30_17_10465.jpg
/home/pi/Desktop/images/30012025/19/30/image_30012025_19_30_26_9460.jpg
/home/pi/Desktop/images/30012025/19/30/image_30012025_19_30_37_10369.jpg
/home/pi/Desktop/images/30012025/19/30/image_30012025_19_30_46_9440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333070206","1333070209","1333070199","1333070190","1333070202","1333070195"],"photo_ids_order":["1333070190","1333070195","1333070199","1333070202","1333070206","1333070209"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d221d21de0109f81ea8d9af5a03dd0f1.jpg","text":"TemporaryFile(/tmp/multipartBody290011680449551104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261893476,"filename":"image_30012025_19_30_37_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/30/e426a27dd7576d8267490f4d5068e9e1.jpg","text":"TemporaryFile(/tmp/multipartBody4258937275244481525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261893476,"filename":"image_30012025_19_30_46_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/30/75503c32b7c6d5b89958c1e40786b07d.jpg","text":"TemporaryFile(/tmp/multipartBody4973054445650761879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261893476,"filename":"image_30012025_19_30_17_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/30/756ed65195347caaabff82e4c5fdba3c.jpg","text":"TemporaryFile(/tmp/multipartBody3256356892059018699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261893476,"filename":"image_30012025_19_29_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/30/31fe0f06b25766d53d0c28e88850b28a.jpg","text":"TemporaryFile(/tmp/multipartBody7085508335578291916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261893476,"filename":"image_30012025_19_30_26_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/30/87b9bf20c8112266f5f717cbf14d8804.jpg","text":"TemporaryFile(/tmp/multipartBody5849785731670692414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261893476,"filename":"image_30012025_19_30_06_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333070199","file1":"1333070195","file0":"1333070190","file4":"1333070206","file5":"1333070209","file3":"1333070202"},"map_files_photo_id_array":[{"photo_id":"1333070209","filename":"file5"},{"photo_id":"1333070199","filename":"file2"},{"photo_id":"1333070206","filename":"file4"},{"photo_id":"1333070195","filename":"file1"},{"photo_id":"1333070190","filename":"file0"},{"photo_id":"1333070202","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333070206":["hashtag1","hashtag2"]},{"1333070209":["hashtag1","hashtag2"]},{"1333070199":["hashtag1","hashtag2"]},{"1333070190":["hashtag1","hashtag2"]},{"1333070202":["hashtag1","hashtag2"]},{"1333070195":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333070206, 1333070209, 1333070199, 1333070190, 1333070202, 1333070195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.36570405960083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:31:33.005528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/30/image_30012025_19_30_57_10346.jpg', '/home/pi/Desktop/images/30012025/19/30/image_30012025_19_31_07_10490.jpg', '/home/pi/Desktop/images/30012025/19/31/image_30012025_19_31_16_9350.jpg', '/home/pi/Desktop/images/30012025/19/31/image_30012025_19_31_27_10357.jpg', '/home/pi/Desktop/images/30012025/19/31/image_30012025_19_31_37_10414.jpg', '/home/pi/Desktop/images/30012025/19/31/image_30012025_19_31_47_9378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/30/image_30012025_19_30_57_10346.jpg
/home/pi/Desktop/images/30012025/19/30/image_30012025_19_31_07_10490.jpg
/home/pi/Desktop/images/30012025/19/31/image_30012025_19_31_16_9350.jpg
/home/pi/Desktop/images/30012025/19/31/image_30012025_19_31_27_10357.jpg
/home/pi/Desktop/images/30012025/19/31/image_30012025_19_31_37_10414.jpg
/home/pi/Desktop/images/30012025/19/31/image_30012025_19_31_47_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":["1333070308","1333070226","1333070310","1333070304","1333070299","1333070248"],"photo_ids_order":["1333070226","1333070248","1333070299","1333070304","1333070308","1333070310"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6f7cfe4dc7138961f9133bb58483bb5d.jpg","text":"TemporaryFile(/tmp/multipartBody3332831698960074216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261953921,"filename":"image_30012025_19_31_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/30/0fd4b3e5d261a3523d5c4f1a811eaf69.jpg","text":"TemporaryFile(/tmp/multipartBody8357791209798784035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261953921,"filename":"image_30012025_19_30_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/30/4c6b2c907dd91e687916d46ae203bb09.jpg","text":"TemporaryFile(/tmp/multipartBody7735480460143084599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261953921,"filename":"image_30012025_19_31_47_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/30/83c00339a1aa224e7c4decf6651766a4.jpg","text":"TemporaryFile(/tmp/multipartBody6398492925979836307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261953921,"filename":"image_30012025_19_31_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/30/f876ca50fcb810429c48efda00d8fcbb.jpg","text":"TemporaryFile(/tmp/multipartBody5014876536235693730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261953921,"filename":"image_30012025_19_31_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/30/920dde7e0e3dc0f8fca2ba46efb211a5.jpg","text":"TemporaryFile(/tmp/multipartBody6230820011158779517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738261953921,"filename":"image_30012025_19_31_07_10490.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333070299","file1":"1333070248","file0":"1333070226","file4":"1333070308","file5":"1333070310","file3":"1333070304"},"map_files_photo_id_array":[{"photo_id":"1333070310","filename":"file5"},{"photo_id":"1333070299","filename":"file2"},{"photo_id":"1333070308","filename":"file4"},{"photo_id":"1333070248","filename":"file1"},{"photo_id":"1333070226","filename":"file0"},{"photo_id":"1333070304","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333070308":["hashtag1","hashtag2"]},{"1333070226":["hashtag1","hashtag2"]},{"1333070310":["hashtag1","hashtag2"]},{"1333070304":["hashtag1","hashtag2"]},{"1333070299":["hashtag1","hashtag2"]},{"1333070248":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333070308, 1333070226, 1333070310, 1333070304, 1333070299, 1333070248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.781609773635864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:32:32.894073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/31/image_30012025_19_31_57_10462.jpg', '/home/pi/Desktop/images/30012025/19/31/image_30012025_19_32_06_9338.jpg', '/home/pi/Desktop/images/30012025/19/32/image_30012025_19_32_17_10361.jpg', '/home/pi/Desktop/images/30012025/19/32/image_30012025_19_32_27_10453.jpg', '/home/pi/Desktop/images/30012025/19/32/image_30012025_19_32_37_9413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/31/image_30012025_19_31_57_10462.jpg
/home/pi/Desktop/images/30012025/19/31/image_30012025_19_32_06_9338.jpg
/home/pi/Desktop/images/30012025/19/32/image_30012025_19_32_17_10361.jpg
/home/pi/Desktop/images/30012025/19/32/image_30012025_19_32_27_10453.jpg
/home/pi/Desktop/images/30012025/19/32/image_30012025_19_32_37_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":["1333070361","1333070403","1333070354","1333070357","1333070365"],"photo_ids_order":["1333070354","1333070357","1333070361","1333070365","1333070403"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/621e4d2b67e8078dbd41bf98629ea154.jpg","text":"TemporaryFile(/tmp/multipartBody2096744601513522858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262013819,"filename":"image_30012025_19_32_17_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/482127986dd0ccc685f9fc8ee4c7fb5f.jpg","text":"TemporaryFile(/tmp/multipartBody8317183139232479728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262013819,"filename":"image_30012025_19_32_37_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/30/9ac1774c81605591302300d2f6848948.jpg","text":"TemporaryFile(/tmp/multipartBody1451086893885977882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262013819,"filename":"image_30012025_19_31_57_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/30/f9a73366e0830144d60e8c0c2663f3fd.jpg","text":"TemporaryFile(/tmp/multipartBody3214651807665218924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262013819,"filename":"image_30012025_19_32_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/30/e609a513bec28f01eaa4a55e9ad9348b.jpg","text":"TemporaryFile(/tmp/multipartBody3713085341914908503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262013819,"filename":"image_30012025_19_32_27_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333070361","file1":"1333070357","file0":"1333070354","file4":"1333070403","file3":"1333070365"},"map_files_photo_id_array":[{"photo_id":"1333070361","filename":"file2"},{"photo_id":"1333070403","filename":"file4"},{"photo_id":"1333070357","filename":"file1"},{"photo_id":"1333070354","filename":"file0"},{"photo_id":"1333070365","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333070361":["hashtag1","hashtag2"]},{"1333070403":["hashtag1","hashtag2"]},{"1333070354":["hashtag1","hashtag2"]},{"1333070357":["hashtag1","hashtag2"]},{"1333070365":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333070361, 1333070403, 1333070354, 1333070357, 1333070365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.56358194351196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:33:33.094215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/32/image_30012025_19_32_47_10466.jpg', '/home/pi/Desktop/images/30012025/19/33/image_30012025_19_33_16_9443.jpg', '/home/pi/Desktop/images/30012025/19/33/image_30012025_19_33_27_10345.jpg', '/home/pi/Desktop/images/30012025/19/33/image_30012025_19_33_37_10477.jpg', '/home/pi/Desktop/images/30012025/19/33/image_30012025_19_33_46_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/32/image_30012025_19_32_47_10466.jpg
/home/pi/Desktop/images/30012025/19/33/image_30012025_19_33_16_9443.jpg
/home/pi/Desktop/images/30012025/19/33/image_30012025_19_33_27_10345.jpg
/home/pi/Desktop/images/30012025/19/33/image_30012025_19_33_37_10477.jpg
/home/pi/Desktop/images/30012025/19/33/image_30012025_19_33_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":["1333070469","1333070463","1333070482","1333070458","1333070455"],"photo_ids_order":["1333070455","1333070458","1333070463","1333070469","1333070482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3058fecff1a4f3e730df636c38dba6f1.jpg","text":"TemporaryFile(/tmp/multipartBody3630980782995333338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262073997,"filename":"image_30012025_19_33_37_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/30/681abec1a5ed8942b6da73516f981b2f.jpg","text":"TemporaryFile(/tmp/multipartBody1344956394246972821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262073997,"filename":"image_30012025_19_33_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/30/376db571be38f76baf283d488a0d3684.jpg","text":"TemporaryFile(/tmp/multipartBody4527008721252779091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262073997,"filename":"image_30012025_19_33_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/30/7cd76dd39ead6caa8b0820f455b17d31.jpg","text":"TemporaryFile(/tmp/multipartBody4221794703711342706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262073997,"filename":"image_30012025_19_33_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/30/c5b0ff1e116cfb9da0edb3229640ec24.jpg","text":"TemporaryFile(/tmp/multipartBody8967994494680040060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262073997,"filename":"image_30012025_19_32_47_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333070463","file1":"1333070458","file0":"1333070455","file4":"1333070482","file3":"1333070469"},"map_files_photo_id_array":[{"photo_id":"1333070463","filename":"file2"},{"photo_id":"1333070482","filename":"file4"},{"photo_id":"1333070458","filename":"file1"},{"photo_id":"1333070455","filename":"file0"},{"photo_id":"1333070469","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333070469":["hashtag1","hashtag2"]},{"1333070463":["hashtag1","hashtag2"]},{"1333070482":["hashtag1","hashtag2"]},{"1333070458":["hashtag1","hashtag2"]},{"1333070455":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333070469, 1333070463, 1333070482, 1333070458, 1333070455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.62122821807861 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:34:32.306469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/33/image_30012025_19_33_57_10355.jpg', '/home/pi/Desktop/images/30012025/19/33/image_30012025_19_34_07_10361.jpg', '/home/pi/Desktop/images/30012025/19/34/image_30012025_19_34_16_9333.jpg', '/home/pi/Desktop/images/30012025/19/34/image_30012025_19_34_27_10361.jpg', '/home/pi/Desktop/images/30012025/19/34/image_30012025_19_34_37_10365.jpg', '/home/pi/Desktop/images/30012025/19/34/image_30012025_19_34_46_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/33/image_30012025_19_33_57_10355.jpg
/home/pi/Desktop/images/30012025/19/33/image_30012025_19_34_07_10361.jpg
/home/pi/Desktop/images/30012025/19/34/image_30012025_19_34_16_9333.jpg
/home/pi/Desktop/images/30012025/19/34/image_30012025_19_34_27_10361.jpg
/home/pi/Desktop/images/30012025/19/34/image_30012025_19_34_37_10365.jpg
/home/pi/Desktop/images/30012025/19/34/image_30012025_19_34_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":["1333070623","1333070553","1333070627","1333070618","1333070575","1333070611"],"photo_ids_order":["1333070553","1333070575","1333070611","1333070618","1333070623","1333070627"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1d78fad96442539db9665c58db0cda2e.jpg","text":"TemporaryFile(/tmp/multipartBody529315319425376625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262133263,"filename":"image_30012025_19_34_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/30/99f1ec120b0a115134a78675c74a328e.jpg","text":"TemporaryFile(/tmp/multipartBody3943037801471377835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262133263,"filename":"image_30012025_19_33_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/30/1a3c110ebddfa74313c0d05002a26a79.jpg","text":"TemporaryFile(/tmp/multipartBody6576130091980676846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262133263,"filename":"image_30012025_19_34_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/30/9a1ac5277ec06f0f0759748982c0f646.jpg","text":"TemporaryFile(/tmp/multipartBody4927295660229358736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262133263,"filename":"image_30012025_19_34_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/30/caf839802f2bb3f96f4490bfb012be1f.jpg","text":"TemporaryFile(/tmp/multipartBody7479874258160396266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262133263,"filename":"image_30012025_19_34_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/30/db19c41e083b459308b5acf5e56a70b3.jpg","text":"TemporaryFile(/tmp/multipartBody9144121819103657135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262133263,"filename":"image_30012025_19_34_16_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333070611","file1":"1333070575","file0":"1333070553","file4":"1333070623","file5":"1333070627","file3":"1333070618"},"map_files_photo_id_array":[{"photo_id":"1333070627","filename":"file5"},{"photo_id":"1333070611","filename":"file2"},{"photo_id":"1333070623","filename":"file4"},{"photo_id":"1333070575","filename":"file1"},{"photo_id":"1333070553","filename":"file0"},{"photo_id":"1333070618","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333070623":["hashtag1","hashtag2"]},{"1333070553":["hashtag1","hashtag2"]},{"1333070627":["hashtag1","hashtag2"]},{"1333070618":["hashtag1","hashtag2"]},{"1333070575":["hashtag1","hashtag2"]},{"1333070611":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333070623, 1333070553, 1333070627, 1333070618, 1333070575, 1333070611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.45767641067505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:35:32.577726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/34/image_30012025_19_34_57_10476.jpg', '/home/pi/Desktop/images/30012025/19/34/image_30012025_19_35_06_9349.jpg', '/home/pi/Desktop/images/30012025/19/35/image_30012025_19_35_17_10357.jpg', '/home/pi/Desktop/images/30012025/19/35/image_30012025_19_35_27_10427.jpg', '/home/pi/Desktop/images/30012025/19/35/image_30012025_19_35_36_9362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/34/image_30012025_19_34_57_10476.jpg
/home/pi/Desktop/images/30012025/19/34/image_30012025_19_35_06_9349.jpg
/home/pi/Desktop/images/30012025/19/35/image_30012025_19_35_17_10357.jpg
/home/pi/Desktop/images/30012025/19/35/image_30012025_19_35_27_10427.jpg
/home/pi/Desktop/images/30012025/19/35/image_30012025_19_35_36_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":["1333070649","1333070658","1333070643","1333070663","1333070654"],"photo_ids_order":["1333070643","1333070649","1333070654","1333070658","1333070663"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9fa8b8ccad03b274d0d7df8baa0905c8.jpg","text":"TemporaryFile(/tmp/multipartBody7631380103299611475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262193474,"filename":"image_30012025_19_35_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/30/cb234b75a51cf2174426453b3e5d7139.jpg","text":"TemporaryFile(/tmp/multipartBody3898223037461027064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262193474,"filename":"image_30012025_19_35_27_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8c5eca74c9bd6b0d9bc0cc7a507ec25c.jpg","text":"TemporaryFile(/tmp/multipartBody991020836010789756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262193474,"filename":"image_30012025_19_34_57_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/30/4e7944f6d565a28555f9280f97cd2932.jpg","text":"TemporaryFile(/tmp/multipartBody4497344735961761731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262193474,"filename":"image_30012025_19_35_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/30/5b4b5e60ca280ec8f1e5252e376f1bcb.jpg","text":"TemporaryFile(/tmp/multipartBody8445079147909048080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262193474,"filename":"image_30012025_19_35_17_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333070654","file1":"1333070649","file0":"1333070643","file4":"1333070663","file3":"1333070658"},"map_files_photo_id_array":[{"photo_id":"1333070654","filename":"file2"},{"photo_id":"1333070663","filename":"file4"},{"photo_id":"1333070649","filename":"file1"},{"photo_id":"1333070643","filename":"file0"},{"photo_id":"1333070658","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333070649":["hashtag1","hashtag2"]},{"1333070658":["hashtag1","hashtag2"]},{"1333070643":["hashtag1","hashtag2"]},{"1333070663":["hashtag1","hashtag2"]},{"1333070654":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333070649, 1333070658, 1333070643, 1333070663, 1333070654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.30144548416138 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:36:33.039206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/35/image_30012025_19_35_56_9393.jpg', '/home/pi/Desktop/images/30012025/19/35/image_30012025_19_36_07_10351.jpg', '/home/pi/Desktop/images/30012025/19/36/image_30012025_19_36_17_10354.jpg', '/home/pi/Desktop/images/30012025/19/36/image_30012025_19_36_26_9369.jpg', '/home/pi/Desktop/images/30012025/19/36/image_30012025_19_36_37_10355.jpg', '/home/pi/Desktop/images/30012025/19/36/image_30012025_19_36_47_10437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/35/image_30012025_19_35_56_9393.jpg
/home/pi/Desktop/images/30012025/19/35/image_30012025_19_36_07_10351.jpg
/home/pi/Desktop/images/30012025/19/36/image_30012025_19_36_17_10354.jpg
/home/pi/Desktop/images/30012025/19/36/image_30012025_19_36_26_9369.jpg
/home/pi/Desktop/images/30012025/19/36/image_30012025_19_36_37_10355.jpg
/home/pi/Desktop/images/30012025/19/36/image_30012025_19_36_47_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":["1333070811","1333070774","1333070712","1333070777","1333070756","1333070788"],"photo_ids_order":["1333070712","1333070756","1333070774","1333070777","1333070788","1333070811"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6360c16eaf9f64c74d79513812dc9a2b.jpg","text":"TemporaryFile(/tmp/multipartBody2459145678959256528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262253954,"filename":"image_30012025_19_36_47_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/30/37948011f5be79367a9daa5594e6bda1.jpg","text":"TemporaryFile(/tmp/multipartBody2066902769601589616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262253954,"filename":"image_30012025_19_36_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/30/37e913648c09c40b201531c06e5732d5.jpg","text":"TemporaryFile(/tmp/multipartBody5853257021828127084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262253954,"filename":"image_30012025_19_35_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/30/dbbe1a7ca0dc9bb3080dcbc1fbe15ff5.jpg","text":"TemporaryFile(/tmp/multipartBody6789929317627833559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262253954,"filename":"image_30012025_19_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/30/db6d21a932875471b26339b68dca2425.jpg","text":"TemporaryFile(/tmp/multipartBody7154520756057769438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262253954,"filename":"image_30012025_19_36_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/30/7d381b7ef5a996e30ef07b59a828dd4b.jpg","text":"TemporaryFile(/tmp/multipartBody4931682262201948954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262253954,"filename":"image_30012025_19_36_37_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333070774","file1":"1333070756","file0":"1333070712","file4":"1333070788","file5":"1333070811","file3":"1333070777"},"map_files_photo_id_array":[{"photo_id":"1333070811","filename":"file5"},{"photo_id":"1333070774","filename":"file2"},{"photo_id":"1333070788","filename":"file4"},{"photo_id":"1333070756","filename":"file1"},{"photo_id":"1333070712","filename":"file0"},{"photo_id":"1333070777","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333070811":["hashtag1","hashtag2"]},{"1333070774":["hashtag1","hashtag2"]},{"1333070712":["hashtag1","hashtag2"]},{"1333070777":["hashtag1","hashtag2"]},{"1333070756":["hashtag1","hashtag2"]},{"1333070788":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333070811, 1333070774, 1333070712, 1333070777, 1333070756, 1333070788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.28208136558533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:37:32.255724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/36/image_30012025_19_36_56_9347.jpg', '/home/pi/Desktop/images/30012025/19/36/image_30012025_19_37_07_10456.jpg', '/home/pi/Desktop/images/30012025/19/37/image_30012025_19_37_16_9341.jpg', '/home/pi/Desktop/images/30012025/19/37/image_30012025_19_37_27_10375.jpg', '/home/pi/Desktop/images/30012025/19/37/image_30012025_19_37_37_10451.jpg', '/home/pi/Desktop/images/30012025/19/37/image_30012025_19_37_46_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/36/image_30012025_19_36_56_9347.jpg
/home/pi/Desktop/images/30012025/19/36/image_30012025_19_37_07_10456.jpg
/home/pi/Desktop/images/30012025/19/37/image_30012025_19_37_16_9341.jpg
/home/pi/Desktop/images/30012025/19/37/image_30012025_19_37_27_10375.jpg
/home/pi/Desktop/images/30012025/19/37/image_30012025_19_37_37_10451.jpg
/home/pi/Desktop/images/30012025/19/37/image_30012025_19_37_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":["1333070997","1333071012","1333070970","1333071024","1333071002","1333071007"],"photo_ids_order":["1333070970","1333070997","1333071002","1333071007","1333071012","1333071024"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3ebbd27733adfdfac37557e79d81bdfd.jpg","text":"TemporaryFile(/tmp/multipartBody3524554304641106327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262313172,"filename":"image_30012025_19_37_07_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/30/849e076bc092ef79bf52049b7d89570e.jpg","text":"TemporaryFile(/tmp/multipartBody6715688581583711403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262313172,"filename":"image_30012025_19_37_37_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/30/7ea5cfa205d31495afb694dc33c3c96f.jpg","text":"TemporaryFile(/tmp/multipartBody687469508208160720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262313172,"filename":"image_30012025_19_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/30/d677f3da78c327be712f362f2ab1eda4.jpg","text":"TemporaryFile(/tmp/multipartBody7863372171150065886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262313172,"filename":"image_30012025_19_37_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/30/76ede0f37d89f5378cc58dd86138c81d.jpg","text":"TemporaryFile(/tmp/multipartBody2401638998271299992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262313172,"filename":"image_30012025_19_37_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/30/dbf81d9745d5ce7475b89aac9a935950.jpg","text":"TemporaryFile(/tmp/multipartBody3188849324451033046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262313172,"filename":"image_30012025_19_37_27_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333071002","file1":"1333070997","file0":"1333070970","file4":"1333071012","file5":"1333071024","file3":"1333071007"},"map_files_photo_id_array":[{"photo_id":"1333071024","filename":"file5"},{"photo_id":"1333071002","filename":"file2"},{"photo_id":"1333071012","filename":"file4"},{"photo_id":"1333070997","filename":"file1"},{"photo_id":"1333070970","filename":"file0"},{"photo_id":"1333071007","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333070997":["hashtag1","hashtag2"]},{"1333071012":["hashtag1","hashtag2"]},{"1333070970":["hashtag1","hashtag2"]},{"1333071024":["hashtag1","hashtag2"]},{"1333071002":["hashtag1","hashtag2"]},{"1333071007":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333070997, 1333071012, 1333070970, 1333071024, 1333071002, 1333071007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63064694404602 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:38:32.466325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/37/image_30012025_19_37_57_10409.jpg', '/home/pi/Desktop/images/30012025/19/37/image_30012025_19_38_06_9353.jpg', '/home/pi/Desktop/images/30012025/19/38/image_30012025_19_38_17_10360.jpg', '/home/pi/Desktop/images/30012025/19/38/image_30012025_19_38_36_9358.jpg', '/home/pi/Desktop/images/30012025/19/38/image_30012025_19_38_47_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/37/image_30012025_19_37_57_10409.jpg
/home/pi/Desktop/images/30012025/19/37/image_30012025_19_38_06_9353.jpg
/home/pi/Desktop/images/30012025/19/38/image_30012025_19_38_17_10360.jpg
/home/pi/Desktop/images/30012025/19/38/image_30012025_19_38_36_9358.jpg
/home/pi/Desktop/images/30012025/19/38/image_30012025_19_38_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":["1333072200","1333072226","1333071794","1333072006","1333072230"],"photo_ids_order":["1333071794","1333072006","1333072200","1333072226","1333072230"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/714dacef01ffc64d153f73e7d2674f52.jpg","text":"TemporaryFile(/tmp/multipartBody7065488482090667715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262373376,"filename":"image_30012025_19_38_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/30/1b088e1d8ff1d66f013ae63305f1ed56.jpg","text":"TemporaryFile(/tmp/multipartBody8700787636818313245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262373376,"filename":"image_30012025_19_38_36_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/30/da335e826f543213a5599e9afd6288ba.jpg","text":"TemporaryFile(/tmp/multipartBody3203301571402696918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262373376,"filename":"image_30012025_19_37_57_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/30/54643ea9ca9fd9b14e832859c229bab3.jpg","text":"TemporaryFile(/tmp/multipartBody8218696867029763782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262373376,"filename":"image_30012025_19_38_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/30/178b20180c4d521fb40682ee910eb5c8.jpg","text":"TemporaryFile(/tmp/multipartBody2898899290291780594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262373376,"filename":"image_30012025_19_38_47_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333072200","file1":"1333072006","file0":"1333071794","file4":"1333072230","file3":"1333072226"},"map_files_photo_id_array":[{"photo_id":"1333072200","filename":"file2"},{"photo_id":"1333072230","filename":"file4"},{"photo_id":"1333072006","filename":"file1"},{"photo_id":"1333071794","filename":"file0"},{"photo_id":"1333072226","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333072200":["hashtag1","hashtag2"]},{"1333072226":["hashtag1","hashtag2"]},{"1333071794":["hashtag1","hashtag2"]},{"1333072006":["hashtag1","hashtag2"]},{"1333072230":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333072200, 1333072226, 1333071794, 1333072006, 1333072230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.17187237739563 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:39:32.739254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/38/image_30012025_19_38_56_9448.jpg', '/home/pi/Desktop/images/30012025/19/38/image_30012025_19_39_07_10369.jpg', '/home/pi/Desktop/images/30012025/19/39/image_30012025_19_39_17_10431.jpg', '/home/pi/Desktop/images/30012025/19/39/image_30012025_19_39_26_9364.jpg', '/home/pi/Desktop/images/30012025/19/39/image_30012025_19_39_37_10357.jpg', '/home/pi/Desktop/images/30012025/19/39/image_30012025_19_39_47_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/38/image_30012025_19_38_56_9448.jpg
/home/pi/Desktop/images/30012025/19/38/image_30012025_19_39_07_10369.jpg
/home/pi/Desktop/images/30012025/19/39/image_30012025_19_39_17_10431.jpg
/home/pi/Desktop/images/30012025/19/39/image_30012025_19_39_26_9364.jpg
/home/pi/Desktop/images/30012025/19/39/image_30012025_19_39_37_10357.jpg
/home/pi/Desktop/images/30012025/19/39/image_30012025_19_39_47_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":["1333072375","1333072660","1333072357","1333072741","1333072386","1333072509"],"photo_ids_order":["1333072357","1333072375","1333072386","1333072509","1333072660","1333072741"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9e1baf76d629e8a224412b1fb59e5694.jpg","text":"TemporaryFile(/tmp/multipartBody309614321195029954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262433647,"filename":"image_30012025_19_39_07_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/30/fcab182e4d54af6a64509b8ce2a318af.jpg","text":"TemporaryFile(/tmp/multipartBody8331797681158454414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262433647,"filename":"image_30012025_19_39_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/30/28febb2c12ccb194f358978b9452df71.jpg","text":"TemporaryFile(/tmp/multipartBody4279956634069075780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262433647,"filename":"image_30012025_19_38_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/30/509680d405518b4d4c19ba6be479fb8d.jpg","text":"TemporaryFile(/tmp/multipartBody8535070226363558497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262433647,"filename":"image_30012025_19_39_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/30/c0d1c9d2778a4af123d784c4bdca7dd0.jpg","text":"TemporaryFile(/tmp/multipartBody6135993609572709049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262433647,"filename":"image_30012025_19_39_17_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/30/f503f34aa3cf6f5eba233973fe6943ec.jpg","text":"TemporaryFile(/tmp/multipartBody6987554882674172860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262433647,"filename":"image_30012025_19_39_26_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333072386","file1":"1333072375","file0":"1333072357","file4":"1333072660","file5":"1333072741","file3":"1333072509"},"map_files_photo_id_array":[{"photo_id":"1333072741","filename":"file5"},{"photo_id":"1333072386","filename":"file2"},{"photo_id":"1333072660","filename":"file4"},{"photo_id":"1333072375","filename":"file1"},{"photo_id":"1333072357","filename":"file0"},{"photo_id":"1333072509","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333072375":["hashtag1","hashtag2"]},{"1333072660":["hashtag1","hashtag2"]},{"1333072357":["hashtag1","hashtag2"]},{"1333072741":["hashtag1","hashtag2"]},{"1333072386":["hashtag1","hashtag2"]},{"1333072509":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333072375, 1333072660, 1333072357, 1333072741, 1333072386, 1333072509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.37408423423767 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:40:33.052107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/39/image_30012025_19_39_56_9367.jpg', '/home/pi/Desktop/images/30012025/19/39/image_30012025_19_40_07_10478.jpg', '/home/pi/Desktop/images/30012025/19/40/image_30012025_19_40_16_9334.jpg', '/home/pi/Desktop/images/30012025/19/40/image_30012025_19_40_27_10350.jpg', '/home/pi/Desktop/images/30012025/19/40/image_30012025_19_40_37_10452.jpg', '/home/pi/Desktop/images/30012025/19/40/image_30012025_19_40_46_9379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/39/image_30012025_19_39_56_9367.jpg
/home/pi/Desktop/images/30012025/19/39/image_30012025_19_40_07_10478.jpg
/home/pi/Desktop/images/30012025/19/40/image_30012025_19_40_16_9334.jpg
/home/pi/Desktop/images/30012025/19/40/image_30012025_19_40_27_10350.jpg
/home/pi/Desktop/images/30012025/19/40/image_30012025_19_40_37_10452.jpg
/home/pi/Desktop/images/30012025/19/40/image_30012025_19_40_46_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":["1333072877","1333072862","1333073184","1333072992","1333072872","1333072880"],"photo_ids_order":["1333072862","1333072872","1333072877","1333072880","1333072992","1333073184"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7a0616497d1c1b9ca7a9a52f5c19e875.jpg","text":"TemporaryFile(/tmp/multipartBody3948932221000549548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262493976,"filename":"image_30012025_19_40_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/30/65b7ed7bcdfa676b5dac0f5857877738.jpg","text":"TemporaryFile(/tmp/multipartBody7440788336505158702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262493976,"filename":"image_30012025_19_39_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/30/a6065cb47568733002f29a28b6d82675.jpg","text":"TemporaryFile(/tmp/multipartBody5631431938496464055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262493976,"filename":"image_30012025_19_40_46_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/30/8c4fde9db3130533217bfc9084df82f1.jpg","text":"TemporaryFile(/tmp/multipartBody4256905708653547393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262493976,"filename":"image_30012025_19_40_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/30/b8391092949fc13e3ee2f8275a7fd62d.jpg","text":"TemporaryFile(/tmp/multipartBody2492221375379792210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262493976,"filename":"image_30012025_19_40_07_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/30/d070099742fb336b390c590f7e279693.jpg","text":"TemporaryFile(/tmp/multipartBody4321765819272797495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262493976,"filename":"image_30012025_19_40_27_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333072877","file1":"1333072872","file0":"1333072862","file4":"1333072992","file5":"1333073184","file3":"1333072880"},"map_files_photo_id_array":[{"photo_id":"1333073184","filename":"file5"},{"photo_id":"1333072877","filename":"file2"},{"photo_id":"1333072992","filename":"file4"},{"photo_id":"1333072872","filename":"file1"},{"photo_id":"1333072862","filename":"file0"},{"photo_id":"1333072880","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333072877":["hashtag1","hashtag2"]},{"1333072862":["hashtag1","hashtag2"]},{"1333073184":["hashtag1","hashtag2"]},{"1333072992":["hashtag1","hashtag2"]},{"1333072872":["hashtag1","hashtag2"]},{"1333072880":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333072877, 1333072862, 1333073184, 1333072992, 1333072872, 1333072880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.7685980796814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:41:32.191545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/40/image_30012025_19_40_57_10413.jpg', '/home/pi/Desktop/images/30012025/19/40/image_30012025_19_41_06_9393.jpg', '/home/pi/Desktop/images/30012025/19/41/image_30012025_19_41_17_10365.jpg', '/home/pi/Desktop/images/30012025/19/41/image_30012025_19_41_27_10407.jpg', '/home/pi/Desktop/images/30012025/19/41/image_30012025_19_41_36_9339.jpg', '/home/pi/Desktop/images/30012025/19/41/image_30012025_19_41_47_10402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/40/image_30012025_19_40_57_10413.jpg
/home/pi/Desktop/images/30012025/19/40/image_30012025_19_41_06_9393.jpg
/home/pi/Desktop/images/30012025/19/41/image_30012025_19_41_17_10365.jpg
/home/pi/Desktop/images/30012025/19/41/image_30012025_19_41_27_10407.jpg
/home/pi/Desktop/images/30012025/19/41/image_30012025_19_41_36_9339.jpg
/home/pi/Desktop/images/30012025/19/41/image_30012025_19_41_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":["1333073264","1333073219","1333073290","1333073284","1333073278","1333073242"],"photo_ids_order":["1333073219","1333073242","1333073264","1333073278","1333073284","1333073290"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5d3a9f7cca21322b1e2ae3e1a6676b6e.jpg","text":"TemporaryFile(/tmp/multipartBody4407423043539153729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262553109,"filename":"image_30012025_19_41_17_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fdb0d74980a8d26fdf0c4e50fcf47f26.jpg","text":"TemporaryFile(/tmp/multipartBody189995232544914927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262553109,"filename":"image_30012025_19_40_57_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/30/e9f9d1f7d027231f35b05f15c2f7ca1f.jpg","text":"TemporaryFile(/tmp/multipartBody1016023924618932853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262553109,"filename":"image_30012025_19_41_47_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/30/d7a536c07e0cab845641544e81cf57c5.jpg","text":"TemporaryFile(/tmp/multipartBody7095648770499617386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262553109,"filename":"image_30012025_19_41_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/30/28386456bb056417da89c93593d78f43.jpg","text":"TemporaryFile(/tmp/multipartBody1325743188628347842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262553109,"filename":"image_30012025_19_41_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/30/1227c71e795762e4e353ddbd06f4c8a0.jpg","text":"TemporaryFile(/tmp/multipartBody781965583281467125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262553109,"filename":"image_30012025_19_41_06_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333073264","file1":"1333073242","file0":"1333073219","file4":"1333073284","file5":"1333073290","file3":"1333073278"},"map_files_photo_id_array":[{"photo_id":"1333073290","filename":"file5"},{"photo_id":"1333073264","filename":"file2"},{"photo_id":"1333073284","filename":"file4"},{"photo_id":"1333073242","filename":"file1"},{"photo_id":"1333073219","filename":"file0"},{"photo_id":"1333073278","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333073264":["hashtag1","hashtag2"]},{"1333073219":["hashtag1","hashtag2"]},{"1333073290":["hashtag1","hashtag2"]},{"1333073284":["hashtag1","hashtag2"]},{"1333073278":["hashtag1","hashtag2"]},{"1333073242":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333073264, 1333073219, 1333073290, 1333073284, 1333073278, 1333073242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.257575273513794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:42:32.568018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/41/image_30012025_19_41_56_9450.jpg', '/home/pi/Desktop/images/30012025/19/41/image_30012025_19_42_07_10351.jpg', '/home/pi/Desktop/images/30012025/19/42/image_30012025_19_42_17_10347.jpg', '/home/pi/Desktop/images/30012025/19/42/image_30012025_19_42_26_9452.jpg', '/home/pi/Desktop/images/30012025/19/42/image_30012025_19_42_37_10358.jpg', '/home/pi/Desktop/images/30012025/19/42/image_30012025_19_42_46_9443.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/41/image_30012025_19_41_56_9450.jpg
/home/pi/Desktop/images/30012025/19/41/image_30012025_19_42_07_10351.jpg
/home/pi/Desktop/images/30012025/19/42/image_30012025_19_42_17_10347.jpg
/home/pi/Desktop/images/30012025/19/42/image_30012025_19_42_26_9452.jpg
/home/pi/Desktop/images/30012025/19/42/image_30012025_19_42_37_10358.jpg
/home/pi/Desktop/images/30012025/19/42/image_30012025_19_42_46_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":["1333073342","1333073351","1333073347","1333073335","1333073317","1333073379"],"photo_ids_order":["1333073317","1333073335","1333073342","1333073347","1333073351","1333073379"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/eb707c991e9d44ec3a386cd530feafd6.jpg","text":"TemporaryFile(/tmp/multipartBody166623170710356224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262613481,"filename":"image_30012025_19_42_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/30/1444273c3d07e6987bfb108a63e8505f.jpg","text":"TemporaryFile(/tmp/multipartBody4700809765170755924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262613481,"filename":"image_30012025_19_42_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/30/576e5e7dd912724b5d7c84eae5b29898.jpg","text":"TemporaryFile(/tmp/multipartBody3136694428698091073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262613481,"filename":"image_30012025_19_42_26_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/30/33d72d118de8c9912e04dd48ec7c5dcb.jpg","text":"TemporaryFile(/tmp/multipartBody4942872913353921230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262613481,"filename":"image_30012025_19_42_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/30/b5c4c1eddf955e8fd77f433393a1d969.jpg","text":"TemporaryFile(/tmp/multipartBody6612116777026288775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262613481,"filename":"image_30012025_19_41_56_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/30/0ef3e952b6ae1be749ed6fb0a27e88b1.jpg","text":"TemporaryFile(/tmp/multipartBody2671432237967030747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262613481,"filename":"image_30012025_19_42_46_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333073342","file1":"1333073335","file0":"1333073317","file4":"1333073351","file5":"1333073379","file3":"1333073347"},"map_files_photo_id_array":[{"photo_id":"1333073379","filename":"file5"},{"photo_id":"1333073342","filename":"file2"},{"photo_id":"1333073351","filename":"file4"},{"photo_id":"1333073335","filename":"file1"},{"photo_id":"1333073317","filename":"file0"},{"photo_id":"1333073347","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333073342":["hashtag1","hashtag2"]},{"1333073351":["hashtag1","hashtag2"]},{"1333073347":["hashtag1","hashtag2"]},{"1333073335":["hashtag1","hashtag2"]},{"1333073317":["hashtag1","hashtag2"]},{"1333073379":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333073342, 1333073351, 1333073347, 1333073335, 1333073317, 1333073379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.02851343154907 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:43:33.042331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/42/image_30012025_19_42_57_10353.jpg', '/home/pi/Desktop/images/30012025/19/42/image_30012025_19_43_07_10446.jpg', '/home/pi/Desktop/images/30012025/19/43/image_30012025_19_43_16_9341.jpg', '/home/pi/Desktop/images/30012025/19/43/image_30012025_19_43_27_10390.jpg', '/home/pi/Desktop/images/30012025/19/43/image_30012025_19_43_36_9467.jpg', '/home/pi/Desktop/images/30012025/19/43/image_30012025_19_43_47_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/42/image_30012025_19_42_57_10353.jpg
/home/pi/Desktop/images/30012025/19/42/image_30012025_19_43_07_10446.jpg
/home/pi/Desktop/images/30012025/19/43/image_30012025_19_43_16_9341.jpg
/home/pi/Desktop/images/30012025/19/43/image_30012025_19_43_27_10390.jpg
/home/pi/Desktop/images/30012025/19/43/image_30012025_19_43_36_9467.jpg
/home/pi/Desktop/images/30012025/19/43/image_30012025_19_43_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":["1333073540","1333073444","1333073479","1333073466","1333073552","1333073531"],"photo_ids_order":["1333073444","1333073466","1333073479","1333073531","1333073540","1333073552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4269906772f34dcedfc2f7b4c618c37f.jpg","text":"TemporaryFile(/tmp/multipartBody4307266847228039775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262673971,"filename":"image_30012025_19_43_36_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/30/be74e0236b70704e4c7f5c795e8c2e17.jpg","text":"TemporaryFile(/tmp/multipartBody6623911863508149982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262673971,"filename":"image_30012025_19_42_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/30/809f3aaf096a265471198da0b4f5d644.jpg","text":"TemporaryFile(/tmp/multipartBody4442439485779851614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262673971,"filename":"image_30012025_19_43_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/30/82591c1f848683f52ed0a14d1b0e4f32.jpg","text":"TemporaryFile(/tmp/multipartBody6878374692270311953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262673971,"filename":"image_30012025_19_43_07_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6e8ef59e3a191477082a479767f9fd10.jpg","text":"TemporaryFile(/tmp/multipartBody5342052909534476167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262673971,"filename":"image_30012025_19_43_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/30/11ef1a62d3f8aba43de7c2eb3ef49a72.jpg","text":"TemporaryFile(/tmp/multipartBody4665566227665113319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262673971,"filename":"image_30012025_19_43_27_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333073479","file1":"1333073466","file0":"1333073444","file4":"1333073540","file5":"1333073552","file3":"1333073531"},"map_files_photo_id_array":[{"photo_id":"1333073552","filename":"file5"},{"photo_id":"1333073479","filename":"file2"},{"photo_id":"1333073540","filename":"file4"},{"photo_id":"1333073466","filename":"file1"},{"photo_id":"1333073444","filename":"file0"},{"photo_id":"1333073531","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333073540":["hashtag1","hashtag2"]},{"1333073444":["hashtag1","hashtag2"]},{"1333073479":["hashtag1","hashtag2"]},{"1333073466":["hashtag1","hashtag2"]},{"1333073552":["hashtag1","hashtag2"]},{"1333073531":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333073540, 1333073444, 1333073479, 1333073466, 1333073552, 1333073531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.682501554489136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:44:33.006748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/43/image_30012025_19_43_57_10450.jpg', '/home/pi/Desktop/images/30012025/19/43/image_30012025_19_44_06_9340.jpg', '/home/pi/Desktop/images/30012025/19/44/image_30012025_19_44_17_10347.jpg', '/home/pi/Desktop/images/30012025/19/44/image_30012025_19_44_27_10440.jpg', '/home/pi/Desktop/images/30012025/19/44/image_30012025_19_44_36_9364.jpg', '/home/pi/Desktop/images/30012025/19/44/image_30012025_19_44_47_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/43/image_30012025_19_43_57_10450.jpg
/home/pi/Desktop/images/30012025/19/43/image_30012025_19_44_06_9340.jpg
/home/pi/Desktop/images/30012025/19/44/image_30012025_19_44_17_10347.jpg
/home/pi/Desktop/images/30012025/19/44/image_30012025_19_44_27_10440.jpg
/home/pi/Desktop/images/30012025/19/44/image_30012025_19_44_36_9364.jpg
/home/pi/Desktop/images/30012025/19/44/image_30012025_19_44_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":["1333073600","1333073605","1333073629","1333073595","1333073582","1333073588"],"photo_ids_order":["1333073582","1333073588","1333073595","1333073600","1333073605","1333073629"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/874c32e56e2c8eb2d87b9c65d9fd31aa.jpg","text":"TemporaryFile(/tmp/multipartBody5147064757088123378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262733912,"filename":"image_30012025_19_44_27_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/30/ece5f2995d6cd1f5082f095334763bcd.jpg","text":"TemporaryFile(/tmp/multipartBody4981704262987152713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262733912,"filename":"image_30012025_19_44_36_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/30/81efa4e1e74ad393e57c68dd41a1d405.jpg","text":"TemporaryFile(/tmp/multipartBody3309082133821564103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262733912,"filename":"image_30012025_19_44_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/30/f1f30ecc711f0aeb2263542dce7bc2d6.jpg","text":"TemporaryFile(/tmp/multipartBody136543652290587230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262733912,"filename":"image_30012025_19_44_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/30/96a521750f82c6cb97c846b407f82628.jpg","text":"TemporaryFile(/tmp/multipartBody4664832097145275532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262733912,"filename":"image_30012025_19_43_57_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/30/a500af549b292fa038c0c8b7a05e5587.jpg","text":"TemporaryFile(/tmp/multipartBody6630389302812517152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262733912,"filename":"image_30012025_19_44_06_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333073595","file1":"1333073588","file0":"1333073582","file4":"1333073605","file5":"1333073629","file3":"1333073600"},"map_files_photo_id_array":[{"photo_id":"1333073629","filename":"file5"},{"photo_id":"1333073595","filename":"file2"},{"photo_id":"1333073605","filename":"file4"},{"photo_id":"1333073588","filename":"file1"},{"photo_id":"1333073582","filename":"file0"},{"photo_id":"1333073600","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333073600":["hashtag1","hashtag2"]},{"1333073605":["hashtag1","hashtag2"]},{"1333073629":["hashtag1","hashtag2"]},{"1333073595":["hashtag1","hashtag2"]},{"1333073582":["hashtag1","hashtag2"]},{"1333073588":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333073600, 1333073605, 1333073629, 1333073595, 1333073582, 1333073588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.857064962387085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:45:32.277898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/44/image_30012025_19_44_56_9331.jpg', '/home/pi/Desktop/images/30012025/19/44/image_30012025_19_45_07_10448.jpg', '/home/pi/Desktop/images/30012025/19/45/image_30012025_19_45_17_10411.jpg', '/home/pi/Desktop/images/30012025/19/45/image_30012025_19_45_26_9359.jpg', '/home/pi/Desktop/images/30012025/19/45/image_30012025_19_45_37_10401.jpg', '/home/pi/Desktop/images/30012025/19/45/image_30012025_19_45_46_9365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/44/image_30012025_19_44_56_9331.jpg
/home/pi/Desktop/images/30012025/19/44/image_30012025_19_45_07_10448.jpg
/home/pi/Desktop/images/30012025/19/45/image_30012025_19_45_17_10411.jpg
/home/pi/Desktop/images/30012025/19/45/image_30012025_19_45_26_9359.jpg
/home/pi/Desktop/images/30012025/19/45/image_30012025_19_45_37_10401.jpg
/home/pi/Desktop/images/30012025/19/45/image_30012025_19_45_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":["1333073839","1333073961","1333073958","1333073949","1333073940","1333073954"],"photo_ids_order":["1333073839","1333073940","1333073949","1333073954","1333073958","1333073961"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9f9f9cf4ec2522d1c5bba5f33d9db0a0.jpg","text":"TemporaryFile(/tmp/multipartBody529340262564793442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262793202,"filename":"image_30012025_19_44_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/30/5d7c58f3c8b629f9cab986b0f82c6487.jpg","text":"TemporaryFile(/tmp/multipartBody8631349803564675056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262793202,"filename":"image_30012025_19_45_46_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/30/e0c816ac07de4a0e586e811064d98469.jpg","text":"TemporaryFile(/tmp/multipartBody2947268913468726128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262793202,"filename":"image_30012025_19_45_37_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6fc36b49989f2e5edcded3f4d92037e3.jpg","text":"TemporaryFile(/tmp/multipartBody2158042882766111703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262793202,"filename":"image_30012025_19_45_17_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c377277a12b5db9edc22338f5ec1a14e.jpg","text":"TemporaryFile(/tmp/multipartBody1610910474314616220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262793202,"filename":"image_30012025_19_45_07_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/30/2d3bf032a3b8b52af282492882481ed9.jpg","text":"TemporaryFile(/tmp/multipartBody6562639920550376782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262793202,"filename":"image_30012025_19_45_26_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333073949","file1":"1333073940","file0":"1333073839","file4":"1333073958","file5":"1333073961","file3":"1333073954"},"map_files_photo_id_array":[{"photo_id":"1333073961","filename":"file5"},{"photo_id":"1333073949","filename":"file2"},{"photo_id":"1333073958","filename":"file4"},{"photo_id":"1333073940","filename":"file1"},{"photo_id":"1333073839","filename":"file0"},{"photo_id":"1333073954","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333073839":["hashtag1","hashtag2"]},{"1333073961":["hashtag1","hashtag2"]},{"1333073958":["hashtag1","hashtag2"]},{"1333073949":["hashtag1","hashtag2"]},{"1333073940":["hashtag1","hashtag2"]},{"1333073954":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333073839, 1333073961, 1333073958, 1333073949, 1333073940, 1333073954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.72004508972168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:46:32.532664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/45/image_30012025_19_45_57_10350.jpg', '/home/pi/Desktop/images/30012025/19/45/image_30012025_19_46_07_10358.jpg', '/home/pi/Desktop/images/30012025/19/46/image_30012025_19_46_16_9356.jpg', '/home/pi/Desktop/images/30012025/19/46/image_30012025_19_46_27_10341.jpg', '/home/pi/Desktop/images/30012025/19/46/image_30012025_19_46_37_10357.jpg', '/home/pi/Desktop/images/30012025/19/46/image_30012025_19_46_46_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/45/image_30012025_19_45_57_10350.jpg
/home/pi/Desktop/images/30012025/19/45/image_30012025_19_46_07_10358.jpg
/home/pi/Desktop/images/30012025/19/46/image_30012025_19_46_16_9356.jpg
/home/pi/Desktop/images/30012025/19/46/image_30012025_19_46_27_10341.jpg
/home/pi/Desktop/images/30012025/19/46/image_30012025_19_46_37_10357.jpg
/home/pi/Desktop/images/30012025/19/46/image_30012025_19_46_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":["1333074168","1333074162","1333074165","1333074126","1333074149","1333074140"],"photo_ids_order":["1333074126","1333074140","1333074149","1333074162","1333074165","1333074168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d3a6d4345fb38e34af6553e3238e91f1.jpg","text":"TemporaryFile(/tmp/multipartBody7302061266409932963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262853439,"filename":"image_30012025_19_46_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/30/15689d2114d15be3efc467c89e4df0a2.jpg","text":"TemporaryFile(/tmp/multipartBody8329870297795184100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262853439,"filename":"image_30012025_19_46_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/30/f328b51210a6547c1fc20d4348c936f8.jpg","text":"TemporaryFile(/tmp/multipartBody530691391637394182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262853439,"filename":"image_30012025_19_46_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/30/d4799542c89ea2e2e0487bcd3e74e0d6.jpg","text":"TemporaryFile(/tmp/multipartBody7848368930831667040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262853439,"filename":"image_30012025_19_45_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/30/be4544d7da6dee38c114c41a3d4b4594.jpg","text":"TemporaryFile(/tmp/multipartBody2133879800350649834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262853439,"filename":"image_30012025_19_46_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/30/a7ddae4f16b849012d331e4e5afed651.jpg","text":"TemporaryFile(/tmp/multipartBody6304391673598380489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262853439,"filename":"image_30012025_19_46_07_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333074149","file1":"1333074140","file0":"1333074126","file4":"1333074165","file5":"1333074168","file3":"1333074162"},"map_files_photo_id_array":[{"photo_id":"1333074168","filename":"file5"},{"photo_id":"1333074149","filename":"file2"},{"photo_id":"1333074165","filename":"file4"},{"photo_id":"1333074140","filename":"file1"},{"photo_id":"1333074126","filename":"file0"},{"photo_id":"1333074162","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333074168":["hashtag1","hashtag2"]},{"1333074162":["hashtag1","hashtag2"]},{"1333074165":["hashtag1","hashtag2"]},{"1333074126":["hashtag1","hashtag2"]},{"1333074149":["hashtag1","hashtag2"]},{"1333074140":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333074168, 1333074162, 1333074165, 1333074126, 1333074149, 1333074140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.199729919433594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:47:32.767076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/46/image_30012025_19_46_57_10348.jpg', '/home/pi/Desktop/images/30012025/19/46/image_30012025_19_47_06_9453.jpg', '/home/pi/Desktop/images/30012025/19/47/image_30012025_19_47_17_10355.jpg', '/home/pi/Desktop/images/30012025/19/47/image_30012025_19_47_27_10388.jpg', '/home/pi/Desktop/images/30012025/19/47/image_30012025_19_47_36_9435.jpg', '/home/pi/Desktop/images/30012025/19/47/image_30012025_19_47_47_10375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/46/image_30012025_19_46_57_10348.jpg
/home/pi/Desktop/images/30012025/19/46/image_30012025_19_47_06_9453.jpg
/home/pi/Desktop/images/30012025/19/47/image_30012025_19_47_17_10355.jpg
/home/pi/Desktop/images/30012025/19/47/image_30012025_19_47_27_10388.jpg
/home/pi/Desktop/images/30012025/19/47/image_30012025_19_47_36_9435.jpg
/home/pi/Desktop/images/30012025/19/47/image_30012025_19_47_47_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":["1333074217","1333074205","1333074195","1333074234","1333074200","1333074230"],"photo_ids_order":["1333074195","1333074200","1333074205","1333074217","1333074230","1333074234"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/625e0212a806e7bd1e06dc44c54e36b3.jpg","text":"TemporaryFile(/tmp/multipartBody1943996530998430943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262913691,"filename":"image_30012025_19_47_27_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/30/538069965fdf11c3395e99d4b476565f.jpg","text":"TemporaryFile(/tmp/multipartBody8838650131255207897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262913691,"filename":"image_30012025_19_47_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/30/bf10e536a280872d2bc150936748e602.jpg","text":"TemporaryFile(/tmp/multipartBody4320623162282844088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262913691,"filename":"image_30012025_19_46_57_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e6fa9c0788ee1f0a90a14236841b57d7.jpg","text":"TemporaryFile(/tmp/multipartBody6196001836246578299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262913691,"filename":"image_30012025_19_47_47_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bcd7d7509c97c3549fbd3bff0f7298eb.jpg","text":"TemporaryFile(/tmp/multipartBody4347023398100341234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262913691,"filename":"image_30012025_19_47_06_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/30/e5b8abbcf7cee2016f68763cc736dd63.jpg","text":"TemporaryFile(/tmp/multipartBody1755035888553424591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262913691,"filename":"image_30012025_19_47_36_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333074205","file1":"1333074200","file0":"1333074195","file4":"1333074230","file5":"1333074234","file3":"1333074217"},"map_files_photo_id_array":[{"photo_id":"1333074234","filename":"file5"},{"photo_id":"1333074205","filename":"file2"},{"photo_id":"1333074230","filename":"file4"},{"photo_id":"1333074200","filename":"file1"},{"photo_id":"1333074195","filename":"file0"},{"photo_id":"1333074217","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333074217":["hashtag1","hashtag2"]},{"1333074205":["hashtag1","hashtag2"]},{"1333074195":["hashtag1","hashtag2"]},{"1333074234":["hashtag1","hashtag2"]},{"1333074200":["hashtag1","hashtag2"]},{"1333074230":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333074217, 1333074205, 1333074195, 1333074234, 1333074200, 1333074230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.654165744781494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:48:33.631298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/47/image_30012025_19_47_56_9447.jpg', '/home/pi/Desktop/images/30012025/19/47/image_30012025_19_48_07_10372.jpg', '/home/pi/Desktop/images/30012025/19/48/image_30012025_19_48_17_10337.jpg', '/home/pi/Desktop/images/30012025/19/48/image_30012025_19_48_26_9347.jpg', '/home/pi/Desktop/images/30012025/19/48/image_30012025_19_48_37_10348.jpg', '/home/pi/Desktop/images/30012025/19/48/image_30012025_19_48_47_10490.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/47/image_30012025_19_47_56_9447.jpg
/home/pi/Desktop/images/30012025/19/47/image_30012025_19_48_07_10372.jpg
/home/pi/Desktop/images/30012025/19/48/image_30012025_19_48_17_10337.jpg
/home/pi/Desktop/images/30012025/19/48/image_30012025_19_48_26_9347.jpg
/home/pi/Desktop/images/30012025/19/48/image_30012025_19_48_37_10348.jpg
/home/pi/Desktop/images/30012025/19/48/image_30012025_19_48_47_10490.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333075405","1333074696","1333075026","1333074333","1333074260","1333074254"],"photo_ids_order":["1333074254","1333074260","1333074333","1333074696","1333075026","1333075405"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7e3cef609a808ac5598efca2a9383c38.jpg","text":"TemporaryFile(/tmp/multipartBody3867887529951885448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262974538,"filename":"image_30012025_19_48_47_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/66867e667bef616708cbfdeb4d4f59c2.jpg","text":"TemporaryFile(/tmp/multipartBody9129582703917512621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262974538,"filename":"image_30012025_19_48_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/30/d5a57403462119c320d446362616158d.jpg","text":"TemporaryFile(/tmp/multipartBody4275365405323941461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262974538,"filename":"image_30012025_19_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/30/f0a460df3d47dd7863b0d93451c7a829.jpg","text":"TemporaryFile(/tmp/multipartBody2246564235972911350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262974538,"filename":"image_30012025_19_48_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/30/3092d3a1f0af3d189d8caac91649340d.jpg","text":"TemporaryFile(/tmp/multipartBody6304556234167290551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262974538,"filename":"image_30012025_19_48_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/30/d75fad680d0ae83dcf83214a833abdab.jpg","text":"TemporaryFile(/tmp/multipartBody5288167296290339342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738262974538,"filename":"image_30012025_19_47_56_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333074333","file1":"1333074260","file0":"1333074254","file4":"1333075026","file5":"1333075405","file3":"1333074696"},"map_files_photo_id_array":[{"photo_id":"1333075405","filename":"file5"},{"photo_id":"1333074333","filename":"file2"},{"photo_id":"1333075026","filename":"file4"},{"photo_id":"1333074260","filename":"file1"},{"photo_id":"1333074254","filename":"file0"},{"photo_id":"1333074696","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333075405":["hashtag1","hashtag2"]},{"1333074696":["hashtag1","hashtag2"]},{"1333075026":["hashtag1","hashtag2"]},{"1333074333":["hashtag1","hashtag2"]},{"1333074260":["hashtag1","hashtag2"]},{"1333074254":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333075405, 1333074696, 1333075026, 1333074333, 1333074260, 1333074254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.377392530441284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:49:32.830143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/48/image_30012025_19_48_56_9353.jpg', '/home/pi/Desktop/images/30012025/19/48/image_30012025_19_49_07_10469.jpg', '/home/pi/Desktop/images/30012025/19/49/image_30012025_19_49_16_9417.jpg', '/home/pi/Desktop/images/30012025/19/49/image_30012025_19_49_27_10622.jpg', '/home/pi/Desktop/images/30012025/19/49/image_30012025_19_49_36_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/48/image_30012025_19_48_56_9353.jpg
/home/pi/Desktop/images/30012025/19/48/image_30012025_19_49_07_10469.jpg
/home/pi/Desktop/images/30012025/19/49/image_30012025_19_49_16_9417.jpg
/home/pi/Desktop/images/30012025/19/49/image_30012025_19_49_27_10622.jpg
/home/pi/Desktop/images/30012025/19/49/image_30012025_19_49_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":["1333075543","1333075539","1333075530","1333075547","1333075535"],"photo_ids_order":["1333075530","1333075535","1333075539","1333075543","1333075547"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e0cd7470041b2514740c5bdace596609.jpg","text":"TemporaryFile(/tmp/multipartBody776636575210038888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263033723,"filename":"image_30012025_19_49_27_10622.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9c68154e4149efc2af0dfd003aec148d.jpg","text":"TemporaryFile(/tmp/multipartBody4513183729426530144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263033723,"filename":"image_30012025_19_49_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/30/668fd2d23ab0c5d6c6177cbe04b081a4.jpg","text":"TemporaryFile(/tmp/multipartBody7892151872362185630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263033723,"filename":"image_30012025_19_48_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/30/5f9a5735cf686691abfbea9083443e0e.jpg","text":"TemporaryFile(/tmp/multipartBody3618801481323414403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263033723,"filename":"image_30012025_19_49_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/30/0a9c50ec8b4b45ada9d8128e5c5ec06a.jpg","text":"TemporaryFile(/tmp/multipartBody6636519299674761129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263033723,"filename":"image_30012025_19_49_07_10469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333075539","file1":"1333075535","file0":"1333075530","file4":"1333075547","file3":"1333075543"},"map_files_photo_id_array":[{"photo_id":"1333075539","filename":"file2"},{"photo_id":"1333075547","filename":"file4"},{"photo_id":"1333075535","filename":"file1"},{"photo_id":"1333075530","filename":"file0"},{"photo_id":"1333075543","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333075543":["hashtag1","hashtag2"]},{"1333075539":["hashtag1","hashtag2"]},{"1333075530":["hashtag1","hashtag2"]},{"1333075547":["hashtag1","hashtag2"]},{"1333075535":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333075543, 1333075539, 1333075530, 1333075547, 1333075535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.368454456329346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:50:33.023968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/49/image_30012025_19_49_47_10356.jpg', '/home/pi/Desktop/images/30012025/19/49/image_30012025_19_50_06_9339.jpg', '/home/pi/Desktop/images/30012025/19/50/image_30012025_19_50_17_10340.jpg', '/home/pi/Desktop/images/30012025/19/50/image_30012025_19_50_26_9435.jpg', '/home/pi/Desktop/images/30012025/19/50/image_30012025_19_50_37_10353.jpg', '/home/pi/Desktop/images/30012025/19/50/image_30012025_19_50_47_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/49/image_30012025_19_49_47_10356.jpg
/home/pi/Desktop/images/30012025/19/49/image_30012025_19_50_06_9339.jpg
/home/pi/Desktop/images/30012025/19/50/image_30012025_19_50_17_10340.jpg
/home/pi/Desktop/images/30012025/19/50/image_30012025_19_50_26_9435.jpg
/home/pi/Desktop/images/30012025/19/50/image_30012025_19_50_37_10353.jpg
/home/pi/Desktop/images/30012025/19/50/image_30012025_19_50_47_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":["1333075753","1333075592","1333075649","1333075597","1333075738","1333075645"],"photo_ids_order":["1333075592","1333075597","1333075645","1333075649","1333075738","1333075753"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/425a6e9a6c96238ff6078e6ed84ce583.jpg","text":"TemporaryFile(/tmp/multipartBody7620028156532048656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263093972,"filename":"image_30012025_19_50_47_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/30/01beae18497df78624cbfff34d5700a3.jpg","text":"TemporaryFile(/tmp/multipartBody2213126187191824913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263093972,"filename":"image_30012025_19_49_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/30/c713fd1a52402e85ab08b8f31ecd126c.jpg","text":"TemporaryFile(/tmp/multipartBody8482971689146804502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263093972,"filename":"image_30012025_19_50_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/30/7ace2f0d9d3d4fd1ad55b882a2d25455.jpg","text":"TemporaryFile(/tmp/multipartBody2124002808887065530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263093972,"filename":"image_30012025_19_50_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/30/8bca79d57c51cf1572366eca04a1b82c.jpg","text":"TemporaryFile(/tmp/multipartBody450689045333637754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263093972,"filename":"image_30012025_19_50_37_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/02118cfad0e6fac4b2c9647faffb3665.jpg","text":"TemporaryFile(/tmp/multipartBody9044349220904325334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263093972,"filename":"image_30012025_19_50_17_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333075645","file1":"1333075597","file0":"1333075592","file4":"1333075738","file5":"1333075753","file3":"1333075649"},"map_files_photo_id_array":[{"photo_id":"1333075753","filename":"file5"},{"photo_id":"1333075645","filename":"file2"},{"photo_id":"1333075738","filename":"file4"},{"photo_id":"1333075597","filename":"file1"},{"photo_id":"1333075592","filename":"file0"},{"photo_id":"1333075649","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333075753":["hashtag1","hashtag2"]},{"1333075592":["hashtag1","hashtag2"]},{"1333075649":["hashtag1","hashtag2"]},{"1333075597":["hashtag1","hashtag2"]},{"1333075738":["hashtag1","hashtag2"]},{"1333075645":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333075753, 1333075592, 1333075649, 1333075597, 1333075738, 1333075645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.52001619338989 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:51:32.243378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/50/image_30012025_19_50_56_9361.jpg', '/home/pi/Desktop/images/30012025/19/50/image_30012025_19_51_07_10346.jpg', '/home/pi/Desktop/images/30012025/19/51/image_30012025_19_51_17_10340.jpg', '/home/pi/Desktop/images/30012025/19/51/image_30012025_19_51_26_9357.jpg', '/home/pi/Desktop/images/30012025/19/51/image_30012025_19_51_37_10371.jpg', '/home/pi/Desktop/images/30012025/19/51/image_30012025_19_51_47_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/50/image_30012025_19_50_56_9361.jpg
/home/pi/Desktop/images/30012025/19/50/image_30012025_19_51_07_10346.jpg
/home/pi/Desktop/images/30012025/19/51/image_30012025_19_51_17_10340.jpg
/home/pi/Desktop/images/30012025/19/51/image_30012025_19_51_26_9357.jpg
/home/pi/Desktop/images/30012025/19/51/image_30012025_19_51_37_10371.jpg
/home/pi/Desktop/images/30012025/19/51/image_30012025_19_51_47_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333076602","1333076708","1333076698","1333076692","1333076704","1333076598"],"photo_ids_order":["1333076598","1333076602","1333076692","1333076698","1333076704","1333076708"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9ce88e6206a92cffb0fff6423b28a041.jpg","text":"TemporaryFile(/tmp/multipartBody4646184601805756390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263153157,"filename":"image_30012025_19_51_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/30/8b8052a7235473a42c726aed6e539c89.jpg","text":"TemporaryFile(/tmp/multipartBody5825572718655521453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263153157,"filename":"image_30012025_19_51_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/30/8dc32c256250f88c3118a22094da806c.jpg","text":"TemporaryFile(/tmp/multipartBody2834240197895654375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263153157,"filename":"image_30012025_19_51_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/30/d33f3478739e68a7b7b4c6d100325c56.jpg","text":"TemporaryFile(/tmp/multipartBody5850698031772125658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263153157,"filename":"image_30012025_19_51_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/30/3d646865a03be49476d5f5bc1d1af0a9.jpg","text":"TemporaryFile(/tmp/multipartBody2127126979606647998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263153157,"filename":"image_30012025_19_51_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/30/f99981a02b34ef6f7f18364038a07921.jpg","text":"TemporaryFile(/tmp/multipartBody7049931369559386664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263153157,"filename":"image_30012025_19_50_56_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333076692","file1":"1333076602","file0":"1333076598","file4":"1333076704","file5":"1333076708","file3":"1333076698"},"map_files_photo_id_array":[{"photo_id":"1333076708","filename":"file5"},{"photo_id":"1333076692","filename":"file2"},{"photo_id":"1333076704","filename":"file4"},{"photo_id":"1333076602","filename":"file1"},{"photo_id":"1333076598","filename":"file0"},{"photo_id":"1333076698","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333076602":["hashtag1","hashtag2"]},{"1333076708":["hashtag1","hashtag2"]},{"1333076698":["hashtag1","hashtag2"]},{"1333076692":["hashtag1","hashtag2"]},{"1333076704":["hashtag1","hashtag2"]},{"1333076598":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333076602, 1333076708, 1333076698, 1333076692, 1333076704, 1333076598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.0947642326355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:52:32.707699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/51/image_30012025_19_51_56_9370.jpg', '/home/pi/Desktop/images/30012025/19/51/image_30012025_19_52_07_10439.jpg', '/home/pi/Desktop/images/30012025/19/52/image_30012025_19_52_16_9331.jpg', '/home/pi/Desktop/images/30012025/19/52/image_30012025_19_52_27_10455.jpg', '/home/pi/Desktop/images/30012025/19/52/image_30012025_19_52_37_10379.jpg', '/home/pi/Desktop/images/30012025/19/52/image_30012025_19_52_46_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/51/image_30012025_19_51_56_9370.jpg
/home/pi/Desktop/images/30012025/19/51/image_30012025_19_52_07_10439.jpg
/home/pi/Desktop/images/30012025/19/52/image_30012025_19_52_16_9331.jpg
/home/pi/Desktop/images/30012025/19/52/image_30012025_19_52_27_10455.jpg
/home/pi/Desktop/images/30012025/19/52/image_30012025_19_52_37_10379.jpg
/home/pi/Desktop/images/30012025/19/52/image_30012025_19_52_46_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":["1333077006","1333076999","1333076987","1333077013","1333077010","1333076994"],"photo_ids_order":["1333076987","1333076994","1333076999","1333077006","1333077010","1333077013"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f08228a369d14e79f18add34986d4af5.jpg","text":"TemporaryFile(/tmp/multipartBody1559289408757497624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263213611,"filename":"image_30012025_19_52_27_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/30/184836fd5e59e451ba56c17281d322ea.jpg","text":"TemporaryFile(/tmp/multipartBody4826567022305054158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263213611,"filename":"image_30012025_19_52_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/30/7486501749feeb64f56cfc30d8d0a2ed.jpg","text":"TemporaryFile(/tmp/multipartBody7096927179589351596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263213611,"filename":"image_30012025_19_51_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/30/cc5c0022063e9ba33cd6f021a90f0880.jpg","text":"TemporaryFile(/tmp/multipartBody1299138182853234541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263213611,"filename":"image_30012025_19_52_46_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/94eaa64d91458883d05f905a61ab19fd.jpg","text":"TemporaryFile(/tmp/multipartBody1739721812195990322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263213611,"filename":"image_30012025_19_52_37_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/30/8d3172656c1861506b5e7a2eb8ac1ec9.jpg","text":"TemporaryFile(/tmp/multipartBody1757855307290809460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263213611,"filename":"image_30012025_19_52_07_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333076999","file1":"1333076994","file0":"1333076987","file4":"1333077010","file5":"1333077013","file3":"1333077006"},"map_files_photo_id_array":[{"photo_id":"1333077013","filename":"file5"},{"photo_id":"1333076999","filename":"file2"},{"photo_id":"1333077010","filename":"file4"},{"photo_id":"1333076994","filename":"file1"},{"photo_id":"1333076987","filename":"file0"},{"photo_id":"1333077006","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333077006":["hashtag1","hashtag2"]},{"1333076999":["hashtag1","hashtag2"]},{"1333076987":["hashtag1","hashtag2"]},{"1333077013":["hashtag1","hashtag2"]},{"1333077010":["hashtag1","hashtag2"]},{"1333076994":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333077006, 1333076999, 1333076987, 1333077013, 1333077010, 1333076994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.26437759399414 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:53:32.865274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/52/image_30012025_19_52_57_10420.jpg', '/home/pi/Desktop/images/30012025/19/52/image_30012025_19_53_06_9377.jpg', '/home/pi/Desktop/images/30012025/19/53/image_30012025_19_53_17_10459.jpg', '/home/pi/Desktop/images/30012025/19/53/image_30012025_19_53_26_9452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/52/image_30012025_19_52_57_10420.jpg
/home/pi/Desktop/images/30012025/19/52/image_30012025_19_53_06_9377.jpg
/home/pi/Desktop/images/30012025/19/53/image_30012025_19_53_17_10459.jpg
/home/pi/Desktop/images/30012025/19/53/image_30012025_19_53_26_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":["1333077165","1333077097","1333077157","1333077093"],"photo_ids_order":["1333077093","1333077097","1333077157","1333077165"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0e5aa67872b7cd1046386acf63fb431f.jpg","text":"TemporaryFile(/tmp/multipartBody5876680107337238872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263273733,"filename":"image_30012025_19_53_26_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/30/97bbce6542c318796ce04e52a1a32b8b.jpg","text":"TemporaryFile(/tmp/multipartBody458365031169394383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263273733,"filename":"image_30012025_19_53_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/30/4e1d27e021e46d9d6548b6615a771ab5.jpg","text":"TemporaryFile(/tmp/multipartBody1083805409104536713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263273733,"filename":"image_30012025_19_53_17_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/30/c261871faa02d09b3a43a9f1c7bde3c2.jpg","text":"TemporaryFile(/tmp/multipartBody5375990246277974530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263273733,"filename":"image_30012025_19_52_57_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333077157","file1":"1333077097","file0":"1333077093","file3":"1333077165"},"map_files_photo_id_array":[{"photo_id":"1333077157","filename":"file2"},{"photo_id":"1333077097","filename":"file1"},{"photo_id":"1333077093","filename":"file0"},{"photo_id":"1333077165","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333077165":["hashtag1","hashtag2"]},{"1333077097":["hashtag1","hashtag2"]},{"1333077157":["hashtag1","hashtag2"]},{"1333077093":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333077165, 1333077097, 1333077157, 1333077093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 36.89253211021423 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:54:33.165437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/53/image_30012025_19_53_37_10364.jpg', '/home/pi/Desktop/images/30012025/19/54/image_30012025_19_54_37_10359.jpg', '/home/pi/Desktop/images/30012025/19/54/image_30012025_19_54_46_9441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/53/image_30012025_19_53_37_10364.jpg
/home/pi/Desktop/images/30012025/19/54/image_30012025_19_54_37_10359.jpg
/home/pi/Desktop/images/30012025/19/54/image_30012025_19_54_46_9441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333077200","1333077193","1333077187"],"photo_ids_order":["1333077187","1333077193","1333077200"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/11d201fe095c34bc109dec8f1301d165.jpg","text":"TemporaryFile(/tmp/multipartBody5092580658824663320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263334023,"filename":"image_30012025_19_54_46_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/30/8a3b44478d2177f562bd9c42ff2a16d4.jpg","text":"TemporaryFile(/tmp/multipartBody2291758819668293857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263334023,"filename":"image_30012025_19_54_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/30/f25f4d398a1f18cefe93dd295fbe3ab3.jpg","text":"TemporaryFile(/tmp/multipartBody1548127093915674523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263334023,"filename":"image_30012025_19_53_37_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333077200","file1":"1333077193","file0":"1333077187"},"map_files_photo_id_array":[{"photo_id":"1333077200","filename":"file2"},{"photo_id":"1333077193","filename":"file1"},{"photo_id":"1333077187","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333077200":["hashtag1","hashtag2"]},{"1333077193":["hashtag1","hashtag2"]},{"1333077187":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333077200, 1333077193, 1333077187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.961896896362305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 19:55:04.039699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/30/image_28012025_21_30_15_9332.jpg', '/home/pi/Desktop/images/28012025/21/30/image_28012025_21_30_25_10415.jpg', '/home/pi/Desktop/images/28012025/21/30/image_28012025_21_30_35_9431.jpg', '/home/pi/Desktop/images/28012025/21/30/image_28012025_21_30_45_10373.jpg', '/home/pi/Desktop/images/28012025/21/30/image_28012025_21_30_55_10470.jpg', '/home/pi/Desktop/images/28012025/21/30/image_28012025_21_31_05_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/21/30/image_28012025_21_30_15_9332.jpg
/home/pi/Desktop/images/28012025/21/30/image_28012025_21_30_25_10415.jpg
/home/pi/Desktop/images/28012025/21/30/image_28012025_21_30_35_9431.jpg
/home/pi/Desktop/images/28012025/21/30/image_28012025_21_30_45_10373.jpg
/home/pi/Desktop/images/28012025/21/30/image_28012025_21_30_55_10470.jpg
/home/pi/Desktop/images/28012025/21/30/image_28012025_21_31_05_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":["1333077542","1333077269","1333077227","1333077620","1333077472","1333077348"],"photo_ids_order":["1333077227","1333077269","1333077348","1333077472","1333077542","1333077620"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/31ba0948dfcde50edc5e3073ef853aed.jpg","text":"TemporaryFile(/tmp/multipartBody6110886712467840907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263366009,"filename":"image_28012025_21_30_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/30/14239b87faa9a0a4cdf3902762389070.jpg","text":"TemporaryFile(/tmp/multipartBody7472453236884947387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263366009,"filename":"image_28012025_21_30_25_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a64da5db6107dcc29accb31df3afac86.jpg","text":"TemporaryFile(/tmp/multipartBody3576795465267116192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263366009,"filename":"image_28012025_21_30_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/30/05e8048a10488da7420d12e14c8e85ac.jpg","text":"TemporaryFile(/tmp/multipartBody8856197333927067782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263366009,"filename":"image_28012025_21_31_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/30/e50b270ffed55098cec0b71c20423f77.jpg","text":"TemporaryFile(/tmp/multipartBody2761809353923620233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263366009,"filename":"image_28012025_21_30_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/30/91f3ef2682479c2b6049c63af7a9211e.jpg","text":"TemporaryFile(/tmp/multipartBody3966915007694410846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263366009,"filename":"image_28012025_21_30_35_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333077348","file1":"1333077269","file0":"1333077227","file4":"1333077542","file5":"1333077620","file3":"1333077472"},"map_files_photo_id_array":[{"photo_id":"1333077620","filename":"file5"},{"photo_id":"1333077348","filename":"file2"},{"photo_id":"1333077542","filename":"file4"},{"photo_id":"1333077269","filename":"file1"},{"photo_id":"1333077227","filename":"file0"},{"photo_id":"1333077472","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333077542":["hashtag1","hashtag2"]},{"1333077269":["hashtag1","hashtag2"]},{"1333077227":["hashtag1","hashtag2"]},{"1333077620":["hashtag1","hashtag2"]},{"1333077472":["hashtag1","hashtag2"]},{"1333077348":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333077542, 1333077269, 1333077227, 1333077620, 1333077472, 1333077348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.73696517944336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:55:52.412437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/54/image_30012025_19_54_57_10353.jpg', '/home/pi/Desktop/images/30012025/19/54/image_30012025_19_55_07_10379.jpg', '/home/pi/Desktop/images/30012025/19/55/image_30012025_19_55_16_9343.jpg', '/home/pi/Desktop/images/30012025/19/55/image_30012025_19_55_27_10359.jpg', '/home/pi/Desktop/images/30012025/19/55/image_30012025_19_55_37_10442.jpg', '/home/pi/Desktop/images/30012025/19/55/image_30012025_19_55_46_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/54/image_30012025_19_54_57_10353.jpg
/home/pi/Desktop/images/30012025/19/54/image_30012025_19_55_07_10379.jpg
/home/pi/Desktop/images/30012025/19/55/image_30012025_19_55_16_9343.jpg
/home/pi/Desktop/images/30012025/19/55/image_30012025_19_55_27_10359.jpg
/home/pi/Desktop/images/30012025/19/55/image_30012025_19_55_37_10442.jpg
/home/pi/Desktop/images/30012025/19/55/image_30012025_19_55_46_9336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333078196","1333078100","1333078267","1333078045","1333077997","1333077907"],"photo_ids_order":["1333077907","1333077997","1333078045","1333078100","1333078196","1333078267"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/487ed4c1296429cd657798bc0b327ea6.jpg","text":"TemporaryFile(/tmp/multipartBody1674301235209600882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263413324,"filename":"image_30012025_19_55_37_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/30/ec8e0589d7c24c850bf552529a82b485.jpg","text":"TemporaryFile(/tmp/multipartBody2238902722647725066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263413324,"filename":"image_30012025_19_55_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/30/0b8be698bed9860a199abbc9e5ee9119.jpg","text":"TemporaryFile(/tmp/multipartBody5256954259130335156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263413324,"filename":"image_30012025_19_55_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/30/c450f53c1ca363badd707bf473e7b9a2.jpg","text":"TemporaryFile(/tmp/multipartBody288333492610826392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263413324,"filename":"image_30012025_19_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/30/e48a81c05e5631169560abe56193f897.jpg","text":"TemporaryFile(/tmp/multipartBody7959631470490767258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263413324,"filename":"image_30012025_19_55_07_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/12d03f8ba289251a8ee2383803e8348a.jpg","text":"TemporaryFile(/tmp/multipartBody2570719894014387364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263413324,"filename":"image_30012025_19_54_57_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333078045","file1":"1333077997","file0":"1333077907","file4":"1333078196","file5":"1333078267","file3":"1333078100"},"map_files_photo_id_array":[{"photo_id":"1333078267","filename":"file5"},{"photo_id":"1333078045","filename":"file2"},{"photo_id":"1333078196","filename":"file4"},{"photo_id":"1333077997","filename":"file1"},{"photo_id":"1333077907","filename":"file0"},{"photo_id":"1333078100","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333078196":["hashtag1","hashtag2"]},{"1333078100":["hashtag1","hashtag2"]},{"1333078267":["hashtag1","hashtag2"]},{"1333078045":["hashtag1","hashtag2"]},{"1333077997":["hashtag1","hashtag2"]},{"1333077907":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333078196, 1333078100, 1333078267, 1333078045, 1333077997, 1333077907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37277698516846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 19:56:42.679994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/55/image_30012025_19_55_57_10506.jpg', '/home/pi/Desktop/images/30012025/19/55/image_30012025_19_56_06_9367.jpg', '/home/pi/Desktop/images/30012025/19/56/image_30012025_19_56_17_10346.jpg', '/home/pi/Desktop/images/30012025/19/56/image_30012025_19_56_27_10356.jpg', '/home/pi/Desktop/images/30012025/19/56/image_30012025_19_56_36_9357.jpg', '/home/pi/Desktop/images/30012025/19/56/image_30012025_19_56_47_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/55/image_30012025_19_55_57_10506.jpg
/home/pi/Desktop/images/30012025/19/55/image_30012025_19_56_06_9367.jpg
/home/pi/Desktop/images/30012025/19/56/image_30012025_19_56_17_10346.jpg
/home/pi/Desktop/images/30012025/19/56/image_30012025_19_56_27_10356.jpg
/home/pi/Desktop/images/30012025/19/56/image_30012025_19_56_36_9357.jpg
/home/pi/Desktop/images/30012025/19/56/image_30012025_19_56_47_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333078503","1333078493","1333078523","1333078511","1333078534","1333078530"],"photo_ids_order":["1333078493","1333078503","1333078511","1333078523","1333078530","1333078534"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cf9759af7febbbb09cd21bff3c7f2d79.jpg","text":"TemporaryFile(/tmp/multipartBody9078292902410239503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263463584,"filename":"image_30012025_19_56_06_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/30/742296009dfb56a210b85497b86c1092.jpg","text":"TemporaryFile(/tmp/multipartBody7150180428359979075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263463584,"filename":"image_30012025_19_55_57_10506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7d7ee6a0415839dd09326dd4a89c79a4.jpg","text":"TemporaryFile(/tmp/multipartBody3250959374489474955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263463584,"filename":"image_30012025_19_56_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/30/0b031ef407f69952fd4c01230f2f7de0.jpg","text":"TemporaryFile(/tmp/multipartBody2604534328746408373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263463584,"filename":"image_30012025_19_56_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/30/a9a44d0167d2fbd2dc54fef38a773d7f.jpg","text":"TemporaryFile(/tmp/multipartBody7015283396502436416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263463584,"filename":"image_30012025_19_56_47_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a36f7423b148b6f4070987d0a1ff238c.jpg","text":"TemporaryFile(/tmp/multipartBody606153633006929875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263463584,"filename":"image_30012025_19_56_36_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333078511","file1":"1333078503","file0":"1333078493","file4":"1333078530","file5":"1333078534","file3":"1333078523"},"map_files_photo_id_array":[{"photo_id":"1333078534","filename":"file5"},{"photo_id":"1333078511","filename":"file2"},{"photo_id":"1333078530","filename":"file4"},{"photo_id":"1333078503","filename":"file1"},{"photo_id":"1333078493","filename":"file0"},{"photo_id":"1333078523","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333078503":["hashtag1","hashtag2"]},{"1333078493":["hashtag1","hashtag2"]},{"1333078523":["hashtag1","hashtag2"]},{"1333078511":["hashtag1","hashtag2"]},{"1333078534":["hashtag1","hashtag2"]},{"1333078530":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333078503, 1333078493, 1333078523, 1333078511, 1333078534, 1333078530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78798317909241 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:57:33.008679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/56/image_30012025_19_56_57_10440.jpg', '/home/pi/Desktop/images/30012025/19/56/image_30012025_19_57_06_9349.jpg', '/home/pi/Desktop/images/30012025/19/57/image_30012025_19_57_17_10447.jpg', '/home/pi/Desktop/images/30012025/19/57/image_30012025_19_57_26_9415.jpg', '/home/pi/Desktop/images/30012025/19/57/image_30012025_19_57_37_10367.jpg', '/home/pi/Desktop/images/30012025/19/57/image_30012025_19_57_46_9430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/56/image_30012025_19_56_57_10440.jpg
/home/pi/Desktop/images/30012025/19/56/image_30012025_19_57_06_9349.jpg
/home/pi/Desktop/images/30012025/19/57/image_30012025_19_57_17_10447.jpg
/home/pi/Desktop/images/30012025/19/57/image_30012025_19_57_26_9415.jpg
/home/pi/Desktop/images/30012025/19/57/image_30012025_19_57_37_10367.jpg
/home/pi/Desktop/images/30012025/19/57/image_30012025_19_57_46_9430.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5069065093994141 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 19:57:42.914566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/56/image_30012025_19_56_57_10440.jpg', '/home/pi/Desktop/images/30012025/19/56/image_30012025_19_57_06_9349.jpg', '/home/pi/Desktop/images/30012025/19/57/image_30012025_19_57_17_10447.jpg', '/home/pi/Desktop/images/30012025/19/57/image_30012025_19_57_26_9415.jpg', '/home/pi/Desktop/images/30012025/19/57/image_30012025_19_57_37_10367.jpg', '/home/pi/Desktop/images/30012025/19/57/image_30012025_19_57_46_9430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/56/image_30012025_19_56_57_10440.jpg
/home/pi/Desktop/images/30012025/19/56/image_30012025_19_57_06_9349.jpg
/home/pi/Desktop/images/30012025/19/57/image_30012025_19_57_17_10447.jpg
/home/pi/Desktop/images/30012025/19/57/image_30012025_19_57_26_9415.jpg
/home/pi/Desktop/images/30012025/19/57/image_30012025_19_57_37_10367.jpg
/home/pi/Desktop/images/30012025/19/57/image_30012025_19_57_46_9430.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-30 19:59:04.079225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/56/image_30012025_19_56_57_10440.jpg', '/home/pi/Desktop/images/30012025/19/56/image_30012025_19_57_06_9349.jpg', '/home/pi/Desktop/images/30012025/19/57/image_30012025_19_57_17_10447.jpg', '/home/pi/Desktop/images/30012025/19/57/image_30012025_19_57_26_9415.jpg', '/home/pi/Desktop/images/30012025/19/57/image_30012025_19_57_37_10367.jpg', '/home/pi/Desktop/images/30012025/19/57/image_30012025_19_57_46_9430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/56/image_30012025_19_56_57_10440.jpg
/home/pi/Desktop/images/30012025/19/56/image_30012025_19_57_06_9349.jpg
/home/pi/Desktop/images/30012025/19/57/image_30012025_19_57_17_10447.jpg
/home/pi/Desktop/images/30012025/19/57/image_30012025_19_57_26_9415.jpg
/home/pi/Desktop/images/30012025/19/57/image_30012025_19_57_37_10367.jpg
/home/pi/Desktop/images/30012025/19/57/image_30012025_19_57_46_9430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333079012","1333079021","1333079102","1333079008","1333079016","1333079004"],"photo_ids_order":["1333079004","1333079008","1333079012","1333079016","1333079021","1333079102"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ed1fae84a621952667e3860ba8c69bc0.jpg","text":"TemporaryFile(/tmp/multipartBody4191963184605483225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263605108,"filename":"image_30012025_19_57_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/30/3318e9868e332c0451631da6be5d4054.jpg","text":"TemporaryFile(/tmp/multipartBody7357043843828454111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263605108,"filename":"image_30012025_19_57_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/30/76de85112fad124dc00052224f08c8e4.jpg","text":"TemporaryFile(/tmp/multipartBody4889570667299084888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263605108,"filename":"image_30012025_19_57_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/30/ead730fb64ace38ebbfd20154fa76a06.jpg","text":"TemporaryFile(/tmp/multipartBody1808876506996853646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263605108,"filename":"image_30012025_19_57_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/30/aeb0998d3f6db81435278122753c4307.jpg","text":"TemporaryFile(/tmp/multipartBody8101895831158699742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263605108,"filename":"image_30012025_19_57_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/30/d2429c7dddda342b941fde7fa23b92b6.jpg","text":"TemporaryFile(/tmp/multipartBody2423805068516272481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263605108,"filename":"image_30012025_19_56_57_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333079012","file1":"1333079008","file0":"1333079004","file4":"1333079021","file5":"1333079102","file3":"1333079016"},"map_files_photo_id_array":[{"photo_id":"1333079102","filename":"file5"},{"photo_id":"1333079012","filename":"file2"},{"photo_id":"1333079021","filename":"file4"},{"photo_id":"1333079008","filename":"file1"},{"photo_id":"1333079004","filename":"file0"},{"photo_id":"1333079016","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333079012":["hashtag1","hashtag2"]},{"1333079021":["hashtag1","hashtag2"]},{"1333079102":["hashtag1","hashtag2"]},{"1333079008":["hashtag1","hashtag2"]},{"1333079016":["hashtag1","hashtag2"]},{"1333079004":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333079012, 1333079021, 1333079102, 1333079008, 1333079016, 1333079004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.711565256118774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 19:59:52.440512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/57/image_30012025_19_57_57_10435.jpg', '/home/pi/Desktop/images/30012025/19/57/image_30012025_19_58_07_10478.jpg', '/home/pi/Desktop/images/30012025/19/58/image_30012025_19_58_27_10479.jpg', '/home/pi/Desktop/images/30012025/19/58/image_30012025_19_58_36_9343.jpg', '/home/pi/Desktop/images/30012025/19/58/image_30012025_19_58_47_10338.jpg', '/home/pi/Desktop/images/30012025/19/58/image_30012025_19_58_57_10464.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/57/image_30012025_19_57_57_10435.jpg
/home/pi/Desktop/images/30012025/19/57/image_30012025_19_58_07_10478.jpg
/home/pi/Desktop/images/30012025/19/58/image_30012025_19_58_27_10479.jpg
/home/pi/Desktop/images/30012025/19/58/image_30012025_19_58_36_9343.jpg
/home/pi/Desktop/images/30012025/19/58/image_30012025_19_58_47_10338.jpg
/home/pi/Desktop/images/30012025/19/58/image_30012025_19_58_57_10464.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333079213","1333079215","1333079209","1333079218","1333079205","1333079195"],"photo_ids_order":["1333079195","1333079205","1333079209","1333079213","1333079215","1333079218"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e6117a20137b7e43003a822c229d9cb6.jpg","text":"TemporaryFile(/tmp/multipartBody3914315678694921003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263653343,"filename":"image_30012025_19_58_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/30/38d29d2fbbe0cc1d069797f0ac50e7ae.jpg","text":"TemporaryFile(/tmp/multipartBody5546634662335440909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263653343,"filename":"image_30012025_19_58_47_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3fa20381f6f048b651793a441408bf0e.jpg","text":"TemporaryFile(/tmp/multipartBody1460309864017699430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263653343,"filename":"image_30012025_19_58_27_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/30/c9ce2a0bd83cc5495ae4dee06058356c.jpg","text":"TemporaryFile(/tmp/multipartBody7722943870626052381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263653343,"filename":"image_30012025_19_58_57_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/30/350fd73a5ba08282ec55a4a03860688d.jpg","text":"TemporaryFile(/tmp/multipartBody3462206011558649700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263653343,"filename":"image_30012025_19_58_07_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/30/4d45b9a0b9fc097590fb0f439ac516a2.jpg","text":"TemporaryFile(/tmp/multipartBody8310987909574044835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263653343,"filename":"image_30012025_19_57_57_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333079209","file1":"1333079205","file0":"1333079195","file4":"1333079215","file5":"1333079218","file3":"1333079213"},"map_files_photo_id_array":[{"photo_id":"1333079218","filename":"file5"},{"photo_id":"1333079209","filename":"file2"},{"photo_id":"1333079215","filename":"file4"},{"photo_id":"1333079205","filename":"file1"},{"photo_id":"1333079195","filename":"file0"},{"photo_id":"1333079213","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333079213":["hashtag1","hashtag2"]},{"1333079215":["hashtag1","hashtag2"]},{"1333079209":["hashtag1","hashtag2"]},{"1333079218":["hashtag1","hashtag2"]},{"1333079205":["hashtag1","hashtag2"]},{"1333079195":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333079213, 1333079215, 1333079209, 1333079218, 1333079205, 1333079195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.3893826007843 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:00:32.634284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/19/58/image_30012025_19_59_06_9369.jpg', '/home/pi/Desktop/images/30012025/19/59/image_30012025_19_59_17_10487.jpg', '/home/pi/Desktop/images/30012025/19/59/image_30012025_19_59_26_9351.jpg', '/home/pi/Desktop/images/30012025/19/59/image_30012025_19_59_37_10430.jpg', '/home/pi/Desktop/images/30012025/19/59/image_30012025_19_59_46_9458.jpg', '/home/pi/Desktop/images/30012025/19/59/image_30012025_19_59_57_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/19/58/image_30012025_19_59_06_9369.jpg
/home/pi/Desktop/images/30012025/19/59/image_30012025_19_59_17_10487.jpg
/home/pi/Desktop/images/30012025/19/59/image_30012025_19_59_26_9351.jpg
/home/pi/Desktop/images/30012025/19/59/image_30012025_19_59_37_10430.jpg
/home/pi/Desktop/images/30012025/19/59/image_30012025_19_59_46_9458.jpg
/home/pi/Desktop/images/30012025/19/59/image_30012025_19_59_57_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":["1333079251","1333079227","1333079244","1333079247","1333079240","1333079234"],"photo_ids_order":["1333079227","1333079234","1333079240","1333079244","1333079247","1333079251"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/09e271be8495ab0004ee81888f86495a.jpg","text":"TemporaryFile(/tmp/multipartBody2679965272741660117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263693606,"filename":"image_30012025_19_59_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/30/b0320773a782624c373444a3b09420cb.jpg","text":"TemporaryFile(/tmp/multipartBody4174329813712060610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263693606,"filename":"image_30012025_19_59_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/30/a9ab3a83dc0e5880315e0f8caf86ba87.jpg","text":"TemporaryFile(/tmp/multipartBody4127744446187009392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263693606,"filename":"image_30012025_19_59_37_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/30/04e5c5b5c6ab390c881844b8ac4a4567.jpg","text":"TemporaryFile(/tmp/multipartBody8411967950521822472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263693606,"filename":"image_30012025_19_59_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/30/afe866b27f5d6e7eebe5e93f222a97d1.jpg","text":"TemporaryFile(/tmp/multipartBody2008078960856394709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263693606,"filename":"image_30012025_19_59_26_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/60d233b5ad8e0e682771a8a8357f7eca.jpg","text":"TemporaryFile(/tmp/multipartBody7653909805584220296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263693606,"filename":"image_30012025_19_59_17_10487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333079240","file1":"1333079234","file0":"1333079227","file4":"1333079247","file5":"1333079251","file3":"1333079244"},"map_files_photo_id_array":[{"photo_id":"1333079251","filename":"file5"},{"photo_id":"1333079240","filename":"file2"},{"photo_id":"1333079247","filename":"file4"},{"photo_id":"1333079234","filename":"file1"},{"photo_id":"1333079227","filename":"file0"},{"photo_id":"1333079244","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333079251":["hashtag1","hashtag2"]},{"1333079227":["hashtag1","hashtag2"]},{"1333079244":["hashtag1","hashtag2"]},{"1333079247":["hashtag1","hashtag2"]},{"1333079240":["hashtag1","hashtag2"]},{"1333079234":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333079251, 1333079227, 1333079244, 1333079247, 1333079240, 1333079234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14551901817322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:01:32.912465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/00/image_30012025_20_00_15_10071.jpg', '/home/pi/Desktop/images/30012025/20/00/image_30012025_20_00_26_10377.jpg', '/home/pi/Desktop/images/30012025/20/00/image_30012025_20_00_36_10369.jpg', '/home/pi/Desktop/images/30012025/20/00/image_30012025_20_00_45_9448.jpg', '/home/pi/Desktop/images/30012025/20/00/image_30012025_20_00_56_10470.jpg', '/home/pi/Desktop/images/30012025/20/00/image_30012025_20_01_05_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/00/image_30012025_20_00_15_10071.jpg
/home/pi/Desktop/images/30012025/20/00/image_30012025_20_00_26_10377.jpg
/home/pi/Desktop/images/30012025/20/00/image_30012025_20_00_36_10369.jpg
/home/pi/Desktop/images/30012025/20/00/image_30012025_20_00_45_9448.jpg
/home/pi/Desktop/images/30012025/20/00/image_30012025_20_00_56_10470.jpg
/home/pi/Desktop/images/30012025/20/00/image_30012025_20_01_05_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":["1333079420","1333079417","1333079341","1333079329","1333079334","1333079399"],"photo_ids_order":["1333079329","1333079334","1333079341","1333079399","1333079417","1333079420"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/50fc5512e21d6d1bb4a4150b1624854a.jpg","text":"TemporaryFile(/tmp/multipartBody403327181984225830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263753833,"filename":"image_30012025_20_01_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/30/c242fdcedd2025da8d67cc57aee624bb.jpg","text":"TemporaryFile(/tmp/multipartBody7072964987709454084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263753833,"filename":"image_30012025_20_00_56_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/30/4d9d41676ff3aa319b2075ca857bf080.jpg","text":"TemporaryFile(/tmp/multipartBody3546953341995110788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263753833,"filename":"image_30012025_20_00_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/30/adf1b3f69e9f5bc9991a97ba65bedbf1.jpg","text":"TemporaryFile(/tmp/multipartBody5729949082918506121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263753833,"filename":"image_30012025_20_00_15_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/30/c5448aea1cb3dc93ca4139d26f0628df.jpg","text":"TemporaryFile(/tmp/multipartBody1977916642512682838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263753833,"filename":"image_30012025_20_00_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/30/61f688c8b36bebcd1b5fa8e688ff4921.jpg","text":"TemporaryFile(/tmp/multipartBody8166619264226883006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263753833,"filename":"image_30012025_20_00_45_9448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333079341","file1":"1333079334","file0":"1333079329","file4":"1333079417","file5":"1333079420","file3":"1333079399"},"map_files_photo_id_array":[{"photo_id":"1333079420","filename":"file5"},{"photo_id":"1333079341","filename":"file2"},{"photo_id":"1333079417","filename":"file4"},{"photo_id":"1333079334","filename":"file1"},{"photo_id":"1333079329","filename":"file0"},{"photo_id":"1333079399","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333079420":["hashtag1","hashtag2"]},{"1333079417":["hashtag1","hashtag2"]},{"1333079341":["hashtag1","hashtag2"]},{"1333079329":["hashtag1","hashtag2"]},{"1333079334":["hashtag1","hashtag2"]},{"1333079399":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333079420, 1333079417, 1333079341, 1333079329, 1333079334, 1333079399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.126917600631714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:02:32.214618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/01/image_30012025_20_01_16_10449.jpg', '/home/pi/Desktop/images/30012025/20/01/image_30012025_20_01_26_10452.jpg', '/home/pi/Desktop/images/30012025/20/01/image_30012025_20_01_36_9339.jpg', '/home/pi/Desktop/images/30012025/20/01/image_30012025_20_01_46_10520.jpg', '/home/pi/Desktop/images/30012025/20/01/image_30012025_20_01_55_9327.jpg', '/home/pi/Desktop/images/30012025/20/01/image_30012025_20_02_06_10555.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/01/image_30012025_20_01_16_10449.jpg
/home/pi/Desktop/images/30012025/20/01/image_30012025_20_01_26_10452.jpg
/home/pi/Desktop/images/30012025/20/01/image_30012025_20_01_36_9339.jpg
/home/pi/Desktop/images/30012025/20/01/image_30012025_20_01_46_10520.jpg
/home/pi/Desktop/images/30012025/20/01/image_30012025_20_01_55_9327.jpg
/home/pi/Desktop/images/30012025/20/01/image_30012025_20_02_06_10555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333079513","1333079519","1333079527","1333079523","1333079508","1333079531"],"photo_ids_order":["1333079508","1333079513","1333079519","1333079523","1333079527","1333079531"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3f0ccb3dbc2459599de5de0764b49bb5.jpg","text":"TemporaryFile(/tmp/multipartBody7863529410843846380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263813149,"filename":"image_30012025_20_01_26_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/30/125ba0c6e7ca153848ba84a3eb6a903e.jpg","text":"TemporaryFile(/tmp/multipartBody7583572114468467452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263813149,"filename":"image_30012025_20_01_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/30/68cf952be6444dc3e19315c22f945dca.jpg","text":"TemporaryFile(/tmp/multipartBody1576756831794034873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263813149,"filename":"image_30012025_20_01_55_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/30/2b66ddb050d2fcfc718ea3747d181c8f.jpg","text":"TemporaryFile(/tmp/multipartBody3547992233478680683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263813149,"filename":"image_30012025_20_01_46_10520.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0a29a31b9b2fcb47b9798f1200e2c05e.jpg","text":"TemporaryFile(/tmp/multipartBody5597715343986774877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263813149,"filename":"image_30012025_20_01_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/30/2a02ee92729f0c3ad95ec1b9a6036ffb.jpg","text":"TemporaryFile(/tmp/multipartBody4644481583406284884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263813149,"filename":"image_30012025_20_02_06_10555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333079519","file1":"1333079513","file0":"1333079508","file4":"1333079527","file5":"1333079531","file3":"1333079523"},"map_files_photo_id_array":[{"photo_id":"1333079531","filename":"file5"},{"photo_id":"1333079519","filename":"file2"},{"photo_id":"1333079527","filename":"file4"},{"photo_id":"1333079513","filename":"file1"},{"photo_id":"1333079508","filename":"file0"},{"photo_id":"1333079523","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333079513":["hashtag1","hashtag2"]},{"1333079519":["hashtag1","hashtag2"]},{"1333079527":["hashtag1","hashtag2"]},{"1333079523":["hashtag1","hashtag2"]},{"1333079508":["hashtag1","hashtag2"]},{"1333079531":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333079513, 1333079519, 1333079527, 1333079523, 1333079508, 1333079531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17396426200867 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:03:32.326758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/02/image_30012025_20_02_15_9352.jpg', '/home/pi/Desktop/images/30012025/20/02/image_30012025_20_02_26_10365.jpg', '/home/pi/Desktop/images/30012025/20/02/image_30012025_20_02_36_10441.jpg', '/home/pi/Desktop/images/30012025/20/02/image_30012025_20_02_45_9357.jpg', '/home/pi/Desktop/images/30012025/20/02/image_30012025_20_02_56_10409.jpg', '/home/pi/Desktop/images/30012025/20/02/image_30012025_20_03_06_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/02/image_30012025_20_02_15_9352.jpg
/home/pi/Desktop/images/30012025/20/02/image_30012025_20_02_26_10365.jpg
/home/pi/Desktop/images/30012025/20/02/image_30012025_20_02_36_10441.jpg
/home/pi/Desktop/images/30012025/20/02/image_30012025_20_02_45_9357.jpg
/home/pi/Desktop/images/30012025/20/02/image_30012025_20_02_56_10409.jpg
/home/pi/Desktop/images/30012025/20/02/image_30012025_20_03_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":["1333079664","1333079844","1333079838","1333079841","1333079681","1333079678"],"photo_ids_order":["1333079664","1333079678","1333079681","1333079838","1333079841","1333079844"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/109f6d9f6b21ec16159f0ceaae343d17.jpg","text":"TemporaryFile(/tmp/multipartBody438889715529081997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263873258,"filename":"image_30012025_20_02_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/30/5e7a260e28d7a591b67cba52453ba362.jpg","text":"TemporaryFile(/tmp/multipartBody2036886570983835617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263873258,"filename":"image_30012025_20_03_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/30/743d0420ddd40b66c5c8850c1948f9f9.jpg","text":"TemporaryFile(/tmp/multipartBody3254762920531792909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263873258,"filename":"image_30012025_20_02_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/30/4ba5f312c6ba78df5ce02fb3e4e31045.jpg","text":"TemporaryFile(/tmp/multipartBody6620626978174719186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263873258,"filename":"image_30012025_20_02_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/30/bc9bbfef244243ebb770153f0a2dca0c.jpg","text":"TemporaryFile(/tmp/multipartBody982204401041634726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263873258,"filename":"image_30012025_20_02_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/30/6340b920faebab6cf62f1efec6d5628a.jpg","text":"TemporaryFile(/tmp/multipartBody8118663407045598870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263873258,"filename":"image_30012025_20_02_26_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333079681","file1":"1333079678","file0":"1333079664","file4":"1333079841","file5":"1333079844","file3":"1333079838"},"map_files_photo_id_array":[{"photo_id":"1333079844","filename":"file5"},{"photo_id":"1333079681","filename":"file2"},{"photo_id":"1333079841","filename":"file4"},{"photo_id":"1333079678","filename":"file1"},{"photo_id":"1333079664","filename":"file0"},{"photo_id":"1333079838","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333079664":["hashtag1","hashtag2"]},{"1333079844":["hashtag1","hashtag2"]},{"1333079838":["hashtag1","hashtag2"]},{"1333079841":["hashtag1","hashtag2"]},{"1333079681":["hashtag1","hashtag2"]},{"1333079678":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333079664, 1333079844, 1333079838, 1333079841, 1333079681, 1333079678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.56031370162964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:04:32.635877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/03/image_30012025_20_03_16_9346.jpg', '/home/pi/Desktop/images/30012025/20/03/image_30012025_20_03_26_10382.jpg', '/home/pi/Desktop/images/30012025/20/03/image_30012025_20_03_35_9375.jpg', '/home/pi/Desktop/images/30012025/20/03/image_30012025_20_03_46_10465.jpg', '/home/pi/Desktop/images/30012025/20/03/image_30012025_20_03_56_10405.jpg', '/home/pi/Desktop/images/30012025/20/03/image_30012025_20_04_06_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/03/image_30012025_20_03_16_9346.jpg
/home/pi/Desktop/images/30012025/20/03/image_30012025_20_03_26_10382.jpg
/home/pi/Desktop/images/30012025/20/03/image_30012025_20_03_35_9375.jpg
/home/pi/Desktop/images/30012025/20/03/image_30012025_20_03_46_10465.jpg
/home/pi/Desktop/images/30012025/20/03/image_30012025_20_03_56_10405.jpg
/home/pi/Desktop/images/30012025/20/03/image_30012025_20_04_06_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":["1333079974","1333079970","1333079907","1333079978","1333079963","1333079957"],"photo_ids_order":["1333079907","1333079957","1333079963","1333079970","1333079974","1333079978"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c3ae05e6328ccfd05bd4333ff7da9a8e.jpg","text":"TemporaryFile(/tmp/multipartBody8387729508096466810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263933550,"filename":"image_30012025_20_03_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/30/16e5864d433b9adef8ebd098f585c7a8.jpg","text":"TemporaryFile(/tmp/multipartBody4277816970629501480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263933550,"filename":"image_30012025_20_03_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/30/bba6a0cacabe6026319aaed98e37d62d.jpg","text":"TemporaryFile(/tmp/multipartBody9108581493616142128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263933550,"filename":"image_30012025_20_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/30/700e3aad4e91522b63246fc34a8e5b6f.jpg","text":"TemporaryFile(/tmp/multipartBody8966181998487147049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263933550,"filename":"image_30012025_20_04_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/30/5c2426ccc5f3858a40e7e1194f8ed0a2.jpg","text":"TemporaryFile(/tmp/multipartBody7797269957181418198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263933550,"filename":"image_30012025_20_03_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/30/85d390a30326b633d52b0bd38b28dfdc.jpg","text":"TemporaryFile(/tmp/multipartBody1641116653953293229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263933550,"filename":"image_30012025_20_03_26_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333079963","file1":"1333079957","file0":"1333079907","file4":"1333079974","file5":"1333079978","file3":"1333079970"},"map_files_photo_id_array":[{"photo_id":"1333079978","filename":"file5"},{"photo_id":"1333079963","filename":"file2"},{"photo_id":"1333079974","filename":"file4"},{"photo_id":"1333079957","filename":"file1"},{"photo_id":"1333079907","filename":"file0"},{"photo_id":"1333079970","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333079974":["hashtag1","hashtag2"]},{"1333079970":["hashtag1","hashtag2"]},{"1333079907":["hashtag1","hashtag2"]},{"1333079978":["hashtag1","hashtag2"]},{"1333079963":["hashtag1","hashtag2"]},{"1333079957":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333079974, 1333079970, 1333079907, 1333079978, 1333079963, 1333079957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.744309425354004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:05:32.846651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/04/image_30012025_20_04_16_10407.jpg', '/home/pi/Desktop/images/30012025/20/04/image_30012025_20_04_25_9346.jpg', '/home/pi/Desktop/images/30012025/20/04/image_30012025_20_04_36_10357.jpg', '/home/pi/Desktop/images/30012025/20/04/image_30012025_20_04_46_10377.jpg', '/home/pi/Desktop/images/30012025/20/04/image_30012025_20_04_55_9333.jpg', '/home/pi/Desktop/images/30012025/20/04/image_30012025_20_05_06_10406.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/04/image_30012025_20_04_16_10407.jpg
/home/pi/Desktop/images/30012025/20/04/image_30012025_20_04_25_9346.jpg
/home/pi/Desktop/images/30012025/20/04/image_30012025_20_04_36_10357.jpg
/home/pi/Desktop/images/30012025/20/04/image_30012025_20_04_46_10377.jpg
/home/pi/Desktop/images/30012025/20/04/image_30012025_20_04_55_9333.jpg
/home/pi/Desktop/images/30012025/20/04/image_30012025_20_05_06_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":["1333080191","1333080428","1333080877","1333080679","1333079996","1333080009"],"photo_ids_order":["1333079996","1333080009","1333080191","1333080428","1333080679","1333080877"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1ba5e1a8b7501f9a8ea51734273d7a12.jpg","text":"TemporaryFile(/tmp/multipartBody6618358754687342235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263993770,"filename":"image_30012025_20_04_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/30/1b1f0c7ca6e8406bbec635b73414b95f.jpg","text":"TemporaryFile(/tmp/multipartBody5262270395172018698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263993770,"filename":"image_30012025_20_04_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/30/31c362536ea86fe6818780a483163e1b.jpg","text":"TemporaryFile(/tmp/multipartBody5483214217304451011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263993770,"filename":"image_30012025_20_05_06_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3e2b055833f2e0b273bd71c1ab9bd511.jpg","text":"TemporaryFile(/tmp/multipartBody7680797462699184094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263993770,"filename":"image_30012025_20_04_55_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/30/dde3f696b8026979070ded8d69e032f2.jpg","text":"TemporaryFile(/tmp/multipartBody3321598763547564807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263993770,"filename":"image_30012025_20_04_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/30/a7f3bd60b86399049d6be71528c6226c.jpg","text":"TemporaryFile(/tmp/multipartBody4054470396223548172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738263993770,"filename":"image_30012025_20_04_25_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333080191","file1":"1333080009","file0":"1333079996","file4":"1333080679","file5":"1333080877","file3":"1333080428"},"map_files_photo_id_array":[{"photo_id":"1333080877","filename":"file5"},{"photo_id":"1333080191","filename":"file2"},{"photo_id":"1333080679","filename":"file4"},{"photo_id":"1333080009","filename":"file1"},{"photo_id":"1333079996","filename":"file0"},{"photo_id":"1333080428","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333080191":["hashtag1","hashtag2"]},{"1333080428":["hashtag1","hashtag2"]},{"1333080877":["hashtag1","hashtag2"]},{"1333080679":["hashtag1","hashtag2"]},{"1333079996":["hashtag1","hashtag2"]},{"1333080009":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333080191, 1333080428, 1333080877, 1333080679, 1333079996, 1333080009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.75770711898804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:06:32.997973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/05/image_30012025_20_05_16_10445.jpg', '/home/pi/Desktop/images/30012025/20/05/image_30012025_20_05_26_9353.jpg', '/home/pi/Desktop/images/30012025/20/05/image_30012025_20_05_36_10484.jpg', '/home/pi/Desktop/images/30012025/20/05/image_30012025_20_05_45_9356.jpg', '/home/pi/Desktop/images/30012025/20/05/image_30012025_20_05_56_10358.jpg', '/home/pi/Desktop/images/30012025/20/05/image_30012025_20_06_06_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/05/image_30012025_20_05_16_10445.jpg
/home/pi/Desktop/images/30012025/20/05/image_30012025_20_05_26_9353.jpg
/home/pi/Desktop/images/30012025/20/05/image_30012025_20_05_36_10484.jpg
/home/pi/Desktop/images/30012025/20/05/image_30012025_20_05_45_9356.jpg
/home/pi/Desktop/images/30012025/20/05/image_30012025_20_05_56_10358.jpg
/home/pi/Desktop/images/30012025/20/05/image_30012025_20_06_06_10363.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5329411029815674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 20:06:43.026725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/05/image_30012025_20_05_16_10445.jpg', '/home/pi/Desktop/images/30012025/20/05/image_30012025_20_05_26_9353.jpg', '/home/pi/Desktop/images/30012025/20/05/image_30012025_20_05_36_10484.jpg', '/home/pi/Desktop/images/30012025/20/05/image_30012025_20_05_45_9356.jpg', '/home/pi/Desktop/images/30012025/20/05/image_30012025_20_05_56_10358.jpg', '/home/pi/Desktop/images/30012025/20/05/image_30012025_20_06_06_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/05/image_30012025_20_05_16_10445.jpg
/home/pi/Desktop/images/30012025/20/05/image_30012025_20_05_26_9353.jpg
/home/pi/Desktop/images/30012025/20/05/image_30012025_20_05_36_10484.jpg
/home/pi/Desktop/images/30012025/20/05/image_30012025_20_05_45_9356.jpg
/home/pi/Desktop/images/30012025/20/05/image_30012025_20_05_56_10358.jpg
/home/pi/Desktop/images/30012025/20/05/image_30012025_20_06_06_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333081112","1333081153","1333081060","1333081147","1333081107","1333081157"],"photo_ids_order":["1333081060","1333081107","1333081112","1333081147","1333081153","1333081157"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f780c50b7a659bff9763bd1473ef60c5.jpg","text":"TemporaryFile(/tmp/multipartBody6979360685544471775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264063941,"filename":"image_30012025_20_05_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/30/2295a93b528662ec376bb844880ac043.jpg","text":"TemporaryFile(/tmp/multipartBody6034267600403177250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264063941,"filename":"image_30012025_20_05_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/30/962de1def233f8fe45f6a6d353fcc7aa.jpg","text":"TemporaryFile(/tmp/multipartBody4943741849235243982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264063941,"filename":"image_30012025_20_05_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/30/c1c03bb37d951eb161f212bf790be17a.jpg","text":"TemporaryFile(/tmp/multipartBody3134963347064143557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264063941,"filename":"image_30012025_20_05_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/30/c7ef358f9a55d876824279bbcf6b3dc2.jpg","text":"TemporaryFile(/tmp/multipartBody8660317803554591371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264063941,"filename":"image_30012025_20_05_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/30/198fdab6907a34d4927ee10f390421a1.jpg","text":"TemporaryFile(/tmp/multipartBody8692575055736328471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264063941,"filename":"image_30012025_20_06_06_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333081112","file1":"1333081107","file0":"1333081060","file4":"1333081153","file5":"1333081157","file3":"1333081147"},"map_files_photo_id_array":[{"photo_id":"1333081157","filename":"file5"},{"photo_id":"1333081112","filename":"file2"},{"photo_id":"1333081153","filename":"file4"},{"photo_id":"1333081107","filename":"file1"},{"photo_id":"1333081060","filename":"file0"},{"photo_id":"1333081147","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333081112":["hashtag1","hashtag2"]},{"1333081153":["hashtag1","hashtag2"]},{"1333081060":["hashtag1","hashtag2"]},{"1333081147":["hashtag1","hashtag2"]},{"1333081107":["hashtag1","hashtag2"]},{"1333081157":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333081112, 1333081153, 1333081060, 1333081147, 1333081107, 1333081157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.32573986053467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:07:32.248841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/06/image_30012025_20_06_16_9427.jpg', '/home/pi/Desktop/images/30012025/20/06/image_30012025_20_06_26_10502.jpg', '/home/pi/Desktop/images/30012025/20/06/image_30012025_20_06_35_9352.jpg', '/home/pi/Desktop/images/30012025/20/06/image_30012025_20_06_46_10565.jpg', '/home/pi/Desktop/images/30012025/20/06/image_30012025_20_06_55_9354.jpg', '/home/pi/Desktop/images/30012025/20/06/image_30012025_20_07_06_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/06/image_30012025_20_06_16_9427.jpg
/home/pi/Desktop/images/30012025/20/06/image_30012025_20_06_26_10502.jpg
/home/pi/Desktop/images/30012025/20/06/image_30012025_20_06_35_9352.jpg
/home/pi/Desktop/images/30012025/20/06/image_30012025_20_06_46_10565.jpg
/home/pi/Desktop/images/30012025/20/06/image_30012025_20_06_55_9354.jpg
/home/pi/Desktop/images/30012025/20/06/image_30012025_20_07_06_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333081198","1333081186","1333081194","1333081191","1333081169","1333081178"],"photo_ids_order":["1333081169","1333081178","1333081186","1333081191","1333081194","1333081198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/49083aadcd62c715189ded37a93d3448.jpg","text":"TemporaryFile(/tmp/multipartBody1669390241333234262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264113175,"filename":"image_30012025_20_07_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/30/f841e07412076cfb542de5782cbd2dba.jpg","text":"TemporaryFile(/tmp/multipartBody7655837312457840795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264113175,"filename":"image_30012025_20_06_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/30/2fd1fa19c10fc1e5add9b0ff8e1fba4f.jpg","text":"TemporaryFile(/tmp/multipartBody1775833547570780892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264113175,"filename":"image_30012025_20_06_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/30/74be27c5b5e96c950838c7a2f3ad0e8b.jpg","text":"TemporaryFile(/tmp/multipartBody2039877337041739179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264113175,"filename":"image_30012025_20_06_46_10565.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b7beb23e2f13ade2f45bd764e2620727.jpg","text":"TemporaryFile(/tmp/multipartBody6196468708204946087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264113175,"filename":"image_30012025_20_06_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/30/bcf9a77544e9cf06a31b917fa6286643.jpg","text":"TemporaryFile(/tmp/multipartBody1306699336946114264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264113175,"filename":"image_30012025_20_06_26_10502.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333081186","file1":"1333081178","file0":"1333081169","file4":"1333081194","file5":"1333081198","file3":"1333081191"},"map_files_photo_id_array":[{"photo_id":"1333081198","filename":"file5"},{"photo_id":"1333081186","filename":"file2"},{"photo_id":"1333081194","filename":"file4"},{"photo_id":"1333081178","filename":"file1"},{"photo_id":"1333081169","filename":"file0"},{"photo_id":"1333081191","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333081198":["hashtag1","hashtag2"]},{"1333081186":["hashtag1","hashtag2"]},{"1333081194":["hashtag1","hashtag2"]},{"1333081191":["hashtag1","hashtag2"]},{"1333081169":["hashtag1","hashtag2"]},{"1333081178":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333081198, 1333081186, 1333081194, 1333081191, 1333081169, 1333081178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.959853649139404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:08:32.396517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/07/image_30012025_20_07_16_10456.jpg', '/home/pi/Desktop/images/30012025/20/07/image_30012025_20_07_25_9351.jpg', '/home/pi/Desktop/images/30012025/20/07/image_30012025_20_07_36_10513.jpg', '/home/pi/Desktop/images/30012025/20/07/image_30012025_20_07_45_9370.jpg', '/home/pi/Desktop/images/30012025/20/07/image_30012025_20_07_56_10332.jpg', '/home/pi/Desktop/images/30012025/20/07/image_30012025_20_08_06_10446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/07/image_30012025_20_07_16_10456.jpg
/home/pi/Desktop/images/30012025/20/07/image_30012025_20_07_25_9351.jpg
/home/pi/Desktop/images/30012025/20/07/image_30012025_20_07_36_10513.jpg
/home/pi/Desktop/images/30012025/20/07/image_30012025_20_07_45_9370.jpg
/home/pi/Desktop/images/30012025/20/07/image_30012025_20_07_56_10332.jpg
/home/pi/Desktop/images/30012025/20/07/image_30012025_20_08_06_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":["1333081260","1333081254","1333081248","1333081268","1333081265","1333081238"],"photo_ids_order":["1333081238","1333081248","1333081254","1333081260","1333081265","1333081268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/74f66601f4b4334efc5f369a447607a2.jpg","text":"TemporaryFile(/tmp/multipartBody4488876391734972428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264173359,"filename":"image_30012025_20_07_45_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/30/83f6eccca0ab2b0186ad5cc4d888a28d.jpg","text":"TemporaryFile(/tmp/multipartBody4189318379546661421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264173359,"filename":"image_30012025_20_07_36_10513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/81b860839b29de5f3e973fbc07e84928.jpg","text":"TemporaryFile(/tmp/multipartBody2500238606691281758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264173359,"filename":"image_30012025_20_07_25_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5ffb536201f963566f7d06e840b81ca2.jpg","text":"TemporaryFile(/tmp/multipartBody1518567169961043465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264173359,"filename":"image_30012025_20_08_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/30/b3a6857c36e3f067ae27783d8c9e7139.jpg","text":"TemporaryFile(/tmp/multipartBody5390866795575008385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264173359,"filename":"image_30012025_20_07_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/30/6b3424c50717b752b3acf1167e34131f.jpg","text":"TemporaryFile(/tmp/multipartBody8323519410708206027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264173359,"filename":"image_30012025_20_07_16_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333081254","file1":"1333081248","file0":"1333081238","file4":"1333081265","file5":"1333081268","file3":"1333081260"},"map_files_photo_id_array":[{"photo_id":"1333081268","filename":"file5"},{"photo_id":"1333081254","filename":"file2"},{"photo_id":"1333081265","filename":"file4"},{"photo_id":"1333081248","filename":"file1"},{"photo_id":"1333081238","filename":"file0"},{"photo_id":"1333081260","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333081260":["hashtag1","hashtag2"]},{"1333081254":["hashtag1","hashtag2"]},{"1333081248":["hashtag1","hashtag2"]},{"1333081268":["hashtag1","hashtag2"]},{"1333081265":["hashtag1","hashtag2"]},{"1333081238":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333081260, 1333081254, 1333081248, 1333081268, 1333081265, 1333081238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.49054431915283 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:09:32.624922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/08/image_30012025_20_08_15_9374.jpg', '/home/pi/Desktop/images/30012025/20/08/image_30012025_20_08_26_10490.jpg', '/home/pi/Desktop/images/30012025/20/08/image_30012025_20_08_35_9410.jpg', '/home/pi/Desktop/images/30012025/20/08/image_30012025_20_08_46_10368.jpg', '/home/pi/Desktop/images/30012025/20/08/image_30012025_20_08_55_9451.jpg', '/home/pi/Desktop/images/30012025/20/08/image_30012025_20_09_06_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/08/image_30012025_20_08_15_9374.jpg
/home/pi/Desktop/images/30012025/20/08/image_30012025_20_08_26_10490.jpg
/home/pi/Desktop/images/30012025/20/08/image_30012025_20_08_35_9410.jpg
/home/pi/Desktop/images/30012025/20/08/image_30012025_20_08_46_10368.jpg
/home/pi/Desktop/images/30012025/20/08/image_30012025_20_08_55_9451.jpg
/home/pi/Desktop/images/30012025/20/08/image_30012025_20_09_06_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":["1333081319","1333081291","1333081309","1333081303","1333081306","1333081295"],"photo_ids_order":["1333081291","1333081295","1333081303","1333081306","1333081309","1333081319"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3c8bf4077e3328ea73a9250e6ccda574.jpg","text":"TemporaryFile(/tmp/multipartBody1587777596953432999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264233542,"filename":"image_30012025_20_09_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/30/d16b18958e41de475943aa8b5ae8a50f.jpg","text":"TemporaryFile(/tmp/multipartBody8196613778288046689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264233542,"filename":"image_30012025_20_08_15_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/30/f47e9eb814f00c556d164819e5d3e2a0.jpg","text":"TemporaryFile(/tmp/multipartBody904433068030797574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264233542,"filename":"image_30012025_20_08_55_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ba9f9e62fd38c30fccedf3f228b0f684.jpg","text":"TemporaryFile(/tmp/multipartBody1430019236120688184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264233542,"filename":"image_30012025_20_08_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/30/1517d63ddbb8428e58fce3c222b26efa.jpg","text":"TemporaryFile(/tmp/multipartBody4744727698632060185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264233542,"filename":"image_30012025_20_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/30/2fb48626bdd0b255a896f2d19f168280.jpg","text":"TemporaryFile(/tmp/multipartBody6150135745708229251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264233542,"filename":"image_30012025_20_08_26_10490.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333081303","file1":"1333081295","file0":"1333081291","file4":"1333081309","file5":"1333081319","file3":"1333081306"},"map_files_photo_id_array":[{"photo_id":"1333081319","filename":"file5"},{"photo_id":"1333081303","filename":"file2"},{"photo_id":"1333081309","filename":"file4"},{"photo_id":"1333081295","filename":"file1"},{"photo_id":"1333081291","filename":"file0"},{"photo_id":"1333081306","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333081319":["hashtag1","hashtag2"]},{"1333081291":["hashtag1","hashtag2"]},{"1333081309":["hashtag1","hashtag2"]},{"1333081303":["hashtag1","hashtag2"]},{"1333081306":["hashtag1","hashtag2"]},{"1333081295":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333081319, 1333081291, 1333081309, 1333081303, 1333081306, 1333081295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.905630588531494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:10:32.928600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/09/image_30012025_20_09_16_10457.jpg', '/home/pi/Desktop/images/30012025/20/09/image_30012025_20_09_25_9340.jpg', '/home/pi/Desktop/images/30012025/20/09/image_30012025_20_09_36_10361.jpg', '/home/pi/Desktop/images/30012025/20/09/image_30012025_20_09_46_10437.jpg', '/home/pi/Desktop/images/30012025/20/09/image_30012025_20_09_56_9369.jpg', '/home/pi/Desktop/images/30012025/20/09/image_30012025_20_10_06_10531.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/09/image_30012025_20_09_16_10457.jpg
/home/pi/Desktop/images/30012025/20/09/image_30012025_20_09_25_9340.jpg
/home/pi/Desktop/images/30012025/20/09/image_30012025_20_09_36_10361.jpg
/home/pi/Desktop/images/30012025/20/09/image_30012025_20_09_46_10437.jpg
/home/pi/Desktop/images/30012025/20/09/image_30012025_20_09_56_9369.jpg
/home/pi/Desktop/images/30012025/20/09/image_30012025_20_10_06_10531.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5332136154174805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 20:10:42.870840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/09/image_30012025_20_09_16_10457.jpg', '/home/pi/Desktop/images/30012025/20/09/image_30012025_20_09_25_9340.jpg', '/home/pi/Desktop/images/30012025/20/09/image_30012025_20_09_36_10361.jpg', '/home/pi/Desktop/images/30012025/20/09/image_30012025_20_09_46_10437.jpg', '/home/pi/Desktop/images/30012025/20/09/image_30012025_20_09_56_9369.jpg', '/home/pi/Desktop/images/30012025/20/09/image_30012025_20_10_06_10531.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/09/image_30012025_20_09_16_10457.jpg
/home/pi/Desktop/images/30012025/20/09/image_30012025_20_09_25_9340.jpg
/home/pi/Desktop/images/30012025/20/09/image_30012025_20_09_36_10361.jpg
/home/pi/Desktop/images/30012025/20/09/image_30012025_20_09_46_10437.jpg
/home/pi/Desktop/images/30012025/20/09/image_30012025_20_09_56_9369.jpg
/home/pi/Desktop/images/30012025/20/09/image_30012025_20_10_06_10531.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333081381","1333081372","1333081366","1333081357","1333081377","1333081362"],"photo_ids_order":["1333081357","1333081362","1333081366","1333081372","1333081377","1333081381"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4e7df31ea6fefd783190598a66a09749.jpg","text":"TemporaryFile(/tmp/multipartBody1816904774463330945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264303779,"filename":"image_30012025_20_10_06_10531.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/51d3c3efea5a715b7869f54ec404a239.jpg","text":"TemporaryFile(/tmp/multipartBody6698716556097329908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264303779,"filename":"image_30012025_20_09_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/30/b2720c14c81766b4e54eb6850b25505b.jpg","text":"TemporaryFile(/tmp/multipartBody3890168640363827391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264303779,"filename":"image_30012025_20_09_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/30/9dccc5bdcecfd1ea20f5d0492f2cc86c.jpg","text":"TemporaryFile(/tmp/multipartBody2745886192141513446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264303779,"filename":"image_30012025_20_09_16_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/30/5045652db53f2119d72bd11b580d1fa8.jpg","text":"TemporaryFile(/tmp/multipartBody7088743772785411677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264303779,"filename":"image_30012025_20_09_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/30/5fe4cb5ce2e558c4c5bdb7b38df34edf.jpg","text":"TemporaryFile(/tmp/multipartBody7459161125418978079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264303779,"filename":"image_30012025_20_09_25_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333081366","file1":"1333081362","file0":"1333081357","file4":"1333081377","file5":"1333081381","file3":"1333081372"},"map_files_photo_id_array":[{"photo_id":"1333081381","filename":"file5"},{"photo_id":"1333081366","filename":"file2"},{"photo_id":"1333081377","filename":"file4"},{"photo_id":"1333081362","filename":"file1"},{"photo_id":"1333081357","filename":"file0"},{"photo_id":"1333081372","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333081381":["hashtag1","hashtag2"]},{"1333081372":["hashtag1","hashtag2"]},{"1333081366":["hashtag1","hashtag2"]},{"1333081357":["hashtag1","hashtag2"]},{"1333081377":["hashtag1","hashtag2"]},{"1333081362":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333081381, 1333081372, 1333081366, 1333081357, 1333081377, 1333081362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.03052544593811 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:11:32.986827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/10/image_30012025_20_10_15_9352.jpg', '/home/pi/Desktop/images/30012025/20/10/image_30012025_20_10_26_10575.jpg', '/home/pi/Desktop/images/30012025/20/10/image_30012025_20_10_46_10371.jpg', '/home/pi/Desktop/images/30012025/20/10/image_30012025_20_10_56_10438.jpg', '/home/pi/Desktop/images/30012025/20/10/image_30012025_20_11_05_9343.jpg', '/home/pi/Desktop/images/30012025/20/11/image_30012025_20_11_16_10414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/10/image_30012025_20_10_15_9352.jpg
/home/pi/Desktop/images/30012025/20/10/image_30012025_20_10_26_10575.jpg
/home/pi/Desktop/images/30012025/20/10/image_30012025_20_10_46_10371.jpg
/home/pi/Desktop/images/30012025/20/10/image_30012025_20_10_56_10438.jpg
/home/pi/Desktop/images/30012025/20/10/image_30012025_20_11_05_9343.jpg
/home/pi/Desktop/images/30012025/20/11/image_30012025_20_11_16_10414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333081424","1333081412","1333081402","1333081398","1333081428","1333081407"],"photo_ids_order":["1333081398","1333081402","1333081407","1333081412","1333081424","1333081428"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ccc83a02d394e334b013e44c46134cb9.jpg","text":"TemporaryFile(/tmp/multipartBody1992676019704190443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264353922,"filename":"image_30012025_20_11_05_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/470a3f9a2bad5c52c4e9757b293d2126.jpg","text":"TemporaryFile(/tmp/multipartBody7796724250260362326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264353922,"filename":"image_30012025_20_10_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/30/c1dee8d1e1c1774b78095ec90e88069c.jpg","text":"TemporaryFile(/tmp/multipartBody8389221936488965726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264353922,"filename":"image_30012025_20_10_26_10575.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fec207a0f78b623df258f2d53ef2f8c4.jpg","text":"TemporaryFile(/tmp/multipartBody1982786582111322273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264353922,"filename":"image_30012025_20_10_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/30/ff4346a90271258602030e086d86efb2.jpg","text":"TemporaryFile(/tmp/multipartBody5445435824616156475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264353922,"filename":"image_30012025_20_11_16_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6d51d7d0d9778ce10f574052e7b76a68.jpg","text":"TemporaryFile(/tmp/multipartBody2507343798061206517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264353922,"filename":"image_30012025_20_10_46_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333081407","file1":"1333081402","file0":"1333081398","file4":"1333081424","file5":"1333081428","file3":"1333081412"},"map_files_photo_id_array":[{"photo_id":"1333081428","filename":"file5"},{"photo_id":"1333081407","filename":"file2"},{"photo_id":"1333081424","filename":"file4"},{"photo_id":"1333081402","filename":"file1"},{"photo_id":"1333081398","filename":"file0"},{"photo_id":"1333081412","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333081424":["hashtag1","hashtag2"]},{"1333081412":["hashtag1","hashtag2"]},{"1333081402":["hashtag1","hashtag2"]},{"1333081398":["hashtag1","hashtag2"]},{"1333081428":["hashtag1","hashtag2"]},{"1333081407":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333081424, 1333081412, 1333081402, 1333081398, 1333081428, 1333081407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.648250579833984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:12:32.331732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/11/image_30012025_20_11_25_9343.jpg', '/home/pi/Desktop/images/30012025/20/11/image_30012025_20_11_36_10449.jpg', '/home/pi/Desktop/images/30012025/20/11/image_30012025_20_11_46_10365.jpg', '/home/pi/Desktop/images/30012025/20/11/image_30012025_20_11_55_9331.jpg', '/home/pi/Desktop/images/30012025/20/11/image_30012025_20_12_06_10344.jpg', '/home/pi/Desktop/images/30012025/20/12/image_30012025_20_12_16_10425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/11/image_30012025_20_11_25_9343.jpg
/home/pi/Desktop/images/30012025/20/11/image_30012025_20_11_36_10449.jpg
/home/pi/Desktop/images/30012025/20/11/image_30012025_20_11_46_10365.jpg
/home/pi/Desktop/images/30012025/20/11/image_30012025_20_11_55_9331.jpg
/home/pi/Desktop/images/30012025/20/11/image_30012025_20_12_06_10344.jpg
/home/pi/Desktop/images/30012025/20/12/image_30012025_20_12_16_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":["1333081471","1333081450","1333081474","1333081441","1333081464","1333081457"],"photo_ids_order":["1333081441","1333081450","1333081457","1333081464","1333081471","1333081474"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/aa781b204141342393c3902f5a6d46de.jpg","text":"TemporaryFile(/tmp/multipartBody5470773386098130493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264413257,"filename":"image_30012025_20_12_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/30/6c285b0e3aab8061f9ed2675e563f9d8.jpg","text":"TemporaryFile(/tmp/multipartBody201334369898643288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264413257,"filename":"image_30012025_20_11_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/30/7b6c7a057e3652523a00988d06685d55.jpg","text":"TemporaryFile(/tmp/multipartBody8971452975052825326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264413257,"filename":"image_30012025_20_12_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/30/239d8dd555a7fe6fb5f77baa8b57c4a3.jpg","text":"TemporaryFile(/tmp/multipartBody6262905522557292537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264413257,"filename":"image_30012025_20_11_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/30/ed8c25f15e7d8c0da524ac023819e051.jpg","text":"TemporaryFile(/tmp/multipartBody8967409515747498833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264413257,"filename":"image_30012025_20_11_55_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/08958d7b69d4999207698db7dc592bd0.jpg","text":"TemporaryFile(/tmp/multipartBody810512264655750532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264413257,"filename":"image_30012025_20_11_46_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333081457","file1":"1333081450","file0":"1333081441","file4":"1333081471","file5":"1333081474","file3":"1333081464"},"map_files_photo_id_array":[{"photo_id":"1333081474","filename":"file5"},{"photo_id":"1333081457","filename":"file2"},{"photo_id":"1333081471","filename":"file4"},{"photo_id":"1333081450","filename":"file1"},{"photo_id":"1333081441","filename":"file0"},{"photo_id":"1333081464","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333081471":["hashtag1","hashtag2"]},{"1333081450":["hashtag1","hashtag2"]},{"1333081474":["hashtag1","hashtag2"]},{"1333081441":["hashtag1","hashtag2"]},{"1333081464":["hashtag1","hashtag2"]},{"1333081457":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333081471, 1333081450, 1333081474, 1333081441, 1333081464, 1333081457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.800413846969604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:13:32.611359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/12/image_30012025_20_12_26_9340.jpg', '/home/pi/Desktop/images/30012025/20/12/image_30012025_20_12_36_10418.jpg', '/home/pi/Desktop/images/30012025/20/12/image_30012025_20_12_45_9376.jpg', '/home/pi/Desktop/images/30012025/20/12/image_30012025_20_12_56_10344.jpg', '/home/pi/Desktop/images/30012025/20/12/image_30012025_20_13_06_10446.jpg', '/home/pi/Desktop/images/30012025/20/13/image_30012025_20_13_15_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/12/image_30012025_20_12_26_9340.jpg
/home/pi/Desktop/images/30012025/20/12/image_30012025_20_12_36_10418.jpg
/home/pi/Desktop/images/30012025/20/12/image_30012025_20_12_45_9376.jpg
/home/pi/Desktop/images/30012025/20/12/image_30012025_20_12_56_10344.jpg
/home/pi/Desktop/images/30012025/20/12/image_30012025_20_13_06_10446.jpg
/home/pi/Desktop/images/30012025/20/13/image_30012025_20_13_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":["1333081678","1333081507","1333081501","1333081695","1333081497","1333081524"],"photo_ids_order":["1333081497","1333081501","1333081507","1333081524","1333081678","1333081695"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ec4c11759a46975674098fff2e8291e5.jpg","text":"TemporaryFile(/tmp/multipartBody8775028961484002029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264473535,"filename":"image_30012025_20_13_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/30/2f0f1fc7c38d5a43e9aea0581856713f.jpg","text":"TemporaryFile(/tmp/multipartBody2423710427793373302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264473535,"filename":"image_30012025_20_12_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/30/0d4925ece07c0d2044af06d3c0c53949.jpg","text":"TemporaryFile(/tmp/multipartBody6374507882107409192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264473535,"filename":"image_30012025_20_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/30/cd84549dfac6734db81744e5894b9731.jpg","text":"TemporaryFile(/tmp/multipartBody4671188709410786529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264473535,"filename":"image_30012025_20_13_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/30/5edaa0a91856c8692dddb0ed0cf6a94e.jpg","text":"TemporaryFile(/tmp/multipartBody7617647598835085192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264473535,"filename":"image_30012025_20_12_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/30/8a7a37855519135ed316305db355e2c4.jpg","text":"TemporaryFile(/tmp/multipartBody61154057817991807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264473535,"filename":"image_30012025_20_12_56_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333081507","file1":"1333081501","file0":"1333081497","file4":"1333081678","file5":"1333081695","file3":"1333081524"},"map_files_photo_id_array":[{"photo_id":"1333081695","filename":"file5"},{"photo_id":"1333081507","filename":"file2"},{"photo_id":"1333081678","filename":"file4"},{"photo_id":"1333081501","filename":"file1"},{"photo_id":"1333081497","filename":"file0"},{"photo_id":"1333081524","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333081678":["hashtag1","hashtag2"]},{"1333081507":["hashtag1","hashtag2"]},{"1333081501":["hashtag1","hashtag2"]},{"1333081695":["hashtag1","hashtag2"]},{"1333081497":["hashtag1","hashtag2"]},{"1333081524":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333081678, 1333081507, 1333081501, 1333081695, 1333081497, 1333081524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29529404640198 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:14:32.672816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/13/image_30012025_20_13_26_10539.jpg', '/home/pi/Desktop/images/30012025/20/13/image_30012025_20_13_35_9356.jpg', '/home/pi/Desktop/images/30012025/20/13/image_30012025_20_13_46_10362.jpg', '/home/pi/Desktop/images/30012025/20/13/image_30012025_20_13_56_10359.jpg', '/home/pi/Desktop/images/30012025/20/13/image_30012025_20_14_05_9347.jpg', '/home/pi/Desktop/images/30012025/20/14/image_30012025_20_14_16_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/13/image_30012025_20_13_26_10539.jpg
/home/pi/Desktop/images/30012025/20/13/image_30012025_20_13_35_9356.jpg
/home/pi/Desktop/images/30012025/20/13/image_30012025_20_13_46_10362.jpg
/home/pi/Desktop/images/30012025/20/13/image_30012025_20_13_56_10359.jpg
/home/pi/Desktop/images/30012025/20/13/image_30012025_20_14_05_9347.jpg
/home/pi/Desktop/images/30012025/20/14/image_30012025_20_14_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":["1333081804","1333081794","1333081788","1333081778","1333081838","1333081847"],"photo_ids_order":["1333081778","1333081788","1333081794","1333081804","1333081838","1333081847"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0398f1c27fbb47ed7b990e760b7f0dc7.jpg","text":"TemporaryFile(/tmp/multipartBody1846144883772313958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264533613,"filename":"image_30012025_20_13_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/30/2846d90648c91c8ba7df8aec29c15731.jpg","text":"TemporaryFile(/tmp/multipartBody3955827836398680241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264533613,"filename":"image_30012025_20_13_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/30/36193c7e5a999a80715a497a9b53d952.jpg","text":"TemporaryFile(/tmp/multipartBody6146758224994597172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264533613,"filename":"image_30012025_20_13_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/30/8e08db54fcf5fa07f1b3c5a561d49a9a.jpg","text":"TemporaryFile(/tmp/multipartBody1794779866406638527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264533613,"filename":"image_30012025_20_13_26_10539.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fc0ee7d00cb249db1df1718a43486c6c.jpg","text":"TemporaryFile(/tmp/multipartBody454725802890252635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264533613,"filename":"image_30012025_20_14_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/30/4278efd6a5443972d010a1449eed10fd.jpg","text":"TemporaryFile(/tmp/multipartBody5742721571189216454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264533613,"filename":"image_30012025_20_14_16_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333081794","file1":"1333081788","file0":"1333081778","file4":"1333081838","file5":"1333081847","file3":"1333081804"},"map_files_photo_id_array":[{"photo_id":"1333081847","filename":"file5"},{"photo_id":"1333081794","filename":"file2"},{"photo_id":"1333081838","filename":"file4"},{"photo_id":"1333081788","filename":"file1"},{"photo_id":"1333081778","filename":"file0"},{"photo_id":"1333081804","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333081804":["hashtag1","hashtag2"]},{"1333081794":["hashtag1","hashtag2"]},{"1333081788":["hashtag1","hashtag2"]},{"1333081778":["hashtag1","hashtag2"]},{"1333081838":["hashtag1","hashtag2"]},{"1333081847":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333081804, 1333081794, 1333081788, 1333081778, 1333081838, 1333081847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.914061069488525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:15:33.048675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/14/image_30012025_20_14_26_10403.jpg', '/home/pi/Desktop/images/30012025/20/14/image_30012025_20_14_36_9340.jpg', '/home/pi/Desktop/images/30012025/20/14/image_30012025_20_14_46_10407.jpg', '/home/pi/Desktop/images/30012025/20/14/image_30012025_20_14_55_9332.jpg', '/home/pi/Desktop/images/30012025/20/14/image_30012025_20_15_06_10347.jpg', '/home/pi/Desktop/images/30012025/20/15/image_30012025_20_15_16_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/14/image_30012025_20_14_26_10403.jpg
/home/pi/Desktop/images/30012025/20/14/image_30012025_20_14_36_9340.jpg
/home/pi/Desktop/images/30012025/20/14/image_30012025_20_14_46_10407.jpg
/home/pi/Desktop/images/30012025/20/14/image_30012025_20_14_55_9332.jpg
/home/pi/Desktop/images/30012025/20/14/image_30012025_20_15_06_10347.jpg
/home/pi/Desktop/images/30012025/20/15/image_30012025_20_15_16_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333081894","1333081900","1333081884","1333081878","1333081905","1333081889"],"photo_ids_order":["1333081878","1333081884","1333081889","1333081894","1333081900","1333081905"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/da2c1dca97bca1aed7aa2fd12711a04c.jpg","text":"TemporaryFile(/tmp/multipartBody5935242042818951898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264593957,"filename":"image_30012025_20_14_55_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/92da01a998d66153584c70558b66c919.jpg","text":"TemporaryFile(/tmp/multipartBody1445372954497342828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264593957,"filename":"image_30012025_20_15_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/30/e9b89928f6a8f797e3b97e7fcb0cb894.jpg","text":"TemporaryFile(/tmp/multipartBody5727359206569467008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264593957,"filename":"image_30012025_20_14_36_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f065874324655be52c2988dce2bcd980.jpg","text":"TemporaryFile(/tmp/multipartBody1814461522744503744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264593957,"filename":"image_30012025_20_14_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/30/1de2b7f0be90710d645c39c84cb79781.jpg","text":"TemporaryFile(/tmp/multipartBody5238177881425261225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264593957,"filename":"image_30012025_20_15_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/30/ff6729040d8bb1571ee400e14c2ff79a.jpg","text":"TemporaryFile(/tmp/multipartBody9075650164773844380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264593957,"filename":"image_30012025_20_14_46_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333081889","file1":"1333081884","file0":"1333081878","file4":"1333081900","file5":"1333081905","file3":"1333081894"},"map_files_photo_id_array":[{"photo_id":"1333081905","filename":"file5"},{"photo_id":"1333081889","filename":"file2"},{"photo_id":"1333081900","filename":"file4"},{"photo_id":"1333081884","filename":"file1"},{"photo_id":"1333081878","filename":"file0"},{"photo_id":"1333081894","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333081894":["hashtag1","hashtag2"]},{"1333081900":["hashtag1","hashtag2"]},{"1333081884":["hashtag1","hashtag2"]},{"1333081878":["hashtag1","hashtag2"]},{"1333081905":["hashtag1","hashtag2"]},{"1333081889":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333081894, 1333081900, 1333081884, 1333081878, 1333081905, 1333081889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.006897926330566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:16:33.094993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/15/image_30012025_20_15_25_9343.jpg', '/home/pi/Desktop/images/30012025/20/15/image_30012025_20_15_36_10371.jpg', '/home/pi/Desktop/images/30012025/20/15/image_30012025_20_15_46_10359.jpg', '/home/pi/Desktop/images/30012025/20/15/image_30012025_20_15_55_9342.jpg', '/home/pi/Desktop/images/30012025/20/15/image_30012025_20_16_06_10344.jpg', '/home/pi/Desktop/images/30012025/20/16/image_30012025_20_16_16_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/15/image_30012025_20_15_25_9343.jpg
/home/pi/Desktop/images/30012025/20/15/image_30012025_20_15_36_10371.jpg
/home/pi/Desktop/images/30012025/20/15/image_30012025_20_15_46_10359.jpg
/home/pi/Desktop/images/30012025/20/15/image_30012025_20_15_55_9342.jpg
/home/pi/Desktop/images/30012025/20/15/image_30012025_20_16_06_10344.jpg
/home/pi/Desktop/images/30012025/20/16/image_30012025_20_16_16_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.5164909362792969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 20:16:43.118860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/15/image_30012025_20_15_25_9343.jpg', '/home/pi/Desktop/images/30012025/20/15/image_30012025_20_15_36_10371.jpg', '/home/pi/Desktop/images/30012025/20/15/image_30012025_20_15_46_10359.jpg', '/home/pi/Desktop/images/30012025/20/15/image_30012025_20_15_55_9342.jpg', '/home/pi/Desktop/images/30012025/20/15/image_30012025_20_16_06_10344.jpg', '/home/pi/Desktop/images/30012025/20/16/image_30012025_20_16_16_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/15/image_30012025_20_15_25_9343.jpg
/home/pi/Desktop/images/30012025/20/15/image_30012025_20_15_36_10371.jpg
/home/pi/Desktop/images/30012025/20/15/image_30012025_20_15_46_10359.jpg
/home/pi/Desktop/images/30012025/20/15/image_30012025_20_15_55_9342.jpg
/home/pi/Desktop/images/30012025/20/15/image_30012025_20_16_06_10344.jpg
/home/pi/Desktop/images/30012025/20/16/image_30012025_20_16_16_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":["1333081960","1333081954","1333081957","1333081945","1333081950","1333081937"],"photo_ids_order":["1333081937","1333081945","1333081950","1333081954","1333081957","1333081960"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fddde1c36f181f6070af2a49236f3582.jpg","text":"TemporaryFile(/tmp/multipartBody2486414080433832094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264664026,"filename":"image_30012025_20_16_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/30/d8124b5efc47f9f2ba2481f3127277bb.jpg","text":"TemporaryFile(/tmp/multipartBody8754641825526814808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264664026,"filename":"image_30012025_20_15_55_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d581943828f2a03adaf4394c89c19f34.jpg","text":"TemporaryFile(/tmp/multipartBody6644822263276997133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264664026,"filename":"image_30012025_20_16_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/30/255e043157410343d4cd4b8acf78c884.jpg","text":"TemporaryFile(/tmp/multipartBody2583066030131876398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264664026,"filename":"image_30012025_20_15_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/30/7698705fbc156641afd77092d0b9fe34.jpg","text":"TemporaryFile(/tmp/multipartBody2739653302848165231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264664026,"filename":"image_30012025_20_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/30/aff0a3b4277cfef6736d7031bbc4f829.jpg","text":"TemporaryFile(/tmp/multipartBody7890735286425018153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264664026,"filename":"image_30012025_20_15_25_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333081950","file1":"1333081945","file0":"1333081937","file4":"1333081957","file5":"1333081960","file3":"1333081954"},"map_files_photo_id_array":[{"photo_id":"1333081960","filename":"file5"},{"photo_id":"1333081950","filename":"file2"},{"photo_id":"1333081957","filename":"file4"},{"photo_id":"1333081945","filename":"file1"},{"photo_id":"1333081937","filename":"file0"},{"photo_id":"1333081954","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333081960":["hashtag1","hashtag2"]},{"1333081954":["hashtag1","hashtag2"]},{"1333081957":["hashtag1","hashtag2"]},{"1333081945":["hashtag1","hashtag2"]},{"1333081950":["hashtag1","hashtag2"]},{"1333081937":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333081960, 1333081954, 1333081957, 1333081945, 1333081950, 1333081937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.56522059440613 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:17:32.367927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/16/image_30012025_20_16_25_9330.jpg', '/home/pi/Desktop/images/30012025/20/16/image_30012025_20_16_36_10346.jpg', '/home/pi/Desktop/images/30012025/20/16/image_30012025_20_16_46_10376.jpg', '/home/pi/Desktop/images/30012025/20/16/image_30012025_20_16_55_9356.jpg', '/home/pi/Desktop/images/30012025/20/16/image_30012025_20_17_06_10488.jpg', '/home/pi/Desktop/images/30012025/20/17/image_30012025_20_17_15_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/16/image_30012025_20_16_25_9330.jpg
/home/pi/Desktop/images/30012025/20/16/image_30012025_20_16_36_10346.jpg
/home/pi/Desktop/images/30012025/20/16/image_30012025_20_16_46_10376.jpg
/home/pi/Desktop/images/30012025/20/16/image_30012025_20_16_55_9356.jpg
/home/pi/Desktop/images/30012025/20/16/image_30012025_20_17_06_10488.jpg
/home/pi/Desktop/images/30012025/20/17/image_30012025_20_17_15_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":["1333081984","1333081995","1333081980","1333081992","1333081974","1333081988"],"photo_ids_order":["1333081974","1333081980","1333081984","1333081988","1333081992","1333081995"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6942ca868fd59be7e5789f5c608d78f1.jpg","text":"TemporaryFile(/tmp/multipartBody1361635275108656851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264713278,"filename":"image_30012025_20_16_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/30/879278bb5c895031f7446a9a611f8576.jpg","text":"TemporaryFile(/tmp/multipartBody6117973550573879408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264713278,"filename":"image_30012025_20_17_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/30/53107e7f5a630a2295d98a3b44499c06.jpg","text":"TemporaryFile(/tmp/multipartBody3843443127522536840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264713278,"filename":"image_30012025_20_16_36_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a11d275fda435e6aabf3becd244b59e9.jpg","text":"TemporaryFile(/tmp/multipartBody1375797750970724580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264713278,"filename":"image_30012025_20_17_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/30/75708e776dfd9c00a82d843604409aff.jpg","text":"TemporaryFile(/tmp/multipartBody5586781630754719764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264713278,"filename":"image_30012025_20_16_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/30/6e9bd378944096fbb8966a93381faad8.jpg","text":"TemporaryFile(/tmp/multipartBody1000006086751162495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264713278,"filename":"image_30012025_20_16_55_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333081984","file1":"1333081980","file0":"1333081974","file4":"1333081992","file5":"1333081995","file3":"1333081988"},"map_files_photo_id_array":[{"photo_id":"1333081995","filename":"file5"},{"photo_id":"1333081984","filename":"file2"},{"photo_id":"1333081992","filename":"file4"},{"photo_id":"1333081980","filename":"file1"},{"photo_id":"1333081974","filename":"file0"},{"photo_id":"1333081988","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333081984":["hashtag1","hashtag2"]},{"1333081995":["hashtag1","hashtag2"]},{"1333081980":["hashtag1","hashtag2"]},{"1333081992":["hashtag1","hashtag2"]},{"1333081974":["hashtag1","hashtag2"]},{"1333081988":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333081984, 1333081995, 1333081980, 1333081992, 1333081974, 1333081988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.97321557998657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:18:32.715567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/17/image_30012025_20_17_26_10354.jpg', '/home/pi/Desktop/images/30012025/20/17/image_30012025_20_17_36_10408.jpg', '/home/pi/Desktop/images/30012025/20/17/image_30012025_20_17_45_9349.jpg', '/home/pi/Desktop/images/30012025/20/17/image_30012025_20_17_56_10348.jpg', '/home/pi/Desktop/images/30012025/20/17/image_30012025_20_18_06_10356.jpg', '/home/pi/Desktop/images/30012025/20/18/image_30012025_20_18_15_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/17/image_30012025_20_17_26_10354.jpg
/home/pi/Desktop/images/30012025/20/17/image_30012025_20_17_36_10408.jpg
/home/pi/Desktop/images/30012025/20/17/image_30012025_20_17_45_9349.jpg
/home/pi/Desktop/images/30012025/20/17/image_30012025_20_17_56_10348.jpg
/home/pi/Desktop/images/30012025/20/17/image_30012025_20_18_06_10356.jpg
/home/pi/Desktop/images/30012025/20/18/image_30012025_20_18_15_9333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333082040","1333082019","1333082036","1333082030","1333082024","1333082012"],"photo_ids_order":["1333082012","1333082019","1333082024","1333082030","1333082036","1333082040"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/54cdb7ec50169b360466cd6634c48b65.jpg","text":"TemporaryFile(/tmp/multipartBody1020414590257705605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264773616,"filename":"image_30012025_20_18_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/30/168a92c08c12a6d85cb77913f6a53dca.jpg","text":"TemporaryFile(/tmp/multipartBody6783799676194539425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264773616,"filename":"image_30012025_20_17_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/30/9feda90b1ffe1bf25ca002300be047a2.jpg","text":"TemporaryFile(/tmp/multipartBody477819759895585930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264773616,"filename":"image_30012025_20_18_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/30/ae321efae2b3d891d41a743915afdf07.jpg","text":"TemporaryFile(/tmp/multipartBody2109776954883436314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264773616,"filename":"image_30012025_20_17_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/30/363205390b3e8f974b07ebbdfc424d41.jpg","text":"TemporaryFile(/tmp/multipartBody7176373304646327077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264773616,"filename":"image_30012025_20_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/30/16a23c127105fc0e0ad75d318caf8927.jpg","text":"TemporaryFile(/tmp/multipartBody5862225053135051577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264773616,"filename":"image_30012025_20_17_26_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333082024","file1":"1333082019","file0":"1333082012","file4":"1333082036","file5":"1333082040","file3":"1333082030"},"map_files_photo_id_array":[{"photo_id":"1333082040","filename":"file5"},{"photo_id":"1333082024","filename":"file2"},{"photo_id":"1333082036","filename":"file4"},{"photo_id":"1333082019","filename":"file1"},{"photo_id":"1333082012","filename":"file0"},{"photo_id":"1333082030","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333082040":["hashtag1","hashtag2"]},{"1333082019":["hashtag1","hashtag2"]},{"1333082036":["hashtag1","hashtag2"]},{"1333082030":["hashtag1","hashtag2"]},{"1333082024":["hashtag1","hashtag2"]},{"1333082012":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333082040, 1333082019, 1333082036, 1333082030, 1333082024, 1333082012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.568384647369385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:19:32.799620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/18/image_30012025_20_18_36_10407.jpg', '/home/pi/Desktop/images/30012025/20/18/image_30012025_20_18_46_9343.jpg', '/home/pi/Desktop/images/30012025/20/18/image_30012025_20_18_56_10417.jpg', '/home/pi/Desktop/images/30012025/20/18/image_30012025_20_19_05_9414.jpg', '/home/pi/Desktop/images/30012025/20/19/image_30012025_20_19_16_10348.jpg', '/home/pi/Desktop/images/30012025/20/19/image_30012025_20_19_26_10400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/18/image_30012025_20_18_36_10407.jpg
/home/pi/Desktop/images/30012025/20/18/image_30012025_20_18_46_9343.jpg
/home/pi/Desktop/images/30012025/20/18/image_30012025_20_18_56_10417.jpg
/home/pi/Desktop/images/30012025/20/18/image_30012025_20_19_05_9414.jpg
/home/pi/Desktop/images/30012025/20/19/image_30012025_20_19_16_10348.jpg
/home/pi/Desktop/images/30012025/20/19/image_30012025_20_19_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":["1333082140","1333082128","1333082119","1333082135","1333082144","1333082114"],"photo_ids_order":["1333082114","1333082119","1333082128","1333082135","1333082140","1333082144"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f4738f0129c0b5bb56ac0ad0d32efdcc.jpg","text":"TemporaryFile(/tmp/multipartBody4777987718528102876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264833702,"filename":"image_30012025_20_19_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/30/f93f670566f1a939f0040ee19ccfebb4.jpg","text":"TemporaryFile(/tmp/multipartBody280975653836757231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264833702,"filename":"image_30012025_20_18_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/30/080c8b31af7a9a359cc24f6ec8869848.jpg","text":"TemporaryFile(/tmp/multipartBody2974172304808516982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264833702,"filename":"image_30012025_20_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/30/1da781a014eb1ee77781d132d5bb0c24.jpg","text":"TemporaryFile(/tmp/multipartBody8535256169906515022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264833702,"filename":"image_30012025_20_19_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/30/07a662106308d7eb8364ae725ef280a3.jpg","text":"TemporaryFile(/tmp/multipartBody8371870376376200528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264833702,"filename":"image_30012025_20_19_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/30/9a3a2d919193b3e1fe750016c7ed2e8b.jpg","text":"TemporaryFile(/tmp/multipartBody1399991504684381958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264833702,"filename":"image_30012025_20_18_36_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333082128","file1":"1333082119","file0":"1333082114","file4":"1333082140","file5":"1333082144","file3":"1333082135"},"map_files_photo_id_array":[{"photo_id":"1333082144","filename":"file5"},{"photo_id":"1333082128","filename":"file2"},{"photo_id":"1333082140","filename":"file4"},{"photo_id":"1333082119","filename":"file1"},{"photo_id":"1333082114","filename":"file0"},{"photo_id":"1333082135","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333082140":["hashtag1","hashtag2"]},{"1333082128":["hashtag1","hashtag2"]},{"1333082119":["hashtag1","hashtag2"]},{"1333082135":["hashtag1","hashtag2"]},{"1333082144":["hashtag1","hashtag2"]},{"1333082114":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333082140, 1333082128, 1333082119, 1333082135, 1333082144, 1333082114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.94137954711914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:20:33.073671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/19/image_30012025_20_19_35_9340.jpg', '/home/pi/Desktop/images/30012025/20/19/image_30012025_20_19_46_10484.jpg', '/home/pi/Desktop/images/30012025/20/19/image_30012025_20_19_55_9340.jpg', '/home/pi/Desktop/images/30012025/20/19/image_30012025_20_20_06_10373.jpg', '/home/pi/Desktop/images/30012025/20/20/image_30012025_20_20_16_10444.jpg', '/home/pi/Desktop/images/30012025/20/20/image_30012025_20_20_26_9491.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/19/image_30012025_20_19_35_9340.jpg
/home/pi/Desktop/images/30012025/20/19/image_30012025_20_19_46_10484.jpg
/home/pi/Desktop/images/30012025/20/19/image_30012025_20_19_55_9340.jpg
/home/pi/Desktop/images/30012025/20/19/image_30012025_20_20_06_10373.jpg
/home/pi/Desktop/images/30012025/20/20/image_30012025_20_20_16_10444.jpg
/home/pi/Desktop/images/30012025/20/20/image_30012025_20_20_26_9491.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5484263896942139 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 20:20:43.010324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/19/image_30012025_20_19_35_9340.jpg', '/home/pi/Desktop/images/30012025/20/19/image_30012025_20_19_46_10484.jpg', '/home/pi/Desktop/images/30012025/20/19/image_30012025_20_19_55_9340.jpg', '/home/pi/Desktop/images/30012025/20/19/image_30012025_20_20_06_10373.jpg', '/home/pi/Desktop/images/30012025/20/20/image_30012025_20_20_16_10444.jpg', '/home/pi/Desktop/images/30012025/20/20/image_30012025_20_20_26_9491.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/19/image_30012025_20_19_35_9340.jpg
/home/pi/Desktop/images/30012025/20/19/image_30012025_20_19_46_10484.jpg
/home/pi/Desktop/images/30012025/20/19/image_30012025_20_19_55_9340.jpg
/home/pi/Desktop/images/30012025/20/19/image_30012025_20_20_06_10373.jpg
/home/pi/Desktop/images/30012025/20/20/image_30012025_20_20_16_10444.jpg
/home/pi/Desktop/images/30012025/20/20/image_30012025_20_20_26_9491.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333082191","1333082187","1333082181","1333082192","1333082174","1333082194"],"photo_ids_order":["1333082174","1333082181","1333082187","1333082191","1333082192","1333082194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/aa07f0de0e55fdd9c3dc550bdbe97d72.jpg","text":"TemporaryFile(/tmp/multipartBody2957891358807194987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264903924,"filename":"image_30012025_20_20_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/30/ccf44097e0195f12f9cf32e5676b0828.jpg","text":"TemporaryFile(/tmp/multipartBody7198342334439502812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264903924,"filename":"image_30012025_20_19_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/30/b31175a5bc90d8f74fb1de2b54f7845b.jpg","text":"TemporaryFile(/tmp/multipartBody9056281123595142202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264903924,"filename":"image_30012025_20_19_46_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/30/12080dc00b13c36b5bd73d21c9ed07b7.jpg","text":"TemporaryFile(/tmp/multipartBody3638846781198818964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264903924,"filename":"image_30012025_20_20_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/30/62cf5aacce695c4a7ea8335388cd85eb.jpg","text":"TemporaryFile(/tmp/multipartBody6333446985337401736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264903924,"filename":"image_30012025_20_19_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/30/80cd24ee26d94a5133c82868b5a55ca9.jpg","text":"TemporaryFile(/tmp/multipartBody8502216067394354351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264903924,"filename":"image_30012025_20_20_26_9491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333082187","file1":"1333082181","file0":"1333082174","file4":"1333082192","file5":"1333082194","file3":"1333082191"},"map_files_photo_id_array":[{"photo_id":"1333082194","filename":"file5"},{"photo_id":"1333082187","filename":"file2"},{"photo_id":"1333082192","filename":"file4"},{"photo_id":"1333082181","filename":"file1"},{"photo_id":"1333082174","filename":"file0"},{"photo_id":"1333082191","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333082191":["hashtag1","hashtag2"]},{"1333082187":["hashtag1","hashtag2"]},{"1333082181":["hashtag1","hashtag2"]},{"1333082192":["hashtag1","hashtag2"]},{"1333082174":["hashtag1","hashtag2"]},{"1333082194":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333082191, 1333082187, 1333082181, 1333082192, 1333082174, 1333082194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.814841985702515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:21:32.250369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/20/image_30012025_20_20_36_10351.jpg', '/home/pi/Desktop/images/30012025/20/20/image_30012025_20_20_45_9481.jpg', '/home/pi/Desktop/images/30012025/20/20/image_30012025_20_20_56_10349.jpg', '/home/pi/Desktop/images/30012025/20/21/image_30012025_20_21_15_9141.jpg', '/home/pi/Desktop/images/30012025/20/21/image_30012025_20_21_26_10450.jpg', '/home/pi/Desktop/images/30012025/20/21/image_30012025_20_21_45_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/20/image_30012025_20_20_36_10351.jpg
/home/pi/Desktop/images/30012025/20/20/image_30012025_20_20_45_9481.jpg
/home/pi/Desktop/images/30012025/20/20/image_30012025_20_20_56_10349.jpg
/home/pi/Desktop/images/30012025/20/21/image_30012025_20_21_15_9141.jpg
/home/pi/Desktop/images/30012025/20/21/image_30012025_20_21_26_10450.jpg
/home/pi/Desktop/images/30012025/20/21/image_30012025_20_21_45_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":["1333082233","1333082244","1333082238","1333082223","1333082253","1333082249"],"photo_ids_order":["1333082223","1333082233","1333082238","1333082244","1333082249","1333082253"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/30d89863aab47f12142d364ef5e7ea2f.jpg","text":"TemporaryFile(/tmp/multipartBody8026956288991058523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264953186,"filename":"image_30012025_20_20_45_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/30/b0b95a07b9ddad9bbc9b6b51b8713c87.jpg","text":"TemporaryFile(/tmp/multipartBody5862250841166575920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264953186,"filename":"image_30012025_20_21_15_9141.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/18ae24d34982d7f65bcb1467ae610805.jpg","text":"TemporaryFile(/tmp/multipartBody359511323353672261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264953186,"filename":"image_30012025_20_20_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/30/18d15238abb4b690c2852ff4b4e74e03.jpg","text":"TemporaryFile(/tmp/multipartBody2342012537570124923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264953186,"filename":"image_30012025_20_20_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/30/cb9f2f5112373317f88ec1b41c92f88c.jpg","text":"TemporaryFile(/tmp/multipartBody3204835133869202041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264953186,"filename":"image_30012025_20_21_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/30/083855c72a9b3ea7caa5959be9c73711.jpg","text":"TemporaryFile(/tmp/multipartBody9037990422300382889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738264953186,"filename":"image_30012025_20_21_26_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333082238","file1":"1333082233","file0":"1333082223","file4":"1333082249","file5":"1333082253","file3":"1333082244"},"map_files_photo_id_array":[{"photo_id":"1333082253","filename":"file5"},{"photo_id":"1333082238","filename":"file2"},{"photo_id":"1333082249","filename":"file4"},{"photo_id":"1333082233","filename":"file1"},{"photo_id":"1333082223","filename":"file0"},{"photo_id":"1333082244","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333082233":["hashtag1","hashtag2"]},{"1333082244":["hashtag1","hashtag2"]},{"1333082238":["hashtag1","hashtag2"]},{"1333082223":["hashtag1","hashtag2"]},{"1333082253":["hashtag1","hashtag2"]},{"1333082249":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333082233, 1333082244, 1333082238, 1333082223, 1333082253, 1333082249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.363006591796875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:22:32.360594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/21/image_30012025_20_21_56_10361.jpg', '/home/pi/Desktop/images/30012025/20/21/image_30012025_20_22_06_10359.jpg', '/home/pi/Desktop/images/30012025/20/22/image_30012025_20_22_16_9405.jpg', '/home/pi/Desktop/images/30012025/20/22/image_30012025_20_22_26_10393.jpg', '/home/pi/Desktop/images/30012025/20/22/image_30012025_20_22_35_9333.jpg', '/home/pi/Desktop/images/30012025/20/22/image_30012025_20_22_46_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/21/image_30012025_20_21_56_10361.jpg
/home/pi/Desktop/images/30012025/20/21/image_30012025_20_22_06_10359.jpg
/home/pi/Desktop/images/30012025/20/22/image_30012025_20_22_16_9405.jpg
/home/pi/Desktop/images/30012025/20/22/image_30012025_20_22_26_10393.jpg
/home/pi/Desktop/images/30012025/20/22/image_30012025_20_22_35_9333.jpg
/home/pi/Desktop/images/30012025/20/22/image_30012025_20_22_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":["1333082359","1333082329","1333082343","1333082322","1333082369","1333082336"],"photo_ids_order":["1333082322","1333082329","1333082336","1333082343","1333082359","1333082369"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ea20115922c6f7b9b76874d84e9c5802.jpg","text":"TemporaryFile(/tmp/multipartBody1298039949319971505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265013287,"filename":"image_30012025_20_22_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/30/5e857605802fbed5fd5d6eefaaa41f7c.jpg","text":"TemporaryFile(/tmp/multipartBody9068161410542011843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265013287,"filename":"image_30012025_20_22_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/30/65aff73440e5ccde56fde271a6b1ce3a.jpg","text":"TemporaryFile(/tmp/multipartBody1018501632392790943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265013287,"filename":"image_30012025_20_22_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/30/37e8d9713035f29829fd19727b5e0438.jpg","text":"TemporaryFile(/tmp/multipartBody298624437493625438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265013287,"filename":"image_30012025_20_21_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/30/c7ab1db50b4114633774988df0b8f40a.jpg","text":"TemporaryFile(/tmp/multipartBody1986952133474173880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265013287,"filename":"image_30012025_20_22_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/30/98befe028172c175e73900a64785c1de.jpg","text":"TemporaryFile(/tmp/multipartBody3680712772918505136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265013287,"filename":"image_30012025_20_22_16_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333082336","file1":"1333082329","file0":"1333082322","file4":"1333082359","file5":"1333082369","file3":"1333082343"},"map_files_photo_id_array":[{"photo_id":"1333082369","filename":"file5"},{"photo_id":"1333082336","filename":"file2"},{"photo_id":"1333082359","filename":"file4"},{"photo_id":"1333082329","filename":"file1"},{"photo_id":"1333082322","filename":"file0"},{"photo_id":"1333082343","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333082359":["hashtag1","hashtag2"]},{"1333082329":["hashtag1","hashtag2"]},{"1333082343":["hashtag1","hashtag2"]},{"1333082322":["hashtag1","hashtag2"]},{"1333082369":["hashtag1","hashtag2"]},{"1333082336":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333082359, 1333082329, 1333082343, 1333082322, 1333082369, 1333082336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37317442893982 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:23:32.536633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/22/image_30012025_20_22_56_10348.jpg', '/home/pi/Desktop/images/30012025/20/22/image_30012025_20_23_05_9337.jpg', '/home/pi/Desktop/images/30012025/20/23/image_30012025_20_23_16_10431.jpg', '/home/pi/Desktop/images/30012025/20/23/image_30012025_20_23_26_10419.jpg', '/home/pi/Desktop/images/30012025/20/23/image_30012025_20_23_35_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/22/image_30012025_20_22_56_10348.jpg
/home/pi/Desktop/images/30012025/20/22/image_30012025_20_23_05_9337.jpg
/home/pi/Desktop/images/30012025/20/23/image_30012025_20_23_16_10431.jpg
/home/pi/Desktop/images/30012025/20/23/image_30012025_20_23_26_10419.jpg
/home/pi/Desktop/images/30012025/20/23/image_30012025_20_23_35_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":["1333082623","1333082628","1333082538","1333082418","1333082633"],"photo_ids_order":["1333082418","1333082538","1333082623","1333082628","1333082633"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/68120fa3d0b149e498ffdd7181f11388.jpg","text":"TemporaryFile(/tmp/multipartBody7048325719287404979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265073448,"filename":"image_30012025_20_23_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/30/5cc8a04dedbc9fcc6f62694b37ebfb0c.jpg","text":"TemporaryFile(/tmp/multipartBody3559477429447329646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265073448,"filename":"image_30012025_20_23_26_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/30/d6555fdd3534da0ee1fb4ca8dd242246.jpg","text":"TemporaryFile(/tmp/multipartBody937351530906581854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265073448,"filename":"image_30012025_20_23_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/30/f85bada176720021a22ae6a9a4df2d0d.jpg","text":"TemporaryFile(/tmp/multipartBody8203571714912979416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265073448,"filename":"image_30012025_20_22_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/30/ec0e7346d7ac984db2497ba808649b86.jpg","text":"TemporaryFile(/tmp/multipartBody7745722007263550310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265073448,"filename":"image_30012025_20_23_35_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333082623","file1":"1333082538","file0":"1333082418","file4":"1333082633","file3":"1333082628"},"map_files_photo_id_array":[{"photo_id":"1333082623","filename":"file2"},{"photo_id":"1333082633","filename":"file4"},{"photo_id":"1333082538","filename":"file1"},{"photo_id":"1333082418","filename":"file0"},{"photo_id":"1333082628","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333082623":["hashtag1","hashtag2"]},{"1333082628":["hashtag1","hashtag2"]},{"1333082538":["hashtag1","hashtag2"]},{"1333082418":["hashtag1","hashtag2"]},{"1333082633":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333082623, 1333082628, 1333082538, 1333082418, 1333082633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.34889459609985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:24:32.871544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/23/image_30012025_20_23_55_9440.jpg', '/home/pi/Desktop/images/30012025/20/23/image_30012025_20_24_06_10352.jpg', '/home/pi/Desktop/images/30012025/20/24/image_30012025_20_24_16_10435.jpg', '/home/pi/Desktop/images/30012025/20/24/image_30012025_20_24_25_9329.jpg', '/home/pi/Desktop/images/30012025/20/24/image_30012025_20_24_36_10422.jpg', '/home/pi/Desktop/images/30012025/20/24/image_30012025_20_24_45_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/23/image_30012025_20_23_55_9440.jpg
/home/pi/Desktop/images/30012025/20/23/image_30012025_20_24_06_10352.jpg
/home/pi/Desktop/images/30012025/20/24/image_30012025_20_24_16_10435.jpg
/home/pi/Desktop/images/30012025/20/24/image_30012025_20_24_25_9329.jpg
/home/pi/Desktop/images/30012025/20/24/image_30012025_20_24_36_10422.jpg
/home/pi/Desktop/images/30012025/20/24/image_30012025_20_24_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":["1333082740","1333082733","1333082762","1333082756","1333082726","1333082720"],"photo_ids_order":["1333082720","1333082726","1333082733","1333082740","1333082756","1333082762"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f4a178534e3685acd4a0a38111567275.jpg","text":"TemporaryFile(/tmp/multipartBody1277787085991178276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265133783,"filename":"image_30012025_20_24_25_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/30/5e925099b741a7ba2a3512f1ee84ae47.jpg","text":"TemporaryFile(/tmp/multipartBody587240581094787138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265133783,"filename":"image_30012025_20_24_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/30/a38910f1a45e0f6b492648f8c9e09bed.jpg","text":"TemporaryFile(/tmp/multipartBody613778110101841885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265133783,"filename":"image_30012025_20_24_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/30/7d2757df9dc5383ae11a3cc3c358a997.jpg","text":"TemporaryFile(/tmp/multipartBody4576429547301207162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265133783,"filename":"image_30012025_20_24_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/30/7d6fed909f15f85eb6a387a666c1d4c3.jpg","text":"TemporaryFile(/tmp/multipartBody1632088208836794817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265133783,"filename":"image_30012025_20_24_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/30/435c8fd8cd58c5a74bc7ba2438ed350c.jpg","text":"TemporaryFile(/tmp/multipartBody921350265467724560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265133783,"filename":"image_30012025_20_23_55_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333082733","file1":"1333082726","file0":"1333082720","file4":"1333082756","file5":"1333082762","file3":"1333082740"},"map_files_photo_id_array":[{"photo_id":"1333082762","filename":"file5"},{"photo_id":"1333082733","filename":"file2"},{"photo_id":"1333082756","filename":"file4"},{"photo_id":"1333082726","filename":"file1"},{"photo_id":"1333082720","filename":"file0"},{"photo_id":"1333082740","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333082740":["hashtag1","hashtag2"]},{"1333082733":["hashtag1","hashtag2"]},{"1333082762":["hashtag1","hashtag2"]},{"1333082756":["hashtag1","hashtag2"]},{"1333082726":["hashtag1","hashtag2"]},{"1333082720":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333082740, 1333082733, 1333082762, 1333082756, 1333082726, 1333082720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20524334907532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:25:32.240405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/24/image_30012025_20_24_56_10347.jpg', '/home/pi/Desktop/images/30012025/20/24/image_30012025_20_25_06_10400.jpg', '/home/pi/Desktop/images/30012025/20/25/image_30012025_20_25_26_10367.jpg', '/home/pi/Desktop/images/30012025/20/25/image_30012025_20_25_36_10486.jpg', '/home/pi/Desktop/images/30012025/20/25/image_30012025_20_25_45_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/24/image_30012025_20_24_56_10347.jpg
/home/pi/Desktop/images/30012025/20/24/image_30012025_20_25_06_10400.jpg
/home/pi/Desktop/images/30012025/20/25/image_30012025_20_25_26_10367.jpg
/home/pi/Desktop/images/30012025/20/25/image_30012025_20_25_36_10486.jpg
/home/pi/Desktop/images/30012025/20/25/image_30012025_20_25_45_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":["1333082800","1333082808","1333082795","1333082789","1333082804"],"photo_ids_order":["1333082789","1333082795","1333082800","1333082804","1333082808"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9281e4498d24e00afba1603008d2efcc.jpg","text":"TemporaryFile(/tmp/multipartBody1513961013391677014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265193133,"filename":"image_30012025_20_25_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/30/bda65f58e506e1e6a56557d966685c15.jpg","text":"TemporaryFile(/tmp/multipartBody1827929507381809475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265193133,"filename":"image_30012025_20_25_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/30/19141f5af4772b787d38b6b761521b69.jpg","text":"TemporaryFile(/tmp/multipartBody6849033593874174366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265193133,"filename":"image_30012025_20_25_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/30/677ad01b56550e667b037c4d2516a785.jpg","text":"TemporaryFile(/tmp/multipartBody7105348062345970968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265193133,"filename":"image_30012025_20_24_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/30/dfbfc6cc8ad9410d662fb672643eea1a.jpg","text":"TemporaryFile(/tmp/multipartBody8281073899287068513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265193133,"filename":"image_30012025_20_25_36_10486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333082800","file1":"1333082795","file0":"1333082789","file4":"1333082808","file3":"1333082804"},"map_files_photo_id_array":[{"photo_id":"1333082800","filename":"file2"},{"photo_id":"1333082808","filename":"file4"},{"photo_id":"1333082795","filename":"file1"},{"photo_id":"1333082789","filename":"file0"},{"photo_id":"1333082804","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333082800":["hashtag1","hashtag2"]},{"1333082808":["hashtag1","hashtag2"]},{"1333082795":["hashtag1","hashtag2"]},{"1333082789":["hashtag1","hashtag2"]},{"1333082804":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333082800, 1333082808, 1333082795, 1333082789, 1333082804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.373820304870605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:26:32.349107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/25/image_30012025_20_25_56_10462.jpg', '/home/pi/Desktop/images/30012025/20/25/image_30012025_20_26_05_9347.jpg', '/home/pi/Desktop/images/30012025/20/26/image_30012025_20_26_16_10360.jpg', '/home/pi/Desktop/images/30012025/20/26/image_30012025_20_26_26_10454.jpg', '/home/pi/Desktop/images/30012025/20/26/image_30012025_20_26_35_9348.jpg', '/home/pi/Desktop/images/30012025/20/26/image_30012025_20_26_46_10476.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/25/image_30012025_20_25_56_10462.jpg
/home/pi/Desktop/images/30012025/20/25/image_30012025_20_26_05_9347.jpg
/home/pi/Desktop/images/30012025/20/26/image_30012025_20_26_16_10360.jpg
/home/pi/Desktop/images/30012025/20/26/image_30012025_20_26_26_10454.jpg
/home/pi/Desktop/images/30012025/20/26/image_30012025_20_26_35_9348.jpg
/home/pi/Desktop/images/30012025/20/26/image_30012025_20_26_46_10476.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333083037","1333082967","1333083024","1333083076","1333083079","1333082899"],"photo_ids_order":["1333082899","1333082967","1333083024","1333083037","1333083076","1333083079"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/20539154960d6cb994ea6455833a7c76.jpg","text":"TemporaryFile(/tmp/multipartBody7432620134375946415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265253266,"filename":"image_30012025_20_26_26_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/30/6a8c0d172c5f50df4c3ad987c4a8d6a1.jpg","text":"TemporaryFile(/tmp/multipartBody6091920510099240738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265253266,"filename":"image_30012025_20_26_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/30/ea3bce2b95a9b9a48f379bfc0cfe50f5.jpg","text":"TemporaryFile(/tmp/multipartBody1302486195933267373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265253266,"filename":"image_30012025_20_26_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/30/87583c522b6c7b13c045164dd515d109.jpg","text":"TemporaryFile(/tmp/multipartBody6588591802182712332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265253266,"filename":"image_30012025_20_26_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/30/6db664f0c470a6041c1c8cbdd444093a.jpg","text":"TemporaryFile(/tmp/multipartBody4471203541169928938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265253266,"filename":"image_30012025_20_26_46_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d69ca02cc84aea64795e63bd87cd537b.jpg","text":"TemporaryFile(/tmp/multipartBody4075164427698800779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265253266,"filename":"image_30012025_20_25_56_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333083024","file1":"1333082967","file0":"1333082899","file4":"1333083076","file5":"1333083079","file3":"1333083037"},"map_files_photo_id_array":[{"photo_id":"1333083079","filename":"file5"},{"photo_id":"1333083024","filename":"file2"},{"photo_id":"1333083076","filename":"file4"},{"photo_id":"1333082967","filename":"file1"},{"photo_id":"1333082899","filename":"file0"},{"photo_id":"1333083037","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333083037":["hashtag1","hashtag2"]},{"1333082967":["hashtag1","hashtag2"]},{"1333083024":["hashtag1","hashtag2"]},{"1333083076":["hashtag1","hashtag2"]},{"1333083079":["hashtag1","hashtag2"]},{"1333082899":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333083037, 1333082967, 1333083024, 1333083076, 1333083079, 1333082899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.598833322525024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:27:32.630355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/26/image_30012025_20_26_55_9346.jpg', '/home/pi/Desktop/images/30012025/20/26/image_30012025_20_27_06_10353.jpg', '/home/pi/Desktop/images/30012025/20/27/image_30012025_20_27_16_10443.jpg', '/home/pi/Desktop/images/30012025/20/27/image_30012025_20_27_25_9338.jpg', '/home/pi/Desktop/images/30012025/20/27/image_30012025_20_27_36_10428.jpg', '/home/pi/Desktop/images/30012025/20/27/image_30012025_20_27_45_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/26/image_30012025_20_26_55_9346.jpg
/home/pi/Desktop/images/30012025/20/26/image_30012025_20_27_06_10353.jpg
/home/pi/Desktop/images/30012025/20/27/image_30012025_20_27_16_10443.jpg
/home/pi/Desktop/images/30012025/20/27/image_30012025_20_27_25_9338.jpg
/home/pi/Desktop/images/30012025/20/27/image_30012025_20_27_36_10428.jpg
/home/pi/Desktop/images/30012025/20/27/image_30012025_20_27_45_9332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333083156","1333083150","1333083144","1333083164","1333083161","1333083137"],"photo_ids_order":["1333083137","1333083144","1333083150","1333083156","1333083161","1333083164"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e1978d2fc1224c2aea62bf2890995d47.jpg","text":"TemporaryFile(/tmp/multipartBody9148249440219523389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265313550,"filename":"image_30012025_20_27_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/30/fe0555375d5ef106710f01cf269d7859.jpg","text":"TemporaryFile(/tmp/multipartBody4676285755468930880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265313550,"filename":"image_30012025_20_27_16_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/30/d91fd5d80535529351057a72d2e4ee5a.jpg","text":"TemporaryFile(/tmp/multipartBody5631744686437410853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265313550,"filename":"image_30012025_20_27_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/30/6d5f0d0674c27169d4bdb83a70f19c93.jpg","text":"TemporaryFile(/tmp/multipartBody6378881444178370253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265313550,"filename":"image_30012025_20_27_45_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/102f267488efb7d5f64dbe802f075a01.jpg","text":"TemporaryFile(/tmp/multipartBody4455020200087187416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265313550,"filename":"image_30012025_20_27_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/30/4b6ab920fa0b9aeb07965d8c80a12f46.jpg","text":"TemporaryFile(/tmp/multipartBody6400743944267422209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265313550,"filename":"image_30012025_20_26_55_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333083150","file1":"1333083144","file0":"1333083137","file4":"1333083161","file5":"1333083164","file3":"1333083156"},"map_files_photo_id_array":[{"photo_id":"1333083164","filename":"file5"},{"photo_id":"1333083150","filename":"file2"},{"photo_id":"1333083161","filename":"file4"},{"photo_id":"1333083144","filename":"file1"},{"photo_id":"1333083137","filename":"file0"},{"photo_id":"1333083156","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333083156":["hashtag1","hashtag2"]},{"1333083150":["hashtag1","hashtag2"]},{"1333083144":["hashtag1","hashtag2"]},{"1333083164":["hashtag1","hashtag2"]},{"1333083161":["hashtag1","hashtag2"]},{"1333083137":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333083156, 1333083150, 1333083144, 1333083164, 1333083161, 1333083137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20785593986511 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:28:33.100266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/27/image_30012025_20_27_56_10356.jpg', '/home/pi/Desktop/images/30012025/20/27/image_30012025_20_28_06_10431.jpg', '/home/pi/Desktop/images/30012025/20/28/image_30012025_20_28_15_9437.jpg', '/home/pi/Desktop/images/30012025/20/28/image_30012025_20_28_26_10348.jpg', '/home/pi/Desktop/images/30012025/20/28/image_30012025_20_28_36_10397.jpg', '/home/pi/Desktop/images/30012025/20/28/image_30012025_20_28_46_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/27/image_30012025_20_27_56_10356.jpg
/home/pi/Desktop/images/30012025/20/27/image_30012025_20_28_06_10431.jpg
/home/pi/Desktop/images/30012025/20/28/image_30012025_20_28_15_9437.jpg
/home/pi/Desktop/images/30012025/20/28/image_30012025_20_28_26_10348.jpg
/home/pi/Desktop/images/30012025/20/28/image_30012025_20_28_36_10397.jpg
/home/pi/Desktop/images/30012025/20/28/image_30012025_20_28_46_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":["1333083211","1333083207","1333083179","1333083199","1333083193","1333083187"],"photo_ids_order":["1333083179","1333083187","1333083193","1333083199","1333083207","1333083211"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bef7e61524e4e90284fb1a3f2e7cf24b.jpg","text":"TemporaryFile(/tmp/multipartBody748759751488261455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265374048,"filename":"image_30012025_20_28_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/30/1d02a3943d011c5b409ecf6f12f6587a.jpg","text":"TemporaryFile(/tmp/multipartBody8064410329815867648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265374048,"filename":"image_30012025_20_28_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/30/ddabceb1785e6ad537dbb1446ab0590d.jpg","text":"TemporaryFile(/tmp/multipartBody4912950717125507019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265374048,"filename":"image_30012025_20_27_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bda736b81530da26c35227035d256ed5.jpg","text":"TemporaryFile(/tmp/multipartBody5504806477596682553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265374048,"filename":"image_30012025_20_28_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/30/5a5a2eb7f5a979709a226a7c8854907c.jpg","text":"TemporaryFile(/tmp/multipartBody8004875707452993322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265374048,"filename":"image_30012025_20_28_15_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/30/b8b1ccf7d0be491bb9e5700ec93c1ce6.jpg","text":"TemporaryFile(/tmp/multipartBody6184580799226371712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265374048,"filename":"image_30012025_20_28_06_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333083193","file1":"1333083187","file0":"1333083179","file4":"1333083207","file5":"1333083211","file3":"1333083199"},"map_files_photo_id_array":[{"photo_id":"1333083211","filename":"file5"},{"photo_id":"1333083193","filename":"file2"},{"photo_id":"1333083207","filename":"file4"},{"photo_id":"1333083187","filename":"file1"},{"photo_id":"1333083179","filename":"file0"},{"photo_id":"1333083199","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333083211":["hashtag1","hashtag2"]},{"1333083207":["hashtag1","hashtag2"]},{"1333083179":["hashtag1","hashtag2"]},{"1333083199":["hashtag1","hashtag2"]},{"1333083193":["hashtag1","hashtag2"]},{"1333083187":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333083211, 1333083207, 1333083179, 1333083199, 1333083193, 1333083187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.298455476760864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:29:32.254583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/28/image_30012025_20_28_56_10448.jpg', '/home/pi/Desktop/images/30012025/20/28/image_30012025_20_29_05_9335.jpg', '/home/pi/Desktop/images/30012025/20/29/image_30012025_20_29_16_10335.jpg', '/home/pi/Desktop/images/30012025/20/29/image_30012025_20_29_26_10403.jpg', '/home/pi/Desktop/images/30012025/20/29/image_30012025_20_29_35_9327.jpg', '/home/pi/Desktop/images/30012025/20/29/image_30012025_20_29_46_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/28/image_30012025_20_28_56_10448.jpg
/home/pi/Desktop/images/30012025/20/28/image_30012025_20_29_05_9335.jpg
/home/pi/Desktop/images/30012025/20/29/image_30012025_20_29_16_10335.jpg
/home/pi/Desktop/images/30012025/20/29/image_30012025_20_29_26_10403.jpg
/home/pi/Desktop/images/30012025/20/29/image_30012025_20_29_35_9327.jpg
/home/pi/Desktop/images/30012025/20/29/image_30012025_20_29_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":["1333083293","1333083275","1333083290","1333083284","1333083271","1333083305"],"photo_ids_order":["1333083271","1333083275","1333083284","1333083290","1333083293","1333083305"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/46b7c318c3aa3e77ead7f188a2bc5fef.jpg","text":"TemporaryFile(/tmp/multipartBody8900420882239647718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265433167,"filename":"image_30012025_20_29_35_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c91713ddcb1182195624cc954d3a4eb8.jpg","text":"TemporaryFile(/tmp/multipartBody7630456264758554661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265433167,"filename":"image_30012025_20_29_05_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/35d952a973713993652321099526ffa2.jpg","text":"TemporaryFile(/tmp/multipartBody4809183345574730659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265433167,"filename":"image_30012025_20_29_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/30/2b69e9932107c0ca9efe44f2c75a858b.jpg","text":"TemporaryFile(/tmp/multipartBody7180861021688471137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265433167,"filename":"image_30012025_20_29_16_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/38ce720edd3cd5fd845e210b268aab35.jpg","text":"TemporaryFile(/tmp/multipartBody8124327014995248022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265433167,"filename":"image_30012025_20_28_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/30/7046f21ec4de6384ece7101220b9fd14.jpg","text":"TemporaryFile(/tmp/multipartBody927643236964372784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265433167,"filename":"image_30012025_20_29_46_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333083284","file1":"1333083275","file0":"1333083271","file4":"1333083293","file5":"1333083305","file3":"1333083290"},"map_files_photo_id_array":[{"photo_id":"1333083305","filename":"file5"},{"photo_id":"1333083284","filename":"file2"},{"photo_id":"1333083293","filename":"file4"},{"photo_id":"1333083275","filename":"file1"},{"photo_id":"1333083271","filename":"file0"},{"photo_id":"1333083290","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333083293":["hashtag1","hashtag2"]},{"1333083275":["hashtag1","hashtag2"]},{"1333083290":["hashtag1","hashtag2"]},{"1333083284":["hashtag1","hashtag2"]},{"1333083271":["hashtag1","hashtag2"]},{"1333083305":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333083293, 1333083275, 1333083290, 1333083284, 1333083271, 1333083305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.706865549087524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:30:32.451206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/29/image_30012025_20_29_56_10445.jpg', '/home/pi/Desktop/images/30012025/20/29/image_30012025_20_30_06_9343.jpg', '/home/pi/Desktop/images/30012025/20/30/image_30012025_20_30_25_9329.jpg', '/home/pi/Desktop/images/30012025/20/30/image_30012025_20_30_36_10346.jpg', '/home/pi/Desktop/images/30012025/20/30/image_30012025_20_30_46_10440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/29/image_30012025_20_29_56_10445.jpg
/home/pi/Desktop/images/30012025/20/29/image_30012025_20_30_06_9343.jpg
/home/pi/Desktop/images/30012025/20/30/image_30012025_20_30_25_9329.jpg
/home/pi/Desktop/images/30012025/20/30/image_30012025_20_30_36_10346.jpg
/home/pi/Desktop/images/30012025/20/30/image_30012025_20_30_46_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":["1333083346","1333083331","1333083351","1333083336","1333083341"],"photo_ids_order":["1333083331","1333083336","1333083341","1333083346","1333083351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/179e1950d550be2bc3ab9a3466f471e0.jpg","text":"TemporaryFile(/tmp/multipartBody770468569579373039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265493357,"filename":"image_30012025_20_30_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/30/71ea69c1f5f6a20e657b6a12083a08ac.jpg","text":"TemporaryFile(/tmp/multipartBody5958442798597412389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265493357,"filename":"image_30012025_20_29_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/30/939414fd5b99910711efc737120efc65.jpg","text":"TemporaryFile(/tmp/multipartBody5415950098466012695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265493357,"filename":"image_30012025_20_30_46_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/078ec821865ff76301f15f778ee1025c.jpg","text":"TemporaryFile(/tmp/multipartBody1442795496662419858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265493357,"filename":"image_30012025_20_30_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/30/5e1e4be0e72dfc60efb5f47e51890c5b.jpg","text":"TemporaryFile(/tmp/multipartBody3692386704756813958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265493357,"filename":"image_30012025_20_30_25_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333083341","file1":"1333083336","file0":"1333083331","file4":"1333083351","file3":"1333083346"},"map_files_photo_id_array":[{"photo_id":"1333083341","filename":"file2"},{"photo_id":"1333083351","filename":"file4"},{"photo_id":"1333083336","filename":"file1"},{"photo_id":"1333083331","filename":"file0"},{"photo_id":"1333083346","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333083346":["hashtag1","hashtag2"]},{"1333083331":["hashtag1","hashtag2"]},{"1333083351":["hashtag1","hashtag2"]},{"1333083336":["hashtag1","hashtag2"]},{"1333083341":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333083346, 1333083331, 1333083351, 1333083336, 1333083341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.760658979415894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:31:32.971826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/30/image_30012025_20_30_55_9350.jpg', '/home/pi/Desktop/images/30012025/20/30/image_30012025_20_31_06_10475.jpg', '/home/pi/Desktop/images/30012025/20/31/image_30012025_20_31_36_10421.jpg', '/home/pi/Desktop/images/30012025/20/31/image_30012025_20_31_45_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/30/image_30012025_20_30_55_9350.jpg
/home/pi/Desktop/images/30012025/20/30/image_30012025_20_31_06_10475.jpg
/home/pi/Desktop/images/30012025/20/31/image_30012025_20_31_36_10421.jpg
/home/pi/Desktop/images/30012025/20/31/image_30012025_20_31_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":["1333083378","1333083387","1333083374","1333083383"],"photo_ids_order":["1333083374","1333083378","1333083383","1333083387"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4bc4427dd821907ff408855c9410f4d6.jpg","text":"TemporaryFile(/tmp/multipartBody5511645619238562303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265553844,"filename":"image_30012025_20_31_06_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/30/4be37b189668370602dc2a0cf404dfe7.jpg","text":"TemporaryFile(/tmp/multipartBody3612250312329654125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265553844,"filename":"image_30012025_20_31_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/30/f9813b828db2bc0ba0f7a16fc82b5e03.jpg","text":"TemporaryFile(/tmp/multipartBody6111206746355211831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265553844,"filename":"image_30012025_20_30_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/30/6e9b9598a0947598b074a4d8ace73484.jpg","text":"TemporaryFile(/tmp/multipartBody2899778418749631215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265553844,"filename":"image_30012025_20_31_36_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333083383","file1":"1333083378","file0":"1333083374","file3":"1333083387"},"map_files_photo_id_array":[{"photo_id":"1333083383","filename":"file2"},{"photo_id":"1333083378","filename":"file1"},{"photo_id":"1333083374","filename":"file0"},{"photo_id":"1333083387","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333083378":["hashtag1","hashtag2"]},{"1333083387":["hashtag1","hashtag2"]},{"1333083374":["hashtag1","hashtag2"]},{"1333083383":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333083378, 1333083387, 1333083374, 1333083383)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 28.397277355194092 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:32:32.151323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/31/image_30012025_20_31_56_10357.jpg', '/home/pi/Desktop/images/30012025/20/31/image_30012025_20_32_05_9438.jpg', '/home/pi/Desktop/images/30012025/20/32/image_30012025_20_32_16_10350.jpg', '/home/pi/Desktop/images/30012025/20/32/image_30012025_20_32_26_10437.jpg', '/home/pi/Desktop/images/30012025/20/32/image_30012025_20_32_46_10510.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/31/image_30012025_20_31_56_10357.jpg
/home/pi/Desktop/images/30012025/20/31/image_30012025_20_32_05_9438.jpg
/home/pi/Desktop/images/30012025/20/32/image_30012025_20_32_16_10350.jpg
/home/pi/Desktop/images/30012025/20/32/image_30012025_20_32_26_10437.jpg
/home/pi/Desktop/images/30012025/20/32/image_30012025_20_32_46_10510.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333083901","1333083896","1333084052","1333083905","1333084098"],"photo_ids_order":["1333083896","1333083901","1333083905","1333084052","1333084098"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f5472cb6d36e4b7705c8f2f3bcdb7349.jpg","text":"TemporaryFile(/tmp/multipartBody4017219868286838157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265613047,"filename":"image_30012025_20_32_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/30/aa6b00e65bdb46e5cf072b401225d4d0.jpg","text":"TemporaryFile(/tmp/multipartBody6451702297361517129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265613047,"filename":"image_30012025_20_31_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/30/bdb1a0ba9eebcb3287b3c8fc07d49766.jpg","text":"TemporaryFile(/tmp/multipartBody2948673314613569317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265613047,"filename":"image_30012025_20_32_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/30/895eb16eceeaec588a3ada3f063c26a4.jpg","text":"TemporaryFile(/tmp/multipartBody1431408468770700968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265613047,"filename":"image_30012025_20_32_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/30/8ef458ea12743b09fd73920d6c677756.jpg","text":"TemporaryFile(/tmp/multipartBody2330181212241429454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265613047,"filename":"image_30012025_20_32_46_10510.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333083905","file1":"1333083901","file0":"1333083896","file4":"1333084098","file3":"1333084052"},"map_files_photo_id_array":[{"photo_id":"1333083905","filename":"file2"},{"photo_id":"1333084098","filename":"file4"},{"photo_id":"1333083901","filename":"file1"},{"photo_id":"1333083896","filename":"file0"},{"photo_id":"1333084052","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333083901":["hashtag1","hashtag2"]},{"1333083896":["hashtag1","hashtag2"]},{"1333084052":["hashtag1","hashtag2"]},{"1333083905":["hashtag1","hashtag2"]},{"1333084098":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333083901, 1333083896, 1333084052, 1333083905, 1333084098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.124760389328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:33:32.307995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/32/image_30012025_20_32_55_9348.jpg', '/home/pi/Desktop/images/30012025/20/32/image_30012025_20_33_06_10346.jpg', '/home/pi/Desktop/images/30012025/20/33/image_30012025_20_33_16_10387.jpg', '/home/pi/Desktop/images/30012025/20/33/image_30012025_20_33_36_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/32/image_30012025_20_32_55_9348.jpg
/home/pi/Desktop/images/30012025/20/32/image_30012025_20_33_06_10346.jpg
/home/pi/Desktop/images/30012025/20/33/image_30012025_20_33_16_10387.jpg
/home/pi/Desktop/images/30012025/20/33/image_30012025_20_33_36_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":["1333084370","1333084364","1333084378","1333084374"],"photo_ids_order":["1333084364","1333084370","1333084374","1333084378"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/42a47e65c6798d9ec61ebeb5a063e01f.jpg","text":"TemporaryFile(/tmp/multipartBody1088529674271850347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265673226,"filename":"image_30012025_20_33_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/30/51456a22ebaca1e51200200dd75b5a98.jpg","text":"TemporaryFile(/tmp/multipartBody1000686015240098181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265673226,"filename":"image_30012025_20_32_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/30/95eb3a5b2ea338aff5efe0662bb8eeee.jpg","text":"TemporaryFile(/tmp/multipartBody6872440107226065255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265673226,"filename":"image_30012025_20_33_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/30/6b8a0612f3cf18344d7c6aec5aba95a5.jpg","text":"TemporaryFile(/tmp/multipartBody6968358034428170460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265673226,"filename":"image_30012025_20_33_16_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333084374","file1":"1333084370","file0":"1333084364","file3":"1333084378"},"map_files_photo_id_array":[{"photo_id":"1333084374","filename":"file2"},{"photo_id":"1333084370","filename":"file1"},{"photo_id":"1333084364","filename":"file0"},{"photo_id":"1333084378","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333084370":["hashtag1","hashtag2"]},{"1333084364":["hashtag1","hashtag2"]},{"1333084378":["hashtag1","hashtag2"]},{"1333084374":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333084370, 1333084364, 1333084378, 1333084374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.882928133010864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 20:34:03.369904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/31/image_28012025_21_31_15_10441.jpg', '/home/pi/Desktop/images/28012025/21/31/image_28012025_21_31_25_9372.jpg', '/home/pi/Desktop/images/28012025/21/31/image_28012025_21_31_35_10350.jpg', '/home/pi/Desktop/images/28012025/21/31/image_28012025_21_31_45_10449.jpg', '/home/pi/Desktop/images/28012025/21/31/image_28012025_21_31_55_9346.jpg', '/home/pi/Desktop/images/28012025/21/31/image_28012025_21_32_05_10479.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/31/image_28012025_21_31_15_10441.jpg
/home/pi/Desktop/images/28012025/21/31/image_28012025_21_31_25_9372.jpg
/home/pi/Desktop/images/28012025/21/31/image_28012025_21_31_35_10350.jpg
/home/pi/Desktop/images/28012025/21/31/image_28012025_21_31_45_10449.jpg
/home/pi/Desktop/images/28012025/21/31/image_28012025_21_31_55_9346.jpg
/home/pi/Desktop/images/28012025/21/31/image_28012025_21_32_05_10479.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.311293601989746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:34:32.569525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/33/image_30012025_20_33_55_9350.jpg', '/home/pi/Desktop/images/30012025/20/33/image_30012025_20_34_06_10376.jpg', '/home/pi/Desktop/images/30012025/20/34/image_30012025_20_34_16_10366.jpg', '/home/pi/Desktop/images/30012025/20/34/image_30012025_20_34_25_9359.jpg', '/home/pi/Desktop/images/30012025/20/34/image_30012025_20_34_36_10453.jpg', '/home/pi/Desktop/images/30012025/20/34/image_30012025_20_34_45_9434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/33/image_30012025_20_33_55_9350.jpg
/home/pi/Desktop/images/30012025/20/33/image_30012025_20_34_06_10376.jpg
/home/pi/Desktop/images/30012025/20/34/image_30012025_20_34_16_10366.jpg
/home/pi/Desktop/images/30012025/20/34/image_30012025_20_34_25_9359.jpg
/home/pi/Desktop/images/30012025/20/34/image_30012025_20_34_36_10453.jpg
/home/pi/Desktop/images/30012025/20/34/image_30012025_20_34_45_9434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333084715","1333084817","1333084505","1333084427","1333084612","1333084912"],"photo_ids_order":["1333084427","1333084505","1333084612","1333084715","1333084817","1333084912"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5097f136637e1238bd7ffd5d527d1699.jpg","text":"TemporaryFile(/tmp/multipartBody9115197421947383292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265733479,"filename":"image_30012025_20_34_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/30/0beb8618cb978835a7586126a49d30c1.jpg","text":"TemporaryFile(/tmp/multipartBody8724571713195344500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265733479,"filename":"image_30012025_20_34_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/30/eec5bc221062c2eb8dd627966332845e.jpg","text":"TemporaryFile(/tmp/multipartBody8823032175044206377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265733479,"filename":"image_30012025_20_34_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/30/04b2ab2b260df5b7d282f051ff11d416.jpg","text":"TemporaryFile(/tmp/multipartBody2813636486571549522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265733479,"filename":"image_30012025_20_33_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/30/161adca44507b944e2f20cf199888ce1.jpg","text":"TemporaryFile(/tmp/multipartBody3561860268161440547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265733479,"filename":"image_30012025_20_34_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/30/8aa46a794a99ad7a94940d9fe605d05f.jpg","text":"TemporaryFile(/tmp/multipartBody3190681701715676659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265733479,"filename":"image_30012025_20_34_45_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333084612","file1":"1333084505","file0":"1333084427","file4":"1333084817","file5":"1333084912","file3":"1333084715"},"map_files_photo_id_array":[{"photo_id":"1333084912","filename":"file5"},{"photo_id":"1333084612","filename":"file2"},{"photo_id":"1333084817","filename":"file4"},{"photo_id":"1333084505","filename":"file1"},{"photo_id":"1333084427","filename":"file0"},{"photo_id":"1333084715","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333084715":["hashtag1","hashtag2"]},{"1333084817":["hashtag1","hashtag2"]},{"1333084505":["hashtag1","hashtag2"]},{"1333084427":["hashtag1","hashtag2"]},{"1333084612":["hashtag1","hashtag2"]},{"1333084912":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333084715, 1333084817, 1333084505, 1333084427, 1333084612, 1333084912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.66361451148987 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:35:32.764872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/34/image_30012025_20_34_56_10369.jpg', '/home/pi/Desktop/images/30012025/20/35/image_30012025_20_35_15_9346.jpg', '/home/pi/Desktop/images/30012025/20/35/image_30012025_20_35_35_9342.jpg', '/home/pi/Desktop/images/30012025/20/35/image_30012025_20_35_46_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/34/image_30012025_20_34_56_10369.jpg
/home/pi/Desktop/images/30012025/20/35/image_30012025_20_35_15_9346.jpg
/home/pi/Desktop/images/30012025/20/35/image_30012025_20_35_35_9342.jpg
/home/pi/Desktop/images/30012025/20/35/image_30012025_20_35_46_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333085820","1333086074","1333085938","1333085689"],"photo_ids_order":["1333085689","1333085820","1333085938","1333086074"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d0865e41d94f6a18017df3b6a45ab876.jpg","text":"TemporaryFile(/tmp/multipartBody457987569080047461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265793641,"filename":"image_30012025_20_35_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/30/1f359e43a95de60318ff29e590169ab6.jpg","text":"TemporaryFile(/tmp/multipartBody4809452824552594250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265793641,"filename":"image_30012025_20_35_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/30/bd5301dded7b2e87cc2d22590f198739.jpg","text":"TemporaryFile(/tmp/multipartBody185676751558535788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265793641,"filename":"image_30012025_20_35_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/30/db77349e3d14ab6b9928eae38733c5c4.jpg","text":"TemporaryFile(/tmp/multipartBody105207340240830966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265793641,"filename":"image_30012025_20_34_56_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333085938","file1":"1333085820","file0":"1333085689","file3":"1333086074"},"map_files_photo_id_array":[{"photo_id":"1333085938","filename":"file2"},{"photo_id":"1333085820","filename":"file1"},{"photo_id":"1333085689","filename":"file0"},{"photo_id":"1333086074","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333085820":["hashtag1","hashtag2"]},{"1333086074":["hashtag1","hashtag2"]},{"1333085938":["hashtag1","hashtag2"]},{"1333085689":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333085820, 1333086074, 1333085938, 1333085689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.30904269218445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 20:36:03.654832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/31/image_28012025_21_31_15_10441.jpg', '/home/pi/Desktop/images/28012025/21/31/image_28012025_21_31_25_9372.jpg', '/home/pi/Desktop/images/28012025/21/31/image_28012025_21_31_35_10350.jpg', '/home/pi/Desktop/images/28012025/21/31/image_28012025_21_31_45_10449.jpg', '/home/pi/Desktop/images/28012025/21/31/image_28012025_21_31_55_9346.jpg', '/home/pi/Desktop/images/28012025/21/31/image_28012025_21_32_05_10479.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/31/image_28012025_21_31_15_10441.jpg
/home/pi/Desktop/images/28012025/21/31/image_28012025_21_31_25_9372.jpg
/home/pi/Desktop/images/28012025/21/31/image_28012025_21_31_35_10350.jpg
/home/pi/Desktop/images/28012025/21/31/image_28012025_21_31_45_10449.jpg
/home/pi/Desktop/images/28012025/21/31/image_28012025_21_31_55_9346.jpg
/home/pi/Desktop/images/28012025/21/31/image_28012025_21_32_05_10479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333086761","1333086766","1333086745","1333086649","1333086436","1333086552"],"photo_ids_order":["1333086436","1333086552","1333086649","1333086745","1333086761","1333086766"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/865cae23fa51feb3353284215dae6f6b.jpg","text":"TemporaryFile(/tmp/multipartBody6564449250041092912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265825241,"filename":"image_28012025_21_31_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/30/5c6a211f745127c2cc4036f36f474774.jpg","text":"TemporaryFile(/tmp/multipartBody2736402158924795345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265825241,"filename":"image_28012025_21_32_05_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cf22dd9ac74060eecc67b0a552d9f84d.jpg","text":"TemporaryFile(/tmp/multipartBody8721151758101920009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265825241,"filename":"image_28012025_21_31_45_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/30/ee69485f4830df7f084197d5b5583828.jpg","text":"TemporaryFile(/tmp/multipartBody3131294798212283025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265825241,"filename":"image_28012025_21_31_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/30/07e7e905f3fc8ab4be56af0742fdb3de.jpg","text":"TemporaryFile(/tmp/multipartBody225613455182523783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265825241,"filename":"image_28012025_21_31_15_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/30/4d4f02b6daa33b1d377001f17a381e49.jpg","text":"TemporaryFile(/tmp/multipartBody4458872690950652849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265825241,"filename":"image_28012025_21_31_25_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333086649","file1":"1333086552","file0":"1333086436","file4":"1333086761","file5":"1333086766","file3":"1333086745"},"map_files_photo_id_array":[{"photo_id":"1333086766","filename":"file5"},{"photo_id":"1333086649","filename":"file2"},{"photo_id":"1333086761","filename":"file4"},{"photo_id":"1333086552","filename":"file1"},{"photo_id":"1333086436","filename":"file0"},{"photo_id":"1333086745","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333086761":["hashtag1","hashtag2"]},{"1333086766":["hashtag1","hashtag2"]},{"1333086745":["hashtag1","hashtag2"]},{"1333086649":["hashtag1","hashtag2"]},{"1333086436":["hashtag1","hashtag2"]},{"1333086552":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333086761, 1333086766, 1333086745, 1333086649, 1333086436, 1333086552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.19987106323242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:36:52.943007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/35/image_30012025_20_35_56_10380.jpg', '/home/pi/Desktop/images/30012025/20/36/image_30012025_20_36_16_10366.jpg', '/home/pi/Desktop/images/30012025/20/36/image_30012025_20_36_26_10356.jpg', '/home/pi/Desktop/images/30012025/20/36/image_30012025_20_36_35_9363.jpg', '/home/pi/Desktop/images/30012025/20/36/image_30012025_20_36_46_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/35/image_30012025_20_35_56_10380.jpg
/home/pi/Desktop/images/30012025/20/36/image_30012025_20_36_16_10366.jpg
/home/pi/Desktop/images/30012025/20/36/image_30012025_20_36_26_10356.jpg
/home/pi/Desktop/images/30012025/20/36/image_30012025_20_36_35_9363.jpg
/home/pi/Desktop/images/30012025/20/36/image_30012025_20_36_46_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.5029618740081787 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 20:37:03.652133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/35/image_30012025_20_35_56_10380.jpg', '/home/pi/Desktop/images/30012025/20/36/image_30012025_20_36_16_10366.jpg', '/home/pi/Desktop/images/30012025/20/36/image_30012025_20_36_26_10356.jpg', '/home/pi/Desktop/images/30012025/20/36/image_30012025_20_36_35_9363.jpg', '/home/pi/Desktop/images/30012025/20/36/image_30012025_20_36_46_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/35/image_30012025_20_35_56_10380.jpg
/home/pi/Desktop/images/30012025/20/36/image_30012025_20_36_16_10366.jpg
/home/pi/Desktop/images/30012025/20/36/image_30012025_20_36_26_10356.jpg
/home/pi/Desktop/images/30012025/20/36/image_30012025_20_36_35_9363.jpg
/home/pi/Desktop/images/30012025/20/36/image_30012025_20_36_46_10351.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333086982","1333086970","1333086946","1333086993","1333086962"],"photo_ids_order":["1333086946","1333086962","1333086970","1333086982","1333086993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/04d4d55e051d2bf7a7662d3c31915a70.jpg","text":"TemporaryFile(/tmp/multipartBody8386162198361222874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265884712,"filename":"image_30012025_20_36_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/30/733b1610ee35c66c7c92e1382ca743b5.jpg","text":"TemporaryFile(/tmp/multipartBody3283632167549854390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265884712,"filename":"image_30012025_20_36_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/30/b3afec9f7ffe9bd0ee850497dadbbb1b.jpg","text":"TemporaryFile(/tmp/multipartBody2854010288843379958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265884712,"filename":"image_30012025_20_35_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/30/2e2a3ee524b7869af66cf21ae51f612a.jpg","text":"TemporaryFile(/tmp/multipartBody4355925932168516666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265884712,"filename":"image_30012025_20_36_46_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/15d6ea231377352b0d0d758d2c6844a5.jpg","text":"TemporaryFile(/tmp/multipartBody8220363580131380643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265884712,"filename":"image_30012025_20_36_16_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333086970","file1":"1333086962","file0":"1333086946","file4":"1333086993","file3":"1333086982"},"map_files_photo_id_array":[{"photo_id":"1333086970","filename":"file2"},{"photo_id":"1333086993","filename":"file4"},{"photo_id":"1333086962","filename":"file1"},{"photo_id":"1333086946","filename":"file0"},{"photo_id":"1333086982","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333086982":["hashtag1","hashtag2"]},{"1333086970":["hashtag1","hashtag2"]},{"1333086946":["hashtag1","hashtag2"]},{"1333086993":["hashtag1","hashtag2"]},{"1333086962":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333086982, 1333086970, 1333086946, 1333086993, 1333086962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.304529666900635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 20:37:42.295684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/36/image_30012025_20_36_56_10437.jpg', '/home/pi/Desktop/images/30012025/20/36/image_30012025_20_37_06_9368.jpg', '/home/pi/Desktop/images/30012025/20/37/image_30012025_20_37_16_10431.jpg', '/home/pi/Desktop/images/30012025/20/37/image_30012025_20_37_25_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/36/image_30012025_20_36_56_10437.jpg
/home/pi/Desktop/images/30012025/20/36/image_30012025_20_37_06_9368.jpg
/home/pi/Desktop/images/30012025/20/37/image_30012025_20_37_16_10431.jpg
/home/pi/Desktop/images/30012025/20/37/image_30012025_20_37_25_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":["1333087006","1333087015","1333087020","1333087010"],"photo_ids_order":["1333087006","1333087010","1333087015","1333087020"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e4e0e1caeb6691da2d03ddc8082d58a5.jpg","text":"TemporaryFile(/tmp/multipartBody6778686265678889393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265923191,"filename":"image_30012025_20_36_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/30/90460214980a7cd358bb7ebea5361e5a.jpg","text":"TemporaryFile(/tmp/multipartBody1477539781342740859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265923191,"filename":"image_30012025_20_37_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/30/bcdbc2377e594e8bc6df79a8f013324b.jpg","text":"TemporaryFile(/tmp/multipartBody3079024446433015332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265923191,"filename":"image_30012025_20_37_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/30/197f843bb00915d27e3503a4474022c2.jpg","text":"TemporaryFile(/tmp/multipartBody5524199986515444730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265923191,"filename":"image_30012025_20_37_06_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333087015","file1":"1333087010","file0":"1333087006","file3":"1333087020"},"map_files_photo_id_array":[{"photo_id":"1333087015","filename":"file2"},{"photo_id":"1333087010","filename":"file1"},{"photo_id":"1333087006","filename":"file0"},{"photo_id":"1333087020","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333087006":["hashtag1","hashtag2"]},{"1333087015":["hashtag1","hashtag2"]},{"1333087020":["hashtag1","hashtag2"]},{"1333087010":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333087006, 1333087015, 1333087020, 1333087010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.893545389175415 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:38:32.370292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/37/image_30012025_20_37_56_10363.jpg', '/home/pi/Desktop/images/30012025/20/37/image_30012025_20_38_06_10454.jpg', '/home/pi/Desktop/images/30012025/20/38/image_30012025_20_38_15_9331.jpg', '/home/pi/Desktop/images/30012025/20/38/image_30012025_20_38_26_10415.jpg', '/home/pi/Desktop/images/30012025/20/38/image_30012025_20_38_35_9392.jpg', '/home/pi/Desktop/images/30012025/20/38/image_30012025_20_38_46_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/37/image_30012025_20_37_56_10363.jpg
/home/pi/Desktop/images/30012025/20/37/image_30012025_20_38_06_10454.jpg
/home/pi/Desktop/images/30012025/20/38/image_30012025_20_38_15_9331.jpg
/home/pi/Desktop/images/30012025/20/38/image_30012025_20_38_26_10415.jpg
/home/pi/Desktop/images/30012025/20/38/image_30012025_20_38_35_9392.jpg
/home/pi/Desktop/images/30012025/20/38/image_30012025_20_38_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":["1333087538","1333087502","1333087528","1333087314","1333087535","1333087457"],"photo_ids_order":["1333087314","1333087457","1333087502","1333087528","1333087535","1333087538"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/66370b7d86d2b3e92d7690ee7dfc4bd4.jpg","text":"TemporaryFile(/tmp/multipartBody3869192271922159161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265973291,"filename":"image_30012025_20_38_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/30/ee842ccb7134f669c24b009d2eb7d3fa.jpg","text":"TemporaryFile(/tmp/multipartBody3605641169702227274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265973291,"filename":"image_30012025_20_38_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/30/95d1de352db8a001927cd2d17c3a3f5a.jpg","text":"TemporaryFile(/tmp/multipartBody3255324512361063422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265973291,"filename":"image_30012025_20_38_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/30/2822e397cd1ab821252c5d1f202ec418.jpg","text":"TemporaryFile(/tmp/multipartBody2928080377641595991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265973291,"filename":"image_30012025_20_37_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/30/e7427575f03fb60914193c3c36ede15b.jpg","text":"TemporaryFile(/tmp/multipartBody3306572949873039949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265973291,"filename":"image_30012025_20_38_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/30/8c0e37a5a7c9558f19942a8c47883705.jpg","text":"TemporaryFile(/tmp/multipartBody379266669848868076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738265973291,"filename":"image_30012025_20_38_06_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333087502","file1":"1333087457","file0":"1333087314","file4":"1333087535","file5":"1333087538","file3":"1333087528"},"map_files_photo_id_array":[{"photo_id":"1333087538","filename":"file5"},{"photo_id":"1333087502","filename":"file2"},{"photo_id":"1333087535","filename":"file4"},{"photo_id":"1333087457","filename":"file1"},{"photo_id":"1333087314","filename":"file0"},{"photo_id":"1333087528","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333087538":["hashtag1","hashtag2"]},{"1333087502":["hashtag1","hashtag2"]},{"1333087528":["hashtag1","hashtag2"]},{"1333087314":["hashtag1","hashtag2"]},{"1333087535":["hashtag1","hashtag2"]},{"1333087457":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333087538, 1333087502, 1333087528, 1333087314, 1333087535, 1333087457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.7026891708374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:39:32.633622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/38/image_30012025_20_38_56_10365.jpg', '/home/pi/Desktop/images/30012025/20/38/image_30012025_20_39_05_9340.jpg', '/home/pi/Desktop/images/30012025/20/39/image_30012025_20_39_16_10335.jpg', '/home/pi/Desktop/images/30012025/20/39/image_30012025_20_39_26_10437.jpg', '/home/pi/Desktop/images/30012025/20/39/image_30012025_20_39_36_9450.jpg', '/home/pi/Desktop/images/30012025/20/39/image_30012025_20_39_46_10435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/38/image_30012025_20_38_56_10365.jpg
/home/pi/Desktop/images/30012025/20/38/image_30012025_20_39_05_9340.jpg
/home/pi/Desktop/images/30012025/20/39/image_30012025_20_39_16_10335.jpg
/home/pi/Desktop/images/30012025/20/39/image_30012025_20_39_26_10437.jpg
/home/pi/Desktop/images/30012025/20/39/image_30012025_20_39_36_9450.jpg
/home/pi/Desktop/images/30012025/20/39/image_30012025_20_39_46_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":["1333087672","1333087681","1333087677","1333087686","1333087722","1333087724"],"photo_ids_order":["1333087672","1333087677","1333087681","1333087686","1333087722","1333087724"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f86e4064aaf8db3d64602365f7de896b.jpg","text":"TemporaryFile(/tmp/multipartBody781782652226184887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266033620,"filename":"image_30012025_20_38_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/30/16f46d3e97919ff62ccd124ca83eab60.jpg","text":"TemporaryFile(/tmp/multipartBody8850480038693336932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266033620,"filename":"image_30012025_20_39_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/30/0f70c98121e6cd5089a34aadede2e730.jpg","text":"TemporaryFile(/tmp/multipartBody5568752993651357537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266033620,"filename":"image_30012025_20_39_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/30/4f39cc2e36c2c29a3b018eb20cf3dcd2.jpg","text":"TemporaryFile(/tmp/multipartBody7881840312854712424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266033620,"filename":"image_30012025_20_39_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/30/e0e39db88a944d7943aba9b53fb9528e.jpg","text":"TemporaryFile(/tmp/multipartBody6851845329490338287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266033620,"filename":"image_30012025_20_39_36_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/30/1868d69969d849b2284b254635668432.jpg","text":"TemporaryFile(/tmp/multipartBody2315559379188146820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266033620,"filename":"image_30012025_20_39_46_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333087681","file1":"1333087677","file0":"1333087672","file4":"1333087722","file5":"1333087724","file3":"1333087686"},"map_files_photo_id_array":[{"photo_id":"1333087724","filename":"file5"},{"photo_id":"1333087681","filename":"file2"},{"photo_id":"1333087722","filename":"file4"},{"photo_id":"1333087677","filename":"file1"},{"photo_id":"1333087672","filename":"file0"},{"photo_id":"1333087686","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333087672":["hashtag1","hashtag2"]},{"1333087681":["hashtag1","hashtag2"]},{"1333087677":["hashtag1","hashtag2"]},{"1333087686":["hashtag1","hashtag2"]},{"1333087722":["hashtag1","hashtag2"]},{"1333087724":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333087672, 1333087681, 1333087677, 1333087686, 1333087722, 1333087724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.16284489631653 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:40:32.905555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/39/image_30012025_20_39_55_9349.jpg', '/home/pi/Desktop/images/30012025/20/39/image_30012025_20_40_06_10358.jpg', '/home/pi/Desktop/images/30012025/20/40/image_30012025_20_40_25_9339.jpg', '/home/pi/Desktop/images/30012025/20/40/image_30012025_20_40_36_10345.jpg', '/home/pi/Desktop/images/30012025/20/40/image_30012025_20_40_46_10435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/39/image_30012025_20_39_55_9349.jpg
/home/pi/Desktop/images/30012025/20/39/image_30012025_20_40_06_10358.jpg
/home/pi/Desktop/images/30012025/20/40/image_30012025_20_40_25_9339.jpg
/home/pi/Desktop/images/30012025/20/40/image_30012025_20_40_36_10345.jpg
/home/pi/Desktop/images/30012025/20/40/image_30012025_20_40_46_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":["1333087774","1333087753","1333087756","1333087769","1333087778"],"photo_ids_order":["1333087753","1333087756","1333087769","1333087774","1333087778"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c39fd9a515b2956858969f50b1f722fd.jpg","text":"TemporaryFile(/tmp/multipartBody1470657256241130620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266093799,"filename":"image_30012025_20_40_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/30/e40456dd2cfa5e4e14535a315e60e3bd.jpg","text":"TemporaryFile(/tmp/multipartBody1295236757802967574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266093799,"filename":"image_30012025_20_39_55_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/aea7789a02d42beee68f7cda9473cf37.jpg","text":"TemporaryFile(/tmp/multipartBody761216080644604519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266093799,"filename":"image_30012025_20_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/30/af34b6c4355c1c53e0a0769fbe424c50.jpg","text":"TemporaryFile(/tmp/multipartBody5510180076684609281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266093799,"filename":"image_30012025_20_40_25_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/32c50b531b601df0c4559ce9f75ac012.jpg","text":"TemporaryFile(/tmp/multipartBody5734255638127373043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266093799,"filename":"image_30012025_20_40_46_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333087769","file1":"1333087756","file0":"1333087753","file4":"1333087778","file3":"1333087774"},"map_files_photo_id_array":[{"photo_id":"1333087769","filename":"file2"},{"photo_id":"1333087778","filename":"file4"},{"photo_id":"1333087756","filename":"file1"},{"photo_id":"1333087753","filename":"file0"},{"photo_id":"1333087774","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333087774":["hashtag1","hashtag2"]},{"1333087753":["hashtag1","hashtag2"]},{"1333087756":["hashtag1","hashtag2"]},{"1333087769":["hashtag1","hashtag2"]},{"1333087778":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333087774, 1333087753, 1333087756, 1333087769, 1333087778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.671483755111694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:41:33.242124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/40/image_30012025_20_40_55_9359.jpg', '/home/pi/Desktop/images/30012025/20/40/image_30012025_20_41_06_10404.jpg', '/home/pi/Desktop/images/30012025/20/41/image_30012025_20_41_15_9325.jpg', '/home/pi/Desktop/images/30012025/20/41/image_30012025_20_41_26_10391.jpg', '/home/pi/Desktop/images/30012025/20/41/image_30012025_20_41_36_10448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/40/image_30012025_20_40_55_9359.jpg
/home/pi/Desktop/images/30012025/20/40/image_30012025_20_41_06_10404.jpg
/home/pi/Desktop/images/30012025/20/41/image_30012025_20_41_15_9325.jpg
/home/pi/Desktop/images/30012025/20/41/image_30012025_20_41_26_10391.jpg
/home/pi/Desktop/images/30012025/20/41/image_30012025_20_41_36_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":["1333087816","1333087801","1333087819","1333087810","1333087806"],"photo_ids_order":["1333087801","1333087806","1333087810","1333087816","1333087819"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4b8c48a72cfebcce14b6ddefd18a6f63.jpg","text":"TemporaryFile(/tmp/multipartBody5672459992481398845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266154137,"filename":"image_30012025_20_41_26_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/30/632959c82d127a2fd113814432e40eb8.jpg","text":"TemporaryFile(/tmp/multipartBody7180021430921293933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266154137,"filename":"image_30012025_20_40_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/30/d742de2c88be567f18cde92c720cfa83.jpg","text":"TemporaryFile(/tmp/multipartBody77927596621874104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266154137,"filename":"image_30012025_20_41_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/30/18c91a79492229561769307bc234b6fe.jpg","text":"TemporaryFile(/tmp/multipartBody1490838095775160918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266154137,"filename":"image_30012025_20_41_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/30/828419be7ccc1022ab604bc77ad0ff0a.jpg","text":"TemporaryFile(/tmp/multipartBody4071482765910553984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266154137,"filename":"image_30012025_20_41_06_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333087810","file1":"1333087806","file0":"1333087801","file4":"1333087819","file3":"1333087816"},"map_files_photo_id_array":[{"photo_id":"1333087810","filename":"file2"},{"photo_id":"1333087819","filename":"file4"},{"photo_id":"1333087806","filename":"file1"},{"photo_id":"1333087801","filename":"file0"},{"photo_id":"1333087816","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333087816":["hashtag1","hashtag2"]},{"1333087801":["hashtag1","hashtag2"]},{"1333087819":["hashtag1","hashtag2"]},{"1333087810":["hashtag1","hashtag2"]},{"1333087806":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333087816, 1333087801, 1333087819, 1333087810, 1333087806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.66873788833618 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:42:32.280328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/41/image_30012025_20_41_45_9452.jpg', '/home/pi/Desktop/images/30012025/20/42/image_30012025_20_42_26_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/41/image_30012025_20_41_45_9452.jpg
/home/pi/Desktop/images/30012025/20/42/image_30012025_20_42_26_10362.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333087852","1333087847"],"photo_ids_order":["1333087847","1333087852"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d6a5d06c518a583a4d1b536fa23fcfb3.jpg","text":"TemporaryFile(/tmp/multipartBody2460261161714604618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266213127,"filename":"image_30012025_20_42_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/30/9bf6876a90e805c181b648a13060f6f0.jpg","text":"TemporaryFile(/tmp/multipartBody6703122681867471858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266213127,"filename":"image_30012025_20_41_45_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1333087852","file0":"1333087847"},"map_files_photo_id_array":[{"photo_id":"1333087852","filename":"file1"},{"photo_id":"1333087847","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333087852":["hashtag1","hashtag2"]},{"1333087847":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333087852, 1333087847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.012032985687256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:42:52.318317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/32/image_28012025_21_32_16_10341.jpg', '/home/pi/Desktop/images/28012025/21/32/image_28012025_21_32_25_9353.jpg', '/home/pi/Desktop/images/28012025/21/32/image_28012025_21_32_35_10478.jpg', '/home/pi/Desktop/images/28012025/21/32/image_28012025_21_32_45_9336.jpg', '/home/pi/Desktop/images/28012025/21/32/image_28012025_21_32_55_10395.jpg', '/home/pi/Desktop/images/28012025/21/32/image_28012025_21_33_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/21/32/image_28012025_21_32_16_10341.jpg
/home/pi/Desktop/images/28012025/21/32/image_28012025_21_32_25_9353.jpg
/home/pi/Desktop/images/28012025/21/32/image_28012025_21_32_35_10478.jpg
/home/pi/Desktop/images/28012025/21/32/image_28012025_21_32_45_9336.jpg
/home/pi/Desktop/images/28012025/21/32/image_28012025_21_32_55_10395.jpg
/home/pi/Desktop/images/28012025/21/32/image_28012025_21_33_06_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":["1333087861","1333087872","1333087866","1333087869","1333087874","1333087859"],"photo_ids_order":["1333087859","1333087861","1333087866","1333087869","1333087872","1333087874"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5218a22a68508f8d494bf134243c92f8.jpg","text":"TemporaryFile(/tmp/multipartBody1498772060806505204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266234764,"filename":"image_28012025_21_32_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/30/d130e7b2467bece716c4451eb04695cc.jpg","text":"TemporaryFile(/tmp/multipartBody228613802192444666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266234764,"filename":"image_28012025_21_32_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/30/ec0d5a4e1c1c4d13885a71f77d9a1050.jpg","text":"TemporaryFile(/tmp/multipartBody8510513030750185047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266234764,"filename":"image_28012025_21_32_35_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/30/47bcc0de8162dd057709d906aa526760.jpg","text":"TemporaryFile(/tmp/multipartBody162635375225320419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266234764,"filename":"image_28012025_21_32_45_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/30/c69e08b7bfd0ee24739298595b7f15a5.jpg","text":"TemporaryFile(/tmp/multipartBody2696679908250854985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266234764,"filename":"image_28012025_21_33_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/30/b252d891dfb22d10ca09194f578f9edd.jpg","text":"TemporaryFile(/tmp/multipartBody8673237511498429167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266234764,"filename":"image_28012025_21_32_16_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333087866","file1":"1333087861","file0":"1333087859","file4":"1333087872","file5":"1333087874","file3":"1333087869"},"map_files_photo_id_array":[{"photo_id":"1333087874","filename":"file5"},{"photo_id":"1333087866","filename":"file2"},{"photo_id":"1333087872","filename":"file4"},{"photo_id":"1333087861","filename":"file1"},{"photo_id":"1333087859","filename":"file0"},{"photo_id":"1333087869","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333087861":["hashtag1","hashtag2"]},{"1333087872":["hashtag1","hashtag2"]},{"1333087866":["hashtag1","hashtag2"]},{"1333087869":["hashtag1","hashtag2"]},{"1333087874":["hashtag1","hashtag2"]},{"1333087859":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333087861, 1333087872, 1333087866, 1333087869, 1333087874, 1333087859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.934107542037964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 20:43:42.616281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/42/image_30012025_20_42_35_9420.jpg', '/home/pi/Desktop/images/30012025/20/42/image_30012025_20_43_06_9342.jpg', '/home/pi/Desktop/images/30012025/20/43/image_30012025_20_43_16_10375.jpg', '/home/pi/Desktop/images/30012025/20/43/image_30012025_20_43_36_10344.jpg', '/home/pi/Desktop/images/30012025/20/43/image_30012025_20_43_46_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/42/image_30012025_20_42_35_9420.jpg
/home/pi/Desktop/images/30012025/20/42/image_30012025_20_43_06_9342.jpg
/home/pi/Desktop/images/30012025/20/43/image_30012025_20_43_16_10375.jpg
/home/pi/Desktop/images/30012025/20/43/image_30012025_20_43_36_10344.jpg
/home/pi/Desktop/images/30012025/20/43/image_30012025_20_43_46_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333087915","1333087918","1333087903","1333087893","1333087898"],"photo_ids_order":["1333087893","1333087898","1333087903","1333087915","1333087918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1ab62fa0f074a95cda7afe71b70fcca5.jpg","text":"TemporaryFile(/tmp/multipartBody7042717414556386335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266283526,"filename":"image_30012025_20_43_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/30/709ff6a4cc3e7dfcc5609fb0b6178988.jpg","text":"TemporaryFile(/tmp/multipartBody3600323824544313605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266283526,"filename":"image_30012025_20_43_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/30/f4589dcbe51dc27eb1d4dafe22510aa8.jpg","text":"TemporaryFile(/tmp/multipartBody6002482986181330008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266283526,"filename":"image_30012025_20_43_16_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/30/0724b9ea8c90a7a087a504b44a3e3ef8.jpg","text":"TemporaryFile(/tmp/multipartBody6246483250548108758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266283526,"filename":"image_30012025_20_42_35_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/665b52b8c55294bc72b3301306c617fa.jpg","text":"TemporaryFile(/tmp/multipartBody1672441125719143755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266283526,"filename":"image_30012025_20_43_06_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333087903","file1":"1333087898","file0":"1333087893","file4":"1333087918","file3":"1333087915"},"map_files_photo_id_array":[{"photo_id":"1333087903","filename":"file2"},{"photo_id":"1333087918","filename":"file4"},{"photo_id":"1333087898","filename":"file1"},{"photo_id":"1333087893","filename":"file0"},{"photo_id":"1333087915","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333087915":["hashtag1","hashtag2"]},{"1333087918":["hashtag1","hashtag2"]},{"1333087903":["hashtag1","hashtag2"]},{"1333087893":["hashtag1","hashtag2"]},{"1333087898":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333087915, 1333087918, 1333087903, 1333087893, 1333087898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.576056241989136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:44:32.861215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/43/image_30012025_20_43_55_9312.jpg', '/home/pi/Desktop/images/30012025/20/43/image_30012025_20_44_06_10445.jpg', '/home/pi/Desktop/images/30012025/20/44/image_30012025_20_44_15_9434.jpg', '/home/pi/Desktop/images/30012025/20/44/image_30012025_20_44_26_10362.jpg', '/home/pi/Desktop/images/30012025/20/44/image_30012025_20_44_36_10355.jpg', '/home/pi/Desktop/images/30012025/20/44/image_30012025_20_44_45_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/43/image_30012025_20_43_55_9312.jpg
/home/pi/Desktop/images/30012025/20/43/image_30012025_20_44_06_10445.jpg
/home/pi/Desktop/images/30012025/20/44/image_30012025_20_44_15_9434.jpg
/home/pi/Desktop/images/30012025/20/44/image_30012025_20_44_26_10362.jpg
/home/pi/Desktop/images/30012025/20/44/image_30012025_20_44_36_10355.jpg
/home/pi/Desktop/images/30012025/20/44/image_30012025_20_44_45_9339.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5488295555114746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 20:44:42.779408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/43/image_30012025_20_43_55_9312.jpg', '/home/pi/Desktop/images/30012025/20/43/image_30012025_20_44_06_10445.jpg', '/home/pi/Desktop/images/30012025/20/44/image_30012025_20_44_15_9434.jpg', '/home/pi/Desktop/images/30012025/20/44/image_30012025_20_44_26_10362.jpg', '/home/pi/Desktop/images/30012025/20/44/image_30012025_20_44_36_10355.jpg', '/home/pi/Desktop/images/30012025/20/44/image_30012025_20_44_45_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/43/image_30012025_20_43_55_9312.jpg
/home/pi/Desktop/images/30012025/20/43/image_30012025_20_44_06_10445.jpg
/home/pi/Desktop/images/30012025/20/44/image_30012025_20_44_15_9434.jpg
/home/pi/Desktop/images/30012025/20/44/image_30012025_20_44_26_10362.jpg
/home/pi/Desktop/images/30012025/20/44/image_30012025_20_44_36_10355.jpg
/home/pi/Desktop/images/30012025/20/44/image_30012025_20_44_45_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":["1333088014","1333088017","1333088002","1333088011","1333088045","1333088006"],"photo_ids_order":["1333088002","1333088006","1333088011","1333088014","1333088017","1333088045"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/156684c81f94fa65ad8f996f1ab0361f.jpg","text":"TemporaryFile(/tmp/multipartBody6450036651285701591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266343693,"filename":"image_30012025_20_44_26_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7e58b05ac392b4480f806cbf9298bb19.jpg","text":"TemporaryFile(/tmp/multipartBody5452700453285337724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266343693,"filename":"image_30012025_20_44_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/30/705c82ef11e59d9f586c5548ca21a57b.jpg","text":"TemporaryFile(/tmp/multipartBody886239741722403688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266343693,"filename":"image_30012025_20_43_55_9312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e2c7c10b3f94f897a4527a48d9b9fef0.jpg","text":"TemporaryFile(/tmp/multipartBody5540341027579018423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266343693,"filename":"image_30012025_20_44_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/30/26a68572f4fcce7a5274658421901a59.jpg","text":"TemporaryFile(/tmp/multipartBody4419314332191388261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266343693,"filename":"image_30012025_20_44_45_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e2ed9101a3ddbfaff02b6b2f5ab094ac.jpg","text":"TemporaryFile(/tmp/multipartBody7046974669934771825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266343693,"filename":"image_30012025_20_44_06_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333088011","file1":"1333088006","file0":"1333088002","file4":"1333088017","file5":"1333088045","file3":"1333088014"},"map_files_photo_id_array":[{"photo_id":"1333088045","filename":"file5"},{"photo_id":"1333088011","filename":"file2"},{"photo_id":"1333088017","filename":"file4"},{"photo_id":"1333088006","filename":"file1"},{"photo_id":"1333088002","filename":"file0"},{"photo_id":"1333088014","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333088014":["hashtag1","hashtag2"]},{"1333088017":["hashtag1","hashtag2"]},{"1333088002":["hashtag1","hashtag2"]},{"1333088011":["hashtag1","hashtag2"]},{"1333088045":["hashtag1","hashtag2"]},{"1333088006":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333088014, 1333088017, 1333088002, 1333088011, 1333088045, 1333088006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00023412704468 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:45:32.949572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/44/image_30012025_20_44_56_10363.jpg', '/home/pi/Desktop/images/30012025/20/44/image_30012025_20_45_06_10350.jpg', '/home/pi/Desktop/images/30012025/20/45/image_30012025_20_45_26_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/44/image_30012025_20_44_56_10363.jpg
/home/pi/Desktop/images/30012025/20/44/image_30012025_20_45_06_10350.jpg
/home/pi/Desktop/images/30012025/20/45/image_30012025_20_45_26_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":["1333088242","1333088186","1333088237"],"photo_ids_order":["1333088186","1333088237","1333088242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/13d0f0771d4dfa95fa02c860d5aa4a63.jpg","text":"TemporaryFile(/tmp/multipartBody8397721349029386648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266393812,"filename":"image_30012025_20_45_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/30/f929e99577ee15a4e0bef7df7587d669.jpg","text":"TemporaryFile(/tmp/multipartBody7073469450952968394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266393812,"filename":"image_30012025_20_44_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/30/3bc1aa00f8668758ee4d34875a01de74.jpg","text":"TemporaryFile(/tmp/multipartBody3976449534206884417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266393812,"filename":"image_30012025_20_45_06_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333088242","file1":"1333088237","file0":"1333088186"},"map_files_photo_id_array":[{"photo_id":"1333088242","filename":"file2"},{"photo_id":"1333088237","filename":"file1"},{"photo_id":"1333088186","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333088242":["hashtag1","hashtag2"]},{"1333088186":["hashtag1","hashtag2"]},{"1333088237":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333088242, 1333088186, 1333088237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.111305236816406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 20:46:02.878473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/33/image_28012025_21_33_15_9399.jpg', '/home/pi/Desktop/images/28012025/21/33/image_28012025_21_33_25_10342.jpg', '/home/pi/Desktop/images/28012025/21/33/image_28012025_21_33_36_10333.jpg', '/home/pi/Desktop/images/28012025/21/33/image_28012025_21_33_45_9396.jpg', '/home/pi/Desktop/images/28012025/21/33/image_28012025_21_33_55_10431.jpg', '/home/pi/Desktop/images/28012025/21/33/image_28012025_21_34_05_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/21/33/image_28012025_21_33_15_9399.jpg
/home/pi/Desktop/images/28012025/21/33/image_28012025_21_33_25_10342.jpg
/home/pi/Desktop/images/28012025/21/33/image_28012025_21_33_36_10333.jpg
/home/pi/Desktop/images/28012025/21/33/image_28012025_21_33_45_9396.jpg
/home/pi/Desktop/images/28012025/21/33/image_28012025_21_33_55_10431.jpg
/home/pi/Desktop/images/28012025/21/33/image_28012025_21_34_05_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333088365","1333088251","1333088253","1333088343","1333088276","1333088285"],"photo_ids_order":["1333088251","1333088253","1333088276","1333088285","1333088343","1333088365"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fdf94ff4cbc4270c6854187b2e33a2cd.jpg","text":"TemporaryFile(/tmp/multipartBody989594199902703146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266424542,"filename":"image_28012025_21_34_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/30/163ccce36667479189a046e98c05daf8.jpg","text":"TemporaryFile(/tmp/multipartBody6879994704652644029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266424542,"filename":"image_28012025_21_33_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/30/69c76a555bb8be20acebbd808d4f4d45.jpg","text":"TemporaryFile(/tmp/multipartBody1486032590033608070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266424542,"filename":"image_28012025_21_33_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/30/289a272e744623f916f3f9648d903198.jpg","text":"TemporaryFile(/tmp/multipartBody7073930127021364533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266424542,"filename":"image_28012025_21_33_55_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d356a11c1254430ca26ce6549496ab66.jpg","text":"TemporaryFile(/tmp/multipartBody3001905410498465906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266424542,"filename":"image_28012025_21_33_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/30/3a133b554593709a744febaa7104748d.jpg","text":"TemporaryFile(/tmp/multipartBody4102548915946351781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266424542,"filename":"image_28012025_21_33_45_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333088276","file1":"1333088253","file0":"1333088251","file4":"1333088343","file5":"1333088365","file3":"1333088285"},"map_files_photo_id_array":[{"photo_id":"1333088365","filename":"file5"},{"photo_id":"1333088276","filename":"file2"},{"photo_id":"1333088343","filename":"file4"},{"photo_id":"1333088253","filename":"file1"},{"photo_id":"1333088251","filename":"file0"},{"photo_id":"1333088285","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333088365":["hashtag1","hashtag2"]},{"1333088251":["hashtag1","hashtag2"]},{"1333088253":["hashtag1","hashtag2"]},{"1333088343":["hashtag1","hashtag2"]},{"1333088276":["hashtag1","hashtag2"]},{"1333088285":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333088365, 1333088251, 1333088253, 1333088343, 1333088276, 1333088285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.260104179382324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:46:52.198813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/45/image_30012025_20_45_36_10422.jpg', '/home/pi/Desktop/images/30012025/20/45/image_30012025_20_46_05_9342.jpg', '/home/pi/Desktop/images/30012025/20/46/image_30012025_20_46_16_10364.jpg', '/home/pi/Desktop/images/30012025/20/46/image_30012025_20_46_35_9359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/45/image_30012025_20_45_36_10422.jpg
/home/pi/Desktop/images/30012025/20/45/image_30012025_20_46_05_9342.jpg
/home/pi/Desktop/images/30012025/20/46/image_30012025_20_46_16_10364.jpg
/home/pi/Desktop/images/30012025/20/46/image_30012025_20_46_35_9359.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333088415","1333088456","1333088453","1333088420"],"photo_ids_order":["1333088415","1333088420","1333088453","1333088456"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cd0363fafeb735b07edd60d6a17ac1df.jpg","text":"TemporaryFile(/tmp/multipartBody8976917892368348345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266473074,"filename":"image_30012025_20_45_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/30/c8e364e29f4ff3cc1178eaac587cdd07.jpg","text":"TemporaryFile(/tmp/multipartBody920008011309888741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266473074,"filename":"image_30012025_20_46_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/30/30240d94271b48f477574c708397faa7.jpg","text":"TemporaryFile(/tmp/multipartBody8504140955400722825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266473074,"filename":"image_30012025_20_46_16_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d60b3ade9a225b0bcea9a1471ccbe793.jpg","text":"TemporaryFile(/tmp/multipartBody7176871105239607771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266473074,"filename":"image_30012025_20_46_05_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333088453","file1":"1333088420","file0":"1333088415","file3":"1333088456"},"map_files_photo_id_array":[{"photo_id":"1333088453","filename":"file2"},{"photo_id":"1333088420","filename":"file1"},{"photo_id":"1333088415","filename":"file0"},{"photo_id":"1333088456","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333088415":["hashtag1","hashtag2"]},{"1333088456":["hashtag1","hashtag2"]},{"1333088453":["hashtag1","hashtag2"]},{"1333088420":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333088415, 1333088456, 1333088453, 1333088420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.655011653900146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:47:32.446586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/46/image_30012025_20_46_56_10357.jpg', '/home/pi/Desktop/images/30012025/20/46/image_30012025_20_47_05_9379.jpg', '/home/pi/Desktop/images/30012025/20/47/image_30012025_20_47_16_10467.jpg', '/home/pi/Desktop/images/30012025/20/47/image_30012025_20_47_25_9329.jpg', '/home/pi/Desktop/images/30012025/20/47/image_30012025_20_47_36_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/46/image_30012025_20_46_56_10357.jpg
/home/pi/Desktop/images/30012025/20/46/image_30012025_20_47_05_9379.jpg
/home/pi/Desktop/images/30012025/20/47/image_30012025_20_47_16_10467.jpg
/home/pi/Desktop/images/30012025/20/47/image_30012025_20_47_25_9329.jpg
/home/pi/Desktop/images/30012025/20/47/image_30012025_20_47_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":["1333088554","1333088499","1333088568","1333088473","1333088467"],"photo_ids_order":["1333088467","1333088473","1333088499","1333088554","1333088568"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a8bfa3aadd5d1f5cf8a2be881a9f9fa0.jpg","text":"TemporaryFile(/tmp/multipartBody3754551485194139941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266513345,"filename":"image_30012025_20_47_25_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/30/3f37e3062ad2bf16a8ec886369db0e09.jpg","text":"TemporaryFile(/tmp/multipartBody8707046711348539101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266513345,"filename":"image_30012025_20_47_16_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/30/b2379940aee7fad5290f0e35facf76f2.jpg","text":"TemporaryFile(/tmp/multipartBody5213037565189458198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266513345,"filename":"image_30012025_20_47_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/30/cf1ccc282ee796d7fc1952210d672f0b.jpg","text":"TemporaryFile(/tmp/multipartBody8704855973633186967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266513345,"filename":"image_30012025_20_47_05_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/30/40e0864cc6fea204016d67451fae800d.jpg","text":"TemporaryFile(/tmp/multipartBody3478423858180141219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266513345,"filename":"image_30012025_20_46_56_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333088499","file1":"1333088473","file0":"1333088467","file4":"1333088568","file3":"1333088554"},"map_files_photo_id_array":[{"photo_id":"1333088499","filename":"file2"},{"photo_id":"1333088568","filename":"file4"},{"photo_id":"1333088473","filename":"file1"},{"photo_id":"1333088467","filename":"file0"},{"photo_id":"1333088554","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333088554":["hashtag1","hashtag2"]},{"1333088499":["hashtag1","hashtag2"]},{"1333088568":["hashtag1","hashtag2"]},{"1333088473":["hashtag1","hashtag2"]},{"1333088467":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333088554, 1333088499, 1333088568, 1333088473, 1333088467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.716538190841675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:48:32.779363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/47/image_30012025_20_47_55_9406.jpg', '/home/pi/Desktop/images/30012025/20/47/image_30012025_20_48_06_10373.jpg', '/home/pi/Desktop/images/30012025/20/48/image_30012025_20_48_15_9455.jpg', '/home/pi/Desktop/images/30012025/20/48/image_30012025_20_48_26_10343.jpg', '/home/pi/Desktop/images/30012025/20/48/image_30012025_20_48_36_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/47/image_30012025_20_47_55_9406.jpg
/home/pi/Desktop/images/30012025/20/47/image_30012025_20_48_06_10373.jpg
/home/pi/Desktop/images/30012025/20/48/image_30012025_20_48_15_9455.jpg
/home/pi/Desktop/images/30012025/20/48/image_30012025_20_48_26_10343.jpg
/home/pi/Desktop/images/30012025/20/48/image_30012025_20_48_36_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":["1333088674","1333088668","1333088662","1333088679","1333088683"],"photo_ids_order":["1333088662","1333088668","1333088674","1333088679","1333088683"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f35fdf01cc2a6df5dfb3ffce9426b791.jpg","text":"TemporaryFile(/tmp/multipartBody7867915077433844574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266573679,"filename":"image_30012025_20_48_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/30/4dbbfc0cc586a20dab676973fa7b5578.jpg","text":"TemporaryFile(/tmp/multipartBody386163935437431086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266573679,"filename":"image_30012025_20_48_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/30/78409597f17bacbaf75a78a456a92dd9.jpg","text":"TemporaryFile(/tmp/multipartBody1425838673246858314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266573679,"filename":"image_30012025_20_47_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/30/c9191074935021326f893ab7bb09fa15.jpg","text":"TemporaryFile(/tmp/multipartBody1727373786259006252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266573679,"filename":"image_30012025_20_48_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/30/801c11b378ef157d828ae2e4a09eb220.jpg","text":"TemporaryFile(/tmp/multipartBody6197867111432482572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266573679,"filename":"image_30012025_20_48_36_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333088674","file1":"1333088668","file0":"1333088662","file4":"1333088683","file3":"1333088679"},"map_files_photo_id_array":[{"photo_id":"1333088674","filename":"file2"},{"photo_id":"1333088683","filename":"file4"},{"photo_id":"1333088668","filename":"file1"},{"photo_id":"1333088662","filename":"file0"},{"photo_id":"1333088679","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333088674":["hashtag1","hashtag2"]},{"1333088668":["hashtag1","hashtag2"]},{"1333088662":["hashtag1","hashtag2"]},{"1333088679":["hashtag1","hashtag2"]},{"1333088683":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333088674, 1333088668, 1333088662, 1333088679, 1333088683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.73705315589905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:49:32.923335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/48/image_30012025_20_48_56_10355.jpg', '/home/pi/Desktop/images/30012025/20/48/image_30012025_20_49_06_10344.jpg', '/home/pi/Desktop/images/30012025/20/49/image_30012025_20_49_15_9358.jpg', '/home/pi/Desktop/images/30012025/20/49/image_30012025_20_49_26_10350.jpg', '/home/pi/Desktop/images/30012025/20/49/image_30012025_20_49_35_9466.jpg', '/home/pi/Desktop/images/30012025/20/49/image_30012025_20_49_46_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/48/image_30012025_20_48_56_10355.jpg
/home/pi/Desktop/images/30012025/20/48/image_30012025_20_49_06_10344.jpg
/home/pi/Desktop/images/30012025/20/49/image_30012025_20_49_15_9358.jpg
/home/pi/Desktop/images/30012025/20/49/image_30012025_20_49_26_10350.jpg
/home/pi/Desktop/images/30012025/20/49/image_30012025_20_49_35_9466.jpg
/home/pi/Desktop/images/30012025/20/49/image_30012025_20_49_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":["1333088769","1333088736","1333088739","1333088885","1333088887","1333088764"],"photo_ids_order":["1333088736","1333088739","1333088764","1333088769","1333088885","1333088887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b9be37332c2d7b488a57092df50a7ff4.jpg","text":"TemporaryFile(/tmp/multipartBody5251526908969327680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266633835,"filename":"image_30012025_20_49_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/30/e3db3b4fcd7f04a02a899102ddba9abb.jpg","text":"TemporaryFile(/tmp/multipartBody696576215240991535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266633835,"filename":"image_30012025_20_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/30/30d2c4ba4edc1f78b2ffdb242ea9a549.jpg","text":"TemporaryFile(/tmp/multipartBody7427163886344663530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266633835,"filename":"image_30012025_20_49_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/30/9cd51718ee59e2aefea06cd28fd96c6b.jpg","text":"TemporaryFile(/tmp/multipartBody8455497311331857044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266633835,"filename":"image_30012025_20_49_35_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1e2a4e5a86d5721a3841b72c13ca7639.jpg","text":"TemporaryFile(/tmp/multipartBody3169501407341741925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266633835,"filename":"image_30012025_20_49_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/30/0c68de99278f10aac40bb8aee652bd21.jpg","text":"TemporaryFile(/tmp/multipartBody794611495996917967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266633835,"filename":"image_30012025_20_49_15_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333088764","file1":"1333088739","file0":"1333088736","file4":"1333088885","file5":"1333088887","file3":"1333088769"},"map_files_photo_id_array":[{"photo_id":"1333088887","filename":"file5"},{"photo_id":"1333088764","filename":"file2"},{"photo_id":"1333088885","filename":"file4"},{"photo_id":"1333088739","filename":"file1"},{"photo_id":"1333088736","filename":"file0"},{"photo_id":"1333088769","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333088769":["hashtag1","hashtag2"]},{"1333088736":["hashtag1","hashtag2"]},{"1333088739":["hashtag1","hashtag2"]},{"1333088885":["hashtag1","hashtag2"]},{"1333088887":["hashtag1","hashtag2"]},{"1333088764":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333088769, 1333088736, 1333088739, 1333088885, 1333088887, 1333088764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.591954946517944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:50:32.936863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/49/image_30012025_20_49_56_10471.jpg', '/home/pi/Desktop/images/30012025/20/49/image_30012025_20_50_05_9346.jpg', '/home/pi/Desktop/images/30012025/20/50/image_30012025_20_50_16_10238.jpg', '/home/pi/Desktop/images/30012025/20/50/image_30012025_20_50_26_10339.jpg', '/home/pi/Desktop/images/30012025/20/50/image_30012025_20_50_35_9344.jpg', '/home/pi/Desktop/images/30012025/20/50/image_30012025_20_50_46_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/49/image_30012025_20_49_56_10471.jpg
/home/pi/Desktop/images/30012025/20/49/image_30012025_20_50_05_9346.jpg
/home/pi/Desktop/images/30012025/20/50/image_30012025_20_50_16_10238.jpg
/home/pi/Desktop/images/30012025/20/50/image_30012025_20_50_26_10339.jpg
/home/pi/Desktop/images/30012025/20/50/image_30012025_20_50_35_9344.jpg
/home/pi/Desktop/images/30012025/20/50/image_30012025_20_50_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":["1333089186","1333089150","1333089162","1333089156","1333089138","1333089184"],"photo_ids_order":["1333089138","1333089150","1333089156","1333089162","1333089184","1333089186"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/86463af3d52dd157c5d766170bb83ebd.jpg","text":"TemporaryFile(/tmp/multipartBody6062718947571748977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266693854,"filename":"image_30012025_20_50_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/30/4092e0283316d5930960182417080d6b.jpg","text":"TemporaryFile(/tmp/multipartBody882740664709563746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266693854,"filename":"image_30012025_20_50_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/30/bcddbf8470d08a4fdb0386aa7cf29e95.jpg","text":"TemporaryFile(/tmp/multipartBody2349687381199849734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266693854,"filename":"image_30012025_20_50_26_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/13ebddee0d6e80ab6b4349639417ff40.jpg","text":"TemporaryFile(/tmp/multipartBody24896176269367085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266693854,"filename":"image_30012025_20_50_16_10238.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1e3b679595502bac4f7cb00add8e1155.jpg","text":"TemporaryFile(/tmp/multipartBody8166224128643987631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266693854,"filename":"image_30012025_20_49_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/30/48bcf96ca5b2e81b45bc91e338dc5353.jpg","text":"TemporaryFile(/tmp/multipartBody3935264625898607949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266693854,"filename":"image_30012025_20_50_35_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333089156","file1":"1333089150","file0":"1333089138","file4":"1333089184","file5":"1333089186","file3":"1333089162"},"map_files_photo_id_array":[{"photo_id":"1333089186","filename":"file5"},{"photo_id":"1333089156","filename":"file2"},{"photo_id":"1333089184","filename":"file4"},{"photo_id":"1333089150","filename":"file1"},{"photo_id":"1333089138","filename":"file0"},{"photo_id":"1333089162","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333089186":["hashtag1","hashtag2"]},{"1333089150":["hashtag1","hashtag2"]},{"1333089162":["hashtag1","hashtag2"]},{"1333089156":["hashtag1","hashtag2"]},{"1333089138":["hashtag1","hashtag2"]},{"1333089184":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333089186, 1333089150, 1333089162, 1333089156, 1333089138, 1333089184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.58092164993286 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:51:32.187866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/50/image_30012025_20_50_56_10435.jpg', '/home/pi/Desktop/images/30012025/20/50/image_30012025_20_51_05_9350.jpg', '/home/pi/Desktop/images/30012025/20/51/image_30012025_20_51_16_10481.jpg', '/home/pi/Desktop/images/30012025/20/51/image_30012025_20_51_25_9441.jpg', '/home/pi/Desktop/images/30012025/20/51/image_30012025_20_51_36_10354.jpg', '/home/pi/Desktop/images/30012025/20/51/image_30012025_20_51_46_10448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/50/image_30012025_20_50_56_10435.jpg
/home/pi/Desktop/images/30012025/20/50/image_30012025_20_51_05_9350.jpg
/home/pi/Desktop/images/30012025/20/51/image_30012025_20_51_16_10481.jpg
/home/pi/Desktop/images/30012025/20/51/image_30012025_20_51_25_9441.jpg
/home/pi/Desktop/images/30012025/20/51/image_30012025_20_51_36_10354.jpg
/home/pi/Desktop/images/30012025/20/51/image_30012025_20_51_46_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":["1333089387","1333089357","1333089422","1333089431","1333089332","1333089427"],"photo_ids_order":["1333089332","1333089357","1333089387","1333089422","1333089427","1333089431"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bffd538af71677e8a3490c3937720304.jpg","text":"TemporaryFile(/tmp/multipartBody8087040017562611194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266753113,"filename":"image_30012025_20_51_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/30/5a3788d03c7847bdb93268e2f04f9007.jpg","text":"TemporaryFile(/tmp/multipartBody6886780852457822311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266753113,"filename":"image_30012025_20_51_05_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2ce6eb7a261fbc1a4d31fe0a3b66e14a.jpg","text":"TemporaryFile(/tmp/multipartBody71823204624595828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266753113,"filename":"image_30012025_20_51_25_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/18199564a0d3e58370f82f472bd460a2.jpg","text":"TemporaryFile(/tmp/multipartBody1773872485708111719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266753113,"filename":"image_30012025_20_51_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/30/f0b56ce6fe789912ece59892db8d41ca.jpg","text":"TemporaryFile(/tmp/multipartBody6592364897156342541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266753113,"filename":"image_30012025_20_50_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/30/6bc1fd6403efd92e04b5e4ef608d2c96.jpg","text":"TemporaryFile(/tmp/multipartBody5355188713327166118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266753113,"filename":"image_30012025_20_51_36_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333089387","file1":"1333089357","file0":"1333089332","file4":"1333089427","file5":"1333089431","file3":"1333089422"},"map_files_photo_id_array":[{"photo_id":"1333089431","filename":"file5"},{"photo_id":"1333089387","filename":"file2"},{"photo_id":"1333089427","filename":"file4"},{"photo_id":"1333089357","filename":"file1"},{"photo_id":"1333089332","filename":"file0"},{"photo_id":"1333089422","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333089387":["hashtag1","hashtag2"]},{"1333089357":["hashtag1","hashtag2"]},{"1333089422":["hashtag1","hashtag2"]},{"1333089431":["hashtag1","hashtag2"]},{"1333089332":["hashtag1","hashtag2"]},{"1333089427":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333089387, 1333089357, 1333089422, 1333089431, 1333089332, 1333089427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.40605640411377 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:52:32.382704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/51/image_30012025_20_51_55_9331.jpg', '/home/pi/Desktop/images/30012025/20/51/image_30012025_20_52_06_10465.jpg', '/home/pi/Desktop/images/30012025/20/52/image_30012025_20_52_36_10376.jpg', '/home/pi/Desktop/images/30012025/20/52/image_30012025_20_52_45_9363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/51/image_30012025_20_51_55_9331.jpg
/home/pi/Desktop/images/30012025/20/51/image_30012025_20_52_06_10465.jpg
/home/pi/Desktop/images/30012025/20/52/image_30012025_20_52_36_10376.jpg
/home/pi/Desktop/images/30012025/20/52/image_30012025_20_52_45_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":["1333089458","1333089443","1333089454","1333089448"],"photo_ids_order":["1333089443","1333089448","1333089454","1333089458"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1af5fd6c677ca528ed7fcf310f6652f7.jpg","text":"TemporaryFile(/tmp/multipartBody8756909254542136665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266813273,"filename":"image_30012025_20_52_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/30/f98c65a656b472a9647ba315a5c95995.jpg","text":"TemporaryFile(/tmp/multipartBody7820619424390010579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266813273,"filename":"image_30012025_20_51_55_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fc9a1c55debabd8d8ad6689935e061fd.jpg","text":"TemporaryFile(/tmp/multipartBody1776865394674746803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266813273,"filename":"image_30012025_20_52_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/30/2493ab3c8d45a9be9433c06d25a8de4f.jpg","text":"TemporaryFile(/tmp/multipartBody1847473668113021724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266813273,"filename":"image_30012025_20_52_06_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333089454","file1":"1333089448","file0":"1333089443","file3":"1333089458"},"map_files_photo_id_array":[{"photo_id":"1333089454","filename":"file2"},{"photo_id":"1333089448","filename":"file1"},{"photo_id":"1333089443","filename":"file0"},{"photo_id":"1333089458","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333089458":["hashtag1","hashtag2"]},{"1333089443":["hashtag1","hashtag2"]},{"1333089454":["hashtag1","hashtag2"]},{"1333089448":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333089458, 1333089443, 1333089454, 1333089448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.307788133621216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 20:53:04.009630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/34/image_28012025_21_34_15_10505.jpg', '/home/pi/Desktop/images/28012025/21/34/image_28012025_21_34_26_10343.jpg', '/home/pi/Desktop/images/28012025/21/34/image_28012025_21_34_35_9415.jpg', '/home/pi/Desktop/images/28012025/21/34/image_28012025_21_34_45_10433.jpg', '/home/pi/Desktop/images/28012025/21/34/image_28012025_21_34_55_9407.jpg', '/home/pi/Desktop/images/28012025/21/34/image_28012025_21_35_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/21/34/image_28012025_21_34_15_10505.jpg
/home/pi/Desktop/images/28012025/21/34/image_28012025_21_34_26_10343.jpg
/home/pi/Desktop/images/28012025/21/34/image_28012025_21_34_35_9415.jpg
/home/pi/Desktop/images/28012025/21/34/image_28012025_21_34_45_10433.jpg
/home/pi/Desktop/images/28012025/21/34/image_28012025_21_34_55_9407.jpg
/home/pi/Desktop/images/28012025/21/34/image_28012025_21_35_05_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":["1333089474","1333089479","1333089470","1333089484","1333089487","1333089466"],"photo_ids_order":["1333089466","1333089470","1333089474","1333089479","1333089484","1333089487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/337eecb6fa8010211297cf6db914ea9a.jpg","text":"TemporaryFile(/tmp/multipartBody5785000478999172625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266845937,"filename":"image_28012025_21_34_35_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/de0af3a7d054d3e8f3c8ee559398127d.jpg","text":"TemporaryFile(/tmp/multipartBody2443556444548597541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266845937,"filename":"image_28012025_21_34_45_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/efdf249db8e1590d3666f34b366a0c4e.jpg","text":"TemporaryFile(/tmp/multipartBody4422907170591544547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266845937,"filename":"image_28012025_21_34_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/30/d43109a529c607bdb48758aa6421b60d.jpg","text":"TemporaryFile(/tmp/multipartBody6882839150976628838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266845937,"filename":"image_28012025_21_34_55_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/30/356583bc266209fe95fc89b8b7b0cadc.jpg","text":"TemporaryFile(/tmp/multipartBody8325980724745219210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266845937,"filename":"image_28012025_21_35_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/30/adbd43bc49b878771b4598f08e659ea2.jpg","text":"TemporaryFile(/tmp/multipartBody6304559980438146377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266845937,"filename":"image_28012025_21_34_15_10505.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333089474","file1":"1333089470","file0":"1333089466","file4":"1333089484","file5":"1333089487","file3":"1333089479"},"map_files_photo_id_array":[{"photo_id":"1333089487","filename":"file5"},{"photo_id":"1333089474","filename":"file2"},{"photo_id":"1333089484","filename":"file4"},{"photo_id":"1333089470","filename":"file1"},{"photo_id":"1333089466","filename":"file0"},{"photo_id":"1333089479","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333089474":["hashtag1","hashtag2"]},{"1333089479":["hashtag1","hashtag2"]},{"1333089470":["hashtag1","hashtag2"]},{"1333089484":["hashtag1","hashtag2"]},{"1333089487":["hashtag1","hashtag2"]},{"1333089466":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333089474, 1333089479, 1333089470, 1333089484, 1333089487, 1333089466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.11834192276001 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:53:52.751814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/52/image_30012025_20_52_56_10379.jpg', '/home/pi/Desktop/images/30012025/20/52/image_30012025_20_53_06_10335.jpg', '/home/pi/Desktop/images/30012025/20/53/image_30012025_20_53_15_9350.jpg', '/home/pi/Desktop/images/30012025/20/53/image_30012025_20_53_26_10408.jpg', '/home/pi/Desktop/images/30012025/20/53/image_30012025_20_53_35_9364.jpg', '/home/pi/Desktop/images/30012025/20/53/image_30012025_20_53_46_10396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/52/image_30012025_20_52_56_10379.jpg
/home/pi/Desktop/images/30012025/20/52/image_30012025_20_53_06_10335.jpg
/home/pi/Desktop/images/30012025/20/53/image_30012025_20_53_15_9350.jpg
/home/pi/Desktop/images/30012025/20/53/image_30012025_20_53_26_10408.jpg
/home/pi/Desktop/images/30012025/20/53/image_30012025_20_53_35_9364.jpg
/home/pi/Desktop/images/30012025/20/53/image_30012025_20_53_46_10396.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5153183937072754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 20:54:03.531750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/52/image_30012025_20_52_56_10379.jpg', '/home/pi/Desktop/images/30012025/20/52/image_30012025_20_53_06_10335.jpg', '/home/pi/Desktop/images/30012025/20/53/image_30012025_20_53_15_9350.jpg', '/home/pi/Desktop/images/30012025/20/53/image_30012025_20_53_26_10408.jpg', '/home/pi/Desktop/images/30012025/20/53/image_30012025_20_53_35_9364.jpg', '/home/pi/Desktop/images/30012025/20/53/image_30012025_20_53_46_10396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/52/image_30012025_20_52_56_10379.jpg
/home/pi/Desktop/images/30012025/20/52/image_30012025_20_53_06_10335.jpg
/home/pi/Desktop/images/30012025/20/53/image_30012025_20_53_15_9350.jpg
/home/pi/Desktop/images/30012025/20/53/image_30012025_20_53_26_10408.jpg
/home/pi/Desktop/images/30012025/20/53/image_30012025_20_53_35_9364.jpg
/home/pi/Desktop/images/30012025/20/53/image_30012025_20_53_46_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333089636","1333089590","1333089542","1333089598","1333089547","1333089640"],"photo_ids_order":["1333089542","1333089547","1333089590","1333089598","1333089636","1333089640"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a97644794bd30fc2d95907afcd0af09c.jpg","text":"TemporaryFile(/tmp/multipartBody4316975966666048774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266904525,"filename":"image_30012025_20_53_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/30/897c2f6d00d58cfc9673b927f8232c6b.jpg","text":"TemporaryFile(/tmp/multipartBody4925741613949847214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266904525,"filename":"image_30012025_20_53_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/30/744dd80bb2c26cddb525edd5a756b94d.jpg","text":"TemporaryFile(/tmp/multipartBody3329272752859034069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266904525,"filename":"image_30012025_20_52_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/30/5c938298509d43254cf691c28f4aad8b.jpg","text":"TemporaryFile(/tmp/multipartBody5783243191425469293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266904525,"filename":"image_30012025_20_53_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/30/bfc8a62da337ea058f0a4dd83fd049d3.jpg","text":"TemporaryFile(/tmp/multipartBody7659095339660499196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266904525,"filename":"image_30012025_20_53_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/30/badb83130ee8b76bff0da0adcf67c430.jpg","text":"TemporaryFile(/tmp/multipartBody6089611469347170063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266904525,"filename":"image_30012025_20_53_46_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333089590","file1":"1333089547","file0":"1333089542","file4":"1333089636","file5":"1333089640","file3":"1333089598"},"map_files_photo_id_array":[{"photo_id":"1333089640","filename":"file5"},{"photo_id":"1333089590","filename":"file2"},{"photo_id":"1333089636","filename":"file4"},{"photo_id":"1333089547","filename":"file1"},{"photo_id":"1333089542","filename":"file0"},{"photo_id":"1333089598","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333089636":["hashtag1","hashtag2"]},{"1333089590":["hashtag1","hashtag2"]},{"1333089542":["hashtag1","hashtag2"]},{"1333089598":["hashtag1","hashtag2"]},{"1333089547":["hashtag1","hashtag2"]},{"1333089640":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333089636, 1333089590, 1333089542, 1333089598, 1333089547, 1333089640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.13921332359314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:54:52.864422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/53/image_30012025_20_53_56_10445.jpg', '/home/pi/Desktop/images/30012025/20/53/image_30012025_20_54_06_9446.jpg', '/home/pi/Desktop/images/30012025/20/54/image_30012025_20_54_16_10370.jpg', '/home/pi/Desktop/images/30012025/20/54/image_30012025_20_54_25_9358.jpg', '/home/pi/Desktop/images/30012025/20/54/image_30012025_20_54_46_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/53/image_30012025_20_53_56_10445.jpg
/home/pi/Desktop/images/30012025/20/53/image_30012025_20_54_06_9446.jpg
/home/pi/Desktop/images/30012025/20/54/image_30012025_20_54_16_10370.jpg
/home/pi/Desktop/images/30012025/20/54/image_30012025_20_54_25_9358.jpg
/home/pi/Desktop/images/30012025/20/54/image_30012025_20_54_46_10429.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333089756","1333089729","1333089698","1333089767","1333089710"],"photo_ids_order":["1333089698","1333089710","1333089729","1333089756","1333089767"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d8f619299059056e27f7b9f8fc40c9ee.jpg","text":"TemporaryFile(/tmp/multipartBody5246533580479253362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266953768,"filename":"image_30012025_20_54_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/30/e92e3979f0baa940b0a45db0a414050a.jpg","text":"TemporaryFile(/tmp/multipartBody6169398986478701286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266953768,"filename":"image_30012025_20_54_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/30/4d1fea32be2b85bbd09d7b2b5d0ecef2.jpg","text":"TemporaryFile(/tmp/multipartBody5307265499377692215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266953768,"filename":"image_30012025_20_53_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/30/b52afc922c380480d76d88cea1329c7d.jpg","text":"TemporaryFile(/tmp/multipartBody5268794445701985569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266953768,"filename":"image_30012025_20_54_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/30/92e1014bd3b71d6c74b6794425961ef8.jpg","text":"TemporaryFile(/tmp/multipartBody48489889124171508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266953768,"filename":"image_30012025_20_54_06_9446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333089729","file1":"1333089710","file0":"1333089698","file4":"1333089767","file3":"1333089756"},"map_files_photo_id_array":[{"photo_id":"1333089729","filename":"file2"},{"photo_id":"1333089767","filename":"file4"},{"photo_id":"1333089710","filename":"file1"},{"photo_id":"1333089698","filename":"file0"},{"photo_id":"1333089756","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333089756":["hashtag1","hashtag2"]},{"1333089729":["hashtag1","hashtag2"]},{"1333089698":["hashtag1","hashtag2"]},{"1333089767":["hashtag1","hashtag2"]},{"1333089710":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333089756, 1333089729, 1333089698, 1333089767, 1333089710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.03214979171753 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:55:33.023871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/54/image_30012025_20_54_55_9334.jpg', '/home/pi/Desktop/images/30012025/20/54/image_30012025_20_55_06_10361.jpg', '/home/pi/Desktop/images/30012025/20/55/image_30012025_20_55_16_10387.jpg', '/home/pi/Desktop/images/30012025/20/55/image_30012025_20_55_25_9327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/54/image_30012025_20_54_55_9334.jpg
/home/pi/Desktop/images/30012025/20/54/image_30012025_20_55_06_10361.jpg
/home/pi/Desktop/images/30012025/20/55/image_30012025_20_55_16_10387.jpg
/home/pi/Desktop/images/30012025/20/55/image_30012025_20_55_25_9327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333089825","1333089830","1333089821","1333089817"],"photo_ids_order":["1333089817","1333089821","1333089825","1333089830"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b0e01c33237f8de89f62cb29d78eee5c.jpg","text":"TemporaryFile(/tmp/multipartBody2644794366390619054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266993903,"filename":"image_30012025_20_55_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/30/a86284f5c11c4a63e82ea3fdf2c766f6.jpg","text":"TemporaryFile(/tmp/multipartBody7015033224333965132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266993903,"filename":"image_30012025_20_55_25_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/30/ef26c7bc8775af750f0f296e278b4b30.jpg","text":"TemporaryFile(/tmp/multipartBody6634383780440077041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266993903,"filename":"image_30012025_20_55_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/30/f204b1897c1d386804111038a2bf7a52.jpg","text":"TemporaryFile(/tmp/multipartBody4887340197787495417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738266993903,"filename":"image_30012025_20_54_55_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333089825","file1":"1333089821","file0":"1333089817","file3":"1333089830"},"map_files_photo_id_array":[{"photo_id":"1333089825","filename":"file2"},{"photo_id":"1333089821","filename":"file1"},{"photo_id":"1333089817","filename":"file0"},{"photo_id":"1333089830","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333089825":["hashtag1","hashtag2"]},{"1333089830":["hashtag1","hashtag2"]},{"1333089821":["hashtag1","hashtag2"]},{"1333089817":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333089825, 1333089830, 1333089821, 1333089817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.054011583328247 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 20:56:03.032929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/35/image_28012025_21_35_16_10410.jpg', '/home/pi/Desktop/images/28012025/21/35/image_28012025_21_35_25_9452.jpg', '/home/pi/Desktop/images/28012025/21/35/image_28012025_21_35_35_10397.jpg', '/home/pi/Desktop/images/28012025/21/35/image_28012025_21_35_45_9353.jpg', '/home/pi/Desktop/images/28012025/21/35/image_28012025_21_35_55_10407.jpg', '/home/pi/Desktop/images/28012025/21/35/image_28012025_21_36_06_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/35/image_28012025_21_35_16_10410.jpg
/home/pi/Desktop/images/28012025/21/35/image_28012025_21_35_25_9452.jpg
/home/pi/Desktop/images/28012025/21/35/image_28012025_21_35_35_10397.jpg
/home/pi/Desktop/images/28012025/21/35/image_28012025_21_35_45_9353.jpg
/home/pi/Desktop/images/28012025/21/35/image_28012025_21_35_55_10407.jpg
/home/pi/Desktop/images/28012025/21/35/image_28012025_21_36_06_10363.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.5275585651397705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:56:32.278372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/55/image_30012025_20_55_56_10371.jpg', '/home/pi/Desktop/images/30012025/20/55/image_30012025_20_56_06_10467.jpg', '/home/pi/Desktop/images/30012025/20/56/image_30012025_20_56_16_9489.jpg', '/home/pi/Desktop/images/30012025/20/56/image_30012025_20_56_35_9420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/55/image_30012025_20_55_56_10371.jpg
/home/pi/Desktop/images/30012025/20/55/image_30012025_20_56_06_10467.jpg
/home/pi/Desktop/images/30012025/20/56/image_30012025_20_56_16_9489.jpg
/home/pi/Desktop/images/30012025/20/56/image_30012025_20_56_35_9420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333089945","1333089852","1333089866","1333089859"],"photo_ids_order":["1333089852","1333089859","1333089866","1333089945"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e9125abf10e42144162a95603303050d.jpg","text":"TemporaryFile(/tmp/multipartBody3485634511849857817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267053161,"filename":"image_30012025_20_56_35_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a1531b031046ab2e8c0a36a2a55ee2f9.jpg","text":"TemporaryFile(/tmp/multipartBody8552980752620257759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267053161,"filename":"image_30012025_20_55_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/30/c33bb230d1665d2a4d6ddfde201f2b08.jpg","text":"TemporaryFile(/tmp/multipartBody4716248005188416188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267053161,"filename":"image_30012025_20_56_16_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/30/0b27a57babd8165f95213a53b4b662fb.jpg","text":"TemporaryFile(/tmp/multipartBody7910135952948607155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267053161,"filename":"image_30012025_20_56_06_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333089866","file1":"1333089859","file0":"1333089852","file3":"1333089945"},"map_files_photo_id_array":[{"photo_id":"1333089866","filename":"file2"},{"photo_id":"1333089859","filename":"file1"},{"photo_id":"1333089852","filename":"file0"},{"photo_id":"1333089945","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333089945":["hashtag1","hashtag2"]},{"1333089852":["hashtag1","hashtag2"]},{"1333089866":["hashtag1","hashtag2"]},{"1333089859":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333089945, 1333089852, 1333089866, 1333089859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.723562955856323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 20:57:03.721166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/35/image_28012025_21_35_16_10410.jpg', '/home/pi/Desktop/images/28012025/21/35/image_28012025_21_35_25_9452.jpg', '/home/pi/Desktop/images/28012025/21/35/image_28012025_21_35_35_10397.jpg', '/home/pi/Desktop/images/28012025/21/35/image_28012025_21_35_45_9353.jpg', '/home/pi/Desktop/images/28012025/21/35/image_28012025_21_35_55_10407.jpg', '/home/pi/Desktop/images/28012025/21/35/image_28012025_21_36_06_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/35/image_28012025_21_35_16_10410.jpg
/home/pi/Desktop/images/28012025/21/35/image_28012025_21_35_25_9452.jpg
/home/pi/Desktop/images/28012025/21/35/image_28012025_21_35_35_10397.jpg
/home/pi/Desktop/images/28012025/21/35/image_28012025_21_35_45_9353.jpg
/home/pi/Desktop/images/28012025/21/35/image_28012025_21_35_55_10407.jpg
/home/pi/Desktop/images/28012025/21/35/image_28012025_21_36_06_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333090021","1333090024","1333090027","1333090023","1333090031","1333090022"],"photo_ids_order":["1333090021","1333090022","1333090023","1333090024","1333090027","1333090031"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2dca923db32f523fc078f6464c4bdae3.jpg","text":"TemporaryFile(/tmp/multipartBody4637308562120798389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267085476,"filename":"image_28012025_21_35_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/30/0da81699446fa541745ffe3e0fb5f3aa.jpg","text":"TemporaryFile(/tmp/multipartBody735084913440104675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267085476,"filename":"image_28012025_21_35_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/30/62db913771f401ce1c000abe85be9131.jpg","text":"TemporaryFile(/tmp/multipartBody7530186431442547799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267085476,"filename":"image_28012025_21_35_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/30/87508ede0effe8203f3dcd8c6584a4ba.jpg","text":"TemporaryFile(/tmp/multipartBody764054642018678594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267085476,"filename":"image_28012025_21_35_35_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/30/98012577fb38f64024f1f7b7781805a9.jpg","text":"TemporaryFile(/tmp/multipartBody2488085624885866473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267085476,"filename":"image_28012025_21_36_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/30/30bcc7b9ecf1c81a77aa3f9683883d58.jpg","text":"TemporaryFile(/tmp/multipartBody4998462923894669158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267085476,"filename":"image_28012025_21_35_25_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333090023","file1":"1333090022","file0":"1333090021","file4":"1333090027","file5":"1333090031","file3":"1333090024"},"map_files_photo_id_array":[{"photo_id":"1333090031","filename":"file5"},{"photo_id":"1333090023","filename":"file2"},{"photo_id":"1333090027","filename":"file4"},{"photo_id":"1333090022","filename":"file1"},{"photo_id":"1333090021","filename":"file0"},{"photo_id":"1333090024","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333090021":["hashtag1","hashtag2"]},{"1333090024":["hashtag1","hashtag2"]},{"1333090027":["hashtag1","hashtag2"]},{"1333090023":["hashtag1","hashtag2"]},{"1333090031":["hashtag1","hashtag2"]},{"1333090022":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333090021, 1333090024, 1333090027, 1333090023, 1333090031, 1333090022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.299131631851196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:57:52.430868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/56/image_30012025_20_56_56_10348.jpg', '/home/pi/Desktop/images/30012025/20/56/image_30012025_20_57_06_9439.jpg', '/home/pi/Desktop/images/30012025/20/57/image_30012025_20_57_16_10479.jpg', '/home/pi/Desktop/images/30012025/20/57/image_30012025_20_57_46_10440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/56/image_30012025_20_56_56_10348.jpg
/home/pi/Desktop/images/30012025/20/56/image_30012025_20_57_06_9439.jpg
/home/pi/Desktop/images/30012025/20/57/image_30012025_20_57_16_10479.jpg
/home/pi/Desktop/images/30012025/20/57/image_30012025_20_57_46_10440.jpg
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 20:59:04.358440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/56/image_30012025_20_56_56_10348.jpg', '/home/pi/Desktop/images/30012025/20/56/image_30012025_20_57_06_9439.jpg', '/home/pi/Desktop/images/30012025/20/57/image_30012025_20_57_16_10479.jpg', '/home/pi/Desktop/images/30012025/20/57/image_30012025_20_57_46_10440.jpg', '/home/pi/Desktop/images/30012025/20/57/image_30012025_20_57_56_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/56/image_30012025_20_56_56_10348.jpg
/home/pi/Desktop/images/30012025/20/56/image_30012025_20_57_06_9439.jpg
/home/pi/Desktop/images/30012025/20/57/image_30012025_20_57_16_10479.jpg
/home/pi/Desktop/images/30012025/20/57/image_30012025_20_57_46_10440.jpg
/home/pi/Desktop/images/30012025/20/57/image_30012025_20_57_56_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":["1333090077","1333090185","1333090190","1333090145","1333090118"],"photo_ids_order":["1333090077","1333090118","1333090145","1333090185","1333090190"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b64930011095d9f77094a61c6b6b55ce.jpg","text":"TemporaryFile(/tmp/multipartBody4895354831146694775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267205322,"filename":"image_30012025_20_56_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/30/b0f093db5441c8a2e2cdc27a9b46fee8.jpg","text":"TemporaryFile(/tmp/multipartBody4028631072732589908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267205322,"filename":"image_30012025_20_57_46_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e0e161837723c25da06dab013c875565.jpg","text":"TemporaryFile(/tmp/multipartBody5381173782665957124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267205322,"filename":"image_30012025_20_57_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/30/795d653a6af6932743f67af52d92dada.jpg","text":"TemporaryFile(/tmp/multipartBody4564034168870246047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267205322,"filename":"image_30012025_20_57_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/30/7175421ad524509c488aece353bfb439.jpg","text":"TemporaryFile(/tmp/multipartBody4648206409339019335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267205322,"filename":"image_30012025_20_57_06_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333090145","file1":"1333090118","file0":"1333090077","file4":"1333090190","file3":"1333090185"},"map_files_photo_id_array":[{"photo_id":"1333090145","filename":"file2"},{"photo_id":"1333090190","filename":"file4"},{"photo_id":"1333090118","filename":"file1"},{"photo_id":"1333090077","filename":"file0"},{"photo_id":"1333090185","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333090077":["hashtag1","hashtag2"]},{"1333090185":["hashtag1","hashtag2"]},{"1333090190":["hashtag1","hashtag2"]},{"1333090145":["hashtag1","hashtag2"]},{"1333090118":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333090077, 1333090185, 1333090190, 1333090145, 1333090118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 42.09958267211914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 20:59:53.192348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/58/image_30012025_20_58_55_9375.jpg', '/home/pi/Desktop/images/30012025/20/58/image_30012025_20_59_06_10347.jpg', '/home/pi/Desktop/images/30012025/20/59/image_30012025_20_59_16_10459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/58/image_30012025_20_58_55_9375.jpg
/home/pi/Desktop/images/30012025/20/58/image_30012025_20_59_06_10347.jpg
/home/pi/Desktop/images/30012025/20/59/image_30012025_20_59_16_10459.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333090209","1333090203","1333090205"],"photo_ids_order":["1333090203","1333090205","1333090209"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fddc10ccb70fb052c9b25afdf05a8052.jpg","text":"TemporaryFile(/tmp/multipartBody7733902950978159924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267254238,"filename":"image_30012025_20_59_16_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/30/a17d84efa24c03f1094717bdb87c1c71.jpg","text":"TemporaryFile(/tmp/multipartBody3413903757113458350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267254238,"filename":"image_30012025_20_58_55_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/30/1a16f0ef498a792533d1c599fa9d3faa.jpg","text":"TemporaryFile(/tmp/multipartBody3683815979792581708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267254238,"filename":"image_30012025_20_59_06_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333090209","file1":"1333090205","file0":"1333090203"},"map_files_photo_id_array":[{"photo_id":"1333090209","filename":"file2"},{"photo_id":"1333090205","filename":"file1"},{"photo_id":"1333090203","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333090209":["hashtag1","hashtag2"]},{"1333090203":["hashtag1","hashtag2"]},{"1333090205":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333090209, 1333090203, 1333090205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.819897651672363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:00:32.347031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/36/image_28012025_21_36_15_9347.jpg', '/home/pi/Desktop/images/28012025/21/36/image_28012025_21_36_25_10333.jpg', '/home/pi/Desktop/images/28012025/21/36/image_28012025_21_36_36_10344.jpg', '/home/pi/Desktop/images/28012025/21/36/image_28012025_21_36_45_9329.jpg', '/home/pi/Desktop/images/28012025/21/36/image_28012025_21_36_55_10399.jpg', '/home/pi/Desktop/images/28012025/21/36/image_28012025_21_37_05_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/36/image_28012025_21_36_15_9347.jpg
/home/pi/Desktop/images/28012025/21/36/image_28012025_21_36_25_10333.jpg
/home/pi/Desktop/images/28012025/21/36/image_28012025_21_36_36_10344.jpg
/home/pi/Desktop/images/28012025/21/36/image_28012025_21_36_45_9329.jpg
/home/pi/Desktop/images/28012025/21/36/image_28012025_21_36_55_10399.jpg
/home/pi/Desktop/images/28012025/21/36/image_28012025_21_37_05_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":["1333090252","1333090249","1333090417","1333090263","1333090257","1333090347"],"photo_ids_order":["1333090249","1333090252","1333090257","1333090263","1333090347","1333090417"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/36ce6afb373f5a81cf7bb662f24f7e27.jpg","text":"TemporaryFile(/tmp/multipartBody6499367132822449746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267294808,"filename":"image_28012025_21_36_25_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/953a753cf87e8cd241cefb9f40412222.jpg","text":"TemporaryFile(/tmp/multipartBody4898899853035686239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267294808,"filename":"image_28012025_21_36_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/30/660e9268ff63c072fda9e5bc0bf31941.jpg","text":"TemporaryFile(/tmp/multipartBody8854789892390186548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267294808,"filename":"image_28012025_21_37_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/30/2f23ee192c6dd3dcfaef8a6b04186e50.jpg","text":"TemporaryFile(/tmp/multipartBody2059507599587347847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267294808,"filename":"image_28012025_21_36_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/30/cfd6ac3c3fb40bf19564bf54dc90bb9a.jpg","text":"TemporaryFile(/tmp/multipartBody274158469767231534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267294808,"filename":"image_28012025_21_36_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/30/cb7a0a3b49213be281076b338f1da3df.jpg","text":"TemporaryFile(/tmp/multipartBody8941481435665966131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267294808,"filename":"image_28012025_21_36_55_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333090257","file1":"1333090252","file0":"1333090249","file4":"1333090347","file5":"1333090417","file3":"1333090263"},"map_files_photo_id_array":[{"photo_id":"1333090417","filename":"file5"},{"photo_id":"1333090257","filename":"file2"},{"photo_id":"1333090347","filename":"file4"},{"photo_id":"1333090252","filename":"file1"},{"photo_id":"1333090249","filename":"file0"},{"photo_id":"1333090263","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333090252":["hashtag1","hashtag2"]},{"1333090249":["hashtag1","hashtag2"]},{"1333090417":["hashtag1","hashtag2"]},{"1333090263":["hashtag1","hashtag2"]},{"1333090257":["hashtag1","hashtag2"]},{"1333090347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333090252, 1333090249, 1333090417, 1333090263, 1333090257, 1333090347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.50995421409607 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:01:32.493320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/20/59/image_30012025_20_59_25_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/20/59/image_30012025_20_59_25_9338.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333091052"],"photo_id":"1333091052","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/58104850c0433699be614692d2c2746c.jpg","text":"TemporaryFile(/tmp/multipartBody6155143153698793567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267353315,"filename":"image_30012025_20_59_25_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1333091052"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1333091052"}],"hashtags":[],"portfolio_id":"20052290","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.428229331970215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:01:52.658151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/37/image_28012025_21_37_15_10329.jpg', '/home/pi/Desktop/images/28012025/21/37/image_28012025_21_37_25_10438.jpg', '/home/pi/Desktop/images/28012025/21/37/image_28012025_21_37_35_9327.jpg', '/home/pi/Desktop/images/28012025/21/37/image_28012025_21_37_45_10406.jpg', '/home/pi/Desktop/images/28012025/21/37/image_28012025_21_37_55_9502.jpg', '/home/pi/Desktop/images/28012025/21/37/image_28012025_21_38_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/21/37/image_28012025_21_37_15_10329.jpg
/home/pi/Desktop/images/28012025/21/37/image_28012025_21_37_25_10438.jpg
/home/pi/Desktop/images/28012025/21/37/image_28012025_21_37_35_9327.jpg
/home/pi/Desktop/images/28012025/21/37/image_28012025_21_37_45_10406.jpg
/home/pi/Desktop/images/28012025/21/37/image_28012025_21_37_55_9502.jpg
/home/pi/Desktop/images/28012025/21/37/image_28012025_21_38_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":["1333091811","1333092113","1333092116","1333092119","1333092110","1333091807"],"photo_ids_order":["1333091807","1333091811","1333092110","1333092113","1333092116","1333092119"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5bf7c8b5cf36777b1229f3a3eb76704f.jpg","text":"TemporaryFile(/tmp/multipartBody6667874349714980052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267375109,"filename":"image_28012025_21_37_25_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/39f9b8cafca75a5f5731e456356cac9c.jpg","text":"TemporaryFile(/tmp/multipartBody7135835407298213187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267375109,"filename":"image_28012025_21_37_45_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/30/06bfca3bf705fa77f3ed4dda2b123c10.jpg","text":"TemporaryFile(/tmp/multipartBody4475348939852989496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267375109,"filename":"image_28012025_21_37_55_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/30/c18ab4f0ffc72cde68e5473f8c384c13.jpg","text":"TemporaryFile(/tmp/multipartBody7361990120894365773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267375109,"filename":"image_28012025_21_38_05_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9fa91e3082b1fc1a6714110b206bd469.jpg","text":"TemporaryFile(/tmp/multipartBody7648259431890760876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267375109,"filename":"image_28012025_21_37_35_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ead5630ee12581480d98626abed74ae6.jpg","text":"TemporaryFile(/tmp/multipartBody1158703356542523344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267375109,"filename":"image_28012025_21_37_15_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333092110","file1":"1333091811","file0":"1333091807","file4":"1333092116","file5":"1333092119","file3":"1333092113"},"map_files_photo_id_array":[{"photo_id":"1333092119","filename":"file5"},{"photo_id":"1333092110","filename":"file2"},{"photo_id":"1333092116","filename":"file4"},{"photo_id":"1333091811","filename":"file1"},{"photo_id":"1333091807","filename":"file0"},{"photo_id":"1333092113","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333091811":["hashtag1","hashtag2"]},{"1333092113":["hashtag1","hashtag2"]},{"1333092116":["hashtag1","hashtag2"]},{"1333092119":["hashtag1","hashtag2"]},{"1333092110":["hashtag1","hashtag2"]},{"1333091807":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333091811, 1333092113, 1333092116, 1333092119, 1333092110, 1333091807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.11896896362305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 21:02:42.930565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/01/image_30012025_21_01_44_9352.jpg', '/home/pi/Desktop/images/30012025/21/01/image_30012025_21_02_05_10339.jpg', '/home/pi/Desktop/images/30012025/21/02/image_30012025_21_02_14_9330.jpg', '/home/pi/Desktop/images/30012025/21/02/image_30012025_21_02_25_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/01/image_30012025_21_01_44_9352.jpg
/home/pi/Desktop/images/30012025/21/01/image_30012025_21_02_05_10339.jpg
/home/pi/Desktop/images/30012025/21/02/image_30012025_21_02_14_9330.jpg
/home/pi/Desktop/images/30012025/21/02/image_30012025_21_02_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.49754810333251953 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:02:52.807124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/01/image_30012025_21_01_44_9352.jpg', '/home/pi/Desktop/images/30012025/21/01/image_30012025_21_02_05_10339.jpg', '/home/pi/Desktop/images/30012025/21/02/image_30012025_21_02_14_9330.jpg', '/home/pi/Desktop/images/30012025/21/02/image_30012025_21_02_25_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/01/image_30012025_21_01_44_9352.jpg
/home/pi/Desktop/images/30012025/21/01/image_30012025_21_02_05_10339.jpg
/home/pi/Desktop/images/30012025/21/02/image_30012025_21_02_14_9330.jpg
/home/pi/Desktop/images/30012025/21/02/image_30012025_21_02_25_10352.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333092237","1333092248","1333092241","1333092244"],"photo_ids_order":["1333092237","1333092241","1333092244","1333092248"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/22eb5a9ea0e55a9760b7449963fa3017.jpg","text":"TemporaryFile(/tmp/multipartBody6888901463042187526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267433692,"filename":"image_30012025_21_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/30/c8ee1b7094c595a9d62188543fb1ef99.jpg","text":"TemporaryFile(/tmp/multipartBody5808995671299909740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267433692,"filename":"image_30012025_21_02_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/30/6d664cf881abdf176b22a17c9581f25a.jpg","text":"TemporaryFile(/tmp/multipartBody8989917879077635925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267433692,"filename":"image_30012025_21_02_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/30/5bb905f74630d2f4e0a00a597c0ec3b0.jpg","text":"TemporaryFile(/tmp/multipartBody6211750471302661106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267433692,"filename":"image_30012025_21_02_14_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333092244","file1":"1333092241","file0":"1333092237","file3":"1333092248"},"map_files_photo_id_array":[{"photo_id":"1333092244","filename":"file2"},{"photo_id":"1333092241","filename":"file1"},{"photo_id":"1333092237","filename":"file0"},{"photo_id":"1333092248","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333092237":["hashtag1","hashtag2"]},{"1333092248":["hashtag1","hashtag2"]},{"1333092241":["hashtag1","hashtag2"]},{"1333092244":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333092237, 1333092248, 1333092241, 1333092244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.64908504486084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:03:32.999513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/02/image_30012025_21_02_55_10361.jpg', '/home/pi/Desktop/images/30012025/21/02/image_30012025_21_03_04_9343.jpg', '/home/pi/Desktop/images/30012025/21/03/image_30012025_21_03_34_9378.jpg', '/home/pi/Desktop/images/30012025/21/03/image_30012025_21_03_45_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/02/image_30012025_21_02_55_10361.jpg
/home/pi/Desktop/images/30012025/21/02/image_30012025_21_03_04_9343.jpg
/home/pi/Desktop/images/30012025/21/03/image_30012025_21_03_34_9378.jpg
/home/pi/Desktop/images/30012025/21/03/image_30012025_21_03_45_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333092272","1333092266","1333092280","1333092276"],"photo_ids_order":["1333092266","1333092272","1333092276","1333092280"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ba8fd411a9ec418156ee7488ba4eca1f.jpg","text":"TemporaryFile(/tmp/multipartBody2087238941320275458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267473898,"filename":"image_30012025_21_03_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/30/31689bd119a186c2fa715d61c596e46c.jpg","text":"TemporaryFile(/tmp/multipartBody3774672105313566541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267473898,"filename":"image_30012025_21_02_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/30/44b229cf8fc224a64b639af304627434.jpg","text":"TemporaryFile(/tmp/multipartBody558147670117394748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267473898,"filename":"image_30012025_21_03_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/30/20e6c8a8536a6276fef3f6ea271230f4.jpg","text":"TemporaryFile(/tmp/multipartBody4734946253482032404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267473898,"filename":"image_30012025_21_03_34_9378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333092276","file1":"1333092272","file0":"1333092266","file3":"1333092280"},"map_files_photo_id_array":[{"photo_id":"1333092276","filename":"file2"},{"photo_id":"1333092272","filename":"file1"},{"photo_id":"1333092266","filename":"file0"},{"photo_id":"1333092280","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333092272":["hashtag1","hashtag2"]},{"1333092266":["hashtag1","hashtag2"]},{"1333092280":["hashtag1","hashtag2"]},{"1333092276":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333092272, 1333092266, 1333092280, 1333092276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.782567501068115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:04:32.236571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/03/image_30012025_21_03_55_10364.jpg', '/home/pi/Desktop/images/30012025/21/03/image_30012025_21_04_04_9330.jpg', '/home/pi/Desktop/images/30012025/21/04/image_30012025_21_04_15_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/03/image_30012025_21_03_55_10364.jpg
/home/pi/Desktop/images/30012025/21/03/image_30012025_21_04_04_9330.jpg
/home/pi/Desktop/images/30012025/21/04/image_30012025_21_04_15_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":["1333093076","1333093072","1333092984"],"photo_ids_order":["1333092984","1333093072","1333093076"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9bcf1c59861617bd4d3e526ec0865464.jpg","text":"TemporaryFile(/tmp/multipartBody5599372648039665525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267533102,"filename":"image_30012025_21_04_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/30/1cf4d20ef36f3bd97e8b3d4c8599471c.jpg","text":"TemporaryFile(/tmp/multipartBody3946627913427638423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267533102,"filename":"image_30012025_21_04_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/30/6f0019b019100c5594dc58e4f687639a.jpg","text":"TemporaryFile(/tmp/multipartBody7465577800744834380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267533102,"filename":"image_30012025_21_03_55_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333093076","file1":"1333093072","file0":"1333092984"},"map_files_photo_id_array":[{"photo_id":"1333093076","filename":"file2"},{"photo_id":"1333093072","filename":"file1"},{"photo_id":"1333092984","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333093076":["hashtag1","hashtag2"]},{"1333093072":["hashtag1","hashtag2"]},{"1333092984":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333093076, 1333093072, 1333092984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.469143629074097 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 21:05:03.528211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/38/image_28012025_21_38_15_10431.jpg', '/home/pi/Desktop/images/28012025/21/38/image_28012025_21_38_25_9601.jpg', '/home/pi/Desktop/images/28012025/21/38/image_28012025_21_38_35_10361.jpg', '/home/pi/Desktop/images/28012025/21/38/image_28012025_21_39_06_10354.jpg', '/home/pi/Desktop/images/28012025/21/39/image_28012025_21_39_15_9329.jpg', '/home/pi/Desktop/images/28012025/21/39/image_28012025_21_39_25_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/21/38/image_28012025_21_38_15_10431.jpg
/home/pi/Desktop/images/28012025/21/38/image_28012025_21_38_25_9601.jpg
/home/pi/Desktop/images/28012025/21/38/image_28012025_21_38_35_10361.jpg
/home/pi/Desktop/images/28012025/21/38/image_28012025_21_39_06_10354.jpg
/home/pi/Desktop/images/28012025/21/39/image_28012025_21_39_15_9329.jpg
/home/pi/Desktop/images/28012025/21/39/image_28012025_21_39_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: 1.8138585090637207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:05:32.350310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/04/image_30012025_21_04_45_10522.jpg', '/home/pi/Desktop/images/30012025/21/04/image_30012025_21_05_05_10382.jpg', '/home/pi/Desktop/images/30012025/21/05/image_30012025_21_05_25_10375.jpg', '/home/pi/Desktop/images/30012025/21/05/image_30012025_21_05_35_10368.jpg', '/home/pi/Desktop/images/30012025/21/05/image_30012025_21_05_44_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/04/image_30012025_21_04_45_10522.jpg
/home/pi/Desktop/images/30012025/21/04/image_30012025_21_05_05_10382.jpg
/home/pi/Desktop/images/30012025/21/05/image_30012025_21_05_25_10375.jpg
/home/pi/Desktop/images/30012025/21/05/image_30012025_21_05_35_10368.jpg
/home/pi/Desktop/images/30012025/21/05/image_30012025_21_05_44_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":["1333093172","1333093175","1333093205","1333093254","1333093251"],"photo_ids_order":["1333093172","1333093175","1333093205","1333093251","1333093254"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1b4eb294271ea287f1eca332114c42c0.jpg","text":"TemporaryFile(/tmp/multipartBody4271182268634609622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267593277,"filename":"image_30012025_21_04_45_10522.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/db2ced232b6a724e01c0f87dacb2bf68.jpg","text":"TemporaryFile(/tmp/multipartBody717991719214574722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267593277,"filename":"image_30012025_21_05_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/30/d179a433543aed60c99764e72c43de21.jpg","text":"TemporaryFile(/tmp/multipartBody5369810303803097300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267593277,"filename":"image_30012025_21_05_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c683bf0505920e7d1a73bda817a017be.jpg","text":"TemporaryFile(/tmp/multipartBody5783183188373785572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267593277,"filename":"image_30012025_21_05_44_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/30/60b239f96b16de1c3fd009b7b1ef6d2e.jpg","text":"TemporaryFile(/tmp/multipartBody1642414496640618702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267593277,"filename":"image_30012025_21_05_35_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333093205","file1":"1333093175","file0":"1333093172","file4":"1333093254","file3":"1333093251"},"map_files_photo_id_array":[{"photo_id":"1333093205","filename":"file2"},{"photo_id":"1333093254","filename":"file4"},{"photo_id":"1333093175","filename":"file1"},{"photo_id":"1333093172","filename":"file0"},{"photo_id":"1333093251","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333093172":["hashtag1","hashtag2"]},{"1333093175":["hashtag1","hashtag2"]},{"1333093205":["hashtag1","hashtag2"]},{"1333093254":["hashtag1","hashtag2"]},{"1333093251":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333093172, 1333093175, 1333093205, 1333093254, 1333093251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.65114116668701 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:06:32.549568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/05/image_30012025_21_05_55_10367.jpg', '/home/pi/Desktop/images/30012025/21/05/image_30012025_21_06_05_10340.jpg', '/home/pi/Desktop/images/30012025/21/06/image_30012025_21_06_14_9439.jpg', '/home/pi/Desktop/images/30012025/21/06/image_30012025_21_06_25_10495.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/05/image_30012025_21_05_55_10367.jpg
/home/pi/Desktop/images/30012025/21/05/image_30012025_21_06_05_10340.jpg
/home/pi/Desktop/images/30012025/21/06/image_30012025_21_06_14_9439.jpg
/home/pi/Desktop/images/30012025/21/06/image_30012025_21_06_25_10495.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.49353718757629395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 21:06:42.699473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/05/image_30012025_21_05_55_10367.jpg', '/home/pi/Desktop/images/30012025/21/05/image_30012025_21_06_05_10340.jpg', '/home/pi/Desktop/images/30012025/21/06/image_30012025_21_06_14_9439.jpg', '/home/pi/Desktop/images/30012025/21/06/image_30012025_21_06_25_10495.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/05/image_30012025_21_05_55_10367.jpg
/home/pi/Desktop/images/30012025/21/05/image_30012025_21_06_05_10340.jpg
/home/pi/Desktop/images/30012025/21/06/image_30012025_21_06_14_9439.jpg
/home/pi/Desktop/images/30012025/21/06/image_30012025_21_06_25_10495.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333093352","1333093349","1333093345","1333093275"],"photo_ids_order":["1333093275","1333093345","1333093349","1333093352"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2d8b4a31d8d51469087c9250975a3d20.jpg","text":"TemporaryFile(/tmp/multipartBody1262442929168237107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267663578,"filename":"image_30012025_21_06_25_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/30/7f46b77aa6c5a36ec12e47542659c9b3.jpg","text":"TemporaryFile(/tmp/multipartBody463540055445551172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267663578,"filename":"image_30012025_21_06_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/30/902c9f35f2132ea22ada89222785030e.jpg","text":"TemporaryFile(/tmp/multipartBody1793638997962712604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267663578,"filename":"image_30012025_21_06_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/30/d4ffbf63547e9a462fcb2045d03a7e3d.jpg","text":"TemporaryFile(/tmp/multipartBody7543681954305536452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267663578,"filename":"image_30012025_21_05_55_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333093349","file1":"1333093345","file0":"1333093275","file3":"1333093352"},"map_files_photo_id_array":[{"photo_id":"1333093349","filename":"file2"},{"photo_id":"1333093345","filename":"file1"},{"photo_id":"1333093275","filename":"file0"},{"photo_id":"1333093352","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333093352":["hashtag1","hashtag2"]},{"1333093349":["hashtag1","hashtag2"]},{"1333093345":["hashtag1","hashtag2"]},{"1333093275":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333093352, 1333093349, 1333093345, 1333093275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.970624446868896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:07:32.980891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/06/image_30012025_21_06_55_10342.jpg', '/home/pi/Desktop/images/30012025/21/06/image_30012025_21_07_04_9342.jpg', '/home/pi/Desktop/images/30012025/21/07/image_30012025_21_07_15_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/06/image_30012025_21_06_55_10342.jpg
/home/pi/Desktop/images/30012025/21/06/image_30012025_21_07_04_9342.jpg
/home/pi/Desktop/images/30012025/21/07/image_30012025_21_07_15_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":["1333093427","1333093480","1333093482"],"photo_ids_order":["1333093427","1333093480","1333093482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7708fad24dbef2204887a99ae58c2637.jpg","text":"TemporaryFile(/tmp/multipartBody5764224961428751515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267713853,"filename":"image_30012025_21_06_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/30/5553e1ef817ed199f3a4683aa6ac48e2.jpg","text":"TemporaryFile(/tmp/multipartBody4263394991448037282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267713853,"filename":"image_30012025_21_07_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/30/dc1ab3c9ed7d35eb158992d11edbab96.jpg","text":"TemporaryFile(/tmp/multipartBody2622550118876376483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267713853,"filename":"image_30012025_21_07_15_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333093482","file1":"1333093480","file0":"1333093427"},"map_files_photo_id_array":[{"photo_id":"1333093482","filename":"file2"},{"photo_id":"1333093480","filename":"file1"},{"photo_id":"1333093427","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333093427":["hashtag1","hashtag2"]},{"1333093480":["hashtag1","hashtag2"]},{"1333093482":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333093427, 1333093480, 1333093482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.03693175315857 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 21:08:03.674059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/38/image_28012025_21_38_15_10431.jpg', '/home/pi/Desktop/images/28012025/21/38/image_28012025_21_38_25_9601.jpg', '/home/pi/Desktop/images/28012025/21/38/image_28012025_21_38_35_10361.jpg', '/home/pi/Desktop/images/28012025/21/38/image_28012025_21_39_06_10354.jpg', '/home/pi/Desktop/images/28012025/21/39/image_28012025_21_39_15_9329.jpg', '/home/pi/Desktop/images/28012025/21/39/image_28012025_21_39_25_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/21/38/image_28012025_21_38_15_10431.jpg
/home/pi/Desktop/images/28012025/21/38/image_28012025_21_38_25_9601.jpg
/home/pi/Desktop/images/28012025/21/38/image_28012025_21_38_35_10361.jpg
/home/pi/Desktop/images/28012025/21/38/image_28012025_21_39_06_10354.jpg
/home/pi/Desktop/images/28012025/21/39/image_28012025_21_39_15_9329.jpg
/home/pi/Desktop/images/28012025/21/39/image_28012025_21_39_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":["1333093916","1333093652","1333093907","1333093666","1333093789","1333093855"],"photo_ids_order":["1333093652","1333093666","1333093789","1333093855","1333093907","1333093916"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/be62bb1be968970e8f019fe12526817c.jpg","text":"TemporaryFile(/tmp/multipartBody6577227466250510046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267745334,"filename":"image_28012025_21_39_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/30/03ed8c04d670a31dcbab2f2eb85b21b4.jpg","text":"TemporaryFile(/tmp/multipartBody3876186122946761999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267745334,"filename":"image_28012025_21_38_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/30/70c57a91658a872f45a8f75af94ff16d.jpg","text":"TemporaryFile(/tmp/multipartBody8262194543977821920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267745334,"filename":"image_28012025_21_39_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/30/4a80c3c0b9adaf52de917b6a41988f2c.jpg","text":"TemporaryFile(/tmp/multipartBody6132990485472555877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267745334,"filename":"image_28012025_21_38_25_9601.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9cf3974ff1782a7c452d6020f5f81480.jpg","text":"TemporaryFile(/tmp/multipartBody7908233219972633295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267745334,"filename":"image_28012025_21_38_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/77d21f7a2dd21499f0bcf40c1b39cc9f.jpg","text":"TemporaryFile(/tmp/multipartBody8147950430970918952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267745334,"filename":"image_28012025_21_39_06_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333093789","file1":"1333093666","file0":"1333093652","file4":"1333093907","file5":"1333093916","file3":"1333093855"},"map_files_photo_id_array":[{"photo_id":"1333093916","filename":"file5"},{"photo_id":"1333093789","filename":"file2"},{"photo_id":"1333093907","filename":"file4"},{"photo_id":"1333093666","filename":"file1"},{"photo_id":"1333093652","filename":"file0"},{"photo_id":"1333093855","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333093916":["hashtag1","hashtag2"]},{"1333093652":["hashtag1","hashtag2"]},{"1333093907":["hashtag1","hashtag2"]},{"1333093666":["hashtag1","hashtag2"]},{"1333093789":["hashtag1","hashtag2"]},{"1333093855":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333093916, 1333093652, 1333093907, 1333093666, 1333093789, 1333093855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.787628173828125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:08:53.028586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/07/image_30012025_21_07_34_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/07/image_30012025_21_07_34_10360.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333093967"],"photo_id":"1333093967","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c26061eb87e63276cf7f9d90879ce9be.jpg","text":"TemporaryFile(/tmp/multipartBody3413131933922756653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267793849,"filename":"image_30012025_21_07_34_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1333093967"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1333093967"}],"hashtags":[],"portfolio_id":"20052290","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.84084939956665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:09:32.244209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/08/image_30012025_21_08_44_9437.jpg', '/home/pi/Desktop/images/30012025/21/08/image_30012025_21_09_04_9433.jpg', '/home/pi/Desktop/images/30012025/21/09/image_30012025_21_09_25_10479.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/08/image_30012025_21_08_44_9437.jpg
/home/pi/Desktop/images/30012025/21/08/image_30012025_21_09_04_9433.jpg
/home/pi/Desktop/images/30012025/21/09/image_30012025_21_09_25_10479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333093992","1333093989","1333093983"],"photo_ids_order":["1333093983","1333093989","1333093992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/425b805eb599add9bcc953d3c47757b3.jpg","text":"TemporaryFile(/tmp/multipartBody4648531811394635608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267833118,"filename":"image_30012025_21_09_25_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e02e9a561aa637976fe0c27f182c05a6.jpg","text":"TemporaryFile(/tmp/multipartBody2238479475172112204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267833118,"filename":"image_30012025_21_09_04_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/30/61afd34d413269a56515ab616d5ea57c.jpg","text":"TemporaryFile(/tmp/multipartBody9027911935604353468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267833118,"filename":"image_30012025_21_08_44_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333093992","file1":"1333093989","file0":"1333093983"},"map_files_photo_id_array":[{"photo_id":"1333093992","filename":"file2"},{"photo_id":"1333093989","filename":"file1"},{"photo_id":"1333093983","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333093992":["hashtag1","hashtag2"]},{"1333093989":["hashtag1","hashtag2"]},{"1333093983":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333093992, 1333093989, 1333093983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.903202533721924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 21:10:03.152059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/39/image_28012025_21_39_35_9431.jpg', '/home/pi/Desktop/images/28012025/21/39/image_28012025_21_39_45_10356.jpg', '/home/pi/Desktop/images/28012025/21/39/image_28012025_21_39_55_10413.jpg', '/home/pi/Desktop/images/28012025/21/39/image_28012025_21_40_05_9325.jpg', '/home/pi/Desktop/images/28012025/21/40/image_28012025_21_40_15_10475.jpg', '/home/pi/Desktop/images/28012025/21/40/image_28012025_21_40_26_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/21/39/image_28012025_21_39_35_9431.jpg
/home/pi/Desktop/images/28012025/21/39/image_28012025_21_39_45_10356.jpg
/home/pi/Desktop/images/28012025/21/39/image_28012025_21_39_55_10413.jpg
/home/pi/Desktop/images/28012025/21/39/image_28012025_21_40_05_9325.jpg
/home/pi/Desktop/images/28012025/21/40/image_28012025_21_40_15_10475.jpg
/home/pi/Desktop/images/28012025/21/40/image_28012025_21_40_26_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":["1333094015","1333094003","1333094011","1333094013","1333094007","1333094016"],"photo_ids_order":["1333094003","1333094007","1333094011","1333094013","1333094015","1333094016"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/adbd73ebff4448c4d480d6649b60235a.jpg","text":"TemporaryFile(/tmp/multipartBody306833954157586205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267864840,"filename":"image_28012025_21_40_15_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/30/ed0489e10148600fef4f0817afa65221.jpg","text":"TemporaryFile(/tmp/multipartBody6337874695151630877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267864840,"filename":"image_28012025_21_39_35_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/30/614fbe7873370a5dfa5933bbde1c9b3c.jpg","text":"TemporaryFile(/tmp/multipartBody6592471469238504293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267864840,"filename":"image_28012025_21_39_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/30/e99a1335ef191d333250019736fff483.jpg","text":"TemporaryFile(/tmp/multipartBody4339449853801663833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267864840,"filename":"image_28012025_21_40_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/30/bcc224087633ace7a2f6352ccd4fcc9d.jpg","text":"TemporaryFile(/tmp/multipartBody7600332479430331045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267864840,"filename":"image_28012025_21_39_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/30/aa0022aef3309c47969c3bac11004070.jpg","text":"TemporaryFile(/tmp/multipartBody3803026294324528125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267864840,"filename":"image_28012025_21_40_26_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333094011","file1":"1333094007","file0":"1333094003","file4":"1333094015","file5":"1333094016","file3":"1333094013"},"map_files_photo_id_array":[{"photo_id":"1333094016","filename":"file5"},{"photo_id":"1333094011","filename":"file2"},{"photo_id":"1333094015","filename":"file4"},{"photo_id":"1333094007","filename":"file1"},{"photo_id":"1333094003","filename":"file0"},{"photo_id":"1333094013","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333094015":["hashtag1","hashtag2"]},{"1333094003":["hashtag1","hashtag2"]},{"1333094011":["hashtag1","hashtag2"]},{"1333094013":["hashtag1","hashtag2"]},{"1333094007":["hashtag1","hashtag2"]},{"1333094016":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333094015, 1333094003, 1333094011, 1333094013, 1333094007, 1333094016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24117588996887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:10:52.428581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/09/image_30012025_21_09_34_9362.jpg', '/home/pi/Desktop/images/30012025/21/09/image_30012025_21_10_04_9334.jpg', '/home/pi/Desktop/images/30012025/21/10/image_30012025_21_10_15_10521.jpg', '/home/pi/Desktop/images/30012025/21/10/image_30012025_21_10_35_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/09/image_30012025_21_09_34_9362.jpg
/home/pi/Desktop/images/30012025/21/09/image_30012025_21_10_04_9334.jpg
/home/pi/Desktop/images/30012025/21/10/image_30012025_21_10_15_10521.jpg
/home/pi/Desktop/images/30012025/21/10/image_30012025_21_10_35_10342.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4998173713684082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 21:11:04.156255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/09/image_30012025_21_09_34_9362.jpg', '/home/pi/Desktop/images/30012025/21/09/image_30012025_21_10_04_9334.jpg', '/home/pi/Desktop/images/30012025/21/10/image_30012025_21_10_15_10521.jpg', '/home/pi/Desktop/images/30012025/21/10/image_30012025_21_10_35_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/09/image_30012025_21_09_34_9362.jpg
/home/pi/Desktop/images/30012025/21/09/image_30012025_21_10_04_9334.jpg
/home/pi/Desktop/images/30012025/21/10/image_30012025_21_10_15_10521.jpg
/home/pi/Desktop/images/30012025/21/10/image_30012025_21_10_35_10342.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333094149","1333094140","1333094122","1333094127"],"photo_ids_order":["1333094122","1333094127","1333094140","1333094149"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a180a1e9f15fb46162a3251e5de4c736.jpg","text":"TemporaryFile(/tmp/multipartBody7281025697705078920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267925262,"filename":"image_30012025_21_10_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/30/87bcef02dbe17955d3bf5f15518cb8a6.jpg","text":"TemporaryFile(/tmp/multipartBody1371855227385639262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267925262,"filename":"image_30012025_21_10_15_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/30/88aefbccb8ed0a8d28ddbd1168ae417f.jpg","text":"TemporaryFile(/tmp/multipartBody284842649936263014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267925262,"filename":"image_30012025_21_09_34_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/993c15628e6de1aac78bc9583071aa3c.jpg","text":"TemporaryFile(/tmp/multipartBody6136902260915628248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267925262,"filename":"image_30012025_21_10_04_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333094140","file1":"1333094127","file0":"1333094122","file3":"1333094149"},"map_files_photo_id_array":[{"photo_id":"1333094140","filename":"file2"},{"photo_id":"1333094127","filename":"file1"},{"photo_id":"1333094122","filename":"file0"},{"photo_id":"1333094149","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333094149":["hashtag1","hashtag2"]},{"1333094140":["hashtag1","hashtag2"]},{"1333094122":["hashtag1","hashtag2"]},{"1333094127":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333094149, 1333094140, 1333094122, 1333094127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.482139587402344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 21:11:42.716989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/10/image_30012025_21_10_44_9433.jpg', '/home/pi/Desktop/images/30012025/21/10/image_30012025_21_11_05_10430.jpg', '/home/pi/Desktop/images/30012025/21/11/image_30012025_21_11_25_10356.jpg', '/home/pi/Desktop/images/30012025/21/11/image_30012025_21_11_45_10418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/10/image_30012025_21_10_44_9433.jpg
/home/pi/Desktop/images/30012025/21/10/image_30012025_21_11_05_10430.jpg
/home/pi/Desktop/images/30012025/21/11/image_30012025_21_11_25_10356.jpg
/home/pi/Desktop/images/30012025/21/11/image_30012025_21_11_45_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333094318","1333094320","1333094316","1333094279"],"photo_ids_order":["1333094279","1333094316","1333094318","1333094320"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4d39b3f6df23403b9182a9007f5fbaa1.jpg","text":"TemporaryFile(/tmp/multipartBody5897902312998705763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267963608,"filename":"image_30012025_21_11_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/30/fc7ab9b9469fdc07dc9c0d45c95cfe12.jpg","text":"TemporaryFile(/tmp/multipartBody1666104297796926937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267963608,"filename":"image_30012025_21_11_45_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3bbf65f1db81a5b45dee7cc6b89be42e.jpg","text":"TemporaryFile(/tmp/multipartBody2969850318848027635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267963608,"filename":"image_30012025_21_11_05_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/30/9a48fe9a74a7cc986f6aac751925a074.jpg","text":"TemporaryFile(/tmp/multipartBody8155959851062565679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738267963608,"filename":"image_30012025_21_10_44_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333094318","file1":"1333094316","file0":"1333094279","file3":"1333094320"},"map_files_photo_id_array":[{"photo_id":"1333094318","filename":"file2"},{"photo_id":"1333094316","filename":"file1"},{"photo_id":"1333094279","filename":"file0"},{"photo_id":"1333094320","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333094318":["hashtag1","hashtag2"]},{"1333094320":["hashtag1","hashtag2"]},{"1333094316":["hashtag1","hashtag2"]},{"1333094279":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333094318, 1333094320, 1333094316, 1333094279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.649889945983887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:12:32.813029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/11/image_30012025_21_11_55_10396.jpg', '/home/pi/Desktop/images/30012025/21/11/image_30012025_21_12_04_9358.jpg', '/home/pi/Desktop/images/30012025/21/12/image_30012025_21_12_15_10409.jpg', '/home/pi/Desktop/images/30012025/21/12/image_30012025_21_12_25_10364.jpg', '/home/pi/Desktop/images/30012025/21/12/image_30012025_21_12_34_9352.jpg', '/home/pi/Desktop/images/30012025/21/12/image_30012025_21_12_45_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/11/image_30012025_21_11_55_10396.jpg
/home/pi/Desktop/images/30012025/21/11/image_30012025_21_12_04_9358.jpg
/home/pi/Desktop/images/30012025/21/12/image_30012025_21_12_15_10409.jpg
/home/pi/Desktop/images/30012025/21/12/image_30012025_21_12_25_10364.jpg
/home/pi/Desktop/images/30012025/21/12/image_30012025_21_12_34_9352.jpg
/home/pi/Desktop/images/30012025/21/12/image_30012025_21_12_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":["1333094459","1333094501","1333094454","1333094486","1333094505","1333094495"],"photo_ids_order":["1333094454","1333094459","1333094486","1333094495","1333094501","1333094505"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7927f79cfba8b45f7e0417e39ee4ca3f.jpg","text":"TemporaryFile(/tmp/multipartBody5594749357039765042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268013733,"filename":"image_30012025_21_12_04_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2c4c44eac4a53c9bc20d544e1b7de77e.jpg","text":"TemporaryFile(/tmp/multipartBody6818432024379376900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268013733,"filename":"image_30012025_21_12_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/30/ba69a9f4c07a73d2ddd2a292208bd36a.jpg","text":"TemporaryFile(/tmp/multipartBody6311168205989682316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268013733,"filename":"image_30012025_21_11_55_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/30/bbec2febcb160e05f27c51af664354d5.jpg","text":"TemporaryFile(/tmp/multipartBody4786639023936605822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268013733,"filename":"image_30012025_21_12_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/30/722e0b390f378440692fecb2722e4bf9.jpg","text":"TemporaryFile(/tmp/multipartBody4359954159470239019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268013733,"filename":"image_30012025_21_12_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/30/44c52b5c00eea83b36dada356421e6be.jpg","text":"TemporaryFile(/tmp/multipartBody6717478665639036977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268013733,"filename":"image_30012025_21_12_25_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333094486","file1":"1333094459","file0":"1333094454","file4":"1333094501","file5":"1333094505","file3":"1333094495"},"map_files_photo_id_array":[{"photo_id":"1333094505","filename":"file5"},{"photo_id":"1333094486","filename":"file2"},{"photo_id":"1333094501","filename":"file4"},{"photo_id":"1333094459","filename":"file1"},{"photo_id":"1333094454","filename":"file0"},{"photo_id":"1333094495","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333094459":["hashtag1","hashtag2"]},{"1333094501":["hashtag1","hashtag2"]},{"1333094454":["hashtag1","hashtag2"]},{"1333094486":["hashtag1","hashtag2"]},{"1333094505":["hashtag1","hashtag2"]},{"1333094495":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333094459, 1333094501, 1333094454, 1333094486, 1333094505, 1333094495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00567269325256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:13:32.985725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/12/image_30012025_21_12_54_9449.jpg', '/home/pi/Desktop/images/30012025/21/12/image_30012025_21_13_05_10403.jpg', '/home/pi/Desktop/images/30012025/21/13/image_30012025_21_13_15_10349.jpg', '/home/pi/Desktop/images/30012025/21/13/image_30012025_21_13_24_9360.jpg', '/home/pi/Desktop/images/30012025/21/13/image_30012025_21_13_35_10361.jpg', '/home/pi/Desktop/images/30012025/21/13/image_30012025_21_13_45_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/12/image_30012025_21_12_54_9449.jpg
/home/pi/Desktop/images/30012025/21/12/image_30012025_21_13_05_10403.jpg
/home/pi/Desktop/images/30012025/21/13/image_30012025_21_13_15_10349.jpg
/home/pi/Desktop/images/30012025/21/13/image_30012025_21_13_24_9360.jpg
/home/pi/Desktop/images/30012025/21/13/image_30012025_21_13_35_10361.jpg
/home/pi/Desktop/images/30012025/21/13/image_30012025_21_13_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":["1333094662","1333094659","1333094644","1333094605","1333094655","1333094591"],"photo_ids_order":["1333094591","1333094605","1333094644","1333094655","1333094659","1333094662"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c849161dc9a52006e0da6074a22502ea.jpg","text":"TemporaryFile(/tmp/multipartBody4594774994101615899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268073931,"filename":"image_30012025_21_13_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/30/749807110b0954afc5738cec68d8d64f.jpg","text":"TemporaryFile(/tmp/multipartBody1471665476017604107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268073931,"filename":"image_30012025_21_13_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/12c52bd0287e0c345c26858fc6844597.jpg","text":"TemporaryFile(/tmp/multipartBody905197001607660736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268073931,"filename":"image_30012025_21_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/30/0e99b685938b00ef00d62d1b8f9059fd.jpg","text":"TemporaryFile(/tmp/multipartBody2726680168105917800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268073931,"filename":"image_30012025_21_13_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/30/d59092ec314a2c6e9427916be3c7db03.jpg","text":"TemporaryFile(/tmp/multipartBody5792959654679048929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268073931,"filename":"image_30012025_21_13_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/30/895e4724463e4c45ea4b98e04587ffbe.jpg","text":"TemporaryFile(/tmp/multipartBody6889682247906888183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268073931,"filename":"image_30012025_21_12_54_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333094644","file1":"1333094605","file0":"1333094591","file4":"1333094659","file5":"1333094662","file3":"1333094655"},"map_files_photo_id_array":[{"photo_id":"1333094662","filename":"file5"},{"photo_id":"1333094644","filename":"file2"},{"photo_id":"1333094659","filename":"file4"},{"photo_id":"1333094605","filename":"file1"},{"photo_id":"1333094591","filename":"file0"},{"photo_id":"1333094655","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333094662":["hashtag1","hashtag2"]},{"1333094659":["hashtag1","hashtag2"]},{"1333094644":["hashtag1","hashtag2"]},{"1333094605":["hashtag1","hashtag2"]},{"1333094655":["hashtag1","hashtag2"]},{"1333094591":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333094662, 1333094659, 1333094644, 1333094605, 1333094655, 1333094591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.263408184051514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:14:32.299981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/13/image_30012025_21_13_54_9358.jpg', '/home/pi/Desktop/images/30012025/21/13/image_30012025_21_14_05_10353.jpg', '/home/pi/Desktop/images/30012025/21/14/image_30012025_21_14_14_9318.jpg', '/home/pi/Desktop/images/30012025/21/14/image_30012025_21_14_24_10375.jpg', '/home/pi/Desktop/images/30012025/21/14/image_30012025_21_14_35_10482.jpg', '/home/pi/Desktop/images/30012025/21/14/image_30012025_21_14_44_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/13/image_30012025_21_13_54_9358.jpg
/home/pi/Desktop/images/30012025/21/13/image_30012025_21_14_05_10353.jpg
/home/pi/Desktop/images/30012025/21/14/image_30012025_21_14_14_9318.jpg
/home/pi/Desktop/images/30012025/21/14/image_30012025_21_14_24_10375.jpg
/home/pi/Desktop/images/30012025/21/14/image_30012025_21_14_35_10482.jpg
/home/pi/Desktop/images/30012025/21/14/image_30012025_21_14_44_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":["1333094948","1333094950","1333094944","1333094947","1333094952","1333094946"],"photo_ids_order":["1333094944","1333094946","1333094947","1333094948","1333094950","1333094952"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1d13027c681c8313223bafebac4183eb.jpg","text":"TemporaryFile(/tmp/multipartBody3099669788729125721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268133253,"filename":"image_30012025_21_14_24_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/30/d9523eb095b1d5ddefd0100a9168d8af.jpg","text":"TemporaryFile(/tmp/multipartBody4640531040736521193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268133253,"filename":"image_30012025_21_14_35_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f90c2a220d8e23a3a89935c4eb2c55e2.jpg","text":"TemporaryFile(/tmp/multipartBody8623150464442623279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268133253,"filename":"image_30012025_21_13_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/30/aa07b157fb102ef71317ad58e979be0d.jpg","text":"TemporaryFile(/tmp/multipartBody6840184831172888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268133253,"filename":"image_30012025_21_14_14_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/87178ae2058167c405d2e4977a2a9bec.jpg","text":"TemporaryFile(/tmp/multipartBody2346773686370946307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268133253,"filename":"image_30012025_21_14_44_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2b01caa5abf0912d95358973299b1d42.jpg","text":"TemporaryFile(/tmp/multipartBody1701585567398454450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268133253,"filename":"image_30012025_21_14_05_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333094947","file1":"1333094946","file0":"1333094944","file4":"1333094950","file5":"1333094952","file3":"1333094948"},"map_files_photo_id_array":[{"photo_id":"1333094952","filename":"file5"},{"photo_id":"1333094947","filename":"file2"},{"photo_id":"1333094950","filename":"file4"},{"photo_id":"1333094946","filename":"file1"},{"photo_id":"1333094944","filename":"file0"},{"photo_id":"1333094948","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333094948":["hashtag1","hashtag2"]},{"1333094950":["hashtag1","hashtag2"]},{"1333094944":["hashtag1","hashtag2"]},{"1333094947":["hashtag1","hashtag2"]},{"1333094952":["hashtag1","hashtag2"]},{"1333094946":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333094948, 1333094950, 1333094944, 1333094947, 1333094952, 1333094946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50226092338562 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:15:32.488889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/14/image_30012025_21_14_55_10446.jpg', '/home/pi/Desktop/images/30012025/21/14/image_30012025_21_15_04_9344.jpg', '/home/pi/Desktop/images/30012025/21/15/image_30012025_21_15_14_10393.jpg', '/home/pi/Desktop/images/30012025/21/15/image_30012025_21_15_25_10464.jpg', '/home/pi/Desktop/images/30012025/21/15/image_30012025_21_15_34_9351.jpg', '/home/pi/Desktop/images/30012025/21/15/image_30012025_21_15_45_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/14/image_30012025_21_14_55_10446.jpg
/home/pi/Desktop/images/30012025/21/14/image_30012025_21_15_04_9344.jpg
/home/pi/Desktop/images/30012025/21/15/image_30012025_21_15_14_10393.jpg
/home/pi/Desktop/images/30012025/21/15/image_30012025_21_15_25_10464.jpg
/home/pi/Desktop/images/30012025/21/15/image_30012025_21_15_34_9351.jpg
/home/pi/Desktop/images/30012025/21/15/image_30012025_21_15_45_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333095160","1333095165","1333095219","1333095218","1333095212","1333095149"],"photo_ids_order":["1333095149","1333095160","1333095165","1333095212","1333095218","1333095219"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d2681590fcf88f7067e5206a6ddf9e69.jpg","text":"TemporaryFile(/tmp/multipartBody5257762431204868488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268193416,"filename":"image_30012025_21_15_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/30/df84ed3a2e676002c679061458cee865.jpg","text":"TemporaryFile(/tmp/multipartBody8490365851525101377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268193416,"filename":"image_30012025_21_15_14_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/30/db5b3ebb3669df34a92b7c03db92a155.jpg","text":"TemporaryFile(/tmp/multipartBody6585164568251012602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268193416,"filename":"image_30012025_21_15_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/30/041dadfce271bd1fdce33e4dad07be82.jpg","text":"TemporaryFile(/tmp/multipartBody5287103648416297116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268193416,"filename":"image_30012025_21_15_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/30/66a0ca92718daca916feeaf20d8e42ae.jpg","text":"TemporaryFile(/tmp/multipartBody1702554851256612508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268193416,"filename":"image_30012025_21_15_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/30/e55cdee5c5621e3ca13a941e17b0b798.jpg","text":"TemporaryFile(/tmp/multipartBody1617076364240075661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268193416,"filename":"image_30012025_21_14_55_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333095165","file1":"1333095160","file0":"1333095149","file4":"1333095218","file5":"1333095219","file3":"1333095212"},"map_files_photo_id_array":[{"photo_id":"1333095219","filename":"file5"},{"photo_id":"1333095165","filename":"file2"},{"photo_id":"1333095218","filename":"file4"},{"photo_id":"1333095160","filename":"file1"},{"photo_id":"1333095149","filename":"file0"},{"photo_id":"1333095212","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333095160":["hashtag1","hashtag2"]},{"1333095165":["hashtag1","hashtag2"]},{"1333095219":["hashtag1","hashtag2"]},{"1333095218":["hashtag1","hashtag2"]},{"1333095212":["hashtag1","hashtag2"]},{"1333095149":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333095160, 1333095165, 1333095219, 1333095218, 1333095212, 1333095149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.868202686309814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:16:32.843550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/15/image_30012025_21_15_54_9435.jpg', '/home/pi/Desktop/images/30012025/21/15/image_30012025_21_16_04_10345.jpg', '/home/pi/Desktop/images/30012025/21/16/image_30012025_21_16_24_9428.jpg', '/home/pi/Desktop/images/30012025/21/16/image_30012025_21_16_35_10364.jpg', '/home/pi/Desktop/images/30012025/21/16/image_30012025_21_16_45_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/15/image_30012025_21_15_54_9435.jpg
/home/pi/Desktop/images/30012025/21/15/image_30012025_21_16_04_10345.jpg
/home/pi/Desktop/images/30012025/21/16/image_30012025_21_16_24_9428.jpg
/home/pi/Desktop/images/30012025/21/16/image_30012025_21_16_35_10364.jpg
/home/pi/Desktop/images/30012025/21/16/image_30012025_21_16_45_10413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333095292","1333095304","1333095307","1333095297","1333095300"],"photo_ids_order":["1333095292","1333095297","1333095300","1333095304","1333095307"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8f8f8f3d179ced6a261c4f3df1121961.jpg","text":"TemporaryFile(/tmp/multipartBody5881140684247233276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268253762,"filename":"image_30012025_21_15_54_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a936752608e72b2f73f5d2225597a8f8.jpg","text":"TemporaryFile(/tmp/multipartBody7683234290035702089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268253762,"filename":"image_30012025_21_16_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/01dd52e2d43afe8ecddaf8781b9abc29.jpg","text":"TemporaryFile(/tmp/multipartBody5687266614639653347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268253762,"filename":"image_30012025_21_16_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/30/c41d7def38b565114d12edc417ea74ef.jpg","text":"TemporaryFile(/tmp/multipartBody6119214204176955073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268253762,"filename":"image_30012025_21_16_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/30/c098b7b5cf094c3e32dc05f47239d015.jpg","text":"TemporaryFile(/tmp/multipartBody7683675430764294474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268253762,"filename":"image_30012025_21_16_24_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333095300","file1":"1333095297","file0":"1333095292","file4":"1333095307","file3":"1333095304"},"map_files_photo_id_array":[{"photo_id":"1333095300","filename":"file2"},{"photo_id":"1333095307","filename":"file4"},{"photo_id":"1333095297","filename":"file1"},{"photo_id":"1333095292","filename":"file0"},{"photo_id":"1333095304","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333095292":["hashtag1","hashtag2"]},{"1333095304":["hashtag1","hashtag2"]},{"1333095307":["hashtag1","hashtag2"]},{"1333095297":["hashtag1","hashtag2"]},{"1333095300":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333095292, 1333095304, 1333095307, 1333095297, 1333095300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.120845794677734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:17:32.913446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/16/image_30012025_21_16_54_9456.jpg', '/home/pi/Desktop/images/30012025/21/16/image_30012025_21_17_05_10342.jpg', '/home/pi/Desktop/images/30012025/21/17/image_30012025_21_17_14_9327.jpg', '/home/pi/Desktop/images/30012025/21/17/image_30012025_21_17_24_10357.jpg', '/home/pi/Desktop/images/30012025/21/17/image_30012025_21_17_35_10433.jpg', '/home/pi/Desktop/images/30012025/21/17/image_30012025_21_17_44_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/16/image_30012025_21_16_54_9456.jpg
/home/pi/Desktop/images/30012025/21/16/image_30012025_21_17_05_10342.jpg
/home/pi/Desktop/images/30012025/21/17/image_30012025_21_17_14_9327.jpg
/home/pi/Desktop/images/30012025/21/17/image_30012025_21_17_24_10357.jpg
/home/pi/Desktop/images/30012025/21/17/image_30012025_21_17_35_10433.jpg
/home/pi/Desktop/images/30012025/21/17/image_30012025_21_17_44_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333095358","1333095367","1333095354","1333095362","1333095365","1333095350"],"photo_ids_order":["1333095350","1333095354","1333095358","1333095362","1333095365","1333095367"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/89704d27fb58ff3d703e4dee72aabcbc.jpg","text":"TemporaryFile(/tmp/multipartBody8817530410641469608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268313834,"filename":"image_30012025_21_17_14_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/30/7661f5518de1f6f2c4cda915a46cc216.jpg","text":"TemporaryFile(/tmp/multipartBody3948958130561957778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268313834,"filename":"image_30012025_21_17_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/30/d27d526cf5145ec2c4bc1df39c59298d.jpg","text":"TemporaryFile(/tmp/multipartBody4234064666344207099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268313834,"filename":"image_30012025_21_17_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/30/ec7cc94f768d14c909f9655e6b9293c3.jpg","text":"TemporaryFile(/tmp/multipartBody8184829474417127117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268313834,"filename":"image_30012025_21_17_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/30/e8d2762c194c43958c34deccf6cb0d9c.jpg","text":"TemporaryFile(/tmp/multipartBody5552601101177816190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268313834,"filename":"image_30012025_21_17_35_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b91c05c8a60b6fab69e6f71301d2fde2.jpg","text":"TemporaryFile(/tmp/multipartBody3721898357129012085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268313834,"filename":"image_30012025_21_16_54_9456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333095358","file1":"1333095354","file0":"1333095350","file4":"1333095365","file5":"1333095367","file3":"1333095362"},"map_files_photo_id_array":[{"photo_id":"1333095367","filename":"file5"},{"photo_id":"1333095358","filename":"file2"},{"photo_id":"1333095365","filename":"file4"},{"photo_id":"1333095354","filename":"file1"},{"photo_id":"1333095350","filename":"file0"},{"photo_id":"1333095362","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333095358":["hashtag1","hashtag2"]},{"1333095367":["hashtag1","hashtag2"]},{"1333095354":["hashtag1","hashtag2"]},{"1333095362":["hashtag1","hashtag2"]},{"1333095365":["hashtag1","hashtag2"]},{"1333095350":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333095358, 1333095367, 1333095354, 1333095362, 1333095365, 1333095350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.763617277145386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:18:33.048686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/17/image_30012025_21_17_55_10359.jpg', '/home/pi/Desktop/images/30012025/21/17/image_30012025_21_18_04_9480.jpg', '/home/pi/Desktop/images/30012025/21/18/image_30012025_21_18_14_10362.jpg', '/home/pi/Desktop/images/30012025/21/18/image_30012025_21_18_25_10479.jpg', '/home/pi/Desktop/images/30012025/21/18/image_30012025_21_18_34_9444.jpg', '/home/pi/Desktop/images/30012025/21/18/image_30012025_21_18_45_10512.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/17/image_30012025_21_17_55_10359.jpg
/home/pi/Desktop/images/30012025/21/17/image_30012025_21_18_04_9480.jpg
/home/pi/Desktop/images/30012025/21/18/image_30012025_21_18_14_10362.jpg
/home/pi/Desktop/images/30012025/21/18/image_30012025_21_18_25_10479.jpg
/home/pi/Desktop/images/30012025/21/18/image_30012025_21_18_34_9444.jpg
/home/pi/Desktop/images/30012025/21/18/image_30012025_21_18_45_10512.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333095556","1333095541","1333095396","1333095477","1333095570","1333095530"],"photo_ids_order":["1333095396","1333095477","1333095530","1333095541","1333095556","1333095570"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7dc1c487bc012ac8fc0f036c01a2cea7.jpg","text":"TemporaryFile(/tmp/multipartBody7330837831595747062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268373959,"filename":"image_30012025_21_18_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/30/f069bec854e7adb1738d76b3bea243f7.jpg","text":"TemporaryFile(/tmp/multipartBody169791809036127919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268373959,"filename":"image_30012025_21_18_25_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d418aff9130b1912e5d6e13597600d16.jpg","text":"TemporaryFile(/tmp/multipartBody5922526264678042084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268373959,"filename":"image_30012025_21_17_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/30/6730a37e88ada8fc740239488d1f3fda.jpg","text":"TemporaryFile(/tmp/multipartBody2050735733404383001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268373959,"filename":"image_30012025_21_18_04_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/30/1931ebc6c653d756567bc91e5eee65a4.jpg","text":"TemporaryFile(/tmp/multipartBody6132835095116907511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268373959,"filename":"image_30012025_21_18_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/30/f702256e85fbe8f8a7483d914a124e80.jpg","text":"TemporaryFile(/tmp/multipartBody3473517392713532271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268373959,"filename":"image_30012025_21_18_14_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333095530","file1":"1333095477","file0":"1333095396","file4":"1333095556","file5":"1333095570","file3":"1333095541"},"map_files_photo_id_array":[{"photo_id":"1333095570","filename":"file5"},{"photo_id":"1333095530","filename":"file2"},{"photo_id":"1333095556","filename":"file4"},{"photo_id":"1333095477","filename":"file1"},{"photo_id":"1333095396","filename":"file0"},{"photo_id":"1333095541","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333095556":["hashtag1","hashtag2"]},{"1333095541":["hashtag1","hashtag2"]},{"1333095396":["hashtag1","hashtag2"]},{"1333095477":["hashtag1","hashtag2"]},{"1333095570":["hashtag1","hashtag2"]},{"1333095530":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333095556, 1333095541, 1333095396, 1333095477, 1333095570, 1333095530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.1834352016449 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:19:32.314658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/18/image_30012025_21_18_54_9453.jpg', '/home/pi/Desktop/images/30012025/21/18/image_30012025_21_19_05_10354.jpg', '/home/pi/Desktop/images/30012025/21/19/image_30012025_21_19_14_9414.jpg', '/home/pi/Desktop/images/30012025/21/19/image_30012025_21_19_24_10342.jpg', '/home/pi/Desktop/images/30012025/21/19/image_30012025_21_19_35_10364.jpg', '/home/pi/Desktop/images/30012025/21/19/image_30012025_21_19_44_9465.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/18/image_30012025_21_18_54_9453.jpg
/home/pi/Desktop/images/30012025/21/18/image_30012025_21_19_05_10354.jpg
/home/pi/Desktop/images/30012025/21/19/image_30012025_21_19_14_9414.jpg
/home/pi/Desktop/images/30012025/21/19/image_30012025_21_19_24_10342.jpg
/home/pi/Desktop/images/30012025/21/19/image_30012025_21_19_35_10364.jpg
/home/pi/Desktop/images/30012025/21/19/image_30012025_21_19_44_9465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333095664","1333095610","1333095606","1333095671","1333095668","1333095614"],"photo_ids_order":["1333095606","1333095610","1333095614","1333095664","1333095668","1333095671"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9e81550ea94b1c830406643bb50fbc77.jpg","text":"TemporaryFile(/tmp/multipartBody4709465477910531244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268433258,"filename":"image_30012025_21_19_24_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3ab22e61ea6244b131b87e0ebbf6a8fa.jpg","text":"TemporaryFile(/tmp/multipartBody3460726615740216510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268433258,"filename":"image_30012025_21_19_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/30/fcbb7ba63c7901dd01f44c398669846a.jpg","text":"TemporaryFile(/tmp/multipartBody1265316750979339429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268433258,"filename":"image_30012025_21_18_54_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4a66c8f868c5f18534a11525b9c42453.jpg","text":"TemporaryFile(/tmp/multipartBody2426943704471225146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268433258,"filename":"image_30012025_21_19_44_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/30/465ee58b4c0d3eb74f1e79eefda17266.jpg","text":"TemporaryFile(/tmp/multipartBody8140389673412723975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268433258,"filename":"image_30012025_21_19_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/44bac70b9124cf28594dc5cfca6a52fd.jpg","text":"TemporaryFile(/tmp/multipartBody5787223155876841667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268433258,"filename":"image_30012025_21_19_14_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333095614","file1":"1333095610","file0":"1333095606","file4":"1333095668","file5":"1333095671","file3":"1333095664"},"map_files_photo_id_array":[{"photo_id":"1333095671","filename":"file5"},{"photo_id":"1333095614","filename":"file2"},{"photo_id":"1333095668","filename":"file4"},{"photo_id":"1333095610","filename":"file1"},{"photo_id":"1333095606","filename":"file0"},{"photo_id":"1333095664","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333095664":["hashtag1","hashtag2"]},{"1333095610":["hashtag1","hashtag2"]},{"1333095606":["hashtag1","hashtag2"]},{"1333095671":["hashtag1","hashtag2"]},{"1333095668":["hashtag1","hashtag2"]},{"1333095614":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333095664, 1333095610, 1333095606, 1333095671, 1333095668, 1333095614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.01415991783142 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:20:32.447154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/19/image_30012025_21_19_55_10353.jpg', '/home/pi/Desktop/images/30012025/21/19/image_30012025_21_20_04_9454.jpg', '/home/pi/Desktop/images/30012025/21/20/image_30012025_21_20_14_10363.jpg', '/home/pi/Desktop/images/30012025/21/20/image_30012025_21_20_25_10365.jpg', '/home/pi/Desktop/images/30012025/21/20/image_30012025_21_20_34_9349.jpg', '/home/pi/Desktop/images/30012025/21/20/image_30012025_21_20_44_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/19/image_30012025_21_19_55_10353.jpg
/home/pi/Desktop/images/30012025/21/19/image_30012025_21_20_04_9454.jpg
/home/pi/Desktop/images/30012025/21/20/image_30012025_21_20_14_10363.jpg
/home/pi/Desktop/images/30012025/21/20/image_30012025_21_20_25_10365.jpg
/home/pi/Desktop/images/30012025/21/20/image_30012025_21_20_34_9349.jpg
/home/pi/Desktop/images/30012025/21/20/image_30012025_21_20_44_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333095753","1333095756","1333095761","1333095764","1333095758","1333095749"],"photo_ids_order":["1333095749","1333095753","1333095756","1333095758","1333095761","1333095764"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/798a51b7b49692be671821bb879fa1a0.jpg","text":"TemporaryFile(/tmp/multipartBody5072335860803825689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268493393,"filename":"image_30012025_21_20_04_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/30/8e0a149359f49ae0dd41c38d7881ca1a.jpg","text":"TemporaryFile(/tmp/multipartBody6855190077377182992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268493393,"filename":"image_30012025_21_20_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/30/fc426f36fba82646d336afcf58044812.jpg","text":"TemporaryFile(/tmp/multipartBody4596467507720204972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268493393,"filename":"image_30012025_21_20_34_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/30/c80dfd5f4c17807966305656ba0d97e1.jpg","text":"TemporaryFile(/tmp/multipartBody7330147181841957012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268493393,"filename":"image_30012025_21_20_44_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/529182ea6be842cb50fc2a4935e35f39.jpg","text":"TemporaryFile(/tmp/multipartBody236924871492077898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268493393,"filename":"image_30012025_21_20_25_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/30/f68c397514cce2a3515a8394ca67e3fa.jpg","text":"TemporaryFile(/tmp/multipartBody4299037907884646310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268493393,"filename":"image_30012025_21_19_55_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333095756","file1":"1333095753","file0":"1333095749","file4":"1333095761","file5":"1333095764","file3":"1333095758"},"map_files_photo_id_array":[{"photo_id":"1333095764","filename":"file5"},{"photo_id":"1333095756","filename":"file2"},{"photo_id":"1333095761","filename":"file4"},{"photo_id":"1333095753","filename":"file1"},{"photo_id":"1333095749","filename":"file0"},{"photo_id":"1333095758","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333095753":["hashtag1","hashtag2"]},{"1333095756":["hashtag1","hashtag2"]},{"1333095761":["hashtag1","hashtag2"]},{"1333095764":["hashtag1","hashtag2"]},{"1333095758":["hashtag1","hashtag2"]},{"1333095749":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333095753, 1333095756, 1333095761, 1333095764, 1333095758, 1333095749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.64469027519226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:21:32.661256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/20/image_30012025_21_20_55_10398.jpg', '/home/pi/Desktop/images/30012025/21/20/image_30012025_21_21_04_9354.jpg', '/home/pi/Desktop/images/30012025/21/21/image_30012025_21_21_15_10352.jpg', '/home/pi/Desktop/images/30012025/21/21/image_30012025_21_21_25_10356.jpg', '/home/pi/Desktop/images/30012025/21/21/image_30012025_21_21_34_9354.jpg', '/home/pi/Desktop/images/30012025/21/21/image_30012025_21_21_45_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/20/image_30012025_21_20_55_10398.jpg
/home/pi/Desktop/images/30012025/21/20/image_30012025_21_21_04_9354.jpg
/home/pi/Desktop/images/30012025/21/21/image_30012025_21_21_15_10352.jpg
/home/pi/Desktop/images/30012025/21/21/image_30012025_21_21_25_10356.jpg
/home/pi/Desktop/images/30012025/21/21/image_30012025_21_21_34_9354.jpg
/home/pi/Desktop/images/30012025/21/21/image_30012025_21_21_45_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":["1333095787","1333095796","1333095802","1333095792","1333095782","1333095779"],"photo_ids_order":["1333095779","1333095782","1333095787","1333095792","1333095796","1333095802"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/346509d19db9908c532859cc9c319514.jpg","text":"TemporaryFile(/tmp/multipartBody2649191467663211825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268553588,"filename":"image_30012025_21_21_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/30/a54b0797723d04c98d48b51499543535.jpg","text":"TemporaryFile(/tmp/multipartBody8127141420899523467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268553588,"filename":"image_30012025_21_21_34_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/30/c7c5a804222f820e852fbbbdd13ca2b4.jpg","text":"TemporaryFile(/tmp/multipartBody4927364085017933661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268553588,"filename":"image_30012025_21_21_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/30/2651c82f6d0d3460dffbcd6df4c00b5b.jpg","text":"TemporaryFile(/tmp/multipartBody8144268355496736386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268553588,"filename":"image_30012025_21_21_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/30/a4a366cf876e0637887f66f0798181e1.jpg","text":"TemporaryFile(/tmp/multipartBody9040946883917462873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268553588,"filename":"image_30012025_21_21_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/30/757b717b1979b0e4084ba5d024fd5796.jpg","text":"TemporaryFile(/tmp/multipartBody1832895419490800673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268553588,"filename":"image_30012025_21_20_55_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333095787","file1":"1333095782","file0":"1333095779","file4":"1333095796","file5":"1333095802","file3":"1333095792"},"map_files_photo_id_array":[{"photo_id":"1333095802","filename":"file5"},{"photo_id":"1333095787","filename":"file2"},{"photo_id":"1333095796","filename":"file4"},{"photo_id":"1333095782","filename":"file1"},{"photo_id":"1333095779","filename":"file0"},{"photo_id":"1333095792","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333095787":["hashtag1","hashtag2"]},{"1333095796":["hashtag1","hashtag2"]},{"1333095802":["hashtag1","hashtag2"]},{"1333095792":["hashtag1","hashtag2"]},{"1333095782":["hashtag1","hashtag2"]},{"1333095779":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333095787, 1333095796, 1333095802, 1333095792, 1333095782, 1333095779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.99800968170166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:22:32.926021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/21/image_30012025_21_21_54_9437.jpg', '/home/pi/Desktop/images/30012025/21/21/image_30012025_21_22_04_10339.jpg', '/home/pi/Desktop/images/30012025/21/22/image_30012025_21_22_15_10464.jpg', '/home/pi/Desktop/images/30012025/21/22/image_30012025_21_22_24_9435.jpg', '/home/pi/Desktop/images/30012025/21/22/image_30012025_21_22_35_10375.jpg', '/home/pi/Desktop/images/30012025/21/22/image_30012025_21_22_44_9382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/21/image_30012025_21_21_54_9437.jpg
/home/pi/Desktop/images/30012025/21/21/image_30012025_21_22_04_10339.jpg
/home/pi/Desktop/images/30012025/21/22/image_30012025_21_22_15_10464.jpg
/home/pi/Desktop/images/30012025/21/22/image_30012025_21_22_24_9435.jpg
/home/pi/Desktop/images/30012025/21/22/image_30012025_21_22_35_10375.jpg
/home/pi/Desktop/images/30012025/21/22/image_30012025_21_22_44_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":["1333095892","1333095895","1333095901","1333095855","1333095899","1333095837"],"photo_ids_order":["1333095837","1333095855","1333095892","1333095895","1333095899","1333095901"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/598e75dc90ac92903fd05d114878c562.jpg","text":"TemporaryFile(/tmp/multipartBody2692512795708882128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268613841,"filename":"image_30012025_21_22_15_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/30e6ca2e7527061fb9b1b9511e6ade27.jpg","text":"TemporaryFile(/tmp/multipartBody5810132081587298132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268613841,"filename":"image_30012025_21_22_24_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9d674d8cee4bb9b53e9c4a332461ad41.jpg","text":"TemporaryFile(/tmp/multipartBody5632659481034390558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268613841,"filename":"image_30012025_21_22_44_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e8df896f973c6d19e968853a568bc25a.jpg","text":"TemporaryFile(/tmp/multipartBody2345480093353087377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268613841,"filename":"image_30012025_21_22_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/30/40efc49d64394ea0ef45108bac4e4348.jpg","text":"TemporaryFile(/tmp/multipartBody6037023533751959191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268613841,"filename":"image_30012025_21_22_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/30/8c8bfd9cc24393d0851f4bdcba366345.jpg","text":"TemporaryFile(/tmp/multipartBody1007953541961768217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268613841,"filename":"image_30012025_21_21_54_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333095892","file1":"1333095855","file0":"1333095837","file4":"1333095899","file5":"1333095901","file3":"1333095895"},"map_files_photo_id_array":[{"photo_id":"1333095901","filename":"file5"},{"photo_id":"1333095892","filename":"file2"},{"photo_id":"1333095899","filename":"file4"},{"photo_id":"1333095855","filename":"file1"},{"photo_id":"1333095837","filename":"file0"},{"photo_id":"1333095895","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333095892":["hashtag1","hashtag2"]},{"1333095895":["hashtag1","hashtag2"]},{"1333095901":["hashtag1","hashtag2"]},{"1333095855":["hashtag1","hashtag2"]},{"1333095899":["hashtag1","hashtag2"]},{"1333095837":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333095892, 1333095895, 1333095901, 1333095855, 1333095899, 1333095837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95337796211243 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:23:32.249477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/22/image_30012025_21_22_54_10293.jpg', '/home/pi/Desktop/images/30012025/21/22/image_30012025_21_23_05_10351.jpg', '/home/pi/Desktop/images/30012025/21/23/image_30012025_21_23_14_9386.jpg', '/home/pi/Desktop/images/30012025/21/23/image_30012025_21_23_24_10378.jpg', '/home/pi/Desktop/images/30012025/21/23/image_30012025_21_23_35_10431.jpg', '/home/pi/Desktop/images/30012025/21/23/image_30012025_21_23_44_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/22/image_30012025_21_22_54_10293.jpg
/home/pi/Desktop/images/30012025/21/22/image_30012025_21_23_05_10351.jpg
/home/pi/Desktop/images/30012025/21/23/image_30012025_21_23_14_9386.jpg
/home/pi/Desktop/images/30012025/21/23/image_30012025_21_23_24_10378.jpg
/home/pi/Desktop/images/30012025/21/23/image_30012025_21_23_35_10431.jpg
/home/pi/Desktop/images/30012025/21/23/image_30012025_21_23_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":["1333096021","1333096024","1333096003","1333095924","1333096028","1333096007"],"photo_ids_order":["1333095924","1333096003","1333096007","1333096021","1333096024","1333096028"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/39539a81f852df948b586b16d4e4fa1b.jpg","text":"TemporaryFile(/tmp/multipartBody3311820929508354798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268673179,"filename":"image_30012025_21_23_24_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f9bfe68a7cc19259ac909d5291ae923d.jpg","text":"TemporaryFile(/tmp/multipartBody4764811052578878920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268673179,"filename":"image_30012025_21_23_35_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/30/108fcba1e6d5a25dc5e72898ccf3ea38.jpg","text":"TemporaryFile(/tmp/multipartBody6992791092367253162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268673179,"filename":"image_30012025_21_23_05_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ae6767f03e6d26eeda8a89cddf28e90f.jpg","text":"TemporaryFile(/tmp/multipartBody5733239175827308997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268673179,"filename":"image_30012025_21_22_54_10293.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/14bed188450c9f931ab1fe93ac4a5ca6.jpg","text":"TemporaryFile(/tmp/multipartBody3269420922362948513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268673179,"filename":"image_30012025_21_23_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/30/4f7a0372eb46e2477c94750dcd83cb9b.jpg","text":"TemporaryFile(/tmp/multipartBody3563089121152598260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268673179,"filename":"image_30012025_21_23_14_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333096007","file1":"1333096003","file0":"1333095924","file4":"1333096024","file5":"1333096028","file3":"1333096021"},"map_files_photo_id_array":[{"photo_id":"1333096028","filename":"file5"},{"photo_id":"1333096007","filename":"file2"},{"photo_id":"1333096024","filename":"file4"},{"photo_id":"1333096003","filename":"file1"},{"photo_id":"1333095924","filename":"file0"},{"photo_id":"1333096021","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333096021":["hashtag1","hashtag2"]},{"1333096024":["hashtag1","hashtag2"]},{"1333096003":["hashtag1","hashtag2"]},{"1333095924":["hashtag1","hashtag2"]},{"1333096028":["hashtag1","hashtag2"]},{"1333096007":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333096021, 1333096024, 1333096003, 1333095924, 1333096028, 1333096007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.81789255142212 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:24:32.367781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/23/image_30012025_21_23_55_10363.jpg', '/home/pi/Desktop/images/30012025/21/23/image_30012025_21_24_04_9437.jpg', '/home/pi/Desktop/images/30012025/21/24/image_30012025_21_24_25_10339.jpg', '/home/pi/Desktop/images/30012025/21/24/image_30012025_21_24_34_9379.jpg', '/home/pi/Desktop/images/30012025/21/24/image_30012025_21_24_44_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/23/image_30012025_21_23_55_10363.jpg
/home/pi/Desktop/images/30012025/21/23/image_30012025_21_24_04_9437.jpg
/home/pi/Desktop/images/30012025/21/24/image_30012025_21_24_25_10339.jpg
/home/pi/Desktop/images/30012025/21/24/image_30012025_21_24_34_9379.jpg
/home/pi/Desktop/images/30012025/21/24/image_30012025_21_24_44_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":["1333096164","1333096142","1333096136","1333096195","1333096198"],"photo_ids_order":["1333096136","1333096142","1333096164","1333096195","1333096198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e40abea7e37450aa4fe103cc31cce082.jpg","text":"TemporaryFile(/tmp/multipartBody413190801609380379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268733260,"filename":"image_30012025_21_24_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/30/622c0c1db0491ec82f47fcc7bc5e21d6.jpg","text":"TemporaryFile(/tmp/multipartBody4632692571747737676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268733260,"filename":"image_30012025_21_24_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/30/05f6b495d14c3b3759c13f018f52db4a.jpg","text":"TemporaryFile(/tmp/multipartBody4093072519037115615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268733260,"filename":"image_30012025_21_23_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/30/961fa13a4f195ee426514b769fe65a1c.jpg","text":"TemporaryFile(/tmp/multipartBody6418662254543637174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268733260,"filename":"image_30012025_21_24_34_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/85bb74675140a4a82cfdd96a7fc45ffc.jpg","text":"TemporaryFile(/tmp/multipartBody7269814615386310113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268733260,"filename":"image_30012025_21_24_44_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333096164","file1":"1333096142","file0":"1333096136","file4":"1333096198","file3":"1333096195"},"map_files_photo_id_array":[{"photo_id":"1333096164","filename":"file2"},{"photo_id":"1333096198","filename":"file4"},{"photo_id":"1333096142","filename":"file1"},{"photo_id":"1333096136","filename":"file0"},{"photo_id":"1333096195","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333096164":["hashtag1","hashtag2"]},{"1333096142":["hashtag1","hashtag2"]},{"1333096136":["hashtag1","hashtag2"]},{"1333096195":["hashtag1","hashtag2"]},{"1333096198":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333096164, 1333096142, 1333096136, 1333096195, 1333096198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.262542724609375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:25:32.551050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/24/image_30012025_21_24_55_10402.jpg', '/home/pi/Desktop/images/30012025/21/24/image_30012025_21_25_04_9345.jpg', '/home/pi/Desktop/images/30012025/21/25/image_30012025_21_25_15_10347.jpg', '/home/pi/Desktop/images/30012025/21/25/image_30012025_21_25_25_10435.jpg', '/home/pi/Desktop/images/30012025/21/25/image_30012025_21_25_34_9338.jpg', '/home/pi/Desktop/images/30012025/21/25/image_30012025_21_25_45_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/24/image_30012025_21_24_55_10402.jpg
/home/pi/Desktop/images/30012025/21/24/image_30012025_21_25_04_9345.jpg
/home/pi/Desktop/images/30012025/21/25/image_30012025_21_25_15_10347.jpg
/home/pi/Desktop/images/30012025/21/25/image_30012025_21_25_25_10435.jpg
/home/pi/Desktop/images/30012025/21/25/image_30012025_21_25_34_9338.jpg
/home/pi/Desktop/images/30012025/21/25/image_30012025_21_25_45_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333096266","1333096314","1333096352","1333096268","1333096310","1333096307"],"photo_ids_order":["1333096266","1333096268","1333096307","1333096310","1333096314","1333096352"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cebff17f814ba85affbd46e4ee287c3c.jpg","text":"TemporaryFile(/tmp/multipartBody5523705700409168509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268793470,"filename":"image_30012025_21_24_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/30/3e4787f481b4f61a8f2a684ad49f5a3e.jpg","text":"TemporaryFile(/tmp/multipartBody7989743097751176713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268793470,"filename":"image_30012025_21_25_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/30/03940a94001ce9737f3aa4c3731f4cb1.jpg","text":"TemporaryFile(/tmp/multipartBody7175731682471367429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268793470,"filename":"image_30012025_21_25_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/30/8b608c66db097620f1b3a168506440d3.jpg","text":"TemporaryFile(/tmp/multipartBody658190739950074550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268793470,"filename":"image_30012025_21_25_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/30/56c661041ef9501b6147efc92fe28e21.jpg","text":"TemporaryFile(/tmp/multipartBody352953439563108605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268793470,"filename":"image_30012025_21_25_25_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/30/9f2133eed70b47b8b92f202e9f4fccd2.jpg","text":"TemporaryFile(/tmp/multipartBody9057124207820880661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268793470,"filename":"image_30012025_21_25_15_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333096307","file1":"1333096268","file0":"1333096266","file4":"1333096314","file5":"1333096352","file3":"1333096310"},"map_files_photo_id_array":[{"photo_id":"1333096352","filename":"file5"},{"photo_id":"1333096307","filename":"file2"},{"photo_id":"1333096314","filename":"file4"},{"photo_id":"1333096268","filename":"file1"},{"photo_id":"1333096266","filename":"file0"},{"photo_id":"1333096310","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333096266":["hashtag1","hashtag2"]},{"1333096314":["hashtag1","hashtag2"]},{"1333096352":["hashtag1","hashtag2"]},{"1333096268":["hashtag1","hashtag2"]},{"1333096310":["hashtag1","hashtag2"]},{"1333096307":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333096266, 1333096314, 1333096352, 1333096268, 1333096310, 1333096307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.14996886253357 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:26:32.790805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/25/image_30012025_21_25_54_9415.jpg', '/home/pi/Desktop/images/30012025/21/25/image_30012025_21_26_04_10337.jpg', '/home/pi/Desktop/images/30012025/21/26/image_30012025_21_26_15_10474.jpg', '/home/pi/Desktop/images/30012025/21/26/image_30012025_21_26_24_9338.jpg', '/home/pi/Desktop/images/30012025/21/26/image_30012025_21_26_35_10357.jpg', '/home/pi/Desktop/images/30012025/21/26/image_30012025_21_26_44_9464.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/25/image_30012025_21_25_54_9415.jpg
/home/pi/Desktop/images/30012025/21/25/image_30012025_21_26_04_10337.jpg
/home/pi/Desktop/images/30012025/21/26/image_30012025_21_26_15_10474.jpg
/home/pi/Desktop/images/30012025/21/26/image_30012025_21_26_24_9338.jpg
/home/pi/Desktop/images/30012025/21/26/image_30012025_21_26_35_10357.jpg
/home/pi/Desktop/images/30012025/21/26/image_30012025_21_26_44_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":["1333096420","1333096414","1333096417","1333096410","1333096397","1333096388"],"photo_ids_order":["1333096388","1333096397","1333096410","1333096414","1333096417","1333096420"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7a8581da506211fadb737be5f3faab16.jpg","text":"TemporaryFile(/tmp/multipartBody6783117600910729413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268853697,"filename":"image_30012025_21_26_44_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/30/45fdd373872688cff70d04f14e1944cc.jpg","text":"TemporaryFile(/tmp/multipartBody8396942568745820640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268853697,"filename":"image_30012025_21_26_24_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4dc2ce42bd8c8748a5af9f9e95d825c8.jpg","text":"TemporaryFile(/tmp/multipartBody8885284203386073955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268853697,"filename":"image_30012025_21_26_35_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7bf8f63a31d12bd15b340d67eb891945.jpg","text":"TemporaryFile(/tmp/multipartBody8972381043856642660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268853697,"filename":"image_30012025_21_26_15_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/30/48646a36a9e5154f8638692eed278a68.jpg","text":"TemporaryFile(/tmp/multipartBody1753209111148233041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268853697,"filename":"image_30012025_21_26_04_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fa4574fa7036e218e50a673e700f3dce.jpg","text":"TemporaryFile(/tmp/multipartBody5413898333362909834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268853697,"filename":"image_30012025_21_25_54_9415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333096410","file1":"1333096397","file0":"1333096388","file4":"1333096417","file5":"1333096420","file3":"1333096414"},"map_files_photo_id_array":[{"photo_id":"1333096420","filename":"file5"},{"photo_id":"1333096410","filename":"file2"},{"photo_id":"1333096417","filename":"file4"},{"photo_id":"1333096397","filename":"file1"},{"photo_id":"1333096388","filename":"file0"},{"photo_id":"1333096414","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333096420":["hashtag1","hashtag2"]},{"1333096414":["hashtag1","hashtag2"]},{"1333096417":["hashtag1","hashtag2"]},{"1333096410":["hashtag1","hashtag2"]},{"1333096397":["hashtag1","hashtag2"]},{"1333096388":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333096420, 1333096414, 1333096417, 1333096410, 1333096397, 1333096388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.01660704612732 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:27:33.071075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/26/image_30012025_21_26_54_10357.jpg', '/home/pi/Desktop/images/30012025/21/26/image_30012025_21_27_05_10473.jpg', '/home/pi/Desktop/images/30012025/21/27/image_30012025_21_27_14_9342.jpg', '/home/pi/Desktop/images/30012025/21/27/image_30012025_21_27_25_10356.jpg', '/home/pi/Desktop/images/30012025/21/27/image_30012025_21_27_35_10347.jpg', '/home/pi/Desktop/images/30012025/21/27/image_30012025_21_27_44_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/26/image_30012025_21_26_54_10357.jpg
/home/pi/Desktop/images/30012025/21/26/image_30012025_21_27_05_10473.jpg
/home/pi/Desktop/images/30012025/21/27/image_30012025_21_27_14_9342.jpg
/home/pi/Desktop/images/30012025/21/27/image_30012025_21_27_25_10356.jpg
/home/pi/Desktop/images/30012025/21/27/image_30012025_21_27_35_10347.jpg
/home/pi/Desktop/images/30012025/21/27/image_30012025_21_27_44_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333096465","1333096482","1333096446","1333096449","1333096460","1333096456"],"photo_ids_order":["1333096446","1333096449","1333096456","1333096460","1333096465","1333096482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/eb92270631fa31c723381a6898d64953.jpg","text":"TemporaryFile(/tmp/multipartBody3630168919256613962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268913986,"filename":"image_30012025_21_27_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/30/ed3fb80196404fb70e356c3a2a4b5e5f.jpg","text":"TemporaryFile(/tmp/multipartBody5675856489337964680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268913986,"filename":"image_30012025_21_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/30/d95442019f6dd444209b499137d4b42d.jpg","text":"TemporaryFile(/tmp/multipartBody8353513239570434919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268913986,"filename":"image_30012025_21_26_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/30/816aab3d62dd0ee26240c6b8616e7fe4.jpg","text":"TemporaryFile(/tmp/multipartBody4426600310397344187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268913986,"filename":"image_30012025_21_27_05_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/30/5486ed3ffb0ad336c099f91358f520e2.jpg","text":"TemporaryFile(/tmp/multipartBody6040492323394770892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268913986,"filename":"image_30012025_21_27_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/30/dae6c2db95aacabedc0a5f9e55fd1f78.jpg","text":"TemporaryFile(/tmp/multipartBody589737305388965464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268913986,"filename":"image_30012025_21_27_14_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333096456","file1":"1333096449","file0":"1333096446","file4":"1333096465","file5":"1333096482","file3":"1333096460"},"map_files_photo_id_array":[{"photo_id":"1333096482","filename":"file5"},{"photo_id":"1333096456","filename":"file2"},{"photo_id":"1333096465","filename":"file4"},{"photo_id":"1333096449","filename":"file1"},{"photo_id":"1333096446","filename":"file0"},{"photo_id":"1333096460","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333096465":["hashtag1","hashtag2"]},{"1333096482":["hashtag1","hashtag2"]},{"1333096446":["hashtag1","hashtag2"]},{"1333096449":["hashtag1","hashtag2"]},{"1333096460":["hashtag1","hashtag2"]},{"1333096456":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333096465, 1333096482, 1333096446, 1333096449, 1333096460, 1333096456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.41246938705444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:28:32.288601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/27/image_30012025_21_27_55_10412.jpg', '/home/pi/Desktop/images/30012025/21/27/image_30012025_21_28_04_9347.jpg', '/home/pi/Desktop/images/30012025/21/28/image_30012025_21_28_15_10426.jpg', '/home/pi/Desktop/images/30012025/21/28/image_30012025_21_28_25_10501.jpg', '/home/pi/Desktop/images/30012025/21/28/image_30012025_21_28_34_9352.jpg', '/home/pi/Desktop/images/30012025/21/28/image_30012025_21_28_45_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/27/image_30012025_21_27_55_10412.jpg
/home/pi/Desktop/images/30012025/21/27/image_30012025_21_28_04_9347.jpg
/home/pi/Desktop/images/30012025/21/28/image_30012025_21_28_15_10426.jpg
/home/pi/Desktop/images/30012025/21/28/image_30012025_21_28_25_10501.jpg
/home/pi/Desktop/images/30012025/21/28/image_30012025_21_28_34_9352.jpg
/home/pi/Desktop/images/30012025/21/28/image_30012025_21_28_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":["1333096504","1333096513","1333096509","1333096520","1333096523","1333096517"],"photo_ids_order":["1333096504","1333096509","1333096513","1333096517","1333096520","1333096523"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7f92975d9a5600bfee70d3e8c55eb7ab.jpg","text":"TemporaryFile(/tmp/multipartBody278686957260160270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268973232,"filename":"image_30012025_21_27_55_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/39d617d42dc3d7699ea3dfeab077338f.jpg","text":"TemporaryFile(/tmp/multipartBody7389392650763000402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268973232,"filename":"image_30012025_21_28_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/30/282f6d87df8b6fe434c6548de9f6cc2b.jpg","text":"TemporaryFile(/tmp/multipartBody4107199632950651032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268973232,"filename":"image_30012025_21_28_04_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/64a853e8eaedba173ec48a670a4e921f.jpg","text":"TemporaryFile(/tmp/multipartBody1827339582256999298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268973232,"filename":"image_30012025_21_28_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/30/a30248928c02581a071d948f25b97e9f.jpg","text":"TemporaryFile(/tmp/multipartBody9027544629843496637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268973232,"filename":"image_30012025_21_28_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/30/1c74e7ac3ab3beee4fca0258c780f8a9.jpg","text":"TemporaryFile(/tmp/multipartBody9093679067475503832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738268973232,"filename":"image_30012025_21_28_25_10501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333096513","file1":"1333096509","file0":"1333096504","file4":"1333096520","file5":"1333096523","file3":"1333096517"},"map_files_photo_id_array":[{"photo_id":"1333096523","filename":"file5"},{"photo_id":"1333096513","filename":"file2"},{"photo_id":"1333096520","filename":"file4"},{"photo_id":"1333096509","filename":"file1"},{"photo_id":"1333096504","filename":"file0"},{"photo_id":"1333096517","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333096504":["hashtag1","hashtag2"]},{"1333096513":["hashtag1","hashtag2"]},{"1333096509":["hashtag1","hashtag2"]},{"1333096520":["hashtag1","hashtag2"]},{"1333096523":["hashtag1","hashtag2"]},{"1333096517":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333096504, 1333096513, 1333096509, 1333096520, 1333096523, 1333096517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.60489821434021 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:29:32.720407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/28/image_30012025_21_28_54_9346.jpg', '/home/pi/Desktop/images/30012025/21/28/image_30012025_21_29_04_10334.jpg', '/home/pi/Desktop/images/30012025/21/29/image_30012025_21_29_15_10343.jpg', '/home/pi/Desktop/images/30012025/21/29/image_30012025_21_29_24_9471.jpg', '/home/pi/Desktop/images/30012025/21/29/image_30012025_21_29_35_10344.jpg', '/home/pi/Desktop/images/30012025/21/29/image_30012025_21_29_45_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/28/image_30012025_21_28_54_9346.jpg
/home/pi/Desktop/images/30012025/21/28/image_30012025_21_29_04_10334.jpg
/home/pi/Desktop/images/30012025/21/29/image_30012025_21_29_15_10343.jpg
/home/pi/Desktop/images/30012025/21/29/image_30012025_21_29_24_9471.jpg
/home/pi/Desktop/images/30012025/21/29/image_30012025_21_29_35_10344.jpg
/home/pi/Desktop/images/30012025/21/29/image_30012025_21_29_45_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.5172288417816162 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 21:29:42.688141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/28/image_30012025_21_28_54_9346.jpg', '/home/pi/Desktop/images/30012025/21/28/image_30012025_21_29_04_10334.jpg', '/home/pi/Desktop/images/30012025/21/29/image_30012025_21_29_15_10343.jpg', '/home/pi/Desktop/images/30012025/21/29/image_30012025_21_29_24_9471.jpg', '/home/pi/Desktop/images/30012025/21/29/image_30012025_21_29_35_10344.jpg', '/home/pi/Desktop/images/30012025/21/29/image_30012025_21_29_45_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/28/image_30012025_21_28_54_9346.jpg
/home/pi/Desktop/images/30012025/21/28/image_30012025_21_29_04_10334.jpg
/home/pi/Desktop/images/30012025/21/29/image_30012025_21_29_15_10343.jpg
/home/pi/Desktop/images/30012025/21/29/image_30012025_21_29_24_9471.jpg
/home/pi/Desktop/images/30012025/21/29/image_30012025_21_29_35_10344.jpg
/home/pi/Desktop/images/30012025/21/29/image_30012025_21_29_45_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":["1333096572","1333096566","1333096575","1333096559","1333096570","1333096555"],"photo_ids_order":["1333096555","1333096559","1333096566","1333096570","1333096572","1333096575"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d5acfcd797560492f7c44ed6a31e3c6e.jpg","text":"TemporaryFile(/tmp/multipartBody7004182726735395818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269043629,"filename":"image_30012025_21_29_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/30/7c91ac962c9208fdd3b7caa04abe1a8c.jpg","text":"TemporaryFile(/tmp/multipartBody3699399072248936193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269043629,"filename":"image_30012025_21_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/30/c8973ac47477b4c0c465cd6e877c9d51.jpg","text":"TemporaryFile(/tmp/multipartBody2565413628281076902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269043629,"filename":"image_30012025_21_29_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/30/110d5f54e450aa6cf2f33e943f250562.jpg","text":"TemporaryFile(/tmp/multipartBody4295274282913922234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269043629,"filename":"image_30012025_21_29_04_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/30/bb617539cd50b34b5c5edf02261c48c8.jpg","text":"TemporaryFile(/tmp/multipartBody7847093296465628522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269043629,"filename":"image_30012025_21_29_24_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/30/4ec5f29b8b94a23b45960cfc883012c9.jpg","text":"TemporaryFile(/tmp/multipartBody3634529443776561264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269043629,"filename":"image_30012025_21_28_54_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333096566","file1":"1333096559","file0":"1333096555","file4":"1333096572","file5":"1333096575","file3":"1333096570"},"map_files_photo_id_array":[{"photo_id":"1333096575","filename":"file5"},{"photo_id":"1333096566","filename":"file2"},{"photo_id":"1333096572","filename":"file4"},{"photo_id":"1333096559","filename":"file1"},{"photo_id":"1333096555","filename":"file0"},{"photo_id":"1333096570","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333096572":["hashtag1","hashtag2"]},{"1333096566":["hashtag1","hashtag2"]},{"1333096575":["hashtag1","hashtag2"]},{"1333096559":["hashtag1","hashtag2"]},{"1333096570":["hashtag1","hashtag2"]},{"1333096555":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333096572, 1333096566, 1333096575, 1333096559, 1333096570, 1333096555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.360713720321655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:30:32.860084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/29/image_30012025_21_29_54_9352.jpg', '/home/pi/Desktop/images/30012025/21/29/image_30012025_21_30_05_10345.jpg', '/home/pi/Desktop/images/30012025/21/30/image_30012025_21_30_15_10352.jpg', '/home/pi/Desktop/images/30012025/21/30/image_30012025_21_30_24_9409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/29/image_30012025_21_29_54_9352.jpg
/home/pi/Desktop/images/30012025/21/29/image_30012025_21_30_05_10345.jpg
/home/pi/Desktop/images/30012025/21/30/image_30012025_21_30_15_10352.jpg
/home/pi/Desktop/images/30012025/21/30/image_30012025_21_30_24_9409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333096603","1333096598","1333096594","1333096588"],"photo_ids_order":["1333096588","1333096594","1333096598","1333096603"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/874a49e371cb136eed403817abea69e0.jpg","text":"TemporaryFile(/tmp/multipartBody6719367059912017207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269093741,"filename":"image_30012025_21_30_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/30/00c6317bc0042646fc26b60642dabd0f.jpg","text":"TemporaryFile(/tmp/multipartBody4568656710406810373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269093741,"filename":"image_30012025_21_30_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/30/f065f0e42ac422c3cf06ed253e2b2e50.jpg","text":"TemporaryFile(/tmp/multipartBody8037776482484620410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269093741,"filename":"image_30012025_21_30_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/30/022b51ffa47408a9ecb6c9c4482cdfaa.jpg","text":"TemporaryFile(/tmp/multipartBody5009378211358603499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269093741,"filename":"image_30012025_21_29_54_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333096598","file1":"1333096594","file0":"1333096588","file3":"1333096603"},"map_files_photo_id_array":[{"photo_id":"1333096598","filename":"file2"},{"photo_id":"1333096594","filename":"file1"},{"photo_id":"1333096588","filename":"file0"},{"photo_id":"1333096603","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333096603":["hashtag1","hashtag2"]},{"1333096598":["hashtag1","hashtag2"]},{"1333096594":["hashtag1","hashtag2"]},{"1333096588":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333096603, 1333096598, 1333096594, 1333096588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.02620244026184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 21:31:04.515483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/40/image_28012025_21_40_35_9338.jpg', '/home/pi/Desktop/images/28012025/21/40/image_28012025_21_40_45_10422.jpg', '/home/pi/Desktop/images/28012025/21/40/image_28012025_21_40_55_9341.jpg', '/home/pi/Desktop/images/28012025/21/41/image_28012025_21_41_15_10356.jpg', '/home/pi/Desktop/images/28012025/21/41/image_28012025_21_41_25_9349.jpg', '/home/pi/Desktop/images/28012025/21/41/image_28012025_21_41_35_10454.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/40/image_28012025_21_40_35_9338.jpg
/home/pi/Desktop/images/28012025/21/40/image_28012025_21_40_45_10422.jpg
/home/pi/Desktop/images/28012025/21/40/image_28012025_21_40_55_9341.jpg
/home/pi/Desktop/images/28012025/21/41/image_28012025_21_41_15_10356.jpg
/home/pi/Desktop/images/28012025/21/41/image_28012025_21_41_25_9349.jpg
/home/pi/Desktop/images/28012025/21/41/image_28012025_21_41_35_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":["1333096836","1333096614","1333096666","1333096747","1333096669","1333096648"],"photo_ids_order":["1333096614","1333096648","1333096666","1333096669","1333096747","1333096836"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fa9a74d29a1d66afdb95b1d0484b2f7e.jpg","text":"TemporaryFile(/tmp/multipartBody1894582604990913214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269126413,"filename":"image_28012025_21_41_35_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bc2ca283fcf79a91f7df2fc47f045496.jpg","text":"TemporaryFile(/tmp/multipartBody1911319497058510231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269126413,"filename":"image_28012025_21_40_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/30/96914f9e6aba992a9d352108c367950a.jpg","text":"TemporaryFile(/tmp/multipartBody3083734386795788500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269126413,"filename":"image_28012025_21_40_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/30/006dc5d35280ffab1eb255190b5f9ac5.jpg","text":"TemporaryFile(/tmp/multipartBody6284616003084396126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269126413,"filename":"image_28012025_21_41_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/30/a0fdbf495f9025058101b9732b02b059.jpg","text":"TemporaryFile(/tmp/multipartBody4170015384988108293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269126413,"filename":"image_28012025_21_41_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/30/12b445b1036b486b8aed797d195891cd.jpg","text":"TemporaryFile(/tmp/multipartBody8865775521160521267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269126413,"filename":"image_28012025_21_40_45_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333096666","file1":"1333096648","file0":"1333096614","file4":"1333096747","file5":"1333096836","file3":"1333096669"},"map_files_photo_id_array":[{"photo_id":"1333096836","filename":"file5"},{"photo_id":"1333096666","filename":"file2"},{"photo_id":"1333096747","filename":"file4"},{"photo_id":"1333096648","filename":"file1"},{"photo_id":"1333096614","filename":"file0"},{"photo_id":"1333096669","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333096836":["hashtag1","hashtag2"]},{"1333096614":["hashtag1","hashtag2"]},{"1333096666":["hashtag1","hashtag2"]},{"1333096747":["hashtag1","hashtag2"]},{"1333096669":["hashtag1","hashtag2"]},{"1333096648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333096836, 1333096614, 1333096666, 1333096747, 1333096669, 1333096648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.69456720352173 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:31:53.291537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/30/image_30012025_21_30_35_10358.jpg', '/home/pi/Desktop/images/30012025/21/30/image_30012025_21_31_05_10462.jpg', '/home/pi/Desktop/images/30012025/21/31/image_30012025_21_31_14_9338.jpg', '/home/pi/Desktop/images/30012025/21/31/image_30012025_21_31_34_9410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/30/image_30012025_21_30_35_10358.jpg
/home/pi/Desktop/images/30012025/21/30/image_30012025_21_31_05_10462.jpg
/home/pi/Desktop/images/30012025/21/31/image_30012025_21_31_14_9338.jpg
/home/pi/Desktop/images/30012025/21/31/image_30012025_21_31_34_9410.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333097200","1333097292","1333097347","1333097119"],"photo_ids_order":["1333097119","1333097200","1333097292","1333097347"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/50d7af727a19b1bdc6099c518eedc13d.jpg","text":"TemporaryFile(/tmp/multipartBody3674265416812508234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269174202,"filename":"image_30012025_21_31_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/30/9f728bad63eb6dde71b2d2d8447b9302.jpg","text":"TemporaryFile(/tmp/multipartBody5719055011880493830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269174202,"filename":"image_30012025_21_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/30/03982543a1c7d28e40934c199a38c4b0.jpg","text":"TemporaryFile(/tmp/multipartBody2581332163260713058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269174202,"filename":"image_30012025_21_31_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/30/206c7f46518e8a9c4c240b2f8c6b6955.jpg","text":"TemporaryFile(/tmp/multipartBody7703084358076582442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269174202,"filename":"image_30012025_21_30_35_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333097292","file1":"1333097200","file0":"1333097119","file3":"1333097347"},"map_files_photo_id_array":[{"photo_id":"1333097292","filename":"file2"},{"photo_id":"1333097200","filename":"file1"},{"photo_id":"1333097119","filename":"file0"},{"photo_id":"1333097347","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333097200":["hashtag1","hashtag2"]},{"1333097292":["hashtag1","hashtag2"]},{"1333097347":["hashtag1","hashtag2"]},{"1333097119":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333097200, 1333097292, 1333097347, 1333097119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.32410979270935 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:32:32.427417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/31/image_30012025_21_31_55_10415.jpg', '/home/pi/Desktop/images/30012025/21/31/image_30012025_21_32_04_9357.jpg', '/home/pi/Desktop/images/30012025/21/32/image_30012025_21_32_15_10362.jpg', '/home/pi/Desktop/images/30012025/21/32/image_30012025_21_32_25_10366.jpg', '/home/pi/Desktop/images/30012025/21/32/image_30012025_21_32_34_9356.jpg', '/home/pi/Desktop/images/30012025/21/32/image_30012025_21_32_45_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/31/image_30012025_21_31_55_10415.jpg
/home/pi/Desktop/images/30012025/21/31/image_30012025_21_32_04_9357.jpg
/home/pi/Desktop/images/30012025/21/32/image_30012025_21_32_15_10362.jpg
/home/pi/Desktop/images/30012025/21/32/image_30012025_21_32_25_10366.jpg
/home/pi/Desktop/images/30012025/21/32/image_30012025_21_32_34_9356.jpg
/home/pi/Desktop/images/30012025/21/32/image_30012025_21_32_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":["1333098108","1333098021","1333097844","1333097696","1333097782","1333097932"],"photo_ids_order":["1333097696","1333097782","1333097844","1333097932","1333098021","1333098108"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a4a6ea2bf214d80f8544106290a38e0a.jpg","text":"TemporaryFile(/tmp/multipartBody2720731985583948480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269213351,"filename":"image_30012025_21_32_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/30/1b74b0e6d9bd5b9b966868bd081a4f78.jpg","text":"TemporaryFile(/tmp/multipartBody3755260000853370501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269213351,"filename":"image_30012025_21_32_34_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/30/4d660bd18dbd8c8a113e29efee410b99.jpg","text":"TemporaryFile(/tmp/multipartBody8889535911258927606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269213351,"filename":"image_30012025_21_32_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/30/83294c5f143e7630159bc8fc84cacfa4.jpg","text":"TemporaryFile(/tmp/multipartBody5794708952949365038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269213351,"filename":"image_30012025_21_31_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/30/a1babcc15bcc181fe88a0480b93921be.jpg","text":"TemporaryFile(/tmp/multipartBody5632832170931512859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269213351,"filename":"image_30012025_21_32_04_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/30/4e9a67ed7fb6300cc153fbf460508913.jpg","text":"TemporaryFile(/tmp/multipartBody6438579975861041410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269213351,"filename":"image_30012025_21_32_25_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333097844","file1":"1333097782","file0":"1333097696","file4":"1333098021","file5":"1333098108","file3":"1333097932"},"map_files_photo_id_array":[{"photo_id":"1333098108","filename":"file5"},{"photo_id":"1333097844","filename":"file2"},{"photo_id":"1333098021","filename":"file4"},{"photo_id":"1333097782","filename":"file1"},{"photo_id":"1333097696","filename":"file0"},{"photo_id":"1333097932","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333098108":["hashtag1","hashtag2"]},{"1333098021":["hashtag1","hashtag2"]},{"1333097844":["hashtag1","hashtag2"]},{"1333097696":["hashtag1","hashtag2"]},{"1333097782":["hashtag1","hashtag2"]},{"1333097932":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333098108, 1333098021, 1333097844, 1333097696, 1333097782, 1333097932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.882603883743286 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:33:32.835560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/32/image_30012025_21_32_54_9419.jpg', '/home/pi/Desktop/images/30012025/21/32/image_30012025_21_33_04_10363.jpg', '/home/pi/Desktop/images/30012025/21/33/image_30012025_21_33_35_10435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/32/image_30012025_21_32_54_9419.jpg
/home/pi/Desktop/images/30012025/21/32/image_30012025_21_33_04_10363.jpg
/home/pi/Desktop/images/30012025/21/33/image_30012025_21_33_35_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333098692","1333098819","1333098943"],"photo_ids_order":["1333098692","1333098819","1333098943"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e96dd951f4cc896f800d86e9683793f8.jpg","text":"TemporaryFile(/tmp/multipartBody1648821207970562976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269273702,"filename":"image_30012025_21_32_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/30/e0f4ab1f38a529d7f21e5c14200dbdb6.jpg","text":"TemporaryFile(/tmp/multipartBody788639503617747711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269273702,"filename":"image_30012025_21_33_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/30/b94b98cbe3eb273a27f4648801a957f9.jpg","text":"TemporaryFile(/tmp/multipartBody9137409204862845990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269273702,"filename":"image_30012025_21_33_35_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333098943","file1":"1333098819","file0":"1333098692"},"map_files_photo_id_array":[{"photo_id":"1333098943","filename":"file2"},{"photo_id":"1333098819","filename":"file1"},{"photo_id":"1333098692","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333098692":["hashtag1","hashtag2"]},{"1333098819":["hashtag1","hashtag2"]},{"1333098943":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333098692, 1333098819, 1333098943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.360499382019043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 21:34:03.574544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/41/image_28012025_21_41_46_10341.jpg', '/home/pi/Desktop/images/28012025/21/41/image_28012025_21_41_55_9349.jpg', '/home/pi/Desktop/images/28012025/21/41/image_28012025_21_42_05_10450.jpg', '/home/pi/Desktop/images/28012025/21/42/image_28012025_21_42_15_9331.jpg', '/home/pi/Desktop/images/28012025/21/42/image_28012025_21_42_25_10379.jpg', '/home/pi/Desktop/images/28012025/21/42/image_28012025_21_42_35_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/21/41/image_28012025_21_41_46_10341.jpg
/home/pi/Desktop/images/28012025/21/41/image_28012025_21_41_55_9349.jpg
/home/pi/Desktop/images/28012025/21/41/image_28012025_21_42_05_10450.jpg
/home/pi/Desktop/images/28012025/21/42/image_28012025_21_42_15_9331.jpg
/home/pi/Desktop/images/28012025/21/42/image_28012025_21_42_25_10379.jpg
/home/pi/Desktop/images/28012025/21/42/image_28012025_21_42_35_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":["1333099043","1333099033","1333099003","1333099038","1333099053","1333099047"],"photo_ids_order":["1333099003","1333099033","1333099038","1333099043","1333099047","1333099053"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/251d93e5d631bd0e38bc71597815cdd2.jpg","text":"TemporaryFile(/tmp/multipartBody5889491005613749974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269305273,"filename":"image_28012025_21_42_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/30/59ac5488294b72a92e86490e3f5a7282.jpg","text":"TemporaryFile(/tmp/multipartBody7008537615885231977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269305273,"filename":"image_28012025_21_41_55_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f01c9fea6edc6aeadcb3ff8152be5111.jpg","text":"TemporaryFile(/tmp/multipartBody267600084958724369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269305273,"filename":"image_28012025_21_41_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/30/4b327d8b627edcaa53e6abd9ccb7656e.jpg","text":"TemporaryFile(/tmp/multipartBody4181152286192651370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269305273,"filename":"image_28012025_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/30/3ebb219b07dc20f76a532491324950fb.jpg","text":"TemporaryFile(/tmp/multipartBody928345938960354894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269305273,"filename":"image_28012025_21_42_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/30/64962415c81034ac2b23fa6eedf11aaa.jpg","text":"TemporaryFile(/tmp/multipartBody3123403501719548460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269305273,"filename":"image_28012025_21_42_25_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333099038","file1":"1333099033","file0":"1333099003","file4":"1333099047","file5":"1333099053","file3":"1333099043"},"map_files_photo_id_array":[{"photo_id":"1333099053","filename":"file5"},{"photo_id":"1333099038","filename":"file2"},{"photo_id":"1333099047","filename":"file4"},{"photo_id":"1333099033","filename":"file1"},{"photo_id":"1333099003","filename":"file0"},{"photo_id":"1333099043","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333099043":["hashtag1","hashtag2"]},{"1333099033":["hashtag1","hashtag2"]},{"1333099003":["hashtag1","hashtag2"]},{"1333099038":["hashtag1","hashtag2"]},{"1333099053":["hashtag1","hashtag2"]},{"1333099047":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333099043, 1333099033, 1333099003, 1333099038, 1333099053, 1333099047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.57844662666321 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:34:52.921166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/33/image_30012025_21_33_55_10367.jpg', '/home/pi/Desktop/images/30012025/21/33/image_30012025_21_34_05_10412.jpg', '/home/pi/Desktop/images/30012025/21/34/image_30012025_21_34_25_10369.jpg', '/home/pi/Desktop/images/30012025/21/34/image_30012025_21_34_34_9446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/33/image_30012025_21_33_55_10367.jpg
/home/pi/Desktop/images/30012025/21/33/image_30012025_21_34_05_10412.jpg
/home/pi/Desktop/images/30012025/21/34/image_30012025_21_34_25_10369.jpg
/home/pi/Desktop/images/30012025/21/34/image_30012025_21_34_34_9446.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5052471160888672 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 21:35:04.600462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/33/image_30012025_21_33_55_10367.jpg', '/home/pi/Desktop/images/30012025/21/33/image_30012025_21_34_05_10412.jpg', '/home/pi/Desktop/images/30012025/21/34/image_30012025_21_34_25_10369.jpg', '/home/pi/Desktop/images/30012025/21/34/image_30012025_21_34_34_9446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/33/image_30012025_21_33_55_10367.jpg
/home/pi/Desktop/images/30012025/21/33/image_30012025_21_34_05_10412.jpg
/home/pi/Desktop/images/30012025/21/34/image_30012025_21_34_25_10369.jpg
/home/pi/Desktop/images/30012025/21/34/image_30012025_21_34_34_9446.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333099088","1333099078","1333099086","1333099083"],"photo_ids_order":["1333099078","1333099083","1333099086","1333099088"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6a139547ed42d3b4137053378efa3bbc.jpg","text":"TemporaryFile(/tmp/multipartBody6096635416740334016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269365609,"filename":"image_30012025_21_34_34_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/30/998175e5d7d1d568bd74ad6cc9dbc28b.jpg","text":"TemporaryFile(/tmp/multipartBody8095811508759470163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269365609,"filename":"image_30012025_21_33_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/30/2704461b02250e8d5230853ebd9829f1.jpg","text":"TemporaryFile(/tmp/multipartBody5007457493073996266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269365609,"filename":"image_30012025_21_34_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/30/3b3f7ee6a1b212df74242ab1b421673a.jpg","text":"TemporaryFile(/tmp/multipartBody1761837463572671782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269365609,"filename":"image_30012025_21_34_05_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333099086","file1":"1333099083","file0":"1333099078","file3":"1333099088"},"map_files_photo_id_array":[{"photo_id":"1333099086","filename":"file2"},{"photo_id":"1333099083","filename":"file1"},{"photo_id":"1333099078","filename":"file0"},{"photo_id":"1333099088","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333099088":["hashtag1","hashtag2"]},{"1333099078":["hashtag1","hashtag2"]},{"1333099086":["hashtag1","hashtag2"]},{"1333099083":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333099088, 1333099078, 1333099086, 1333099083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.979624271392822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 21:35:43.185460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/34/image_30012025_21_34_44_10368.jpg', '/home/pi/Desktop/images/30012025/21/35/image_30012025_21_35_15_10427.jpg', '/home/pi/Desktop/images/30012025/21/35/image_30012025_21_35_24_9411.jpg', '/home/pi/Desktop/images/30012025/21/35/image_30012025_21_35_35_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/34/image_30012025_21_34_44_10368.jpg
/home/pi/Desktop/images/30012025/21/35/image_30012025_21_35_15_10427.jpg
/home/pi/Desktop/images/30012025/21/35/image_30012025_21_35_24_9411.jpg
/home/pi/Desktop/images/30012025/21/35/image_30012025_21_35_35_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":["1333099354","1333099248","1333099350","1333099332"],"photo_ids_order":["1333099248","1333099332","1333099350","1333099354"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5554c8168418e5fa6245fe0765efc848.jpg","text":"TemporaryFile(/tmp/multipartBody6116807574837481524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269404073,"filename":"image_30012025_21_35_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/22304c39f417b3cc425d239d1fcb6179.jpg","text":"TemporaryFile(/tmp/multipartBody2413049969327319862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269404073,"filename":"image_30012025_21_34_44_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/30/f26775867672d02debb6e8d008c21b79.jpg","text":"TemporaryFile(/tmp/multipartBody5715238228925925540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269404073,"filename":"image_30012025_21_35_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/30/69765ac7ef975793d2e1c90c2cad8397.jpg","text":"TemporaryFile(/tmp/multipartBody1904043212400891649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269404073,"filename":"image_30012025_21_35_15_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333099350","file1":"1333099332","file0":"1333099248","file3":"1333099354"},"map_files_photo_id_array":[{"photo_id":"1333099350","filename":"file2"},{"photo_id":"1333099332","filename":"file1"},{"photo_id":"1333099248","filename":"file0"},{"photo_id":"1333099354","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333099354":["hashtag1","hashtag2"]},{"1333099248":["hashtag1","hashtag2"]},{"1333099350":["hashtag1","hashtag2"]},{"1333099332":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333099354, 1333099248, 1333099350, 1333099332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 32.20996856689453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:36:32.295529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/35/image_30012025_21_35_54_9324.jpg', '/home/pi/Desktop/images/30012025/21/35/image_30012025_21_36_05_10342.jpg', '/home/pi/Desktop/images/30012025/21/36/image_30012025_21_36_15_10365.jpg', '/home/pi/Desktop/images/30012025/21/36/image_30012025_21_36_24_9354.jpg', '/home/pi/Desktop/images/30012025/21/36/image_30012025_21_36_35_10347.jpg', '/home/pi/Desktop/images/30012025/21/36/image_30012025_21_36_44_9444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/35/image_30012025_21_35_54_9324.jpg
/home/pi/Desktop/images/30012025/21/35/image_30012025_21_36_05_10342.jpg
/home/pi/Desktop/images/30012025/21/36/image_30012025_21_36_15_10365.jpg
/home/pi/Desktop/images/30012025/21/36/image_30012025_21_36_24_9354.jpg
/home/pi/Desktop/images/30012025/21/36/image_30012025_21_36_35_10347.jpg
/home/pi/Desktop/images/30012025/21/36/image_30012025_21_36_44_9444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333099892","1333099631","1333099454","1333099750","1333099420","1333099542"],"photo_ids_order":["1333099420","1333099454","1333099542","1333099631","1333099750","1333099892"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/77290e7682cb14c22cb922ed5b0ef2ce.jpg","text":"TemporaryFile(/tmp/multipartBody2690374350080964112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269454111,"filename":"image_30012025_21_36_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/30/0bc0fb7671df37a5bfe522b99dceb44a.jpg","text":"TemporaryFile(/tmp/multipartBody6984939140210562886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269454111,"filename":"image_30012025_21_36_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/30/15677544f94e4af13a050f186e60a31e.jpg","text":"TemporaryFile(/tmp/multipartBody8705439057948831105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269454111,"filename":"image_30012025_21_36_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/30/e817cd734e45f275f001129cbda843ea.jpg","text":"TemporaryFile(/tmp/multipartBody1635662597182090489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269454111,"filename":"image_30012025_21_36_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/30/5c33157e65c7d880c64940e2ec5ed5dd.jpg","text":"TemporaryFile(/tmp/multipartBody1663864364937077130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269454111,"filename":"image_30012025_21_35_54_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/30/661054ac2b75ab1971c027b0ac99c9e9.jpg","text":"TemporaryFile(/tmp/multipartBody8309859571976970253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269454111,"filename":"image_30012025_21_36_15_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333099542","file1":"1333099454","file0":"1333099420","file4":"1333099750","file5":"1333099892","file3":"1333099631"},"map_files_photo_id_array":[{"photo_id":"1333099892","filename":"file5"},{"photo_id":"1333099542","filename":"file2"},{"photo_id":"1333099750","filename":"file4"},{"photo_id":"1333099454","filename":"file1"},{"photo_id":"1333099420","filename":"file0"},{"photo_id":"1333099631","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333099892":["hashtag1","hashtag2"]},{"1333099631":["hashtag1","hashtag2"]},{"1333099454":["hashtag1","hashtag2"]},{"1333099750":["hashtag1","hashtag2"]},{"1333099420":["hashtag1","hashtag2"]},{"1333099542":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333099892, 1333099631, 1333099454, 1333099750, 1333099420, 1333099542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.633352518081665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:37:32.388491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/36/image_30012025_21_36_54_10361.jpg', '/home/pi/Desktop/images/30012025/21/36/image_30012025_21_37_05_10420.jpg', '/home/pi/Desktop/images/30012025/21/37/image_30012025_21_37_14_9345.jpg', '/home/pi/Desktop/images/30012025/21/37/image_30012025_21_37_25_10346.jpg', '/home/pi/Desktop/images/30012025/21/37/image_30012025_21_37_35_10344.jpg', '/home/pi/Desktop/images/30012025/21/37/image_30012025_21_37_44_9327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/36/image_30012025_21_36_54_10361.jpg
/home/pi/Desktop/images/30012025/21/36/image_30012025_21_37_05_10420.jpg
/home/pi/Desktop/images/30012025/21/37/image_30012025_21_37_14_9345.jpg
/home/pi/Desktop/images/30012025/21/37/image_30012025_21_37_25_10346.jpg
/home/pi/Desktop/images/30012025/21/37/image_30012025_21_37_35_10344.jpg
/home/pi/Desktop/images/30012025/21/37/image_30012025_21_37_44_9327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333100614","1333100667","1333100652","1333100283","1333100658","1333100501"],"photo_ids_order":["1333100283","1333100501","1333100614","1333100652","1333100658","1333100667"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/aec59ab95b85ce2fc15b4451cd34ebf7.jpg","text":"TemporaryFile(/tmp/multipartBody4182949550259548493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269513319,"filename":"image_30012025_21_37_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/30/ecdfeb01c1a3e0f80e82f7b3d0eafb09.jpg","text":"TemporaryFile(/tmp/multipartBody5245937627328482318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269513319,"filename":"image_30012025_21_37_44_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d98474560e46b17c35448e829d8f373e.jpg","text":"TemporaryFile(/tmp/multipartBody3297024940929076645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269513319,"filename":"image_30012025_21_37_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/30/64c765c4b5088264ba4431f4da62995d.jpg","text":"TemporaryFile(/tmp/multipartBody5046741813889491737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269513319,"filename":"image_30012025_21_36_54_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a30080ba26425037bebceb09cf48057e.jpg","text":"TemporaryFile(/tmp/multipartBody3714515655316763016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269513319,"filename":"image_30012025_21_37_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/30/6c53d230a883ebf5e755a67acacc86eb.jpg","text":"TemporaryFile(/tmp/multipartBody6594433089453309087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269513319,"filename":"image_30012025_21_37_05_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333100614","file1":"1333100501","file0":"1333100283","file4":"1333100658","file5":"1333100667","file3":"1333100652"},"map_files_photo_id_array":[{"photo_id":"1333100667","filename":"file5"},{"photo_id":"1333100614","filename":"file2"},{"photo_id":"1333100658","filename":"file4"},{"photo_id":"1333100501","filename":"file1"},{"photo_id":"1333100283","filename":"file0"},{"photo_id":"1333100652","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333100614":["hashtag1","hashtag2"]},{"1333100667":["hashtag1","hashtag2"]},{"1333100652":["hashtag1","hashtag2"]},{"1333100283":["hashtag1","hashtag2"]},{"1333100658":["hashtag1","hashtag2"]},{"1333100501":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333100614, 1333100667, 1333100652, 1333100283, 1333100658, 1333100501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.884668588638306 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:38:32.676660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/37/image_30012025_21_37_55_10402.jpg', '/home/pi/Desktop/images/30012025/21/37/image_30012025_21_38_04_9388.jpg', '/home/pi/Desktop/images/30012025/21/38/image_30012025_21_38_15_10454.jpg', '/home/pi/Desktop/images/30012025/21/38/image_30012025_21_38_25_10479.jpg', '/home/pi/Desktop/images/30012025/21/38/image_30012025_21_38_34_9344.jpg', '/home/pi/Desktop/images/30012025/21/38/image_30012025_21_38_45_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/37/image_30012025_21_37_55_10402.jpg
/home/pi/Desktop/images/30012025/21/37/image_30012025_21_38_04_9388.jpg
/home/pi/Desktop/images/30012025/21/38/image_30012025_21_38_15_10454.jpg
/home/pi/Desktop/images/30012025/21/38/image_30012025_21_38_25_10479.jpg
/home/pi/Desktop/images/30012025/21/38/image_30012025_21_38_34_9344.jpg
/home/pi/Desktop/images/30012025/21/38/image_30012025_21_38_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":["1333101049","1333100965","1333101000","1333100969","1333100783","1333101005"],"photo_ids_order":["1333100783","1333100965","1333100969","1333101000","1333101005","1333101049"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8c74a6ad9169d54d07447cfd831daae8.jpg","text":"TemporaryFile(/tmp/multipartBody255078667704024793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269573593,"filename":"image_30012025_21_38_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/30/667c006a58c8ce728420bb7bbe52c34a.jpg","text":"TemporaryFile(/tmp/multipartBody6512719053386288020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269573593,"filename":"image_30012025_21_38_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/30/7ea1a337e0bd548ea1b437030e7b7ad9.jpg","text":"TemporaryFile(/tmp/multipartBody8876754521618952323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269573593,"filename":"image_30012025_21_38_25_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a0a7d45c29009d2d16f4fe51fafb7ba4.jpg","text":"TemporaryFile(/tmp/multipartBody4068804755126001964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269573593,"filename":"image_30012025_21_38_15_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/30/3f3504f01fa9cb705cd602145d2e01fc.jpg","text":"TemporaryFile(/tmp/multipartBody8108040874525948777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269573593,"filename":"image_30012025_21_37_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/30/6c001d05ec3ac6b440fdfc72ec3892ab.jpg","text":"TemporaryFile(/tmp/multipartBody9134327920061811036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269573593,"filename":"image_30012025_21_38_34_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333100969","file1":"1333100965","file0":"1333100783","file4":"1333101005","file5":"1333101049","file3":"1333101000"},"map_files_photo_id_array":[{"photo_id":"1333101049","filename":"file5"},{"photo_id":"1333100969","filename":"file2"},{"photo_id":"1333101005","filename":"file4"},{"photo_id":"1333100965","filename":"file1"},{"photo_id":"1333100783","filename":"file0"},{"photo_id":"1333101000","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333101049":["hashtag1","hashtag2"]},{"1333100965":["hashtag1","hashtag2"]},{"1333101000":["hashtag1","hashtag2"]},{"1333100969":["hashtag1","hashtag2"]},{"1333100783":["hashtag1","hashtag2"]},{"1333101005":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333101049, 1333100965, 1333101000, 1333100969, 1333100783, 1333101005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.78003549575806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:39:32.831536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/38/image_30012025_21_38_54_9452.jpg', '/home/pi/Desktop/images/30012025/21/38/image_30012025_21_39_05_10456.jpg', '/home/pi/Desktop/images/30012025/21/39/image_30012025_21_39_15_10356.jpg', '/home/pi/Desktop/images/30012025/21/39/image_30012025_21_39_24_9401.jpg', '/home/pi/Desktop/images/30012025/21/39/image_30012025_21_39_35_10429.jpg', '/home/pi/Desktop/images/30012025/21/39/image_30012025_21_39_44_9452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/38/image_30012025_21_38_54_9452.jpg
/home/pi/Desktop/images/30012025/21/38/image_30012025_21_39_05_10456.jpg
/home/pi/Desktop/images/30012025/21/39/image_30012025_21_39_15_10356.jpg
/home/pi/Desktop/images/30012025/21/39/image_30012025_21_39_24_9401.jpg
/home/pi/Desktop/images/30012025/21/39/image_30012025_21_39_35_10429.jpg
/home/pi/Desktop/images/30012025/21/39/image_30012025_21_39_44_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":["1333101403","1333101492","1333101639","1333101573","1333101371","1333101650"],"photo_ids_order":["1333101371","1333101403","1333101492","1333101573","1333101639","1333101650"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/79ddd3d742b12ffd8c377cc97a104d37.jpg","text":"TemporaryFile(/tmp/multipartBody8025077741995041901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269633757,"filename":"image_30012025_21_39_05_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/30/bfbaf7d976e99d62f089542a56008bef.jpg","text":"TemporaryFile(/tmp/multipartBody5416229828661802681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269633757,"filename":"image_30012025_21_39_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/30/4c6f7790e9bc29565f019f98f2497717.jpg","text":"TemporaryFile(/tmp/multipartBody7107016264722318123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269633757,"filename":"image_30012025_21_39_35_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/30/07bc4a9fd71238da529ef3a937a24a10.jpg","text":"TemporaryFile(/tmp/multipartBody5306613254828919174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269633757,"filename":"image_30012025_21_39_24_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d6a04404a1be4fe3175291c890020cac.jpg","text":"TemporaryFile(/tmp/multipartBody7106825666928017911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269633757,"filename":"image_30012025_21_38_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/30/eb27a6ef8f95b3f24638dbc5c65cda47.jpg","text":"TemporaryFile(/tmp/multipartBody4902845552703264434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269633757,"filename":"image_30012025_21_39_44_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333101492","file1":"1333101403","file0":"1333101371","file4":"1333101639","file5":"1333101650","file3":"1333101573"},"map_files_photo_id_array":[{"photo_id":"1333101650","filename":"file5"},{"photo_id":"1333101492","filename":"file2"},{"photo_id":"1333101639","filename":"file4"},{"photo_id":"1333101403","filename":"file1"},{"photo_id":"1333101371","filename":"file0"},{"photo_id":"1333101573","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333101403":["hashtag1","hashtag2"]},{"1333101492":["hashtag1","hashtag2"]},{"1333101639":["hashtag1","hashtag2"]},{"1333101573":["hashtag1","hashtag2"]},{"1333101371":["hashtag1","hashtag2"]},{"1333101650":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333101403, 1333101492, 1333101639, 1333101573, 1333101371, 1333101650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.466532707214355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:40:32.990027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/39/image_30012025_21_39_55_10428.jpg', '/home/pi/Desktop/images/30012025/21/39/image_30012025_21_40_05_10354.jpg', '/home/pi/Desktop/images/30012025/21/40/image_30012025_21_40_14_9332.jpg', '/home/pi/Desktop/images/30012025/21/40/image_30012025_21_40_25_10360.jpg', '/home/pi/Desktop/images/30012025/21/40/image_30012025_21_40_34_9452.jpg', '/home/pi/Desktop/images/30012025/21/40/image_30012025_21_40_45_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/39/image_30012025_21_39_55_10428.jpg
/home/pi/Desktop/images/30012025/21/39/image_30012025_21_40_05_10354.jpg
/home/pi/Desktop/images/30012025/21/40/image_30012025_21_40_14_9332.jpg
/home/pi/Desktop/images/30012025/21/40/image_30012025_21_40_25_10360.jpg
/home/pi/Desktop/images/30012025/21/40/image_30012025_21_40_34_9452.jpg
/home/pi/Desktop/images/30012025/21/40/image_30012025_21_40_45_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333101687","1333101675","1333101684","1333101750","1333101682","1333101679"],"photo_ids_order":["1333101675","1333101679","1333101682","1333101684","1333101687","1333101750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f7d3ba0b37da4ab820e0b3c6cfdb5ea9.jpg","text":"TemporaryFile(/tmp/multipartBody4252689577483216713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269693927,"filename":"image_30012025_21_40_34_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/30/feef63f3ca283ef01501ceaed13f5c7d.jpg","text":"TemporaryFile(/tmp/multipartBody507029171452281699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269693927,"filename":"image_30012025_21_39_55_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bdfe1a629a749334a0ef98b46371fe69.jpg","text":"TemporaryFile(/tmp/multipartBody2583930257547403464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269693927,"filename":"image_30012025_21_40_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/30/d3b9c657728afedd981ce0270ac6c5dd.jpg","text":"TemporaryFile(/tmp/multipartBody2474308039379440467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269693927,"filename":"image_30012025_21_40_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/30/e2772f1e3cbfa8ccd986f4bd61415661.jpg","text":"TemporaryFile(/tmp/multipartBody7965520482866935263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269693927,"filename":"image_30012025_21_40_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/30/d5caa113f2608111c456fabd21bef988.jpg","text":"TemporaryFile(/tmp/multipartBody1286439203122083350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269693927,"filename":"image_30012025_21_40_05_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333101682","file1":"1333101679","file0":"1333101675","file4":"1333101687","file5":"1333101750","file3":"1333101684"},"map_files_photo_id_array":[{"photo_id":"1333101750","filename":"file5"},{"photo_id":"1333101682","filename":"file2"},{"photo_id":"1333101687","filename":"file4"},{"photo_id":"1333101679","filename":"file1"},{"photo_id":"1333101675","filename":"file0"},{"photo_id":"1333101684","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333101687":["hashtag1","hashtag2"]},{"1333101675":["hashtag1","hashtag2"]},{"1333101684":["hashtag1","hashtag2"]},{"1333101750":["hashtag1","hashtag2"]},{"1333101682":["hashtag1","hashtag2"]},{"1333101679":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333101687, 1333101675, 1333101684, 1333101750, 1333101682, 1333101679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.41351675987244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:41:32.377079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/40/image_30012025_21_40_55_10508.jpg', '/home/pi/Desktop/images/30012025/21/40/image_30012025_21_41_04_9427.jpg', '/home/pi/Desktop/images/30012025/21/41/image_30012025_21_41_15_10455.jpg', '/home/pi/Desktop/images/30012025/21/41/image_30012025_21_41_24_9350.jpg', '/home/pi/Desktop/images/30012025/21/41/image_30012025_21_41_35_10342.jpg', '/home/pi/Desktop/images/30012025/21/41/image_30012025_21_41_45_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/40/image_30012025_21_40_55_10508.jpg
/home/pi/Desktop/images/30012025/21/40/image_30012025_21_41_04_9427.jpg
/home/pi/Desktop/images/30012025/21/41/image_30012025_21_41_15_10455.jpg
/home/pi/Desktop/images/30012025/21/41/image_30012025_21_41_24_9350.jpg
/home/pi/Desktop/images/30012025/21/41/image_30012025_21_41_35_10342.jpg
/home/pi/Desktop/images/30012025/21/41/image_30012025_21_41_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":["1333101829","1333101867","1333101876","1333101879","1333101863","1333101871"],"photo_ids_order":["1333101829","1333101863","1333101867","1333101871","1333101876","1333101879"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/40c271d61c8d7eefb295b40353b60e27.jpg","text":"TemporaryFile(/tmp/multipartBody2969623178331657236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269753293,"filename":"image_30012025_21_40_55_10508.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/98a5988afefedf8ecfa34850a1e5ab00.jpg","text":"TemporaryFile(/tmp/multipartBody4232031084036060904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269753293,"filename":"image_30012025_21_41_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/30/674d36093cc0eb9ed66d8cfdd885379c.jpg","text":"TemporaryFile(/tmp/multipartBody5910436239963361573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269753293,"filename":"image_30012025_21_41_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/30/9d0b390338f3a8fec2ea28b0c1c292e5.jpg","text":"TemporaryFile(/tmp/multipartBody2073929124590217445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269753293,"filename":"image_30012025_21_41_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/30/a07b63352e024f4b6cbadb56b86c9cd6.jpg","text":"TemporaryFile(/tmp/multipartBody4427571011405139310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269753293,"filename":"image_30012025_21_41_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/30/d475b304d58732c7aa53af4fc2e098c6.jpg","text":"TemporaryFile(/tmp/multipartBody2559512215483824825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269753293,"filename":"image_30012025_21_41_24_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333101867","file1":"1333101863","file0":"1333101829","file4":"1333101876","file5":"1333101879","file3":"1333101871"},"map_files_photo_id_array":[{"photo_id":"1333101879","filename":"file5"},{"photo_id":"1333101867","filename":"file2"},{"photo_id":"1333101876","filename":"file4"},{"photo_id":"1333101863","filename":"file1"},{"photo_id":"1333101829","filename":"file0"},{"photo_id":"1333101871","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333101829":["hashtag1","hashtag2"]},{"1333101867":["hashtag1","hashtag2"]},{"1333101876":["hashtag1","hashtag2"]},{"1333101879":["hashtag1","hashtag2"]},{"1333101863":["hashtag1","hashtag2"]},{"1333101871":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333101829, 1333101867, 1333101876, 1333101879, 1333101863, 1333101871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12825131416321 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:42:32.592072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/41/image_30012025_21_41_54_9354.jpg', '/home/pi/Desktop/images/30012025/21/41/image_30012025_21_42_05_10448.jpg', '/home/pi/Desktop/images/30012025/21/42/image_30012025_21_42_14_9348.jpg', '/home/pi/Desktop/images/30012025/21/42/image_30012025_21_42_24_10354.jpg', '/home/pi/Desktop/images/30012025/21/42/image_30012025_21_42_35_10413.jpg', '/home/pi/Desktop/images/30012025/21/42/image_30012025_21_42_44_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/41/image_30012025_21_41_54_9354.jpg
/home/pi/Desktop/images/30012025/21/41/image_30012025_21_42_05_10448.jpg
/home/pi/Desktop/images/30012025/21/42/image_30012025_21_42_14_9348.jpg
/home/pi/Desktop/images/30012025/21/42/image_30012025_21_42_24_10354.jpg
/home/pi/Desktop/images/30012025/21/42/image_30012025_21_42_35_10413.jpg
/home/pi/Desktop/images/30012025/21/42/image_30012025_21_42_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":["1333101907","1333101901","1333101921","1333101927","1333101912","1333101917"],"photo_ids_order":["1333101901","1333101907","1333101912","1333101917","1333101921","1333101927"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/55631d34d8755b6b1e56c1ea03c4cbc9.jpg","text":"TemporaryFile(/tmp/multipartBody6872337678722030170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269813512,"filename":"image_30012025_21_42_05_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/30/914fd32fe42917b0fb6d9e387950adfc.jpg","text":"TemporaryFile(/tmp/multipartBody159379127963448175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269813512,"filename":"image_30012025_21_41_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/30/bb163d6314bdcb048a1da8974a9ef2a4.jpg","text":"TemporaryFile(/tmp/multipartBody2118651432158620527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269813512,"filename":"image_30012025_21_42_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/30/48513dc7eac6e297ced411ebe8f43ecf.jpg","text":"TemporaryFile(/tmp/multipartBody224618904173300959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269813512,"filename":"image_30012025_21_42_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/30/60c6e05eeb61c440a76baeb4f61b450b.jpg","text":"TemporaryFile(/tmp/multipartBody1388512230481197809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269813512,"filename":"image_30012025_21_42_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/30/fa6872cc8cc65614b37a93536fbf049f.jpg","text":"TemporaryFile(/tmp/multipartBody4147970525842313857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269813512,"filename":"image_30012025_21_42_24_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333101912","file1":"1333101907","file0":"1333101901","file4":"1333101921","file5":"1333101927","file3":"1333101917"},"map_files_photo_id_array":[{"photo_id":"1333101927","filename":"file5"},{"photo_id":"1333101912","filename":"file2"},{"photo_id":"1333101921","filename":"file4"},{"photo_id":"1333101907","filename":"file1"},{"photo_id":"1333101901","filename":"file0"},{"photo_id":"1333101917","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333101907":["hashtag1","hashtag2"]},{"1333101901":["hashtag1","hashtag2"]},{"1333101921":["hashtag1","hashtag2"]},{"1333101927":["hashtag1","hashtag2"]},{"1333101912":["hashtag1","hashtag2"]},{"1333101917":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333101907, 1333101901, 1333101921, 1333101927, 1333101912, 1333101917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.29437494277954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:43:32.866298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/42/image_30012025_21_42_55_10355.jpg', '/home/pi/Desktop/images/30012025/21/42/image_30012025_21_43_05_10347.jpg', '/home/pi/Desktop/images/30012025/21/43/image_30012025_21_43_14_9327.jpg', '/home/pi/Desktop/images/30012025/21/43/image_30012025_21_43_25_10369.jpg', '/home/pi/Desktop/images/30012025/21/43/image_30012025_21_43_35_10363.jpg', '/home/pi/Desktop/images/30012025/21/43/image_30012025_21_43_44_9363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/42/image_30012025_21_42_55_10355.jpg
/home/pi/Desktop/images/30012025/21/42/image_30012025_21_43_05_10347.jpg
/home/pi/Desktop/images/30012025/21/43/image_30012025_21_43_14_9327.jpg
/home/pi/Desktop/images/30012025/21/43/image_30012025_21_43_25_10369.jpg
/home/pi/Desktop/images/30012025/21/43/image_30012025_21_43_35_10363.jpg
/home/pi/Desktop/images/30012025/21/43/image_30012025_21_43_44_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.5178120136260986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 21:43:42.745592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/42/image_30012025_21_42_55_10355.jpg', '/home/pi/Desktop/images/30012025/21/42/image_30012025_21_43_05_10347.jpg', '/home/pi/Desktop/images/30012025/21/43/image_30012025_21_43_14_9327.jpg', '/home/pi/Desktop/images/30012025/21/43/image_30012025_21_43_25_10369.jpg', '/home/pi/Desktop/images/30012025/21/43/image_30012025_21_43_35_10363.jpg', '/home/pi/Desktop/images/30012025/21/43/image_30012025_21_43_44_9363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/42/image_30012025_21_42_55_10355.jpg
/home/pi/Desktop/images/30012025/21/42/image_30012025_21_43_05_10347.jpg
/home/pi/Desktop/images/30012025/21/43/image_30012025_21_43_14_9327.jpg
/home/pi/Desktop/images/30012025/21/43/image_30012025_21_43_25_10369.jpg
/home/pi/Desktop/images/30012025/21/43/image_30012025_21_43_35_10363.jpg
/home/pi/Desktop/images/30012025/21/43/image_30012025_21_43_44_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":["1333102102","1333102068","1333102041","1333102008","1333102073","1333102147"],"photo_ids_order":["1333102008","1333102041","1333102068","1333102073","1333102102","1333102147"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/91c204b5ab8a6b358c580a6b91c1dc69.jpg","text":"TemporaryFile(/tmp/multipartBody6604769345807317497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269883711,"filename":"image_30012025_21_43_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/30/a301d23b74897afdb17d1a3ce66fb053.jpg","text":"TemporaryFile(/tmp/multipartBody6230518753887894458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269883711,"filename":"image_30012025_21_43_14_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/30/02f75db923580d3a60db88a91d9ad7b2.jpg","text":"TemporaryFile(/tmp/multipartBody5625985363557890373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269883711,"filename":"image_30012025_21_43_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/30/f19e1930f29f33225091bb539c069c02.jpg","text":"TemporaryFile(/tmp/multipartBody7401180000752265142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269883711,"filename":"image_30012025_21_42_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/30/bf3c1ef9dd9cf40e85e1ead10130d436.jpg","text":"TemporaryFile(/tmp/multipartBody2667208358585966855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269883711,"filename":"image_30012025_21_43_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/30/07193e9946d6c677a5af87fb7bd3abad.jpg","text":"TemporaryFile(/tmp/multipartBody5613761925386230339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269883711,"filename":"image_30012025_21_43_44_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333102068","file1":"1333102041","file0":"1333102008","file4":"1333102102","file5":"1333102147","file3":"1333102073"},"map_files_photo_id_array":[{"photo_id":"1333102147","filename":"file5"},{"photo_id":"1333102068","filename":"file2"},{"photo_id":"1333102102","filename":"file4"},{"photo_id":"1333102041","filename":"file1"},{"photo_id":"1333102008","filename":"file0"},{"photo_id":"1333102073","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333102102":["hashtag1","hashtag2"]},{"1333102068":["hashtag1","hashtag2"]},{"1333102041":["hashtag1","hashtag2"]},{"1333102008":["hashtag1","hashtag2"]},{"1333102073":["hashtag1","hashtag2"]},{"1333102147":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333102102, 1333102068, 1333102041, 1333102008, 1333102073, 1333102147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.3954291343689 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:44:33.074727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/43/image_30012025_21_43_55_10576.jpg', '/home/pi/Desktop/images/30012025/21/43/image_30012025_21_44_04_9440.jpg', '/home/pi/Desktop/images/30012025/21/44/image_30012025_21_44_15_10350.jpg', '/home/pi/Desktop/images/30012025/21/44/image_30012025_21_44_25_10236.jpg', '/home/pi/Desktop/images/30012025/21/44/image_30012025_21_44_34_9346.jpg', '/home/pi/Desktop/images/30012025/21/44/image_30012025_21_44_45_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/43/image_30012025_21_43_55_10576.jpg
/home/pi/Desktop/images/30012025/21/43/image_30012025_21_44_04_9440.jpg
/home/pi/Desktop/images/30012025/21/44/image_30012025_21_44_15_10350.jpg
/home/pi/Desktop/images/30012025/21/44/image_30012025_21_44_25_10236.jpg
/home/pi/Desktop/images/30012025/21/44/image_30012025_21_44_34_9346.jpg
/home/pi/Desktop/images/30012025/21/44/image_30012025_21_44_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":["1333102274","1333102298","1333102267","1333102234","1333102231","1333102225"],"photo_ids_order":["1333102225","1333102231","1333102234","1333102267","1333102274","1333102298"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ac38a281cada191b910d53758ed471ac.jpg","text":"TemporaryFile(/tmp/multipartBody8784201855903068985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269933989,"filename":"image_30012025_21_44_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/30/e041483c53cdcd41ec13d47008ccacbb.jpg","text":"TemporaryFile(/tmp/multipartBody7995656580814175536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269933989,"filename":"image_30012025_21_44_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/30/dbde5fd64f81bc96fee0b2670f835139.jpg","text":"TemporaryFile(/tmp/multipartBody1701571173221344416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269933989,"filename":"image_30012025_21_44_25_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/30/37cfc7f38b727ef48b8e965dd10549f3.jpg","text":"TemporaryFile(/tmp/multipartBody585190424145671636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269933989,"filename":"image_30012025_21_44_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/30/c074b1dfea58302ebce772751429ef02.jpg","text":"TemporaryFile(/tmp/multipartBody1477480925436478476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269933989,"filename":"image_30012025_21_44_04_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/30/dbbef931708f9c00029522bb2e95c69f.jpg","text":"TemporaryFile(/tmp/multipartBody2568278250661973916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269933989,"filename":"image_30012025_21_43_55_10576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333102234","file1":"1333102231","file0":"1333102225","file4":"1333102274","file5":"1333102298","file3":"1333102267"},"map_files_photo_id_array":[{"photo_id":"1333102298","filename":"file5"},{"photo_id":"1333102234","filename":"file2"},{"photo_id":"1333102274","filename":"file4"},{"photo_id":"1333102231","filename":"file1"},{"photo_id":"1333102225","filename":"file0"},{"photo_id":"1333102267","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333102274":["hashtag1","hashtag2"]},{"1333102298":["hashtag1","hashtag2"]},{"1333102267":["hashtag1","hashtag2"]},{"1333102234":["hashtag1","hashtag2"]},{"1333102231":["hashtag1","hashtag2"]},{"1333102225":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333102274, 1333102298, 1333102267, 1333102234, 1333102231, 1333102225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.16874170303345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:45:32.322587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/44/image_30012025_21_44_54_9458.jpg', '/home/pi/Desktop/images/30012025/21/44/image_30012025_21_45_04_10345.jpg', '/home/pi/Desktop/images/30012025/21/45/image_30012025_21_45_15_10476.jpg', '/home/pi/Desktop/images/30012025/21/45/image_30012025_21_45_24_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/44/image_30012025_21_44_54_9458.jpg
/home/pi/Desktop/images/30012025/21/44/image_30012025_21_45_04_10345.jpg
/home/pi/Desktop/images/30012025/21/45/image_30012025_21_45_15_10476.jpg
/home/pi/Desktop/images/30012025/21/45/image_30012025_21_45_24_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":["1333102343","1333102360","1333102507","1333102339"],"photo_ids_order":["1333102339","1333102343","1333102360","1333102507"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9fbd74c6298f1566a019d4a075f79789.jpg","text":"TemporaryFile(/tmp/multipartBody7882763830220356433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269993213,"filename":"image_30012025_21_45_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/30/4f1853db936c6093a70b03dde4e4f6de.jpg","text":"TemporaryFile(/tmp/multipartBody772937051889615005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269993213,"filename":"image_30012025_21_45_15_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/30/1ac77cc3d8cf3183a0127be93f5c8ba6.jpg","text":"TemporaryFile(/tmp/multipartBody3973203373177193540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269993213,"filename":"image_30012025_21_45_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/30/f7a4890893c6e29ee8a1250d2dbc2673.jpg","text":"TemporaryFile(/tmp/multipartBody8092325750833104949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738269993213,"filename":"image_30012025_21_44_54_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333102360","file1":"1333102343","file0":"1333102339","file3":"1333102507"},"map_files_photo_id_array":[{"photo_id":"1333102360","filename":"file2"},{"photo_id":"1333102343","filename":"file1"},{"photo_id":"1333102339","filename":"file0"},{"photo_id":"1333102507","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333102343":["hashtag1","hashtag2"]},{"1333102360":["hashtag1","hashtag2"]},{"1333102507":["hashtag1","hashtag2"]},{"1333102339":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333102343, 1333102360, 1333102507, 1333102339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 35.01056456565857 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:46:32.451771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/45/image_30012025_21_45_35_10360.jpg', '/home/pi/Desktop/images/30012025/21/45/image_30012025_21_46_05_10407.jpg', '/home/pi/Desktop/images/30012025/21/46/image_30012025_21_46_14_9342.jpg', '/home/pi/Desktop/images/30012025/21/46/image_30012025_21_46_25_10336.jpg', '/home/pi/Desktop/images/30012025/21/46/image_30012025_21_46_35_10432.jpg', '/home/pi/Desktop/images/30012025/21/46/image_30012025_21_46_44_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/45/image_30012025_21_45_35_10360.jpg
/home/pi/Desktop/images/30012025/21/45/image_30012025_21_46_05_10407.jpg
/home/pi/Desktop/images/30012025/21/46/image_30012025_21_46_14_9342.jpg
/home/pi/Desktop/images/30012025/21/46/image_30012025_21_46_25_10336.jpg
/home/pi/Desktop/images/30012025/21/46/image_30012025_21_46_35_10432.jpg
/home/pi/Desktop/images/30012025/21/46/image_30012025_21_46_44_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":["1333102715","1333102724","1333102718","1333102732","1333102735","1333102729"],"photo_ids_order":["1333102715","1333102718","1333102724","1333102729","1333102732","1333102735"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8534f376b43a00f109a55579e852b156.jpg","text":"TemporaryFile(/tmp/multipartBody6366197715970318142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270053375,"filename":"image_30012025_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/30/98a18a7e144e0d82f1fb990479325078.jpg","text":"TemporaryFile(/tmp/multipartBody7244846013696146592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270053375,"filename":"image_30012025_21_46_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/30/7ea43219ed88dff3ebc28707cb18823c.jpg","text":"TemporaryFile(/tmp/multipartBody4125306974881705614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270053375,"filename":"image_30012025_21_46_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/30/8ee5a0ea048cd102196d171b377d597d.jpg","text":"TemporaryFile(/tmp/multipartBody2551558855585637687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270053375,"filename":"image_30012025_21_46_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/30/ca1216d30eab40c9a83d4157452fffc1.jpg","text":"TemporaryFile(/tmp/multipartBody1088078214563998072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270053375,"filename":"image_30012025_21_46_44_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/30/c4e0368cfdb68c045ece9b7219a8cdc4.jpg","text":"TemporaryFile(/tmp/multipartBody8603126047218210530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270053375,"filename":"image_30012025_21_46_25_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333102724","file1":"1333102718","file0":"1333102715","file4":"1333102732","file5":"1333102735","file3":"1333102729"},"map_files_photo_id_array":[{"photo_id":"1333102735","filename":"file5"},{"photo_id":"1333102724","filename":"file2"},{"photo_id":"1333102732","filename":"file4"},{"photo_id":"1333102718","filename":"file1"},{"photo_id":"1333102715","filename":"file0"},{"photo_id":"1333102729","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333102715":["hashtag1","hashtag2"]},{"1333102724":["hashtag1","hashtag2"]},{"1333102718":["hashtag1","hashtag2"]},{"1333102732":["hashtag1","hashtag2"]},{"1333102735":["hashtag1","hashtag2"]},{"1333102729":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333102715, 1333102724, 1333102718, 1333102732, 1333102735, 1333102729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.115437746047974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:47:32.751894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/46/image_30012025_21_46_55_10455.jpg', '/home/pi/Desktop/images/30012025/21/46/image_30012025_21_47_04_9450.jpg', '/home/pi/Desktop/images/30012025/21/47/image_30012025_21_47_15_10337.jpg', '/home/pi/Desktop/images/30012025/21/47/image_30012025_21_47_25_10362.jpg', '/home/pi/Desktop/images/30012025/21/47/image_30012025_21_47_34_9352.jpg', '/home/pi/Desktop/images/30012025/21/47/image_30012025_21_47_45_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/46/image_30012025_21_46_55_10455.jpg
/home/pi/Desktop/images/30012025/21/46/image_30012025_21_47_04_9450.jpg
/home/pi/Desktop/images/30012025/21/47/image_30012025_21_47_15_10337.jpg
/home/pi/Desktop/images/30012025/21/47/image_30012025_21_47_25_10362.jpg
/home/pi/Desktop/images/30012025/21/47/image_30012025_21_47_34_9352.jpg
/home/pi/Desktop/images/30012025/21/47/image_30012025_21_47_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":["1333102766","1333102751","1333102762","1333102756","1333102771","1333102759"],"photo_ids_order":["1333102751","1333102756","1333102759","1333102762","1333102766","1333102771"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f99f5e994ce95824c9de32f9befa65c9.jpg","text":"TemporaryFile(/tmp/multipartBody1244613471713455335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270113680,"filename":"image_30012025_21_47_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/30/17ee52bbd2649a2eac4be10490e521a8.jpg","text":"TemporaryFile(/tmp/multipartBody1021583951553771069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270113680,"filename":"image_30012025_21_46_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/30/18e8a63620b929838b41187e8151defe.jpg","text":"TemporaryFile(/tmp/multipartBody7509748529578333217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270113680,"filename":"image_30012025_21_47_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/30/24c7b7c912b5382610389c4bc379dad9.jpg","text":"TemporaryFile(/tmp/multipartBody8355576051986501649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270113680,"filename":"image_30012025_21_47_04_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/30/f3fc872ce7f003251be167f48cbbfe1a.jpg","text":"TemporaryFile(/tmp/multipartBody7361213547352078360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270113680,"filename":"image_30012025_21_47_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/30/38e51402994a7fcc54616352af517f68.jpg","text":"TemporaryFile(/tmp/multipartBody6691560117876914225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270113680,"filename":"image_30012025_21_47_15_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333102759","file1":"1333102756","file0":"1333102751","file4":"1333102766","file5":"1333102771","file3":"1333102762"},"map_files_photo_id_array":[{"photo_id":"1333102771","filename":"file5"},{"photo_id":"1333102759","filename":"file2"},{"photo_id":"1333102766","filename":"file4"},{"photo_id":"1333102756","filename":"file1"},{"photo_id":"1333102751","filename":"file0"},{"photo_id":"1333102762","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333102766":["hashtag1","hashtag2"]},{"1333102751":["hashtag1","hashtag2"]},{"1333102762":["hashtag1","hashtag2"]},{"1333102756":["hashtag1","hashtag2"]},{"1333102771":["hashtag1","hashtag2"]},{"1333102759":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333102766, 1333102751, 1333102762, 1333102756, 1333102771, 1333102759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.73516225814819 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:48:32.954703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/47/image_30012025_21_47_54_9450.jpg', '/home/pi/Desktop/images/30012025/21/47/image_30012025_21_48_04_10368.jpg', '/home/pi/Desktop/images/30012025/21/48/image_30012025_21_48_15_10405.jpg', '/home/pi/Desktop/images/30012025/21/48/image_30012025_21_48_24_9358.jpg', '/home/pi/Desktop/images/30012025/21/48/image_30012025_21_48_35_10367.jpg', '/home/pi/Desktop/images/30012025/21/48/image_30012025_21_48_45_10466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/47/image_30012025_21_47_54_9450.jpg
/home/pi/Desktop/images/30012025/21/47/image_30012025_21_48_04_10368.jpg
/home/pi/Desktop/images/30012025/21/48/image_30012025_21_48_15_10405.jpg
/home/pi/Desktop/images/30012025/21/48/image_30012025_21_48_24_9358.jpg
/home/pi/Desktop/images/30012025/21/48/image_30012025_21_48_35_10367.jpg
/home/pi/Desktop/images/30012025/21/48/image_30012025_21_48_45_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.5314133167266846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 21:48:43.027342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/47/image_30012025_21_47_54_9450.jpg', '/home/pi/Desktop/images/30012025/21/47/image_30012025_21_48_04_10368.jpg', '/home/pi/Desktop/images/30012025/21/48/image_30012025_21_48_15_10405.jpg', '/home/pi/Desktop/images/30012025/21/48/image_30012025_21_48_24_9358.jpg', '/home/pi/Desktop/images/30012025/21/48/image_30012025_21_48_35_10367.jpg', '/home/pi/Desktop/images/30012025/21/48/image_30012025_21_48_45_10466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/47/image_30012025_21_47_54_9450.jpg
/home/pi/Desktop/images/30012025/21/47/image_30012025_21_48_04_10368.jpg
/home/pi/Desktop/images/30012025/21/48/image_30012025_21_48_15_10405.jpg
/home/pi/Desktop/images/30012025/21/48/image_30012025_21_48_24_9358.jpg
/home/pi/Desktop/images/30012025/21/48/image_30012025_21_48_35_10367.jpg
/home/pi/Desktop/images/30012025/21/48/image_30012025_21_48_45_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":["1333103378","1333103374","1333103386","1333103371","1333103466","1333103382"],"photo_ids_order":["1333103371","1333103374","1333103378","1333103382","1333103386","1333103466"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2e81809aeb089f41018d0ca276d9df54.jpg","text":"TemporaryFile(/tmp/multipartBody6814383582751746884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270183961,"filename":"image_30012025_21_48_15_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e41edb1b07a3f5eb6c7e72fc861da1c0.jpg","text":"TemporaryFile(/tmp/multipartBody2102957325854167140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270183961,"filename":"image_30012025_21_48_04_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/30/301809851e12c3a343e8af73c20c7b05.jpg","text":"TemporaryFile(/tmp/multipartBody5776076786763590917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270183961,"filename":"image_30012025_21_48_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/30/103bc346b2ebf7544c0821563d8d077c.jpg","text":"TemporaryFile(/tmp/multipartBody6180619422526932997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270183961,"filename":"image_30012025_21_47_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/30/a2e1a46db9a0d8c6f11ec409dd38d10b.jpg","text":"TemporaryFile(/tmp/multipartBody3214353238437944181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270183961,"filename":"image_30012025_21_48_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/30/e4ab75e7ea73847e90fd85588c835205.jpg","text":"TemporaryFile(/tmp/multipartBody6525830024202873296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270183961,"filename":"image_30012025_21_48_24_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333103378","file1":"1333103374","file0":"1333103371","file4":"1333103386","file5":"1333103466","file3":"1333103382"},"map_files_photo_id_array":[{"photo_id":"1333103466","filename":"file5"},{"photo_id":"1333103378","filename":"file2"},{"photo_id":"1333103386","filename":"file4"},{"photo_id":"1333103374","filename":"file1"},{"photo_id":"1333103371","filename":"file0"},{"photo_id":"1333103382","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333103378":["hashtag1","hashtag2"]},{"1333103374":["hashtag1","hashtag2"]},{"1333103386":["hashtag1","hashtag2"]},{"1333103371":["hashtag1","hashtag2"]},{"1333103466":["hashtag1","hashtag2"]},{"1333103382":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333103378, 1333103374, 1333103386, 1333103371, 1333103466, 1333103382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.398921728134155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:49:32.289196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/48/image_30012025_21_48_54_9444.jpg', '/home/pi/Desktop/images/30012025/21/48/image_30012025_21_49_05_10411.jpg', '/home/pi/Desktop/images/30012025/21/49/image_30012025_21_49_14_9401.jpg', '/home/pi/Desktop/images/30012025/21/49/image_30012025_21_49_25_10365.jpg', '/home/pi/Desktop/images/30012025/21/49/image_30012025_21_49_44_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/48/image_30012025_21_48_54_9444.jpg
/home/pi/Desktop/images/30012025/21/48/image_30012025_21_49_05_10411.jpg
/home/pi/Desktop/images/30012025/21/49/image_30012025_21_49_14_9401.jpg
/home/pi/Desktop/images/30012025/21/49/image_30012025_21_49_25_10365.jpg
/home/pi/Desktop/images/30012025/21/49/image_30012025_21_49_44_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333103619","1333103582","1333103617","1333103626","1333103646"],"photo_ids_order":["1333103582","1333103617","1333103619","1333103626","1333103646"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e21e213659317ddec7507639a5eaeeb4.jpg","text":"TemporaryFile(/tmp/multipartBody9046897295550504897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270233194,"filename":"image_30012025_21_49_14_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/30/8186dfee36fdaab7984d04f4ad571a99.jpg","text":"TemporaryFile(/tmp/multipartBody7234409430032409845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270233194,"filename":"image_30012025_21_48_54_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/476ab04ef534d2f4770a1c21ed11f55c.jpg","text":"TemporaryFile(/tmp/multipartBody1607108890467089852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270233194,"filename":"image_30012025_21_49_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/30/630fad95ab829ced78335c4a84aec4f6.jpg","text":"TemporaryFile(/tmp/multipartBody7099102877564656076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270233194,"filename":"image_30012025_21_49_25_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/30/744b34b4d968a3ba494d388aa6936d50.jpg","text":"TemporaryFile(/tmp/multipartBody7551304786099389772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270233194,"filename":"image_30012025_21_49_44_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333103619","file1":"1333103617","file0":"1333103582","file4":"1333103646","file3":"1333103626"},"map_files_photo_id_array":[{"photo_id":"1333103619","filename":"file2"},{"photo_id":"1333103646","filename":"file4"},{"photo_id":"1333103617","filename":"file1"},{"photo_id":"1333103582","filename":"file0"},{"photo_id":"1333103626","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333103619":["hashtag1","hashtag2"]},{"1333103582":["hashtag1","hashtag2"]},{"1333103617":["hashtag1","hashtag2"]},{"1333103626":["hashtag1","hashtag2"]},{"1333103646":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333103619, 1333103582, 1333103617, 1333103626, 1333103646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.019684076309204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:50:32.488018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/49/image_30012025_21_49_55_10354.jpg', '/home/pi/Desktop/images/30012025/21/49/image_30012025_21_50_04_9370.jpg', '/home/pi/Desktop/images/30012025/21/50/image_30012025_21_50_14_10354.jpg', '/home/pi/Desktop/images/30012025/21/50/image_30012025_21_50_25_10415.jpg', '/home/pi/Desktop/images/30012025/21/50/image_30012025_21_50_34_9335.jpg', '/home/pi/Desktop/images/30012025/21/50/image_30012025_21_50_45_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/49/image_30012025_21_49_55_10354.jpg
/home/pi/Desktop/images/30012025/21/49/image_30012025_21_50_04_9370.jpg
/home/pi/Desktop/images/30012025/21/50/image_30012025_21_50_14_10354.jpg
/home/pi/Desktop/images/30012025/21/50/image_30012025_21_50_25_10415.jpg
/home/pi/Desktop/images/30012025/21/50/image_30012025_21_50_34_9335.jpg
/home/pi/Desktop/images/30012025/21/50/image_30012025_21_50_45_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":["1333103913","1333103916","1333103904","1333103882","1333103876","1333103909"],"photo_ids_order":["1333103876","1333103882","1333103904","1333103909","1333103913","1333103916"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6bb67c3b66510302d652465090fa327f.jpg","text":"TemporaryFile(/tmp/multipartBody889904949021358593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270293417,"filename":"image_30012025_21_50_34_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/30/d3849e14aa67b7474de44ccd163ccc7b.jpg","text":"TemporaryFile(/tmp/multipartBody1799158504356806120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270293417,"filename":"image_30012025_21_50_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/30/54dfa97f52e03b3679928f6e4c357ce8.jpg","text":"TemporaryFile(/tmp/multipartBody1278041614082481880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270293417,"filename":"image_30012025_21_50_14_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/49c54ceb8d0e3d2f62a38e60fa884557.jpg","text":"TemporaryFile(/tmp/multipartBody3084750282328543491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270293417,"filename":"image_30012025_21_50_04_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/30/ad8e9587179ee8308d98a30c5b29643e.jpg","text":"TemporaryFile(/tmp/multipartBody1343993709048223415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270293417,"filename":"image_30012025_21_49_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/30/1047c33ab77bd158e8029dc571dc9f87.jpg","text":"TemporaryFile(/tmp/multipartBody6811749085946434777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270293417,"filename":"image_30012025_21_50_25_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333103904","file1":"1333103882","file0":"1333103876","file4":"1333103913","file5":"1333103916","file3":"1333103909"},"map_files_photo_id_array":[{"photo_id":"1333103916","filename":"file5"},{"photo_id":"1333103904","filename":"file2"},{"photo_id":"1333103913","filename":"file4"},{"photo_id":"1333103882","filename":"file1"},{"photo_id":"1333103876","filename":"file0"},{"photo_id":"1333103909","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333103913":["hashtag1","hashtag2"]},{"1333103916":["hashtag1","hashtag2"]},{"1333103904":["hashtag1","hashtag2"]},{"1333103882":["hashtag1","hashtag2"]},{"1333103876":["hashtag1","hashtag2"]},{"1333103909":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333103913, 1333103916, 1333103904, 1333103882, 1333103876, 1333103909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.80022358894348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:51:32.688166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/50/image_30012025_21_50_55_10354.jpg', '/home/pi/Desktop/images/30012025/21/50/image_30012025_21_51_04_9432.jpg', '/home/pi/Desktop/images/30012025/21/51/image_30012025_21_51_15_10339.jpg', '/home/pi/Desktop/images/30012025/21/51/image_30012025_21_51_24_9476.jpg', '/home/pi/Desktop/images/30012025/21/51/image_30012025_21_51_34_10342.jpg', '/home/pi/Desktop/images/30012025/21/51/image_30012025_21_51_45_10408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/50/image_30012025_21_50_55_10354.jpg
/home/pi/Desktop/images/30012025/21/50/image_30012025_21_51_04_9432.jpg
/home/pi/Desktop/images/30012025/21/51/image_30012025_21_51_15_10339.jpg
/home/pi/Desktop/images/30012025/21/51/image_30012025_21_51_24_9476.jpg
/home/pi/Desktop/images/30012025/21/51/image_30012025_21_51_34_10342.jpg
/home/pi/Desktop/images/30012025/21/51/image_30012025_21_51_45_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":["1333104021","1333104015","1333104365","1333104361","1333104252","1333104132"],"photo_ids_order":["1333104015","1333104021","1333104132","1333104252","1333104361","1333104365"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/06f05a027f4b84f1c6b42fdc0b4ba007.jpg","text":"TemporaryFile(/tmp/multipartBody6503155141963615767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270353621,"filename":"image_30012025_21_51_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/30/6cada6b020ada1040e81f9f32c7f0e81.jpg","text":"TemporaryFile(/tmp/multipartBody2512250899006403118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270353621,"filename":"image_30012025_21_50_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/30/845551561a7efb9fe1190d146ef3c9ac.jpg","text":"TemporaryFile(/tmp/multipartBody5027212376652577031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270353621,"filename":"image_30012025_21_51_45_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5d64c7080f115fb3c852f6b04dd2d110.jpg","text":"TemporaryFile(/tmp/multipartBody296908375841252617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270353621,"filename":"image_30012025_21_51_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/30/4fc1db4a33ac021fbee36f23710aba9b.jpg","text":"TemporaryFile(/tmp/multipartBody474719674880586342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270353621,"filename":"image_30012025_21_51_24_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/30/7da6a668ad3a56bcdb1c58c924a659c1.jpg","text":"TemporaryFile(/tmp/multipartBody1176007976841816908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270353621,"filename":"image_30012025_21_51_15_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333104132","file1":"1333104021","file0":"1333104015","file4":"1333104361","file5":"1333104365","file3":"1333104252"},"map_files_photo_id_array":[{"photo_id":"1333104365","filename":"file5"},{"photo_id":"1333104132","filename":"file2"},{"photo_id":"1333104361","filename":"file4"},{"photo_id":"1333104021","filename":"file1"},{"photo_id":"1333104015","filename":"file0"},{"photo_id":"1333104252","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333104021":["hashtag1","hashtag2"]},{"1333104015":["hashtag1","hashtag2"]},{"1333104365":["hashtag1","hashtag2"]},{"1333104361":["hashtag1","hashtag2"]},{"1333104252":["hashtag1","hashtag2"]},{"1333104132":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333104021, 1333104015, 1333104365, 1333104361, 1333104252, 1333104132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.734976053237915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:52:32.901846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/51/image_30012025_21_51_54_9332.jpg', '/home/pi/Desktop/images/30012025/21/51/image_30012025_21_52_05_10345.jpg', '/home/pi/Desktop/images/30012025/21/52/image_30012025_21_52_15_10351.jpg', '/home/pi/Desktop/images/30012025/21/52/image_30012025_21_52_24_9455.jpg', '/home/pi/Desktop/images/30012025/21/52/image_30012025_21_52_35_10374.jpg', '/home/pi/Desktop/images/30012025/21/52/image_30012025_21_52_44_9369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/51/image_30012025_21_51_54_9332.jpg
/home/pi/Desktop/images/30012025/21/51/image_30012025_21_52_05_10345.jpg
/home/pi/Desktop/images/30012025/21/52/image_30012025_21_52_15_10351.jpg
/home/pi/Desktop/images/30012025/21/52/image_30012025_21_52_24_9455.jpg
/home/pi/Desktop/images/30012025/21/52/image_30012025_21_52_35_10374.jpg
/home/pi/Desktop/images/30012025/21/52/image_30012025_21_52_44_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":["1333104587","1333104499","1333104568","1333104561","1333104573","1333104507"],"photo_ids_order":["1333104499","1333104507","1333104561","1333104568","1333104573","1333104587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bedac87155c227e17d3f9733c76dba5a.jpg","text":"TemporaryFile(/tmp/multipartBody1980316871073562507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270413822,"filename":"image_30012025_21_52_44_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/30/3c8d9286b400ec7ac2489e251615ae6e.jpg","text":"TemporaryFile(/tmp/multipartBody5400435090801187332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270413822,"filename":"image_30012025_21_51_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/30/6e9774e69bdd3da016555fe44a673690.jpg","text":"TemporaryFile(/tmp/multipartBody4564285187557005699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270413822,"filename":"image_30012025_21_52_24_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/30/2587f01ad544edc149f07a12ac11c7d0.jpg","text":"TemporaryFile(/tmp/multipartBody5324293840881260859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270413822,"filename":"image_30012025_21_52_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/30/36f2bcd3a35ca84d0108d41c657ea890.jpg","text":"TemporaryFile(/tmp/multipartBody6505335952492871223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270413822,"filename":"image_30012025_21_52_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/30/8789a3ac5022e1c5ba44af20984a4a31.jpg","text":"TemporaryFile(/tmp/multipartBody8907033635711876611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270413822,"filename":"image_30012025_21_52_05_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333104561","file1":"1333104507","file0":"1333104499","file4":"1333104573","file5":"1333104587","file3":"1333104568"},"map_files_photo_id_array":[{"photo_id":"1333104587","filename":"file5"},{"photo_id":"1333104561","filename":"file2"},{"photo_id":"1333104573","filename":"file4"},{"photo_id":"1333104507","filename":"file1"},{"photo_id":"1333104499","filename":"file0"},{"photo_id":"1333104568","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333104587":["hashtag1","hashtag2"]},{"1333104499":["hashtag1","hashtag2"]},{"1333104568":["hashtag1","hashtag2"]},{"1333104561":["hashtag1","hashtag2"]},{"1333104573":["hashtag1","hashtag2"]},{"1333104507":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333104587, 1333104499, 1333104568, 1333104561, 1333104573, 1333104507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89333939552307 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:53:33.017182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/52/image_30012025_21_52_54_10347.jpg', '/home/pi/Desktop/images/30012025/21/52/image_30012025_21_53_05_10453.jpg', '/home/pi/Desktop/images/30012025/21/53/image_30012025_21_53_14_9321.jpg', '/home/pi/Desktop/images/30012025/21/53/image_30012025_21_53_25_10365.jpg', '/home/pi/Desktop/images/30012025/21/53/image_30012025_21_53_35_10357.jpg', '/home/pi/Desktop/images/30012025/21/53/image_30012025_21_53_44_9460.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/52/image_30012025_21_52_54_10347.jpg
/home/pi/Desktop/images/30012025/21/52/image_30012025_21_53_05_10453.jpg
/home/pi/Desktop/images/30012025/21/53/image_30012025_21_53_14_9321.jpg
/home/pi/Desktop/images/30012025/21/53/image_30012025_21_53_25_10365.jpg
/home/pi/Desktop/images/30012025/21/53/image_30012025_21_53_35_10357.jpg
/home/pi/Desktop/images/30012025/21/53/image_30012025_21_53_44_9460.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5464060306549072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 21:53:43.059123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/52/image_30012025_21_52_54_10347.jpg', '/home/pi/Desktop/images/30012025/21/52/image_30012025_21_53_05_10453.jpg', '/home/pi/Desktop/images/30012025/21/53/image_30012025_21_53_14_9321.jpg', '/home/pi/Desktop/images/30012025/21/53/image_30012025_21_53_25_10365.jpg', '/home/pi/Desktop/images/30012025/21/53/image_30012025_21_53_35_10357.jpg', '/home/pi/Desktop/images/30012025/21/53/image_30012025_21_53_44_9460.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/52/image_30012025_21_52_54_10347.jpg
/home/pi/Desktop/images/30012025/21/52/image_30012025_21_53_05_10453.jpg
/home/pi/Desktop/images/30012025/21/53/image_30012025_21_53_14_9321.jpg
/home/pi/Desktop/images/30012025/21/53/image_30012025_21_53_25_10365.jpg
/home/pi/Desktop/images/30012025/21/53/image_30012025_21_53_35_10357.jpg
/home/pi/Desktop/images/30012025/21/53/image_30012025_21_53_44_9460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333104674","1333104815","1333104817","1333104762","1333104756","1333104717"],"photo_ids_order":["1333104674","1333104717","1333104756","1333104762","1333104815","1333104817"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/deca867004872d2d24d0d8660a87fb98.jpg","text":"TemporaryFile(/tmp/multipartBody9008836999902171433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270483990,"filename":"image_30012025_21_52_54_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/30/0841d4b08d558cc986556e743cc027a9.jpg","text":"TemporaryFile(/tmp/multipartBody4525517190293821500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270483990,"filename":"image_30012025_21_53_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/30/84eb9d1f4ce25705562b23256f974de1.jpg","text":"TemporaryFile(/tmp/multipartBody4278980574200824629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270483990,"filename":"image_30012025_21_53_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/30/eedefd5267ad11498a3edc18a6662269.jpg","text":"TemporaryFile(/tmp/multipartBody3382360308866467409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270483990,"filename":"image_30012025_21_53_25_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/30/b908e7d135c002dcd1dfa283af598b00.jpg","text":"TemporaryFile(/tmp/multipartBody7980993254662339644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270483990,"filename":"image_30012025_21_53_14_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/30/36ea8831d2014ebfe6e278f4ed8114ed.jpg","text":"TemporaryFile(/tmp/multipartBody4098413040839926269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270483990,"filename":"image_30012025_21_53_05_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333104756","file1":"1333104717","file0":"1333104674","file4":"1333104815","file5":"1333104817","file3":"1333104762"},"map_files_photo_id_array":[{"photo_id":"1333104817","filename":"file5"},{"photo_id":"1333104756","filename":"file2"},{"photo_id":"1333104815","filename":"file4"},{"photo_id":"1333104717","filename":"file1"},{"photo_id":"1333104674","filename":"file0"},{"photo_id":"1333104762","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333104674":["hashtag1","hashtag2"]},{"1333104815":["hashtag1","hashtag2"]},{"1333104817":["hashtag1","hashtag2"]},{"1333104762":["hashtag1","hashtag2"]},{"1333104756":["hashtag1","hashtag2"]},{"1333104717":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333104674, 1333104815, 1333104817, 1333104762, 1333104756, 1333104717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1421217918396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:54:32.279813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/53/image_30012025_21_53_55_10398.jpg', '/home/pi/Desktop/images/30012025/21/53/image_30012025_21_54_04_9360.jpg', '/home/pi/Desktop/images/30012025/21/54/image_30012025_21_54_15_10373.jpg', '/home/pi/Desktop/images/30012025/21/54/image_30012025_21_54_25_10394.jpg', '/home/pi/Desktop/images/30012025/21/54/image_30012025_21_54_34_9361.jpg', '/home/pi/Desktop/images/30012025/21/54/image_30012025_21_54_45_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/53/image_30012025_21_53_55_10398.jpg
/home/pi/Desktop/images/30012025/21/53/image_30012025_21_54_04_9360.jpg
/home/pi/Desktop/images/30012025/21/54/image_30012025_21_54_15_10373.jpg
/home/pi/Desktop/images/30012025/21/54/image_30012025_21_54_25_10394.jpg
/home/pi/Desktop/images/30012025/21/54/image_30012025_21_54_34_9361.jpg
/home/pi/Desktop/images/30012025/21/54/image_30012025_21_54_45_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333104965","1333104871","1333104946","1333105059","1333105062","1333104969"],"photo_ids_order":["1333104871","1333104946","1333104965","1333104969","1333105059","1333105062"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5d56661db4469f36da09ad9e490fff30.jpg","text":"TemporaryFile(/tmp/multipartBody9019101790963500285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270533279,"filename":"image_30012025_21_54_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/30/ae3192d65bf783bcb032d6652693a61e.jpg","text":"TemporaryFile(/tmp/multipartBody5095280781030239697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270533279,"filename":"image_30012025_21_53_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/30/32f0c31ba98b3bf93245f3ab09f808aa.jpg","text":"TemporaryFile(/tmp/multipartBody2301736790077575308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270533279,"filename":"image_30012025_21_54_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/30/d4546ff2789aab6cd4a3abe397bc52a7.jpg","text":"TemporaryFile(/tmp/multipartBody4419102275338682146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270533279,"filename":"image_30012025_21_54_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/30/e13114389b9c0145374a1d86a11b94df.jpg","text":"TemporaryFile(/tmp/multipartBody6696653872012618114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270533279,"filename":"image_30012025_21_54_45_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b360df5eb770b2998d7fe5a4a8850e8f.jpg","text":"TemporaryFile(/tmp/multipartBody7082768021308124223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270533279,"filename":"image_30012025_21_54_25_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333104965","file1":"1333104946","file0":"1333104871","file4":"1333105059","file5":"1333105062","file3":"1333104969"},"map_files_photo_id_array":[{"photo_id":"1333105062","filename":"file5"},{"photo_id":"1333104965","filename":"file2"},{"photo_id":"1333105059","filename":"file4"},{"photo_id":"1333104946","filename":"file1"},{"photo_id":"1333104871","filename":"file0"},{"photo_id":"1333104969","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333104965":["hashtag1","hashtag2"]},{"1333104871":["hashtag1","hashtag2"]},{"1333104946":["hashtag1","hashtag2"]},{"1333105059":["hashtag1","hashtag2"]},{"1333105062":["hashtag1","hashtag2"]},{"1333104969":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333104965, 1333104871, 1333104946, 1333105059, 1333105062, 1333104969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.270705699920654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:55:32.391722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/54/image_30012025_21_54_55_10360.jpg', '/home/pi/Desktop/images/30012025/21/54/image_30012025_21_55_04_9339.jpg', '/home/pi/Desktop/images/30012025/21/55/image_30012025_21_55_15_10348.jpg', '/home/pi/Desktop/images/30012025/21/55/image_30012025_21_55_24_9423.jpg', '/home/pi/Desktop/images/30012025/21/55/image_30012025_21_55_35_10426.jpg', '/home/pi/Desktop/images/30012025/21/55/image_30012025_21_55_45_10469.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/54/image_30012025_21_54_55_10360.jpg
/home/pi/Desktop/images/30012025/21/54/image_30012025_21_55_04_9339.jpg
/home/pi/Desktop/images/30012025/21/55/image_30012025_21_55_15_10348.jpg
/home/pi/Desktop/images/30012025/21/55/image_30012025_21_55_24_9423.jpg
/home/pi/Desktop/images/30012025/21/55/image_30012025_21_55_35_10426.jpg
/home/pi/Desktop/images/30012025/21/55/image_30012025_21_55_45_10469.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333105106","1333105128","1333105113","1333105122","1333105125","1333105119"],"photo_ids_order":["1333105106","1333105113","1333105119","1333105122","1333105125","1333105128"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cae69a91f325401e4ea6b8bc4f5eaee6.jpg","text":"TemporaryFile(/tmp/multipartBody221720992004962918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270593314,"filename":"image_30012025_21_54_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/30/0ba27aa028b5b52a099bfc7422a0ec86.jpg","text":"TemporaryFile(/tmp/multipartBody110784056961172280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270593314,"filename":"image_30012025_21_55_45_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fa8f685b9e9a52ff31f306ff7b9c0375.jpg","text":"TemporaryFile(/tmp/multipartBody4459982355148461521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270593314,"filename":"image_30012025_21_55_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/30/432476320848c2cc46c72838b5183779.jpg","text":"TemporaryFile(/tmp/multipartBody7350170186779378010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270593314,"filename":"image_30012025_21_55_24_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/57e30164ad6b9df67f61e0f979cabf8a.jpg","text":"TemporaryFile(/tmp/multipartBody7295712724608637085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270593314,"filename":"image_30012025_21_55_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/30/ce66ae96eb82057235e719f12ca5a608.jpg","text":"TemporaryFile(/tmp/multipartBody3885601565739336815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270593314,"filename":"image_30012025_21_55_15_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333105119","file1":"1333105113","file0":"1333105106","file4":"1333105125","file5":"1333105128","file3":"1333105122"},"map_files_photo_id_array":[{"photo_id":"1333105128","filename":"file5"},{"photo_id":"1333105119","filename":"file2"},{"photo_id":"1333105125","filename":"file4"},{"photo_id":"1333105113","filename":"file1"},{"photo_id":"1333105106","filename":"file0"},{"photo_id":"1333105122","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333105106":["hashtag1","hashtag2"]},{"1333105128":["hashtag1","hashtag2"]},{"1333105113":["hashtag1","hashtag2"]},{"1333105122":["hashtag1","hashtag2"]},{"1333105125":["hashtag1","hashtag2"]},{"1333105119":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333105106, 1333105128, 1333105113, 1333105122, 1333105125, 1333105119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.410950660705566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:56:32.701756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/55/image_30012025_21_55_54_9335.jpg', '/home/pi/Desktop/images/30012025/21/55/image_30012025_21_56_05_10338.jpg', '/home/pi/Desktop/images/30012025/21/56/image_30012025_21_56_14_9420.jpg', '/home/pi/Desktop/images/30012025/21/56/image_30012025_21_56_24_10361.jpg', '/home/pi/Desktop/images/30012025/21/56/image_30012025_21_56_35_10405.jpg', '/home/pi/Desktop/images/30012025/21/56/image_30012025_21_56_44_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/55/image_30012025_21_55_54_9335.jpg
/home/pi/Desktop/images/30012025/21/55/image_30012025_21_56_05_10338.jpg
/home/pi/Desktop/images/30012025/21/56/image_30012025_21_56_14_9420.jpg
/home/pi/Desktop/images/30012025/21/56/image_30012025_21_56_24_10361.jpg
/home/pi/Desktop/images/30012025/21/56/image_30012025_21_56_35_10405.jpg
/home/pi/Desktop/images/30012025/21/56/image_30012025_21_56_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":["1333105166","1333105148","1333105159","1333105144","1333105154","1333105163"],"photo_ids_order":["1333105144","1333105148","1333105154","1333105159","1333105163","1333105166"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/796f66d86d0e1951af27949fd16e8dad.jpg","text":"TemporaryFile(/tmp/multipartBody6309765180046671260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270653613,"filename":"image_30012025_21_56_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/30/8969717221382de788748ce13357a1ac.jpg","text":"TemporaryFile(/tmp/multipartBody1901307767823719416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270653613,"filename":"image_30012025_21_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/30/6dc9c1476f6f71d7a9670c5462484867.jpg","text":"TemporaryFile(/tmp/multipartBody8478005000226820100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270653613,"filename":"image_30012025_21_56_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/30/47a76857bb9d6237563265c28390069e.jpg","text":"TemporaryFile(/tmp/multipartBody8269777072598182091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270653613,"filename":"image_30012025_21_55_54_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/232b8a5069b0f1dd79ee96c0a092a58b.jpg","text":"TemporaryFile(/tmp/multipartBody4040181394065761981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270653613,"filename":"image_30012025_21_56_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/30/1b5c9718329e054c014f4e80119d2269.jpg","text":"TemporaryFile(/tmp/multipartBody6877547410353766718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270653613,"filename":"image_30012025_21_56_35_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333105154","file1":"1333105148","file0":"1333105144","file4":"1333105163","file5":"1333105166","file3":"1333105159"},"map_files_photo_id_array":[{"photo_id":"1333105166","filename":"file5"},{"photo_id":"1333105154","filename":"file2"},{"photo_id":"1333105163","filename":"file4"},{"photo_id":"1333105148","filename":"file1"},{"photo_id":"1333105144","filename":"file0"},{"photo_id":"1333105159","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333105166":["hashtag1","hashtag2"]},{"1333105148":["hashtag1","hashtag2"]},{"1333105159":["hashtag1","hashtag2"]},{"1333105144":["hashtag1","hashtag2"]},{"1333105154":["hashtag1","hashtag2"]},{"1333105163":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333105166, 1333105148, 1333105159, 1333105144, 1333105154, 1333105163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.76191473007202 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:57:32.920092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/56/image_30012025_21_56_55_10354.jpg', '/home/pi/Desktop/images/30012025/21/56/image_30012025_21_57_05_10346.jpg', '/home/pi/Desktop/images/30012025/21/57/image_30012025_21_57_14_9407.jpg', '/home/pi/Desktop/images/30012025/21/57/image_30012025_21_57_25_10389.jpg', '/home/pi/Desktop/images/30012025/21/57/image_30012025_21_57_34_9332.jpg', '/home/pi/Desktop/images/30012025/21/57/image_30012025_21_57_44_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/56/image_30012025_21_56_55_10354.jpg
/home/pi/Desktop/images/30012025/21/56/image_30012025_21_57_05_10346.jpg
/home/pi/Desktop/images/30012025/21/57/image_30012025_21_57_14_9407.jpg
/home/pi/Desktop/images/30012025/21/57/image_30012025_21_57_25_10389.jpg
/home/pi/Desktop/images/30012025/21/57/image_30012025_21_57_34_9332.jpg
/home/pi/Desktop/images/30012025/21/57/image_30012025_21_57_44_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 21:59:03.455910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/56/image_30012025_21_56_55_10354.jpg', '/home/pi/Desktop/images/30012025/21/56/image_30012025_21_57_05_10346.jpg', '/home/pi/Desktop/images/30012025/21/57/image_30012025_21_57_14_9407.jpg', '/home/pi/Desktop/images/30012025/21/57/image_30012025_21_57_25_10389.jpg', '/home/pi/Desktop/images/30012025/21/57/image_30012025_21_57_34_9332.jpg', '/home/pi/Desktop/images/30012025/21/57/image_30012025_21_57_44_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/56/image_30012025_21_56_55_10354.jpg
/home/pi/Desktop/images/30012025/21/56/image_30012025_21_57_05_10346.jpg
/home/pi/Desktop/images/30012025/21/57/image_30012025_21_57_14_9407.jpg
/home/pi/Desktop/images/30012025/21/57/image_30012025_21_57_25_10389.jpg
/home/pi/Desktop/images/30012025/21/57/image_30012025_21_57_34_9332.jpg
/home/pi/Desktop/images/30012025/21/57/image_30012025_21_57_44_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: 2.046863317489624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 21:59:32.390162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/56/image_30012025_21_56_55_10354.jpg', '/home/pi/Desktop/images/30012025/21/56/image_30012025_21_57_05_10346.jpg', '/home/pi/Desktop/images/30012025/21/57/image_30012025_21_57_14_9407.jpg', '/home/pi/Desktop/images/30012025/21/57/image_30012025_21_57_25_10389.jpg', '/home/pi/Desktop/images/30012025/21/57/image_30012025_21_57_34_9332.jpg', '/home/pi/Desktop/images/30012025/21/57/image_30012025_21_57_44_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/56/image_30012025_21_56_55_10354.jpg
/home/pi/Desktop/images/30012025/21/56/image_30012025_21_57_05_10346.jpg
/home/pi/Desktop/images/30012025/21/57/image_30012025_21_57_14_9407.jpg
/home/pi/Desktop/images/30012025/21/57/image_30012025_21_57_25_10389.jpg
/home/pi/Desktop/images/30012025/21/57/image_30012025_21_57_34_9332.jpg
/home/pi/Desktop/images/30012025/21/57/image_30012025_21_57_44_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":["1333105480","1333105492","1333105468","1333105496","1333105487","1333105475"],"photo_ids_order":["1333105468","1333105475","1333105480","1333105487","1333105492","1333105496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/545ce743288c51fed5d79aaf270904bc.jpg","text":"TemporaryFile(/tmp/multipartBody4954749141370250645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270833301,"filename":"image_30012025_21_57_14_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a03e70b5ad56e4b9ecaac7336b37eae5.jpg","text":"TemporaryFile(/tmp/multipartBody8703478547400037831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270833301,"filename":"image_30012025_21_57_34_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/30/ddff74a405d2b1a6d321d90d953b4313.jpg","text":"TemporaryFile(/tmp/multipartBody7031734058655263912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270833301,"filename":"image_30012025_21_56_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/30/3a4cf09d8d47dbee51873f3bcc284ac1.jpg","text":"TemporaryFile(/tmp/multipartBody780177894602252953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270833301,"filename":"image_30012025_21_57_44_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1d90296b0dab98b0d8c7179dbb050d0e.jpg","text":"TemporaryFile(/tmp/multipartBody6010591169966892598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270833301,"filename":"image_30012025_21_57_25_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/28d2bbd6690a4c24ea4cd5a9b241832a.jpg","text":"TemporaryFile(/tmp/multipartBody1630822800093628822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270833301,"filename":"image_30012025_21_57_05_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333105480","file1":"1333105475","file0":"1333105468","file4":"1333105492","file5":"1333105496","file3":"1333105487"},"map_files_photo_id_array":[{"photo_id":"1333105496","filename":"file5"},{"photo_id":"1333105480","filename":"file2"},{"photo_id":"1333105492","filename":"file4"},{"photo_id":"1333105475","filename":"file1"},{"photo_id":"1333105468","filename":"file0"},{"photo_id":"1333105487","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333105480":["hashtag1","hashtag2"]},{"1333105492":["hashtag1","hashtag2"]},{"1333105468":["hashtag1","hashtag2"]},{"1333105496":["hashtag1","hashtag2"]},{"1333105487":["hashtag1","hashtag2"]},{"1333105475":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333105480, 1333105492, 1333105468, 1333105496, 1333105487, 1333105475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.63784837722778 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:00:32.653573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/57/image_30012025_21_57_55_10414.jpg', '/home/pi/Desktop/images/30012025/21/57/image_30012025_21_58_04_9358.jpg', '/home/pi/Desktop/images/30012025/21/58/image_30012025_21_58_15_10338.jpg', '/home/pi/Desktop/images/30012025/21/58/image_30012025_21_58_25_10412.jpg', '/home/pi/Desktop/images/30012025/21/58/image_30012025_21_58_34_9341.jpg', '/home/pi/Desktop/images/30012025/21/58/image_30012025_21_58_45_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/57/image_30012025_21_57_55_10414.jpg
/home/pi/Desktop/images/30012025/21/57/image_30012025_21_58_04_9358.jpg
/home/pi/Desktop/images/30012025/21/58/image_30012025_21_58_15_10338.jpg
/home/pi/Desktop/images/30012025/21/58/image_30012025_21_58_25_10412.jpg
/home/pi/Desktop/images/30012025/21/58/image_30012025_21_58_34_9341.jpg
/home/pi/Desktop/images/30012025/21/58/image_30012025_21_58_45_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":["1333106341","1333106125","1333105900","1333106412","1333106414","1333106408"],"photo_ids_order":["1333105900","1333106125","1333106341","1333106408","1333106412","1333106414"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/51a187511923d9845bbcb8cff835555b.jpg","text":"TemporaryFile(/tmp/multipartBody3221680410427313401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270893568,"filename":"image_30012025_21_58_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/30/f98b42d4229f78067dff802c30f502b7.jpg","text":"TemporaryFile(/tmp/multipartBody5323882042137773393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270893568,"filename":"image_30012025_21_58_04_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9e45d9105b18d5212884c03287e2c2b0.jpg","text":"TemporaryFile(/tmp/multipartBody9107320524355365998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270893568,"filename":"image_30012025_21_57_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/30/3c28fb5a15970098fdef11d0e62834b3.jpg","text":"TemporaryFile(/tmp/multipartBody444362232664028093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270893568,"filename":"image_30012025_21_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/30/0d3fa54155749cd67ed504db33e453d1.jpg","text":"TemporaryFile(/tmp/multipartBody4431894997278926597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270893568,"filename":"image_30012025_21_58_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/30/e3253d7afcc126612bad2d1cabcd1e2b.jpg","text":"TemporaryFile(/tmp/multipartBody9124375003657144221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270893568,"filename":"image_30012025_21_58_25_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333106341","file1":"1333106125","file0":"1333105900","file4":"1333106412","file5":"1333106414","file3":"1333106408"},"map_files_photo_id_array":[{"photo_id":"1333106414","filename":"file5"},{"photo_id":"1333106341","filename":"file2"},{"photo_id":"1333106412","filename":"file4"},{"photo_id":"1333106125","filename":"file1"},{"photo_id":"1333105900","filename":"file0"},{"photo_id":"1333106408","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333106341":["hashtag1","hashtag2"]},{"1333106125":["hashtag1","hashtag2"]},{"1333105900":["hashtag1","hashtag2"]},{"1333106412":["hashtag1","hashtag2"]},{"1333106414":["hashtag1","hashtag2"]},{"1333106408":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333106341, 1333106125, 1333105900, 1333106412, 1333106414, 1333106408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.260388135910034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:01:33.047422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/58/image_30012025_21_59_04_10359.jpg', '/home/pi/Desktop/images/30012025/21/59/image_30012025_21_59_15_10481.jpg', '/home/pi/Desktop/images/30012025/21/59/image_30012025_21_59_24_9422.jpg', '/home/pi/Desktop/images/30012025/21/59/image_30012025_21_59_34_9833.jpg', '/home/pi/Desktop/images/30012025/21/59/image_30012025_21_59_45_10350.jpg', '/home/pi/Desktop/images/30012025/21/59/image_30012025_21_59_55_10388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/58/image_30012025_21_59_04_10359.jpg
/home/pi/Desktop/images/30012025/21/59/image_30012025_21_59_15_10481.jpg
/home/pi/Desktop/images/30012025/21/59/image_30012025_21_59_24_9422.jpg
/home/pi/Desktop/images/30012025/21/59/image_30012025_21_59_34_9833.jpg
/home/pi/Desktop/images/30012025/21/59/image_30012025_21_59_45_10350.jpg
/home/pi/Desktop/images/30012025/21/59/image_30012025_21_59_55_10388.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5598218441009521 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 22:01:42.927031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/21/58/image_30012025_21_59_04_10359.jpg', '/home/pi/Desktop/images/30012025/21/59/image_30012025_21_59_15_10481.jpg', '/home/pi/Desktop/images/30012025/21/59/image_30012025_21_59_24_9422.jpg', '/home/pi/Desktop/images/30012025/21/59/image_30012025_21_59_34_9833.jpg', '/home/pi/Desktop/images/30012025/21/59/image_30012025_21_59_45_10350.jpg', '/home/pi/Desktop/images/30012025/21/59/image_30012025_21_59_55_10388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/21/58/image_30012025_21_59_04_10359.jpg
/home/pi/Desktop/images/30012025/21/59/image_30012025_21_59_15_10481.jpg
/home/pi/Desktop/images/30012025/21/59/image_30012025_21_59_24_9422.jpg
/home/pi/Desktop/images/30012025/21/59/image_30012025_21_59_34_9833.jpg
/home/pi/Desktop/images/30012025/21/59/image_30012025_21_59_45_10350.jpg
/home/pi/Desktop/images/30012025/21/59/image_30012025_21_59_55_10388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333106716","1333106814","1333106721","1333106901","1333106987","1333106681"],"photo_ids_order":["1333106681","1333106716","1333106721","1333106814","1333106901","1333106987"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/844ad2993323aebb9630c69ca19af79b.jpg","text":"TemporaryFile(/tmp/multipartBody6622371057448682477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270963854,"filename":"image_30012025_21_59_15_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/30/a6c875fc348b58f264030da545398833.jpg","text":"TemporaryFile(/tmp/multipartBody2698740846720792478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270963854,"filename":"image_30012025_21_59_34_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/30/26be6a1e0e6134828a6c8a2633ece1ee.jpg","text":"TemporaryFile(/tmp/multipartBody6028667986191822782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270963854,"filename":"image_30012025_21_59_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/30/9a2b2b8a83576d84389eef21d10d0346.jpg","text":"TemporaryFile(/tmp/multipartBody8900492321329785499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270963854,"filename":"image_30012025_21_59_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/30/484c40977fe2ddd2322d971511ec8453.jpg","text":"TemporaryFile(/tmp/multipartBody8382054862478665517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270963854,"filename":"image_30012025_21_59_55_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/30/db17dba4fc1e62363b25557a1e515d5e.jpg","text":"TemporaryFile(/tmp/multipartBody2026108577825449109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738270963854,"filename":"image_30012025_21_59_04_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333106721","file1":"1333106716","file0":"1333106681","file4":"1333106901","file5":"1333106987","file3":"1333106814"},"map_files_photo_id_array":[{"photo_id":"1333106987","filename":"file5"},{"photo_id":"1333106721","filename":"file2"},{"photo_id":"1333106901","filename":"file4"},{"photo_id":"1333106716","filename":"file1"},{"photo_id":"1333106681","filename":"file0"},{"photo_id":"1333106814","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333106716":["hashtag1","hashtag2"]},{"1333106814":["hashtag1","hashtag2"]},{"1333106721":["hashtag1","hashtag2"]},{"1333106901":["hashtag1","hashtag2"]},{"1333106987":["hashtag1","hashtag2"]},{"1333106681":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333106716, 1333106814, 1333106721, 1333106901, 1333106987, 1333106681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.325358629226685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:02:32.291380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/01/image_30012025_22_01_14_10076.jpg', '/home/pi/Desktop/images/30012025/22/01/image_30012025_22_01_25_10495.jpg', '/home/pi/Desktop/images/30012025/22/01/image_30012025_22_01_35_10358.jpg', '/home/pi/Desktop/images/30012025/22/01/image_30012025_22_01_45_9345.jpg', '/home/pi/Desktop/images/30012025/22/01/image_30012025_22_01_55_10435.jpg', '/home/pi/Desktop/images/30012025/22/01/image_30012025_22_02_04_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/01/image_30012025_22_01_14_10076.jpg
/home/pi/Desktop/images/30012025/22/01/image_30012025_22_01_25_10495.jpg
/home/pi/Desktop/images/30012025/22/01/image_30012025_22_01_35_10358.jpg
/home/pi/Desktop/images/30012025/22/01/image_30012025_22_01_45_9345.jpg
/home/pi/Desktop/images/30012025/22/01/image_30012025_22_01_55_10435.jpg
/home/pi/Desktop/images/30012025/22/01/image_30012025_22_02_04_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":["1333107307","1333107861","1333107746","1333107638","1333107410","1333107533"],"photo_ids_order":["1333107307","1333107410","1333107533","1333107638","1333107746","1333107861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/009a1f91a5f49d4c8bcebb39344f6c74.jpg","text":"TemporaryFile(/tmp/multipartBody6973303922005186770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271013209,"filename":"image_30012025_22_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/30/3d7c6c530390a160ad4f7c2de427bf53.jpg","text":"TemporaryFile(/tmp/multipartBody8397892164116057866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271013209,"filename":"image_30012025_22_02_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/30/89d5736bee035d632fb072f26e382e5a.jpg","text":"TemporaryFile(/tmp/multipartBody3645293808305998482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271013209,"filename":"image_30012025_22_01_55_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/36ef673d7856832e9effafc1814c5dac.jpg","text":"TemporaryFile(/tmp/multipartBody4524574850638202631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271013209,"filename":"image_30012025_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/30/757d5b45e47466e3c78adb124298da05.jpg","text":"TemporaryFile(/tmp/multipartBody303450322145741967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271013209,"filename":"image_30012025_22_01_25_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/30/e6f2698eaef915b22811d25e7e19dee3.jpg","text":"TemporaryFile(/tmp/multipartBody5780895055311247236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271013209,"filename":"image_30012025_22_01_35_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333107533","file1":"1333107410","file0":"1333107307","file4":"1333107746","file5":"1333107861","file3":"1333107638"},"map_files_photo_id_array":[{"photo_id":"1333107861","filename":"file5"},{"photo_id":"1333107533","filename":"file2"},{"photo_id":"1333107746","filename":"file4"},{"photo_id":"1333107410","filename":"file1"},{"photo_id":"1333107307","filename":"file0"},{"photo_id":"1333107638","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333107307":["hashtag1","hashtag2"]},{"1333107861":["hashtag1","hashtag2"]},{"1333107746":["hashtag1","hashtag2"]},{"1333107638":["hashtag1","hashtag2"]},{"1333107410":["hashtag1","hashtag2"]},{"1333107533":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333107307, 1333107861, 1333107746, 1333107638, 1333107410, 1333107533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.05070519447327 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:03:32.481225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/02/image_30012025_22_02_15_10468.jpg', '/home/pi/Desktop/images/30012025/22/02/image_30012025_22_02_25_10366.jpg', '/home/pi/Desktop/images/30012025/22/02/image_30012025_22_02_35_9348.jpg', '/home/pi/Desktop/images/30012025/22/02/image_30012025_22_02_55_10359.jpg', '/home/pi/Desktop/images/30012025/22/02/image_30012025_22_03_05_9346.jpg', '/home/pi/Desktop/images/30012025/22/03/image_30012025_22_03_25_9422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/02/image_30012025_22_02_15_10468.jpg
/home/pi/Desktop/images/30012025/22/02/image_30012025_22_02_25_10366.jpg
/home/pi/Desktop/images/30012025/22/02/image_30012025_22_02_35_9348.jpg
/home/pi/Desktop/images/30012025/22/02/image_30012025_22_02_55_10359.jpg
/home/pi/Desktop/images/30012025/22/02/image_30012025_22_03_05_9346.jpg
/home/pi/Desktop/images/30012025/22/03/image_30012025_22_03_25_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":["1333107978","1333107987","1333107968","1333107973","1333108030","1333107982"],"photo_ids_order":["1333107968","1333107973","1333107978","1333107982","1333107987","1333108030"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/96544fbd95e04386e31a7f7aa7228a9d.jpg","text":"TemporaryFile(/tmp/multipartBody4077196835040842182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271073404,"filename":"image_30012025_22_02_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/30/021313935d16a40476651fe23f94bf6b.jpg","text":"TemporaryFile(/tmp/multipartBody3124443078376865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271073404,"filename":"image_30012025_22_03_05_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e14b6a4ff9abb0627c80d1bc4fd55cc3.jpg","text":"TemporaryFile(/tmp/multipartBody276499272854089204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271073404,"filename":"image_30012025_22_02_15_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8b668ad263a6f94b94ddb3b34566f3c7.jpg","text":"TemporaryFile(/tmp/multipartBody6191439177989564159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271073404,"filename":"image_30012025_22_02_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/30/a20a003394003266164b1aeb0b7bc88c.jpg","text":"TemporaryFile(/tmp/multipartBody8239237120963695435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271073404,"filename":"image_30012025_22_03_25_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/30/d316b76170cfd5219918ad1175732cab.jpg","text":"TemporaryFile(/tmp/multipartBody8208150788224454685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271073404,"filename":"image_30012025_22_02_55_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333107978","file1":"1333107973","file0":"1333107968","file4":"1333107987","file5":"1333108030","file3":"1333107982"},"map_files_photo_id_array":[{"photo_id":"1333108030","filename":"file5"},{"photo_id":"1333107978","filename":"file2"},{"photo_id":"1333107987","filename":"file4"},{"photo_id":"1333107973","filename":"file1"},{"photo_id":"1333107968","filename":"file0"},{"photo_id":"1333107982","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333107978":["hashtag1","hashtag2"]},{"1333107987":["hashtag1","hashtag2"]},{"1333107968":["hashtag1","hashtag2"]},{"1333107973":["hashtag1","hashtag2"]},{"1333108030":["hashtag1","hashtag2"]},{"1333107982":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333107978, 1333107987, 1333107968, 1333107973, 1333108030, 1333107982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.41889405250549 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:04:32.655442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/03/image_30012025_22_03_35_10461.jpg', '/home/pi/Desktop/images/30012025/22/03/image_30012025_22_03_45_10369.jpg', '/home/pi/Desktop/images/30012025/22/03/image_30012025_22_03_55_9332.jpg', '/home/pi/Desktop/images/30012025/22/03/image_30012025_22_04_05_10440.jpg', '/home/pi/Desktop/images/30012025/22/04/image_30012025_22_04_14_9337.jpg', '/home/pi/Desktop/images/30012025/22/04/image_30012025_22_04_25_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/03/image_30012025_22_03_35_10461.jpg
/home/pi/Desktop/images/30012025/22/03/image_30012025_22_03_45_10369.jpg
/home/pi/Desktop/images/30012025/22/03/image_30012025_22_03_55_9332.jpg
/home/pi/Desktop/images/30012025/22/03/image_30012025_22_04_05_10440.jpg
/home/pi/Desktop/images/30012025/22/04/image_30012025_22_04_14_9337.jpg
/home/pi/Desktop/images/30012025/22/04/image_30012025_22_04_25_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":["1333108440","1333108365","1333108450","1333108510","1333108369","1333108360"],"photo_ids_order":["1333108360","1333108365","1333108369","1333108440","1333108450","1333108510"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ce05ca7e238b6e69b4f9f147473db56c.jpg","text":"TemporaryFile(/tmp/multipartBody2732497087711590308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271133569,"filename":"image_30012025_22_04_05_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/30/4c0a101ca1493ad786d5669f573621af.jpg","text":"TemporaryFile(/tmp/multipartBody6712803222577950655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271133569,"filename":"image_30012025_22_03_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/30/b61325d5a0b94579de38b8ad37416cce.jpg","text":"TemporaryFile(/tmp/multipartBody3166315027120346236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271133569,"filename":"image_30012025_22_04_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/30/668ce1a13b84bc7e9f1542535dc28276.jpg","text":"TemporaryFile(/tmp/multipartBody8655813647321874780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271133569,"filename":"image_30012025_22_04_25_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b02e0e1894ba92dad89f21ac20cbe349.jpg","text":"TemporaryFile(/tmp/multipartBody1232017954560359205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271133569,"filename":"image_30012025_22_03_55_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ee56e379d0397001abcf15bba0cc357a.jpg","text":"TemporaryFile(/tmp/multipartBody6319246784707038018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271133569,"filename":"image_30012025_22_03_35_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333108369","file1":"1333108365","file0":"1333108360","file4":"1333108450","file5":"1333108510","file3":"1333108440"},"map_files_photo_id_array":[{"photo_id":"1333108510","filename":"file5"},{"photo_id":"1333108369","filename":"file2"},{"photo_id":"1333108450","filename":"file4"},{"photo_id":"1333108365","filename":"file1"},{"photo_id":"1333108360","filename":"file0"},{"photo_id":"1333108440","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333108440":["hashtag1","hashtag2"]},{"1333108365":["hashtag1","hashtag2"]},{"1333108450":["hashtag1","hashtag2"]},{"1333108510":["hashtag1","hashtag2"]},{"1333108369":["hashtag1","hashtag2"]},{"1333108360":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333108440, 1333108365, 1333108450, 1333108510, 1333108369, 1333108360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.493255615234375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:05:33.020252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/04/image_30012025_22_04_35_10460.jpg', '/home/pi/Desktop/images/30012025/22/04/image_30012025_22_04_45_9357.jpg', '/home/pi/Desktop/images/30012025/22/04/image_30012025_22_04_55_10439.jpg', '/home/pi/Desktop/images/30012025/22/04/image_30012025_22_05_04_9323.jpg', '/home/pi/Desktop/images/30012025/22/05/image_30012025_22_05_15_10467.jpg', '/home/pi/Desktop/images/30012025/22/05/image_30012025_22_05_35_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/04/image_30012025_22_04_35_10460.jpg
/home/pi/Desktop/images/30012025/22/04/image_30012025_22_04_45_9357.jpg
/home/pi/Desktop/images/30012025/22/04/image_30012025_22_04_55_10439.jpg
/home/pi/Desktop/images/30012025/22/04/image_30012025_22_05_04_9323.jpg
/home/pi/Desktop/images/30012025/22/05/image_30012025_22_05_15_10467.jpg
/home/pi/Desktop/images/30012025/22/05/image_30012025_22_05_35_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":["1333108659","1333108650","1333108713","1333108661","1333108883","1333108578"],"photo_ids_order":["1333108578","1333108650","1333108659","1333108661","1333108713","1333108883"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d2b385f47f5b6481c092c0e450b0d8e7.jpg","text":"TemporaryFile(/tmp/multipartBody5675141005562918317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271193938,"filename":"image_30012025_22_04_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/30/0e7bf36269e629584da4a6568b162c7a.jpg","text":"TemporaryFile(/tmp/multipartBody1680281909406196956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271193938,"filename":"image_30012025_22_04_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/30/6e367226b1cccf6a7cf4ab880c13b374.jpg","text":"TemporaryFile(/tmp/multipartBody4563615467709104575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271193938,"filename":"image_30012025_22_05_15_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/30/0648352dbca963e676bfc4a1aa44ec61.jpg","text":"TemporaryFile(/tmp/multipartBody4171267947106641506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271193938,"filename":"image_30012025_22_05_04_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7f8c74bdfa7b59cc558f782003884a05.jpg","text":"TemporaryFile(/tmp/multipartBody1966369684735855713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271193938,"filename":"image_30012025_22_05_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/30/e0c0dbb4cf5e547ecde8593e73573e45.jpg","text":"TemporaryFile(/tmp/multipartBody5246113887595565791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271193938,"filename":"image_30012025_22_04_35_10460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333108659","file1":"1333108650","file0":"1333108578","file4":"1333108713","file5":"1333108883","file3":"1333108661"},"map_files_photo_id_array":[{"photo_id":"1333108883","filename":"file5"},{"photo_id":"1333108659","filename":"file2"},{"photo_id":"1333108713","filename":"file4"},{"photo_id":"1333108650","filename":"file1"},{"photo_id":"1333108578","filename":"file0"},{"photo_id":"1333108661","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333108659":["hashtag1","hashtag2"]},{"1333108650":["hashtag1","hashtag2"]},{"1333108713":["hashtag1","hashtag2"]},{"1333108661":["hashtag1","hashtag2"]},{"1333108883":["hashtag1","hashtag2"]},{"1333108578":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333108659, 1333108650, 1333108713, 1333108661, 1333108883, 1333108578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.11068153381348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:06:32.231014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/05/image_30012025_22_05_45_10359.jpg', '/home/pi/Desktop/images/30012025/22/05/image_30012025_22_06_05_9344.jpg', '/home/pi/Desktop/images/30012025/22/06/image_30012025_22_06_24_9352.jpg', '/home/pi/Desktop/images/30012025/22/06/image_30012025_22_06_35_10477.jpg', '/home/pi/Desktop/images/30012025/22/06/image_30012025_22_06_45_10378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/05/image_30012025_22_05_45_10359.jpg
/home/pi/Desktop/images/30012025/22/05/image_30012025_22_06_05_9344.jpg
/home/pi/Desktop/images/30012025/22/06/image_30012025_22_06_24_9352.jpg
/home/pi/Desktop/images/30012025/22/06/image_30012025_22_06_35_10477.jpg
/home/pi/Desktop/images/30012025/22/06/image_30012025_22_06_45_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":["1333109630","1333109695","1333109578","1333109581","1333109574"],"photo_ids_order":["1333109574","1333109578","1333109581","1333109630","1333109695"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/031fe8fc9994e8c4016010959705288d.jpg","text":"TemporaryFile(/tmp/multipartBody4357079068740269443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271253128,"filename":"image_30012025_22_06_35_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a07ed9f40f0a7999dbf3e220a5eb5f11.jpg","text":"TemporaryFile(/tmp/multipartBody9086966828247648689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271253128,"filename":"image_30012025_22_06_45_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/30/fb741f341d16455a8460f566ceea104b.jpg","text":"TemporaryFile(/tmp/multipartBody2734164170802833369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271253128,"filename":"image_30012025_22_06_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/30/b57afa29bb44d27be02160787718aa77.jpg","text":"TemporaryFile(/tmp/multipartBody4339173455766532800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271253128,"filename":"image_30012025_22_06_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/30/877b9f4c8ab3a70d2abd436572a829a9.jpg","text":"TemporaryFile(/tmp/multipartBody4693738032771407893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271253128,"filename":"image_30012025_22_05_45_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333109581","file1":"1333109578","file0":"1333109574","file4":"1333109695","file3":"1333109630"},"map_files_photo_id_array":[{"photo_id":"1333109581","filename":"file2"},{"photo_id":"1333109695","filename":"file4"},{"photo_id":"1333109578","filename":"file1"},{"photo_id":"1333109574","filename":"file0"},{"photo_id":"1333109630","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333109630":["hashtag1","hashtag2"]},{"1333109695":["hashtag1","hashtag2"]},{"1333109578":["hashtag1","hashtag2"]},{"1333109581":["hashtag1","hashtag2"]},{"1333109574":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333109630, 1333109695, 1333109578, 1333109581, 1333109574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.36663198471069 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:07:32.331806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/06/image_30012025_22_06_55_9353.jpg', '/home/pi/Desktop/images/30012025/22/06/image_30012025_22_07_05_10358.jpg', '/home/pi/Desktop/images/30012025/22/07/image_30012025_22_07_14_9340.jpg', '/home/pi/Desktop/images/30012025/22/07/image_30012025_22_07_25_10337.jpg', '/home/pi/Desktop/images/30012025/22/07/image_30012025_22_07_35_10391.jpg', '/home/pi/Desktop/images/30012025/22/07/image_30012025_22_07_45_9436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/06/image_30012025_22_06_55_9353.jpg
/home/pi/Desktop/images/30012025/22/06/image_30012025_22_07_05_10358.jpg
/home/pi/Desktop/images/30012025/22/07/image_30012025_22_07_14_9340.jpg
/home/pi/Desktop/images/30012025/22/07/image_30012025_22_07_25_10337.jpg
/home/pi/Desktop/images/30012025/22/07/image_30012025_22_07_35_10391.jpg
/home/pi/Desktop/images/30012025/22/07/image_30012025_22_07_45_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":["1333110156","1333110159","1333110071","1333110068","1333110056","1333110115"],"photo_ids_order":["1333110056","1333110068","1333110071","1333110115","1333110156","1333110159"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a4522a67c8f12d867e1a7d1d6115b97e.jpg","text":"TemporaryFile(/tmp/multipartBody6925850868372840076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271313254,"filename":"image_30012025_22_07_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/30/fec6d44818d5e5facb73c9fd7aa03b70.jpg","text":"TemporaryFile(/tmp/multipartBody8600012478881225612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271313254,"filename":"image_30012025_22_07_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/30/e39c9df17046100ad1170ed882833694.jpg","text":"TemporaryFile(/tmp/multipartBody2082410284395686450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271313254,"filename":"image_30012025_22_07_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/30/a9226d662abeb255a99cfd92633d74fb.jpg","text":"TemporaryFile(/tmp/multipartBody5636532155292647354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271313254,"filename":"image_30012025_22_07_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/30/c133fdfa782dea36553a842fdab80e3f.jpg","text":"TemporaryFile(/tmp/multipartBody1559493535695440310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271313254,"filename":"image_30012025_22_06_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/30/e942294111fac4dd3455b469b3dedebc.jpg","text":"TemporaryFile(/tmp/multipartBody8802511179108122071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271313254,"filename":"image_30012025_22_07_25_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333110071","file1":"1333110068","file0":"1333110056","file4":"1333110156","file5":"1333110159","file3":"1333110115"},"map_files_photo_id_array":[{"photo_id":"1333110159","filename":"file5"},{"photo_id":"1333110071","filename":"file2"},{"photo_id":"1333110156","filename":"file4"},{"photo_id":"1333110068","filename":"file1"},{"photo_id":"1333110056","filename":"file0"},{"photo_id":"1333110115","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333110156":["hashtag1","hashtag2"]},{"1333110159":["hashtag1","hashtag2"]},{"1333110071":["hashtag1","hashtag2"]},{"1333110068":["hashtag1","hashtag2"]},{"1333110056":["hashtag1","hashtag2"]},{"1333110115":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333110156, 1333110159, 1333110071, 1333110068, 1333110056, 1333110115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.044275522232056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:08:32.587802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/07/image_30012025_22_07_55_10472.jpg', '/home/pi/Desktop/images/30012025/22/07/image_30012025_22_08_05_10342.jpg', '/home/pi/Desktop/images/30012025/22/08/image_30012025_22_08_15_9345.jpg', '/home/pi/Desktop/images/30012025/22/08/image_30012025_22_08_25_10381.jpg', '/home/pi/Desktop/images/30012025/22/08/image_30012025_22_08_34_9353.jpg', '/home/pi/Desktop/images/30012025/22/08/image_30012025_22_08_45_10491.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/07/image_30012025_22_07_55_10472.jpg
/home/pi/Desktop/images/30012025/22/07/image_30012025_22_08_05_10342.jpg
/home/pi/Desktop/images/30012025/22/08/image_30012025_22_08_15_9345.jpg
/home/pi/Desktop/images/30012025/22/08/image_30012025_22_08_25_10381.jpg
/home/pi/Desktop/images/30012025/22/08/image_30012025_22_08_34_9353.jpg
/home/pi/Desktop/images/30012025/22/08/image_30012025_22_08_45_10491.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5162131786346436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 22:08:42.655086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/07/image_30012025_22_07_55_10472.jpg', '/home/pi/Desktop/images/30012025/22/07/image_30012025_22_08_05_10342.jpg', '/home/pi/Desktop/images/30012025/22/08/image_30012025_22_08_15_9345.jpg', '/home/pi/Desktop/images/30012025/22/08/image_30012025_22_08_25_10381.jpg', '/home/pi/Desktop/images/30012025/22/08/image_30012025_22_08_34_9353.jpg', '/home/pi/Desktop/images/30012025/22/08/image_30012025_22_08_45_10491.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/07/image_30012025_22_07_55_10472.jpg
/home/pi/Desktop/images/30012025/22/07/image_30012025_22_08_05_10342.jpg
/home/pi/Desktop/images/30012025/22/08/image_30012025_22_08_15_9345.jpg
/home/pi/Desktop/images/30012025/22/08/image_30012025_22_08_25_10381.jpg
/home/pi/Desktop/images/30012025/22/08/image_30012025_22_08_34_9353.jpg
/home/pi/Desktop/images/30012025/22/08/image_30012025_22_08_45_10491.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333110231","1333110225","1333110235","1333110229","1333110220","1333110214"],"photo_ids_order":["1333110214","1333110220","1333110225","1333110229","1333110231","1333110235"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c848a057640df18f7c7bff31288b16e5.jpg","text":"TemporaryFile(/tmp/multipartBody8541349921878721272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271383615,"filename":"image_30012025_22_08_34_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2adc155b9a7eb6f8746960a434b89659.jpg","text":"TemporaryFile(/tmp/multipartBody6286452387612355934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271383615,"filename":"image_30012025_22_08_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/30/652be208466302dfb6722c3b2687bd05.jpg","text":"TemporaryFile(/tmp/multipartBody2800109594428295548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271383615,"filename":"image_30012025_22_08_45_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ef875604fbd182b5677e1d476a51ea63.jpg","text":"TemporaryFile(/tmp/multipartBody1550331884140344122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271383615,"filename":"image_30012025_22_08_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/30/2a2f44c86141b08329d48b528a74a830.jpg","text":"TemporaryFile(/tmp/multipartBody5555269336790988525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271383615,"filename":"image_30012025_22_08_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/30/8d88a241dad303d8569239ee4338c4ea.jpg","text":"TemporaryFile(/tmp/multipartBody5947305608199269584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271383615,"filename":"image_30012025_22_07_55_10472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333110225","file1":"1333110220","file0":"1333110214","file4":"1333110231","file5":"1333110235","file3":"1333110229"},"map_files_photo_id_array":[{"photo_id":"1333110235","filename":"file5"},{"photo_id":"1333110225","filename":"file2"},{"photo_id":"1333110231","filename":"file4"},{"photo_id":"1333110220","filename":"file1"},{"photo_id":"1333110214","filename":"file0"},{"photo_id":"1333110229","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333110231":["hashtag1","hashtag2"]},{"1333110225":["hashtag1","hashtag2"]},{"1333110235":["hashtag1","hashtag2"]},{"1333110229":["hashtag1","hashtag2"]},{"1333110220":["hashtag1","hashtag2"]},{"1333110214":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333110231, 1333110225, 1333110235, 1333110229, 1333110220, 1333110214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.66514754295349 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:09:33.047892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/08/image_30012025_22_08_55_10387.jpg', '/home/pi/Desktop/images/30012025/22/08/image_30012025_22_09_05_9399.jpg', '/home/pi/Desktop/images/30012025/22/09/image_30012025_22_09_15_10441.jpg', '/home/pi/Desktop/images/30012025/22/09/image_30012025_22_09_25_9384.jpg', '/home/pi/Desktop/images/30012025/22/09/image_30012025_22_09_35_10368.jpg', '/home/pi/Desktop/images/30012025/22/09/image_30012025_22_09_45_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/08/image_30012025_22_08_55_10387.jpg
/home/pi/Desktop/images/30012025/22/08/image_30012025_22_09_05_9399.jpg
/home/pi/Desktop/images/30012025/22/09/image_30012025_22_09_15_10441.jpg
/home/pi/Desktop/images/30012025/22/09/image_30012025_22_09_25_9384.jpg
/home/pi/Desktop/images/30012025/22/09/image_30012025_22_09_35_10368.jpg
/home/pi/Desktop/images/30012025/22/09/image_30012025_22_09_45_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333110270","1333110315","1333110284","1333110263","1333110311","1333110268"],"photo_ids_order":["1333110263","1333110268","1333110270","1333110284","1333110311","1333110315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/aaf237df5e9b712d1612c217f10ebc04.jpg","text":"TemporaryFile(/tmp/multipartBody2164000800130474212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271433968,"filename":"image_30012025_22_09_15_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/30/b7b2c072d045dafd70fb96bbc0b9b1fe.jpg","text":"TemporaryFile(/tmp/multipartBody4151936253587785542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271433968,"filename":"image_30012025_22_09_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/30/5c685458979a37ecc50f69c78a3c7228.jpg","text":"TemporaryFile(/tmp/multipartBody6191064254459172674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271433968,"filename":"image_30012025_22_09_25_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/512d61049390a8866f7888e6da081936.jpg","text":"TemporaryFile(/tmp/multipartBody7010543262025719216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271433968,"filename":"image_30012025_22_08_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/30/16cefc5c3aa46025649b694082b05036.jpg","text":"TemporaryFile(/tmp/multipartBody8917528319848933778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271433968,"filename":"image_30012025_22_09_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/30/de3b068473089569147e66088755e6c8.jpg","text":"TemporaryFile(/tmp/multipartBody2107326336615607104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271433968,"filename":"image_30012025_22_09_05_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333110270","file1":"1333110268","file0":"1333110263","file4":"1333110311","file5":"1333110315","file3":"1333110284"},"map_files_photo_id_array":[{"photo_id":"1333110315","filename":"file5"},{"photo_id":"1333110270","filename":"file2"},{"photo_id":"1333110311","filename":"file4"},{"photo_id":"1333110268","filename":"file1"},{"photo_id":"1333110263","filename":"file0"},{"photo_id":"1333110284","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333110270":["hashtag1","hashtag2"]},{"1333110315":["hashtag1","hashtag2"]},{"1333110284":["hashtag1","hashtag2"]},{"1333110263":["hashtag1","hashtag2"]},{"1333110311":["hashtag1","hashtag2"]},{"1333110268":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333110270, 1333110315, 1333110284, 1333110263, 1333110311, 1333110268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.488189697265625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:10:32.253648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/09/image_30012025_22_09_55_9386.jpg', '/home/pi/Desktop/images/30012025/22/09/image_30012025_22_10_05_10364.jpg', '/home/pi/Desktop/images/30012025/22/10/image_30012025_22_10_15_10353.jpg', '/home/pi/Desktop/images/30012025/22/10/image_30012025_22_10_25_9479.jpg', '/home/pi/Desktop/images/30012025/22/10/image_30012025_22_10_35_10459.jpg', '/home/pi/Desktop/images/30012025/22/10/image_30012025_22_10_45_9382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/09/image_30012025_22_09_55_9386.jpg
/home/pi/Desktop/images/30012025/22/09/image_30012025_22_10_05_10364.jpg
/home/pi/Desktop/images/30012025/22/10/image_30012025_22_10_15_10353.jpg
/home/pi/Desktop/images/30012025/22/10/image_30012025_22_10_25_9479.jpg
/home/pi/Desktop/images/30012025/22/10/image_30012025_22_10_35_10459.jpg
/home/pi/Desktop/images/30012025/22/10/image_30012025_22_10_45_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":["1333110660","1333110750","1333110609","1333110584","1333110520","1333110721"],"photo_ids_order":["1333110520","1333110584","1333110609","1333110660","1333110721","1333110750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/492c10698112e4e868ddfedfac751fde.jpg","text":"TemporaryFile(/tmp/multipartBody7283223200234389719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271493157,"filename":"image_30012025_22_10_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/30/5572256a9d2c11e709a2637bd9d7e459.jpg","text":"TemporaryFile(/tmp/multipartBody1489565251234553879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271493157,"filename":"image_30012025_22_10_45_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/30/7863cffb256ab3830f9f88bfc3a2140b.jpg","text":"TemporaryFile(/tmp/multipartBody4236454287794734213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271493157,"filename":"image_30012025_22_10_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/30/12b9285a7da5d1f53edf99cdb7eef452.jpg","text":"TemporaryFile(/tmp/multipartBody8752553100462149254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271493157,"filename":"image_30012025_22_10_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/30/cc2431ac74ed47b9c9d6f2ba02ebd7fc.jpg","text":"TemporaryFile(/tmp/multipartBody8727047962307855755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271493157,"filename":"image_30012025_22_09_55_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/30/b7ff3359b46d72e4a9fff436cb0a5d6f.jpg","text":"TemporaryFile(/tmp/multipartBody4135110901902369441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271493157,"filename":"image_30012025_22_10_35_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333110609","file1":"1333110584","file0":"1333110520","file4":"1333110721","file5":"1333110750","file3":"1333110660"},"map_files_photo_id_array":[{"photo_id":"1333110750","filename":"file5"},{"photo_id":"1333110609","filename":"file2"},{"photo_id":"1333110721","filename":"file4"},{"photo_id":"1333110584","filename":"file1"},{"photo_id":"1333110520","filename":"file0"},{"photo_id":"1333110660","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333110660":["hashtag1","hashtag2"]},{"1333110750":["hashtag1","hashtag2"]},{"1333110609":["hashtag1","hashtag2"]},{"1333110584":["hashtag1","hashtag2"]},{"1333110520":["hashtag1","hashtag2"]},{"1333110721":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333110660, 1333110750, 1333110609, 1333110584, 1333110520, 1333110721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.49459266662598 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:11:32.378455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/10/image_30012025_22_10_55_10361.jpg', '/home/pi/Desktop/images/30012025/22/10/image_30012025_22_11_04_9327.jpg', '/home/pi/Desktop/images/30012025/22/11/image_30012025_22_11_15_10332.jpg', '/home/pi/Desktop/images/30012025/22/11/image_30012025_22_11_25_10369.jpg', '/home/pi/Desktop/images/30012025/22/11/image_30012025_22_11_34_9331.jpg', '/home/pi/Desktop/images/30012025/22/11/image_30012025_22_11_45_10486.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/10/image_30012025_22_10_55_10361.jpg
/home/pi/Desktop/images/30012025/22/10/image_30012025_22_11_04_9327.jpg
/home/pi/Desktop/images/30012025/22/11/image_30012025_22_11_15_10332.jpg
/home/pi/Desktop/images/30012025/22/11/image_30012025_22_11_25_10369.jpg
/home/pi/Desktop/images/30012025/22/11/image_30012025_22_11_34_9331.jpg
/home/pi/Desktop/images/30012025/22/11/image_30012025_22_11_45_10486.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333110822","1333110825","1333110812","1333110803","1333110806","1333110817"],"photo_ids_order":["1333110803","1333110806","1333110812","1333110817","1333110822","1333110825"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/423b9e0c6b5d6567bc6f919b4a2bc1ad.jpg","text":"TemporaryFile(/tmp/multipartBody7001661198980964417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271553282,"filename":"image_30012025_22_11_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/30/946ea8e660d67e4723b32c6d633c1877.jpg","text":"TemporaryFile(/tmp/multipartBody1039516969900089741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271553282,"filename":"image_30012025_22_11_45_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/30/5aa33032dc06c7d85d10d4087c49fcda.jpg","text":"TemporaryFile(/tmp/multipartBody5580305753258768268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271553282,"filename":"image_30012025_22_11_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/30/97ad7c85cbce58e7f78e9a239491fcbd.jpg","text":"TemporaryFile(/tmp/multipartBody4835645496698092538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271553282,"filename":"image_30012025_22_10_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/30/3eae1abd005f42d7689767c959dc712a.jpg","text":"TemporaryFile(/tmp/multipartBody7993336529302043655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271553282,"filename":"image_30012025_22_11_04_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/30/f423db79336b9435d476d94cd3e2fb0b.jpg","text":"TemporaryFile(/tmp/multipartBody2961011038999987810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271553282,"filename":"image_30012025_22_11_25_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333110812","file1":"1333110806","file0":"1333110803","file4":"1333110822","file5":"1333110825","file3":"1333110817"},"map_files_photo_id_array":[{"photo_id":"1333110825","filename":"file5"},{"photo_id":"1333110812","filename":"file2"},{"photo_id":"1333110822","filename":"file4"},{"photo_id":"1333110806","filename":"file1"},{"photo_id":"1333110803","filename":"file0"},{"photo_id":"1333110817","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333110822":["hashtag1","hashtag2"]},{"1333110825":["hashtag1","hashtag2"]},{"1333110812":["hashtag1","hashtag2"]},{"1333110803":["hashtag1","hashtag2"]},{"1333110806":["hashtag1","hashtag2"]},{"1333110817":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333110822, 1333110825, 1333110812, 1333110803, 1333110806, 1333110817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.561853885650635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:12:32.576029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/11/image_30012025_22_11_55_10360.jpg', '/home/pi/Desktop/images/30012025/22/11/image_30012025_22_12_05_9347.jpg', '/home/pi/Desktop/images/30012025/22/12/image_30012025_22_12_15_10336.jpg', '/home/pi/Desktop/images/30012025/22/12/image_30012025_22_12_25_10369.jpg', '/home/pi/Desktop/images/30012025/22/12/image_30012025_22_12_35_9351.jpg', '/home/pi/Desktop/images/30012025/22/12/image_30012025_22_12_45_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/11/image_30012025_22_11_55_10360.jpg
/home/pi/Desktop/images/30012025/22/11/image_30012025_22_12_05_9347.jpg
/home/pi/Desktop/images/30012025/22/12/image_30012025_22_12_15_10336.jpg
/home/pi/Desktop/images/30012025/22/12/image_30012025_22_12_25_10369.jpg
/home/pi/Desktop/images/30012025/22/12/image_30012025_22_12_35_9351.jpg
/home/pi/Desktop/images/30012025/22/12/image_30012025_22_12_45_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.5139007568359375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 22:12:42.684201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/11/image_30012025_22_11_55_10360.jpg', '/home/pi/Desktop/images/30012025/22/11/image_30012025_22_12_05_9347.jpg', '/home/pi/Desktop/images/30012025/22/12/image_30012025_22_12_15_10336.jpg', '/home/pi/Desktop/images/30012025/22/12/image_30012025_22_12_25_10369.jpg', '/home/pi/Desktop/images/30012025/22/12/image_30012025_22_12_35_9351.jpg', '/home/pi/Desktop/images/30012025/22/12/image_30012025_22_12_45_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/11/image_30012025_22_11_55_10360.jpg
/home/pi/Desktop/images/30012025/22/11/image_30012025_22_12_05_9347.jpg
/home/pi/Desktop/images/30012025/22/12/image_30012025_22_12_15_10336.jpg
/home/pi/Desktop/images/30012025/22/12/image_30012025_22_12_25_10369.jpg
/home/pi/Desktop/images/30012025/22/12/image_30012025_22_12_35_9351.jpg
/home/pi/Desktop/images/30012025/22/12/image_30012025_22_12_45_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333110861","1333110893","1333110887","1333110929","1333110865","1333110934"],"photo_ids_order":["1333110861","1333110865","1333110887","1333110893","1333110929","1333110934"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/712858c7482b645050a24665c920b705.jpg","text":"TemporaryFile(/tmp/multipartBody980600601418555750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271623599,"filename":"image_30012025_22_11_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/30/0432e88048f3c1fae16a47ff712004a6.jpg","text":"TemporaryFile(/tmp/multipartBody6764408332884711687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271623599,"filename":"image_30012025_22_12_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/30/60d11a180f8e507928e733b32ae3983c.jpg","text":"TemporaryFile(/tmp/multipartBody2768750055108416843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271623599,"filename":"image_30012025_22_12_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/30/118d8a35fad82b9706915c2bf66a1a26.jpg","text":"TemporaryFile(/tmp/multipartBody4669788637870857535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271623599,"filename":"image_30012025_22_12_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/30/115cd4d36f0a9f7618916934c243f25f.jpg","text":"TemporaryFile(/tmp/multipartBody6382863465567279663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271623599,"filename":"image_30012025_22_12_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/30/9a2b5089bb99cb0348e3a4b408d7f277.jpg","text":"TemporaryFile(/tmp/multipartBody5404146462657715603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271623599,"filename":"image_30012025_22_12_45_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333110887","file1":"1333110865","file0":"1333110861","file4":"1333110929","file5":"1333110934","file3":"1333110893"},"map_files_photo_id_array":[{"photo_id":"1333110934","filename":"file5"},{"photo_id":"1333110887","filename":"file2"},{"photo_id":"1333110929","filename":"file4"},{"photo_id":"1333110865","filename":"file1"},{"photo_id":"1333110861","filename":"file0"},{"photo_id":"1333110893","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333110861":["hashtag1","hashtag2"]},{"1333110893":["hashtag1","hashtag2"]},{"1333110887":["hashtag1","hashtag2"]},{"1333110929":["hashtag1","hashtag2"]},{"1333110865":["hashtag1","hashtag2"]},{"1333110934":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333110861, 1333110893, 1333110887, 1333110929, 1333110865, 1333110934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.06631851196289 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:13:32.962513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/12/image_30012025_22_12_54_9351.jpg', '/home/pi/Desktop/images/30012025/22/13/image_30012025_22_13_15_10371.jpg', '/home/pi/Desktop/images/30012025/22/13/image_30012025_22_13_25_9344.jpg', '/home/pi/Desktop/images/30012025/22/13/image_30012025_22_13_35_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/12/image_30012025_22_12_54_9351.jpg
/home/pi/Desktop/images/30012025/22/13/image_30012025_22_13_15_10371.jpg
/home/pi/Desktop/images/30012025/22/13/image_30012025_22_13_25_9344.jpg
/home/pi/Desktop/images/30012025/22/13/image_30012025_22_13_35_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333110951","1333110948","1333110957","1333110944"],"photo_ids_order":["1333110944","1333110948","1333110951","1333110957"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/43ef9fa2bec6dbfcc2625e72f9c3189e.jpg","text":"TemporaryFile(/tmp/multipartBody7497519148681874242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271673863,"filename":"image_30012025_22_13_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/30/44598206e308d5fc22f3cd456e105911.jpg","text":"TemporaryFile(/tmp/multipartBody3428824879540859121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271673863,"filename":"image_30012025_22_13_15_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5035cee084994f3480de58f7ff3bc55e.jpg","text":"TemporaryFile(/tmp/multipartBody4882123887351726735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271673863,"filename":"image_30012025_22_13_35_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/30/bfad2d4651875be06fa02632160a09d1.jpg","text":"TemporaryFile(/tmp/multipartBody8734930474263953200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271673863,"filename":"image_30012025_22_12_54_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333110951","file1":"1333110948","file0":"1333110944","file3":"1333110957"},"map_files_photo_id_array":[{"photo_id":"1333110951","filename":"file2"},{"photo_id":"1333110948","filename":"file1"},{"photo_id":"1333110944","filename":"file0"},{"photo_id":"1333110957","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333110951":["hashtag1","hashtag2"]},{"1333110948":["hashtag1","hashtag2"]},{"1333110957":["hashtag1","hashtag2"]},{"1333110944":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333110951, 1333110948, 1333110957, 1333110944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.0487642288208 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 22:14:02.907121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/42/image_28012025_21_42_45_9352.jpg', '/home/pi/Desktop/images/28012025/21/42/image_28012025_21_42_55_10426.jpg', '/home/pi/Desktop/images/28012025/21/42/image_28012025_21_43_06_10375.jpg', '/home/pi/Desktop/images/28012025/21/43/image_28012025_21_43_45_10352.jpg', '/home/pi/Desktop/images/28012025/21/43/image_28012025_21_43_55_10199.jpg', '/home/pi/Desktop/images/28012025/21/43/image_28012025_21_44_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/21/42/image_28012025_21_42_45_9352.jpg
/home/pi/Desktop/images/28012025/21/42/image_28012025_21_42_55_10426.jpg
/home/pi/Desktop/images/28012025/21/42/image_28012025_21_43_06_10375.jpg
/home/pi/Desktop/images/28012025/21/43/image_28012025_21_43_45_10352.jpg
/home/pi/Desktop/images/28012025/21/43/image_28012025_21_43_55_10199.jpg
/home/pi/Desktop/images/28012025/21/43/image_28012025_21_44_06_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333110998","1333110986","1333110965","1333111057","1333110994","1333110990"],"photo_ids_order":["1333110965","1333110986","1333110990","1333110994","1333110998","1333111057"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cda286ec2aa95fc03b1de25ed9933a05.jpg","text":"TemporaryFile(/tmp/multipartBody575937672914598732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271704585,"filename":"image_28012025_21_43_55_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/30/e3e406515c34399d9f2aa07b9407a9e1.jpg","text":"TemporaryFile(/tmp/multipartBody3838558497765529860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271704585,"filename":"image_28012025_21_42_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/30/50a18940419a7684fac84090eed8632e.jpg","text":"TemporaryFile(/tmp/multipartBody7969686104861117470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271704585,"filename":"image_28012025_21_42_45_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f0ae14604c7917537c57ea9964cff760.jpg","text":"TemporaryFile(/tmp/multipartBody4651587937881140721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271704585,"filename":"image_28012025_21_44_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/30/1b66d28d9b1c18de79ec70031732c392.jpg","text":"TemporaryFile(/tmp/multipartBody8422966307545269313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271704585,"filename":"image_28012025_21_43_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/30/8fbaf4b6f92a4a65497bccb7f722961f.jpg","text":"TemporaryFile(/tmp/multipartBody1665987419720752451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271704585,"filename":"image_28012025_21_43_06_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333110990","file1":"1333110986","file0":"1333110965","file4":"1333110998","file5":"1333111057","file3":"1333110994"},"map_files_photo_id_array":[{"photo_id":"1333111057","filename":"file5"},{"photo_id":"1333110990","filename":"file2"},{"photo_id":"1333110998","filename":"file4"},{"photo_id":"1333110986","filename":"file1"},{"photo_id":"1333110965","filename":"file0"},{"photo_id":"1333110994","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333110998":["hashtag1","hashtag2"]},{"1333110986":["hashtag1","hashtag2"]},{"1333110965":["hashtag1","hashtag2"]},{"1333111057":["hashtag1","hashtag2"]},{"1333110994":["hashtag1","hashtag2"]},{"1333110990":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333110998, 1333110986, 1333110965, 1333111057, 1333110994, 1333110990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.086199045181274 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:14:52.252008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/13/image_30012025_22_13_45_10353.jpg', '/home/pi/Desktop/images/30012025/22/13/image_30012025_22_14_05_10437.jpg', '/home/pi/Desktop/images/30012025/22/14/image_30012025_22_14_25_10399.jpg', '/home/pi/Desktop/images/30012025/22/14/image_30012025_22_14_35_10360.jpg', '/home/pi/Desktop/images/30012025/22/14/image_30012025_22_14_45_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/13/image_30012025_22_13_45_10353.jpg
/home/pi/Desktop/images/30012025/22/13/image_30012025_22_14_05_10437.jpg
/home/pi/Desktop/images/30012025/22/14/image_30012025_22_14_25_10399.jpg
/home/pi/Desktop/images/30012025/22/14/image_30012025_22_14_35_10360.jpg
/home/pi/Desktop/images/30012025/22/14/image_30012025_22_14_45_9347.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333111110","1333111073","1333111079","1333111106","1333111099"],"photo_ids_order":["1333111073","1333111079","1333111099","1333111106","1333111110"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/db798e626f0407b2c0a54c25cd2213a2.jpg","text":"TemporaryFile(/tmp/multipartBody1992946787245373026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271753162,"filename":"image_30012025_22_14_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/30/be3a37585a126aff3518e65e90896703.jpg","text":"TemporaryFile(/tmp/multipartBody8576023670525406371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271753162,"filename":"image_30012025_22_13_45_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a732fda7410d20a8b42668446fe98e69.jpg","text":"TemporaryFile(/tmp/multipartBody6109367743040257330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271753162,"filename":"image_30012025_22_14_05_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/30/23d158d4018385387cf19f9db96e6069.jpg","text":"TemporaryFile(/tmp/multipartBody1427448044481719848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271753162,"filename":"image_30012025_22_14_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/30/ec1ba2ffa16f15a1d1dadbcb93a989ac.jpg","text":"TemporaryFile(/tmp/multipartBody6454573082727581420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271753162,"filename":"image_30012025_22_14_25_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333111099","file1":"1333111079","file0":"1333111073","file4":"1333111110","file3":"1333111106"},"map_files_photo_id_array":[{"photo_id":"1333111099","filename":"file2"},{"photo_id":"1333111110","filename":"file4"},{"photo_id":"1333111079","filename":"file1"},{"photo_id":"1333111073","filename":"file0"},{"photo_id":"1333111106","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333111110":["hashtag1","hashtag2"]},{"1333111073":["hashtag1","hashtag2"]},{"1333111079":["hashtag1","hashtag2"]},{"1333111106":["hashtag1","hashtag2"]},{"1333111099":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333111110, 1333111073, 1333111079, 1333111106, 1333111099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.14317584037781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:15:32.407424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/14/image_30012025_22_14_55_10469.jpg', '/home/pi/Desktop/images/30012025/22/14/image_30012025_22_15_04_9324.jpg', '/home/pi/Desktop/images/30012025/22/15/image_30012025_22_15_15_10368.jpg', '/home/pi/Desktop/images/30012025/22/15/image_30012025_22_15_25_10361.jpg', '/home/pi/Desktop/images/30012025/22/15/image_30012025_22_15_34_9344.jpg', '/home/pi/Desktop/images/30012025/22/15/image_30012025_22_15_45_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/14/image_30012025_22_14_55_10469.jpg
/home/pi/Desktop/images/30012025/22/14/image_30012025_22_15_04_9324.jpg
/home/pi/Desktop/images/30012025/22/15/image_30012025_22_15_15_10368.jpg
/home/pi/Desktop/images/30012025/22/15/image_30012025_22_15_25_10361.jpg
/home/pi/Desktop/images/30012025/22/15/image_30012025_22_15_34_9344.jpg
/home/pi/Desktop/images/30012025/22/15/image_30012025_22_15_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":["1333111149","1333111122","1333111127","1333111117","1333111114","1333111131"],"photo_ids_order":["1333111114","1333111117","1333111122","1333111127","1333111131","1333111149"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3203559e3c0b1680396ce934c4f9b3cc.jpg","text":"TemporaryFile(/tmp/multipartBody5015828848773059431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271793352,"filename":"image_30012025_22_15_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/30/c82346e470f8bb1ea2234dbcc4502ea0.jpg","text":"TemporaryFile(/tmp/multipartBody6157315488012993528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271793352,"filename":"image_30012025_22_15_15_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/30/6ee68fbe4e03abf9ce60bc245072d09d.jpg","text":"TemporaryFile(/tmp/multipartBody2871843639900519874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271793352,"filename":"image_30012025_22_15_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/30/2a24c375d29c5a5e4f6c74fde6a4a12a.jpg","text":"TemporaryFile(/tmp/multipartBody8338224874987991739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271793352,"filename":"image_30012025_22_15_04_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/aa941fb44384d8eff598ce54302511a2.jpg","text":"TemporaryFile(/tmp/multipartBody3687239618200164490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271793352,"filename":"image_30012025_22_14_55_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/75070487bf9b788e36f441c8b17bc4b2.jpg","text":"TemporaryFile(/tmp/multipartBody4075764730498163123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271793352,"filename":"image_30012025_22_15_34_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333111122","file1":"1333111117","file0":"1333111114","file4":"1333111131","file5":"1333111149","file3":"1333111127"},"map_files_photo_id_array":[{"photo_id":"1333111149","filename":"file5"},{"photo_id":"1333111122","filename":"file2"},{"photo_id":"1333111131","filename":"file4"},{"photo_id":"1333111117","filename":"file1"},{"photo_id":"1333111114","filename":"file0"},{"photo_id":"1333111127","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333111149":["hashtag1","hashtag2"]},{"1333111122":["hashtag1","hashtag2"]},{"1333111127":["hashtag1","hashtag2"]},{"1333111117":["hashtag1","hashtag2"]},{"1333111114":["hashtag1","hashtag2"]},{"1333111131":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333111149, 1333111122, 1333111127, 1333111117, 1333111114, 1333111131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.159852266311646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:16:33.980634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/15/image_30012025_22_15_55_10442.jpg', '/home/pi/Desktop/images/30012025/22/15/image_30012025_22_16_05_9391.jpg', '/home/pi/Desktop/images/30012025/22/16/image_30012025_22_16_15_10406.jpg', '/home/pi/Desktop/images/30012025/22/16/image_30012025_22_16_35_10404.jpg', '/home/pi/Desktop/images/30012025/22/16/image_30012025_22_16_45_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/15/image_30012025_22_15_55_10442.jpg
/home/pi/Desktop/images/30012025/22/15/image_30012025_22_16_05_9391.jpg
/home/pi/Desktop/images/30012025/22/16/image_30012025_22_16_15_10406.jpg
/home/pi/Desktop/images/30012025/22/16/image_30012025_22_16_35_10404.jpg
/home/pi/Desktop/images/30012025/22/16/image_30012025_22_16_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":["1333111407","1333111445","1333111442","1333111392","1333111449"],"photo_ids_order":["1333111392","1333111407","1333111442","1333111445","1333111449"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/344d1e2988125cfd8db0173035184d87.jpg","text":"TemporaryFile(/tmp/multipartBody1468346990574822159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271854887,"filename":"image_30012025_22_16_05_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7b36772207f769e7b74c8e0c26ae43ed.jpg","text":"TemporaryFile(/tmp/multipartBody3957412631971909604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271854887,"filename":"image_30012025_22_16_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/30/00d10e650d264c7e8597bfac5b2b4eeb.jpg","text":"TemporaryFile(/tmp/multipartBody558997928696620027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271854887,"filename":"image_30012025_22_16_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/30/2333fca64701aee254d5fc607961c0b7.jpg","text":"TemporaryFile(/tmp/multipartBody5629867700261638458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271854887,"filename":"image_30012025_22_15_55_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/30/4713a7979a5957608d7169453b266538.jpg","text":"TemporaryFile(/tmp/multipartBody4693010760747243586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271854887,"filename":"image_30012025_22_16_45_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333111442","file1":"1333111407","file0":"1333111392","file4":"1333111449","file3":"1333111445"},"map_files_photo_id_array":[{"photo_id":"1333111442","filename":"file2"},{"photo_id":"1333111449","filename":"file4"},{"photo_id":"1333111407","filename":"file1"},{"photo_id":"1333111392","filename":"file0"},{"photo_id":"1333111445","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333111407":["hashtag1","hashtag2"]},{"1333111445":["hashtag1","hashtag2"]},{"1333111442":["hashtag1","hashtag2"]},{"1333111392":["hashtag1","hashtag2"]},{"1333111449":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333111407, 1333111445, 1333111442, 1333111392, 1333111449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.8312931060791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:17:32.244259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/16/image_30012025_22_16_55_9335.jpg', '/home/pi/Desktop/images/30012025/22/16/image_30012025_22_17_05_10466.jpg', '/home/pi/Desktop/images/30012025/22/17/image_30012025_22_17_14_9357.jpg', '/home/pi/Desktop/images/30012025/22/17/image_30012025_22_17_25_10470.jpg', '/home/pi/Desktop/images/30012025/22/17/image_30012025_22_17_35_10362.jpg', '/home/pi/Desktop/images/30012025/22/17/image_30012025_22_17_45_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/16/image_30012025_22_16_55_9335.jpg
/home/pi/Desktop/images/30012025/22/16/image_30012025_22_17_05_10466.jpg
/home/pi/Desktop/images/30012025/22/17/image_30012025_22_17_14_9357.jpg
/home/pi/Desktop/images/30012025/22/17/image_30012025_22_17_25_10470.jpg
/home/pi/Desktop/images/30012025/22/17/image_30012025_22_17_35_10362.jpg
/home/pi/Desktop/images/30012025/22/17/image_30012025_22_17_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":["1333111518","1333111512","1333111505","1333111489","1333111483","1333111494"],"photo_ids_order":["1333111483","1333111489","1333111494","1333111505","1333111512","1333111518"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/38c0f465af71a7fef0fc558c3c7cb7bd.jpg","text":"TemporaryFile(/tmp/multipartBody9077922576941625252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271913187,"filename":"image_30012025_22_17_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/30/27afb8c8b9e8713e5cd7fe447235e6cb.jpg","text":"TemporaryFile(/tmp/multipartBody2459872661989413478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271913187,"filename":"image_30012025_22_17_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/30/ff2fbdf4ead19982e41f91b7acff4dd4.jpg","text":"TemporaryFile(/tmp/multipartBody1991670513366547510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271913187,"filename":"image_30012025_22_17_25_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6db5a4a588c90b2d18f547e9f06c796c.jpg","text":"TemporaryFile(/tmp/multipartBody6185576264407068629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271913187,"filename":"image_30012025_22_17_05_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/30/3014ea1c1d6f913dc04114f6945c0b6b.jpg","text":"TemporaryFile(/tmp/multipartBody6286554689012497928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271913187,"filename":"image_30012025_22_16_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/30/c0512599358c868ed7cffdc9523d4889.jpg","text":"TemporaryFile(/tmp/multipartBody6866210036902368407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271913187,"filename":"image_30012025_22_17_14_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333111494","file1":"1333111489","file0":"1333111483","file4":"1333111512","file5":"1333111518","file3":"1333111505"},"map_files_photo_id_array":[{"photo_id":"1333111518","filename":"file5"},{"photo_id":"1333111494","filename":"file2"},{"photo_id":"1333111512","filename":"file4"},{"photo_id":"1333111489","filename":"file1"},{"photo_id":"1333111483","filename":"file0"},{"photo_id":"1333111505","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333111518":["hashtag1","hashtag2"]},{"1333111512":["hashtag1","hashtag2"]},{"1333111505":["hashtag1","hashtag2"]},{"1333111489":["hashtag1","hashtag2"]},{"1333111483":["hashtag1","hashtag2"]},{"1333111494":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333111518, 1333111512, 1333111505, 1333111489, 1333111483, 1333111494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.77907347679138 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:18:32.401365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/17/image_30012025_22_17_55_10469.jpg', '/home/pi/Desktop/images/30012025/22/17/image_30012025_22_18_04_9331.jpg', '/home/pi/Desktop/images/30012025/22/18/image_30012025_22_18_15_10329.jpg', '/home/pi/Desktop/images/30012025/22/18/image_30012025_22_18_25_10459.jpg', '/home/pi/Desktop/images/30012025/22/18/image_30012025_22_18_35_9355.jpg', '/home/pi/Desktop/images/30012025/22/18/image_30012025_22_18_45_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/17/image_30012025_22_17_55_10469.jpg
/home/pi/Desktop/images/30012025/22/17/image_30012025_22_18_04_9331.jpg
/home/pi/Desktop/images/30012025/22/18/image_30012025_22_18_15_10329.jpg
/home/pi/Desktop/images/30012025/22/18/image_30012025_22_18_25_10459.jpg
/home/pi/Desktop/images/30012025/22/18/image_30012025_22_18_35_9355.jpg
/home/pi/Desktop/images/30012025/22/18/image_30012025_22_18_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":["1333112378","1333112264","1333112141","1333112104","1333112109","1333112100"],"photo_ids_order":["1333112100","1333112104","1333112109","1333112141","1333112264","1333112378"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e366895d6641b6be1d5a31ef222c0e10.jpg","text":"TemporaryFile(/tmp/multipartBody415784536284230283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271973320,"filename":"image_30012025_22_18_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/30/a46fc48b5af5826388dc0a3d1238b168.jpg","text":"TemporaryFile(/tmp/multipartBody2727767625714170179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271973320,"filename":"image_30012025_22_18_35_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4f107f85ba86842cb327255f521bab33.jpg","text":"TemporaryFile(/tmp/multipartBody3832477105136840638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271973320,"filename":"image_30012025_22_18_25_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/30/f4632e01dcb80c77818509116e264803.jpg","text":"TemporaryFile(/tmp/multipartBody2700560468445249894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271973320,"filename":"image_30012025_22_18_04_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/30/408162364fdda52dc1a7a3d2a77c8c53.jpg","text":"TemporaryFile(/tmp/multipartBody8073129098696651058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271973320,"filename":"image_30012025_22_18_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/30/cbdbc46fe3a59f1199b49aa1c4d0e642.jpg","text":"TemporaryFile(/tmp/multipartBody5771212366898791159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738271973320,"filename":"image_30012025_22_17_55_10469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333112109","file1":"1333112104","file0":"1333112100","file4":"1333112264","file5":"1333112378","file3":"1333112141"},"map_files_photo_id_array":[{"photo_id":"1333112378","filename":"file5"},{"photo_id":"1333112109","filename":"file2"},{"photo_id":"1333112264","filename":"file4"},{"photo_id":"1333112104","filename":"file1"},{"photo_id":"1333112100","filename":"file0"},{"photo_id":"1333112141","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333112378":["hashtag1","hashtag2"]},{"1333112264":["hashtag1","hashtag2"]},{"1333112141":["hashtag1","hashtag2"]},{"1333112104":["hashtag1","hashtag2"]},{"1333112109":["hashtag1","hashtag2"]},{"1333112100":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333112378, 1333112264, 1333112141, 1333112104, 1333112109, 1333112100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.95154142379761 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:19:32.626718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/18/image_30012025_22_18_55_10360.jpg', '/home/pi/Desktop/images/30012025/22/18/image_30012025_22_19_05_9350.jpg', '/home/pi/Desktop/images/30012025/22/19/image_30012025_22_19_15_10329.jpg', '/home/pi/Desktop/images/30012025/22/19/image_30012025_22_19_24_9349.jpg', '/home/pi/Desktop/images/30012025/22/19/image_30012025_22_19_35_10349.jpg', '/home/pi/Desktop/images/30012025/22/19/image_30012025_22_19_45_10378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/18/image_30012025_22_18_55_10360.jpg
/home/pi/Desktop/images/30012025/22/18/image_30012025_22_19_05_9350.jpg
/home/pi/Desktop/images/30012025/22/19/image_30012025_22_19_15_10329.jpg
/home/pi/Desktop/images/30012025/22/19/image_30012025_22_19_24_9349.jpg
/home/pi/Desktop/images/30012025/22/19/image_30012025_22_19_35_10349.jpg
/home/pi/Desktop/images/30012025/22/19/image_30012025_22_19_45_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":["1333112471","1333112465","1333112468","1333112473","1333112482","1333112478"],"photo_ids_order":["1333112465","1333112468","1333112471","1333112473","1333112478","1333112482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/542471d0b2d9d73cdc501536a5f74796.jpg","text":"TemporaryFile(/tmp/multipartBody7328896095426084948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272033533,"filename":"image_30012025_22_19_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/30/14920ee96bd9a3dc7fcc206551bf0494.jpg","text":"TemporaryFile(/tmp/multipartBody5637741743837730525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272033533,"filename":"image_30012025_22_18_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/30/691baa0b921fee1481a92f95dce7d1c9.jpg","text":"TemporaryFile(/tmp/multipartBody6347859913334194565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272033533,"filename":"image_30012025_22_19_05_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/55d40696e4a79fdfe7695b76efe90189.jpg","text":"TemporaryFile(/tmp/multipartBody5198603793907692349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272033533,"filename":"image_30012025_22_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/30/669ffdc6dfa3d442ee9cc484b97f2aab.jpg","text":"TemporaryFile(/tmp/multipartBody4328521307689278049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272033533,"filename":"image_30012025_22_19_45_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/30/503d1f627d348c6148d921dfca04a074.jpg","text":"TemporaryFile(/tmp/multipartBody8913204934183598863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272033533,"filename":"image_30012025_22_19_35_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333112471","file1":"1333112468","file0":"1333112465","file4":"1333112478","file5":"1333112482","file3":"1333112473"},"map_files_photo_id_array":[{"photo_id":"1333112482","filename":"file5"},{"photo_id":"1333112471","filename":"file2"},{"photo_id":"1333112478","filename":"file4"},{"photo_id":"1333112468","filename":"file1"},{"photo_id":"1333112465","filename":"file0"},{"photo_id":"1333112473","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333112471":["hashtag1","hashtag2"]},{"1333112465":["hashtag1","hashtag2"]},{"1333112468":["hashtag1","hashtag2"]},{"1333112473":["hashtag1","hashtag2"]},{"1333112482":["hashtag1","hashtag2"]},{"1333112478":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333112471, 1333112465, 1333112468, 1333112473, 1333112482, 1333112478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.58882522583008 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:20:33.026957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/19/image_30012025_22_19_54_9353.jpg', '/home/pi/Desktop/images/30012025/22/19/image_30012025_22_20_05_10406.jpg', '/home/pi/Desktop/images/30012025/22/20/image_30012025_22_20_15_10334.jpg', '/home/pi/Desktop/images/30012025/22/20/image_30012025_22_20_25_9356.jpg', '/home/pi/Desktop/images/30012025/22/20/image_30012025_22_20_35_10400.jpg', '/home/pi/Desktop/images/30012025/22/20/image_30012025_22_20_45_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/19/image_30012025_22_19_54_9353.jpg
/home/pi/Desktop/images/30012025/22/19/image_30012025_22_20_05_10406.jpg
/home/pi/Desktop/images/30012025/22/20/image_30012025_22_20_15_10334.jpg
/home/pi/Desktop/images/30012025/22/20/image_30012025_22_20_25_9356.jpg
/home/pi/Desktop/images/30012025/22/20/image_30012025_22_20_35_10400.jpg
/home/pi/Desktop/images/30012025/22/20/image_30012025_22_20_45_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":["1333112642","1333112564","1333112593","1333112647","1333112619","1333112588"],"photo_ids_order":["1333112564","1333112588","1333112593","1333112619","1333112642","1333112647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/16f4fa751f6fd5bdd63d687845ad6254.jpg","text":"TemporaryFile(/tmp/multipartBody6055610265739117820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272093937,"filename":"image_30012025_22_20_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/30/2bf7a4638986dca2e99bc09bedf66c4b.jpg","text":"TemporaryFile(/tmp/multipartBody7622924790381113713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272093937,"filename":"image_30012025_22_19_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/30/695ea1a466b75e16481c7d73f936fe0a.jpg","text":"TemporaryFile(/tmp/multipartBody1879434563963857629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272093937,"filename":"image_30012025_22_20_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/30/45215eea080d3cca33151ed5eea8eb92.jpg","text":"TemporaryFile(/tmp/multipartBody5064849513735475121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272093937,"filename":"image_30012025_22_20_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/30/24ef6b09db40d0814bc2fa9032d15cea.jpg","text":"TemporaryFile(/tmp/multipartBody8954640642417749291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272093937,"filename":"image_30012025_22_20_25_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/97ced362ee0d6890dbb4bfd4a0ceadf6.jpg","text":"TemporaryFile(/tmp/multipartBody7607150403513798025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272093937,"filename":"image_30012025_22_20_05_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333112593","file1":"1333112588","file0":"1333112564","file4":"1333112642","file5":"1333112647","file3":"1333112619"},"map_files_photo_id_array":[{"photo_id":"1333112647","filename":"file5"},{"photo_id":"1333112593","filename":"file2"},{"photo_id":"1333112642","filename":"file4"},{"photo_id":"1333112588","filename":"file1"},{"photo_id":"1333112564","filename":"file0"},{"photo_id":"1333112619","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333112642":["hashtag1","hashtag2"]},{"1333112564":["hashtag1","hashtag2"]},{"1333112593":["hashtag1","hashtag2"]},{"1333112647":["hashtag1","hashtag2"]},{"1333112619":["hashtag1","hashtag2"]},{"1333112588":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333112642, 1333112564, 1333112593, 1333112647, 1333112619, 1333112588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.064738035202026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:21:32.332923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/20/image_30012025_22_20_55_9345.jpg', '/home/pi/Desktop/images/30012025/22/20/image_30012025_22_21_05_10350.jpg', '/home/pi/Desktop/images/30012025/22/21/image_30012025_22_21_15_10342.jpg', '/home/pi/Desktop/images/30012025/22/21/image_30012025_22_21_25_9357.jpg', '/home/pi/Desktop/images/30012025/22/21/image_30012025_22_21_35_10458.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/20/image_30012025_22_20_55_9345.jpg
/home/pi/Desktop/images/30012025/22/20/image_30012025_22_21_05_10350.jpg
/home/pi/Desktop/images/30012025/22/21/image_30012025_22_21_15_10342.jpg
/home/pi/Desktop/images/30012025/22/21/image_30012025_22_21_25_9357.jpg
/home/pi/Desktop/images/30012025/22/21/image_30012025_22_21_35_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":["1333112675","1333112689","1333112680","1333112684","1333112693"],"photo_ids_order":["1333112675","1333112680","1333112684","1333112689","1333112693"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e85fb672363358d5b45c7e362cfd32ad.jpg","text":"TemporaryFile(/tmp/multipartBody3706808429552347575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272153244,"filename":"image_30012025_22_20_55_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a1144f0bf6eae36149246555239acbe3.jpg","text":"TemporaryFile(/tmp/multipartBody2173853347873344716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272153244,"filename":"image_30012025_22_21_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/30/b565cfe633b01fc1091b9db4457c4d1e.jpg","text":"TemporaryFile(/tmp/multipartBody2315078741865199575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272153244,"filename":"image_30012025_22_21_05_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/95dd51ee7ad6158fe1f7b3ce500d1bb5.jpg","text":"TemporaryFile(/tmp/multipartBody6208995444961091509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272153244,"filename":"image_30012025_22_21_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/30/3c296746c5e6498e170446b31edd4440.jpg","text":"TemporaryFile(/tmp/multipartBody6309066628001202011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272153244,"filename":"image_30012025_22_21_35_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333112684","file1":"1333112680","file0":"1333112675","file4":"1333112693","file3":"1333112689"},"map_files_photo_id_array":[{"photo_id":"1333112684","filename":"file2"},{"photo_id":"1333112693","filename":"file4"},{"photo_id":"1333112680","filename":"file1"},{"photo_id":"1333112675","filename":"file0"},{"photo_id":"1333112689","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333112675":["hashtag1","hashtag2"]},{"1333112689":["hashtag1","hashtag2"]},{"1333112680":["hashtag1","hashtag2"]},{"1333112684":["hashtag1","hashtag2"]},{"1333112693":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333112675, 1333112689, 1333112680, 1333112684, 1333112693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.80607199668884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:22:32.502444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/21/image_30012025_22_21_45_9360.jpg', '/home/pi/Desktop/images/30012025/22/21/image_30012025_22_22_05_10367.jpg', '/home/pi/Desktop/images/30012025/22/22/image_30012025_22_22_15_9323.jpg', '/home/pi/Desktop/images/30012025/22/22/image_30012025_22_22_25_10438.jpg', '/home/pi/Desktop/images/30012025/22/22/image_30012025_22_22_34_9340.jpg', '/home/pi/Desktop/images/30012025/22/22/image_30012025_22_22_45_10381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/21/image_30012025_22_21_45_9360.jpg
/home/pi/Desktop/images/30012025/22/21/image_30012025_22_22_05_10367.jpg
/home/pi/Desktop/images/30012025/22/22/image_30012025_22_22_15_9323.jpg
/home/pi/Desktop/images/30012025/22/22/image_30012025_22_22_25_10438.jpg
/home/pi/Desktop/images/30012025/22/22/image_30012025_22_22_34_9340.jpg
/home/pi/Desktop/images/30012025/22/22/image_30012025_22_22_45_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":["1333112716","1333112719","1333112730","1333112724","1333112727","1333112712"],"photo_ids_order":["1333112712","1333112716","1333112719","1333112724","1333112727","1333112730"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b22790c1ae4a40020772213cbada161f.jpg","text":"TemporaryFile(/tmp/multipartBody8851358679776478454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272213422,"filename":"image_30012025_22_22_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/30/03de681e845c3ccf56aa33593415d873.jpg","text":"TemporaryFile(/tmp/multipartBody7478168419666717208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272213422,"filename":"image_30012025_22_22_15_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2521f82e6fc96632fe2a9f5076f797a3.jpg","text":"TemporaryFile(/tmp/multipartBody8069340592989865145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272213422,"filename":"image_30012025_22_22_45_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e86e61bec145368033dd152804da9803.jpg","text":"TemporaryFile(/tmp/multipartBody6335487665072398814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272213422,"filename":"image_30012025_22_22_25_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4e5ec209896830bd871da515dfed1155.jpg","text":"TemporaryFile(/tmp/multipartBody1144931551134728156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272213422,"filename":"image_30012025_22_22_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/30/05c34ab5a2988a0b95b3f78bc3320f67.jpg","text":"TemporaryFile(/tmp/multipartBody1885342709544669437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272213422,"filename":"image_30012025_22_21_45_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333112719","file1":"1333112716","file0":"1333112712","file4":"1333112727","file5":"1333112730","file3":"1333112724"},"map_files_photo_id_array":[{"photo_id":"1333112730","filename":"file5"},{"photo_id":"1333112719","filename":"file2"},{"photo_id":"1333112727","filename":"file4"},{"photo_id":"1333112716","filename":"file1"},{"photo_id":"1333112712","filename":"file0"},{"photo_id":"1333112724","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333112716":["hashtag1","hashtag2"]},{"1333112719":["hashtag1","hashtag2"]},{"1333112730":["hashtag1","hashtag2"]},{"1333112724":["hashtag1","hashtag2"]},{"1333112727":["hashtag1","hashtag2"]},{"1333112712":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333112716, 1333112719, 1333112730, 1333112724, 1333112727, 1333112712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72450613975525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:23:32.579073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/22/image_30012025_22_22_55_10469.jpg', '/home/pi/Desktop/images/30012025/22/22/image_30012025_22_23_05_9349.jpg', '/home/pi/Desktop/images/30012025/22/23/image_30012025_22_23_15_10368.jpg', '/home/pi/Desktop/images/30012025/22/23/image_30012025_22_23_25_10379.jpg', '/home/pi/Desktop/images/30012025/22/23/image_30012025_22_23_35_9354.jpg', '/home/pi/Desktop/images/30012025/22/23/image_30012025_22_23_45_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/22/image_30012025_22_22_55_10469.jpg
/home/pi/Desktop/images/30012025/22/22/image_30012025_22_23_05_9349.jpg
/home/pi/Desktop/images/30012025/22/23/image_30012025_22_23_15_10368.jpg
/home/pi/Desktop/images/30012025/22/23/image_30012025_22_23_25_10379.jpg
/home/pi/Desktop/images/30012025/22/23/image_30012025_22_23_35_9354.jpg
/home/pi/Desktop/images/30012025/22/23/image_30012025_22_23_45_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333112758","1333112746","1333112761","1333112755","1333112760","1333112751"],"photo_ids_order":["1333112746","1333112751","1333112755","1333112758","1333112760","1333112761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e750201f28cf03bd3be5fe106b384dba.jpg","text":"TemporaryFile(/tmp/multipartBody9071166876560056961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272273497,"filename":"image_30012025_22_23_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/30/44001385a414d58fffc02c9b40dc9ac4.jpg","text":"TemporaryFile(/tmp/multipartBody7808151870670675216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272273497,"filename":"image_30012025_22_22_55_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/608caa4c9e52c491e200c35d5170d396.jpg","text":"TemporaryFile(/tmp/multipartBody968097473739222467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272273497,"filename":"image_30012025_22_23_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/30/580d2efa7b3d7c6d7378cba8d2baa374.jpg","text":"TemporaryFile(/tmp/multipartBody5197802207392696735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272273497,"filename":"image_30012025_22_23_15_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/30/4efa35090efcdb5db2430ed43ab357e6.jpg","text":"TemporaryFile(/tmp/multipartBody2180540294420140438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272273497,"filename":"image_30012025_22_23_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/30/d48984df3c8f4ada4cb895ce4d6b65c1.jpg","text":"TemporaryFile(/tmp/multipartBody6427585146386926111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272273497,"filename":"image_30012025_22_23_05_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333112755","file1":"1333112751","file0":"1333112746","file4":"1333112760","file5":"1333112761","file3":"1333112758"},"map_files_photo_id_array":[{"photo_id":"1333112761","filename":"file5"},{"photo_id":"1333112755","filename":"file2"},{"photo_id":"1333112760","filename":"file4"},{"photo_id":"1333112751","filename":"file1"},{"photo_id":"1333112746","filename":"file0"},{"photo_id":"1333112758","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333112758":["hashtag1","hashtag2"]},{"1333112746":["hashtag1","hashtag2"]},{"1333112761":["hashtag1","hashtag2"]},{"1333112755":["hashtag1","hashtag2"]},{"1333112760":["hashtag1","hashtag2"]},{"1333112751":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333112758, 1333112746, 1333112761, 1333112755, 1333112760, 1333112751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.47386932373047 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:24:32.853048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/23/image_30012025_22_23_54_9381.jpg', '/home/pi/Desktop/images/30012025/22/23/image_30012025_22_24_05_10407.jpg', '/home/pi/Desktop/images/30012025/22/24/image_30012025_22_24_15_10335.jpg', '/home/pi/Desktop/images/30012025/22/24/image_30012025_22_24_25_9340.jpg', '/home/pi/Desktop/images/30012025/22/24/image_30012025_22_24_35_10440.jpg', '/home/pi/Desktop/images/30012025/22/24/image_30012025_22_24_45_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/23/image_30012025_22_23_54_9381.jpg
/home/pi/Desktop/images/30012025/22/23/image_30012025_22_24_05_10407.jpg
/home/pi/Desktop/images/30012025/22/24/image_30012025_22_24_15_10335.jpg
/home/pi/Desktop/images/30012025/22/24/image_30012025_22_24_25_9340.jpg
/home/pi/Desktop/images/30012025/22/24/image_30012025_22_24_35_10440.jpg
/home/pi/Desktop/images/30012025/22/24/image_30012025_22_24_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":["1333112918","1333112779","1333112827","1333112935","1333112929","1333112925"],"photo_ids_order":["1333112779","1333112827","1333112918","1333112925","1333112929","1333112935"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0d2cb3f853278fc22578ec85aa4c55bd.jpg","text":"TemporaryFile(/tmp/multipartBody6243823870957081618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272333771,"filename":"image_30012025_22_24_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/30/823480c69a3950613dcab060167cfd2e.jpg","text":"TemporaryFile(/tmp/multipartBody1792932400136367817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272333771,"filename":"image_30012025_22_23_54_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/84ea57a9659ef24eb0a5f49d22ad7394.jpg","text":"TemporaryFile(/tmp/multipartBody1595455805795347762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272333771,"filename":"image_30012025_22_24_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/30/58525203207bb89f4bf8279a893f801b.jpg","text":"TemporaryFile(/tmp/multipartBody8737542179843875798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272333771,"filename":"image_30012025_22_24_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/30/eaa04f62a57051a0936f33227977c667.jpg","text":"TemporaryFile(/tmp/multipartBody5160399151899713825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272333771,"filename":"image_30012025_22_24_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/30/556ce2b81251f255def428a6ca5f9ba6.jpg","text":"TemporaryFile(/tmp/multipartBody4313748686342687175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272333771,"filename":"image_30012025_22_24_25_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333112918","file1":"1333112827","file0":"1333112779","file4":"1333112929","file5":"1333112935","file3":"1333112925"},"map_files_photo_id_array":[{"photo_id":"1333112935","filename":"file5"},{"photo_id":"1333112918","filename":"file2"},{"photo_id":"1333112929","filename":"file4"},{"photo_id":"1333112827","filename":"file1"},{"photo_id":"1333112779","filename":"file0"},{"photo_id":"1333112925","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333112918":["hashtag1","hashtag2"]},{"1333112779":["hashtag1","hashtag2"]},{"1333112827":["hashtag1","hashtag2"]},{"1333112935":["hashtag1","hashtag2"]},{"1333112929":["hashtag1","hashtag2"]},{"1333112925":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333112918, 1333112779, 1333112827, 1333112935, 1333112929, 1333112925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.3834388256073 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:25:33.120835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/24/image_30012025_22_24_55_9329.jpg', '/home/pi/Desktop/images/30012025/22/24/image_30012025_22_25_05_10401.jpg', '/home/pi/Desktop/images/30012025/22/25/image_30012025_22_25_14_9347.jpg', '/home/pi/Desktop/images/30012025/22/25/image_30012025_22_25_25_10450.jpg', '/home/pi/Desktop/images/30012025/22/25/image_30012025_22_25_35_10359.jpg', '/home/pi/Desktop/images/30012025/22/25/image_30012025_22_25_45_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/24/image_30012025_22_24_55_9329.jpg
/home/pi/Desktop/images/30012025/22/24/image_30012025_22_25_05_10401.jpg
/home/pi/Desktop/images/30012025/22/25/image_30012025_22_25_14_9347.jpg
/home/pi/Desktop/images/30012025/22/25/image_30012025_22_25_25_10450.jpg
/home/pi/Desktop/images/30012025/22/25/image_30012025_22_25_35_10359.jpg
/home/pi/Desktop/images/30012025/22/25/image_30012025_22_25_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":["1333112968","1333112985","1333112973","1333112982","1333112978","1333112963"],"photo_ids_order":["1333112963","1333112968","1333112973","1333112978","1333112982","1333112985"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/87a8898011a748b1b8ffe4665854e30d.jpg","text":"TemporaryFile(/tmp/multipartBody2258375266242334423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272394029,"filename":"image_30012025_22_25_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/30/97ea839a3cd0147e46dd84eb8beb7d5a.jpg","text":"TemporaryFile(/tmp/multipartBody1940158874342444135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272394029,"filename":"image_30012025_22_25_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/30/da8d126460c5870912dccb65a3f327f6.jpg","text":"TemporaryFile(/tmp/multipartBody4544779257247247935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272394029,"filename":"image_30012025_22_25_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/30/71ba9c3975d289ce6257400f2350b15b.jpg","text":"TemporaryFile(/tmp/multipartBody1200653697347739168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272394029,"filename":"image_30012025_22_25_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/30/ff80424b4110859ec21f366f0bd3bc9f.jpg","text":"TemporaryFile(/tmp/multipartBody993664246772397610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272394029,"filename":"image_30012025_22_25_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/30/60b63f42b1d1429decf16dfb01ef7a2b.jpg","text":"TemporaryFile(/tmp/multipartBody6590119139061838377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272394029,"filename":"image_30012025_22_24_55_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333112973","file1":"1333112968","file0":"1333112963","file4":"1333112982","file5":"1333112985","file3":"1333112978"},"map_files_photo_id_array":[{"photo_id":"1333112985","filename":"file5"},{"photo_id":"1333112973","filename":"file2"},{"photo_id":"1333112982","filename":"file4"},{"photo_id":"1333112968","filename":"file1"},{"photo_id":"1333112963","filename":"file0"},{"photo_id":"1333112978","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333112968":["hashtag1","hashtag2"]},{"1333112985":["hashtag1","hashtag2"]},{"1333112973":["hashtag1","hashtag2"]},{"1333112982":["hashtag1","hashtag2"]},{"1333112978":["hashtag1","hashtag2"]},{"1333112963":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333112968, 1333112985, 1333112973, 1333112982, 1333112978, 1333112963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.88628077507019 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:26:32.344338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/25/image_30012025_22_25_55_10471.jpg', '/home/pi/Desktop/images/30012025/22/25/image_30012025_22_26_04_9367.jpg', '/home/pi/Desktop/images/30012025/22/26/image_30012025_22_26_15_10471.jpg', '/home/pi/Desktop/images/30012025/22/26/image_30012025_22_26_25_10355.jpg', '/home/pi/Desktop/images/30012025/22/26/image_30012025_22_26_35_9362.jpg', '/home/pi/Desktop/images/30012025/22/26/image_30012025_22_26_45_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/25/image_30012025_22_25_55_10471.jpg
/home/pi/Desktop/images/30012025/22/25/image_30012025_22_26_04_9367.jpg
/home/pi/Desktop/images/30012025/22/26/image_30012025_22_26_15_10471.jpg
/home/pi/Desktop/images/30012025/22/26/image_30012025_22_26_25_10355.jpg
/home/pi/Desktop/images/30012025/22/26/image_30012025_22_26_35_9362.jpg
/home/pi/Desktop/images/30012025/22/26/image_30012025_22_26_45_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333113005","1333113010","1333112998","1333113007","1333113003","1333113012"],"photo_ids_order":["1333112998","1333113003","1333113005","1333113007","1333113010","1333113012"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/67389b880d31bcdb9456d38a5bebffa5.jpg","text":"TemporaryFile(/tmp/multipartBody185367939476406645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272453264,"filename":"image_30012025_22_26_15_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/30/9a9fbc7cd5b7cec324f3127d5b5c972e.jpg","text":"TemporaryFile(/tmp/multipartBody6241741523750846619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272453264,"filename":"image_30012025_22_26_35_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/30/8381ec2361cf770f174133c67a1dccf0.jpg","text":"TemporaryFile(/tmp/multipartBody1454761381723925473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272453264,"filename":"image_30012025_22_25_55_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/30/6e6e8da225a53dfaec40a640f6046d98.jpg","text":"TemporaryFile(/tmp/multipartBody7759487240638340990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272453264,"filename":"image_30012025_22_26_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/30/a91dc2c6419b680efbe6cf1e159f5572.jpg","text":"TemporaryFile(/tmp/multipartBody4135609036014113880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272453264,"filename":"image_30012025_22_26_04_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/30/00f7da677fc4fb8337bc8e268f0633a7.jpg","text":"TemporaryFile(/tmp/multipartBody5306658112594449690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272453264,"filename":"image_30012025_22_26_45_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333113005","file1":"1333113003","file0":"1333112998","file4":"1333113010","file5":"1333113012","file3":"1333113007"},"map_files_photo_id_array":[{"photo_id":"1333113012","filename":"file5"},{"photo_id":"1333113005","filename":"file2"},{"photo_id":"1333113010","filename":"file4"},{"photo_id":"1333113003","filename":"file1"},{"photo_id":"1333112998","filename":"file0"},{"photo_id":"1333113007","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333113005":["hashtag1","hashtag2"]},{"1333113010":["hashtag1","hashtag2"]},{"1333112998":["hashtag1","hashtag2"]},{"1333113007":["hashtag1","hashtag2"]},{"1333113003":["hashtag1","hashtag2"]},{"1333113012":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333113005, 1333113010, 1333112998, 1333113007, 1333113003, 1333113012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9025342464447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:27:32.487499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/26/image_30012025_22_26_55_10343.jpg', '/home/pi/Desktop/images/30012025/22/26/image_30012025_22_27_05_9344.jpg', '/home/pi/Desktop/images/30012025/22/27/image_30012025_22_27_15_10341.jpg', '/home/pi/Desktop/images/30012025/22/27/image_30012025_22_27_25_10368.jpg', '/home/pi/Desktop/images/30012025/22/27/image_30012025_22_27_35_9355.jpg', '/home/pi/Desktop/images/30012025/22/27/image_30012025_22_27_45_10444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/26/image_30012025_22_26_55_10343.jpg
/home/pi/Desktop/images/30012025/22/26/image_30012025_22_27_05_9344.jpg
/home/pi/Desktop/images/30012025/22/27/image_30012025_22_27_15_10341.jpg
/home/pi/Desktop/images/30012025/22/27/image_30012025_22_27_25_10368.jpg
/home/pi/Desktop/images/30012025/22/27/image_30012025_22_27_35_9355.jpg
/home/pi/Desktop/images/30012025/22/27/image_30012025_22_27_45_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":["1333113041","1333113035","1333113049","1333113052","1333113054","1333113044"],"photo_ids_order":["1333113035","1333113041","1333113044","1333113049","1333113052","1333113054"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bde88284e9aac6c79ef1e13dcfee0d2a.jpg","text":"TemporaryFile(/tmp/multipartBody8341483987662047868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272513408,"filename":"image_30012025_22_27_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/30/581230024f4e414d6baae6ac6df78c88.jpg","text":"TemporaryFile(/tmp/multipartBody5059589438926963418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272513408,"filename":"image_30012025_22_26_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/30/1a1529bf379e4d3d4f698645ee95a0ed.jpg","text":"TemporaryFile(/tmp/multipartBody4563591702316272704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272513408,"filename":"image_30012025_22_27_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/30/b4ba09474370c5c4b4551520dcb4cb85.jpg","text":"TemporaryFile(/tmp/multipartBody5392634810599937750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272513408,"filename":"image_30012025_22_27_35_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f0de615a84c86ca9b4209e0b26dd59cc.jpg","text":"TemporaryFile(/tmp/multipartBody3568095914618995160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272513408,"filename":"image_30012025_22_27_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/30/97ce3bca8c4261a78a7d302500948329.jpg","text":"TemporaryFile(/tmp/multipartBody7225055581097281828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272513408,"filename":"image_30012025_22_27_15_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333113044","file1":"1333113041","file0":"1333113035","file4":"1333113052","file5":"1333113054","file3":"1333113049"},"map_files_photo_id_array":[{"photo_id":"1333113054","filename":"file5"},{"photo_id":"1333113044","filename":"file2"},{"photo_id":"1333113052","filename":"file4"},{"photo_id":"1333113041","filename":"file1"},{"photo_id":"1333113035","filename":"file0"},{"photo_id":"1333113049","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333113041":["hashtag1","hashtag2"]},{"1333113035":["hashtag1","hashtag2"]},{"1333113049":["hashtag1","hashtag2"]},{"1333113052":["hashtag1","hashtag2"]},{"1333113054":["hashtag1","hashtag2"]},{"1333113044":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333113041, 1333113035, 1333113049, 1333113052, 1333113054, 1333113044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.83700728416443 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:28:32.730098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/27/image_30012025_22_27_55_9338.jpg', '/home/pi/Desktop/images/30012025/22/27/image_30012025_22_28_05_10401.jpg', '/home/pi/Desktop/images/30012025/22/28/image_30012025_22_28_15_10323.jpg', '/home/pi/Desktop/images/30012025/22/28/image_30012025_22_28_25_9341.jpg', '/home/pi/Desktop/images/30012025/22/28/image_30012025_22_28_35_10469.jpg', '/home/pi/Desktop/images/30012025/22/28/image_30012025_22_28_44_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/27/image_30012025_22_27_55_9338.jpg
/home/pi/Desktop/images/30012025/22/27/image_30012025_22_28_05_10401.jpg
/home/pi/Desktop/images/30012025/22/28/image_30012025_22_28_15_10323.jpg
/home/pi/Desktop/images/30012025/22/28/image_30012025_22_28_25_9341.jpg
/home/pi/Desktop/images/30012025/22/28/image_30012025_22_28_35_10469.jpg
/home/pi/Desktop/images/30012025/22/28/image_30012025_22_28_44_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.5226521492004395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 22:28:42.861514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/27/image_30012025_22_27_55_9338.jpg', '/home/pi/Desktop/images/30012025/22/27/image_30012025_22_28_05_10401.jpg', '/home/pi/Desktop/images/30012025/22/28/image_30012025_22_28_15_10323.jpg', '/home/pi/Desktop/images/30012025/22/28/image_30012025_22_28_25_9341.jpg', '/home/pi/Desktop/images/30012025/22/28/image_30012025_22_28_35_10469.jpg', '/home/pi/Desktop/images/30012025/22/28/image_30012025_22_28_44_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/27/image_30012025_22_27_55_9338.jpg
/home/pi/Desktop/images/30012025/22/27/image_30012025_22_28_05_10401.jpg
/home/pi/Desktop/images/30012025/22/28/image_30012025_22_28_15_10323.jpg
/home/pi/Desktop/images/30012025/22/28/image_30012025_22_28_25_9341.jpg
/home/pi/Desktop/images/30012025/22/28/image_30012025_22_28_35_10469.jpg
/home/pi/Desktop/images/30012025/22/28/image_30012025_22_28_44_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":["1333113076","1333113096","1333113084","1333113087","1333113081","1333113092"],"photo_ids_order":["1333113076","1333113081","1333113084","1333113087","1333113092","1333113096"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f10a130b6998fce801a5fdc95d960658.jpg","text":"TemporaryFile(/tmp/multipartBody1563527085938020123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272583787,"filename":"image_30012025_22_27_55_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/55fce9289d0a9dbb4ed70b3571ef7a4a.jpg","text":"TemporaryFile(/tmp/multipartBody7198138346824842439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272583787,"filename":"image_30012025_22_28_44_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3f2854369b486cd0969b91c78547ec6a.jpg","text":"TemporaryFile(/tmp/multipartBody6952425236692230821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272583787,"filename":"image_30012025_22_28_15_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7ae829da0742479bdfa39fad2dcf4c90.jpg","text":"TemporaryFile(/tmp/multipartBody3455675388345309298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272583787,"filename":"image_30012025_22_28_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/30/8aa3278013bd30cd846e9e250b140b95.jpg","text":"TemporaryFile(/tmp/multipartBody1349383982040741304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272583787,"filename":"image_30012025_22_28_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/30/cf9bbbe89f64c0f0c2ddb367833754d6.jpg","text":"TemporaryFile(/tmp/multipartBody2661685749148642772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272583787,"filename":"image_30012025_22_28_35_10469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333113084","file1":"1333113081","file0":"1333113076","file4":"1333113092","file5":"1333113096","file3":"1333113087"},"map_files_photo_id_array":[{"photo_id":"1333113096","filename":"file5"},{"photo_id":"1333113084","filename":"file2"},{"photo_id":"1333113092","filename":"file4"},{"photo_id":"1333113081","filename":"file1"},{"photo_id":"1333113076","filename":"file0"},{"photo_id":"1333113087","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333113076":["hashtag1","hashtag2"]},{"1333113096":["hashtag1","hashtag2"]},{"1333113084":["hashtag1","hashtag2"]},{"1333113087":["hashtag1","hashtag2"]},{"1333113081":["hashtag1","hashtag2"]},{"1333113092":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333113076, 1333113096, 1333113084, 1333113087, 1333113081, 1333113092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.01113724708557 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:29:33.023324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/28/image_30012025_22_28_55_10358.jpg', '/home/pi/Desktop/images/30012025/22/28/image_30012025_22_29_05_10451.jpg', '/home/pi/Desktop/images/30012025/22/29/image_30012025_22_29_15_9335.jpg', '/home/pi/Desktop/images/30012025/22/29/image_30012025_22_29_25_10476.jpg', '/home/pi/Desktop/images/30012025/22/29/image_30012025_22_29_35_10344.jpg', '/home/pi/Desktop/images/30012025/22/29/image_30012025_22_29_45_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/28/image_30012025_22_28_55_10358.jpg
/home/pi/Desktop/images/30012025/22/28/image_30012025_22_29_05_10451.jpg
/home/pi/Desktop/images/30012025/22/29/image_30012025_22_29_15_9335.jpg
/home/pi/Desktop/images/30012025/22/29/image_30012025_22_29_25_10476.jpg
/home/pi/Desktop/images/30012025/22/29/image_30012025_22_29_35_10344.jpg
/home/pi/Desktop/images/30012025/22/29/image_30012025_22_29_45_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":["1333113134","1333113142","1333113129","1333113144","1333113138","1333113131"],"photo_ids_order":["1333113129","1333113131","1333113134","1333113138","1333113142","1333113144"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cf3ebe76d0c25f97ad42449413077230.jpg","text":"TemporaryFile(/tmp/multipartBody883851654957070925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272633936,"filename":"image_30012025_22_29_15_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0c114a966e44b63cb81fa42c697326ca.jpg","text":"TemporaryFile(/tmp/multipartBody2303910115478297761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272633936,"filename":"image_30012025_22_29_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/30/0477c2be13e7af159e5e7d69f7729ed0.jpg","text":"TemporaryFile(/tmp/multipartBody5518215951426269489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272633936,"filename":"image_30012025_22_28_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/30/91c91226cbfed3c731484b5afd3eed11.jpg","text":"TemporaryFile(/tmp/multipartBody5172277714188461302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272633936,"filename":"image_30012025_22_29_45_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/acb7ac71ac5a0eef5ec72ccd3075316f.jpg","text":"TemporaryFile(/tmp/multipartBody3937299041061532129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272633936,"filename":"image_30012025_22_29_25_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ec5c384b602c8df610cd29dff587fa89.jpg","text":"TemporaryFile(/tmp/multipartBody4022210461494758012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272633936,"filename":"image_30012025_22_29_05_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333113134","file1":"1333113131","file0":"1333113129","file4":"1333113142","file5":"1333113144","file3":"1333113138"},"map_files_photo_id_array":[{"photo_id":"1333113144","filename":"file5"},{"photo_id":"1333113134","filename":"file2"},{"photo_id":"1333113142","filename":"file4"},{"photo_id":"1333113131","filename":"file1"},{"photo_id":"1333113129","filename":"file0"},{"photo_id":"1333113138","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333113134":["hashtag1","hashtag2"]},{"1333113142":["hashtag1","hashtag2"]},{"1333113129":["hashtag1","hashtag2"]},{"1333113144":["hashtag1","hashtag2"]},{"1333113138":["hashtag1","hashtag2"]},{"1333113131":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333113134, 1333113142, 1333113129, 1333113144, 1333113138, 1333113131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47453951835632 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:30:32.316721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/29/image_30012025_22_29_55_10437.jpg', '/home/pi/Desktop/images/30012025/22/29/image_30012025_22_30_04_9358.jpg', '/home/pi/Desktop/images/30012025/22/30/image_30012025_22_30_15_10433.jpg', '/home/pi/Desktop/images/30012025/22/30/image_30012025_22_30_25_10428.jpg', '/home/pi/Desktop/images/30012025/22/30/image_30012025_22_30_35_9343.jpg', '/home/pi/Desktop/images/30012025/22/30/image_30012025_22_30_45_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/29/image_30012025_22_29_55_10437.jpg
/home/pi/Desktop/images/30012025/22/29/image_30012025_22_30_04_9358.jpg
/home/pi/Desktop/images/30012025/22/30/image_30012025_22_30_15_10433.jpg
/home/pi/Desktop/images/30012025/22/30/image_30012025_22_30_25_10428.jpg
/home/pi/Desktop/images/30012025/22/30/image_30012025_22_30_35_9343.jpg
/home/pi/Desktop/images/30012025/22/30/image_30012025_22_30_45_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":["1333113156","1333113315","1333113309","1333113300","1333113306","1333113296"],"photo_ids_order":["1333113156","1333113296","1333113300","1333113306","1333113309","1333113315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/00afdde4a6211158ded9a0fc771cf1c5.jpg","text":"TemporaryFile(/tmp/multipartBody1241323917700343074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272693232,"filename":"image_30012025_22_29_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/30/3aedd85ee8b882931ff54e945bfdc804.jpg","text":"TemporaryFile(/tmp/multipartBody1396912005039952814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272693232,"filename":"image_30012025_22_30_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/30/df67ef956ecd46f6c634410d01a1c700.jpg","text":"TemporaryFile(/tmp/multipartBody4988411421986334188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272693232,"filename":"image_30012025_22_30_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8b8c033bb14f6748003c27105ed6cbb9.jpg","text":"TemporaryFile(/tmp/multipartBody9057293941059252598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272693232,"filename":"image_30012025_22_30_15_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/30/dfe99836ac018ccdc4f4394ec2e169c8.jpg","text":"TemporaryFile(/tmp/multipartBody1133445156936837217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272693232,"filename":"image_30012025_22_30_25_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/265eba0df447148eff69cfeb44666353.jpg","text":"TemporaryFile(/tmp/multipartBody2256656626007254644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272693232,"filename":"image_30012025_22_30_04_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333113300","file1":"1333113296","file0":"1333113156","file4":"1333113309","file5":"1333113315","file3":"1333113306"},"map_files_photo_id_array":[{"photo_id":"1333113315","filename":"file5"},{"photo_id":"1333113300","filename":"file2"},{"photo_id":"1333113309","filename":"file4"},{"photo_id":"1333113296","filename":"file1"},{"photo_id":"1333113156","filename":"file0"},{"photo_id":"1333113306","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333113156":["hashtag1","hashtag2"]},{"1333113315":["hashtag1","hashtag2"]},{"1333113309":["hashtag1","hashtag2"]},{"1333113300":["hashtag1","hashtag2"]},{"1333113306":["hashtag1","hashtag2"]},{"1333113296":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333113156, 1333113315, 1333113309, 1333113300, 1333113306, 1333113296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.75311636924744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:31:32.601166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/30/image_30012025_22_30_54_9354.jpg', '/home/pi/Desktop/images/30012025/22/30/image_30012025_22_31_05_10410.jpg', '/home/pi/Desktop/images/30012025/22/31/image_30012025_22_31_15_10428.jpg', '/home/pi/Desktop/images/30012025/22/31/image_30012025_22_31_25_9445.jpg', '/home/pi/Desktop/images/30012025/22/31/image_30012025_22_31_35_10451.jpg', '/home/pi/Desktop/images/30012025/22/31/image_30012025_22_31_45_9458.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/30/image_30012025_22_30_54_9354.jpg
/home/pi/Desktop/images/30012025/22/30/image_30012025_22_31_05_10410.jpg
/home/pi/Desktop/images/30012025/22/31/image_30012025_22_31_15_10428.jpg
/home/pi/Desktop/images/30012025/22/31/image_30012025_22_31_25_9445.jpg
/home/pi/Desktop/images/30012025/22/31/image_30012025_22_31_35_10451.jpg
/home/pi/Desktop/images/30012025/22/31/image_30012025_22_31_45_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":["1333113355","1333113337","1333113369","1333113342","1333113386","1333113365"],"photo_ids_order":["1333113337","1333113342","1333113355","1333113365","1333113369","1333113386"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fda40df5235de55911fb5fb7d0321242.jpg","text":"TemporaryFile(/tmp/multipartBody5918595857300088553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272753537,"filename":"image_30012025_22_31_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/30/825c2d08419fe9dd01ad987755e5e1a2.jpg","text":"TemporaryFile(/tmp/multipartBody2986639993494130236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272753537,"filename":"image_30012025_22_30_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/30/fbe7fb908320b92f0f0ece12981503a9.jpg","text":"TemporaryFile(/tmp/multipartBody2754894670296048984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272753537,"filename":"image_30012025_22_31_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/30/ba4e5d324cb7c60c8097680c58d615aa.jpg","text":"TemporaryFile(/tmp/multipartBody8170608601343932189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272753537,"filename":"image_30012025_22_31_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/30/dec6e42bc363daa352095eefebec4a09.jpg","text":"TemporaryFile(/tmp/multipartBody7054872737914832985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272753537,"filename":"image_30012025_22_31_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/30/6e05c8cb479f4de355b5499ece0014b0.jpg","text":"TemporaryFile(/tmp/multipartBody1806599933354608948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272753537,"filename":"image_30012025_22_31_25_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333113355","file1":"1333113342","file0":"1333113337","file4":"1333113369","file5":"1333113386","file3":"1333113365"},"map_files_photo_id_array":[{"photo_id":"1333113386","filename":"file5"},{"photo_id":"1333113355","filename":"file2"},{"photo_id":"1333113369","filename":"file4"},{"photo_id":"1333113342","filename":"file1"},{"photo_id":"1333113337","filename":"file0"},{"photo_id":"1333113365","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333113355":["hashtag1","hashtag2"]},{"1333113337":["hashtag1","hashtag2"]},{"1333113369":["hashtag1","hashtag2"]},{"1333113342":["hashtag1","hashtag2"]},{"1333113386":["hashtag1","hashtag2"]},{"1333113365":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333113355, 1333113337, 1333113369, 1333113342, 1333113386, 1333113365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.42063546180725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:32:32.690875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/31/image_30012025_22_31_55_10454.jpg', '/home/pi/Desktop/images/30012025/22/31/image_30012025_22_32_04_9347.jpg', '/home/pi/Desktop/images/30012025/22/32/image_30012025_22_32_15_10475.jpg', '/home/pi/Desktop/images/30012025/22/32/image_30012025_22_32_25_10358.jpg', '/home/pi/Desktop/images/30012025/22/32/image_30012025_22_32_35_9343.jpg', '/home/pi/Desktop/images/30012025/22/32/image_30012025_22_32_45_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/31/image_30012025_22_31_55_10454.jpg
/home/pi/Desktop/images/30012025/22/31/image_30012025_22_32_04_9347.jpg
/home/pi/Desktop/images/30012025/22/32/image_30012025_22_32_15_10475.jpg
/home/pi/Desktop/images/30012025/22/32/image_30012025_22_32_25_10358.jpg
/home/pi/Desktop/images/30012025/22/32/image_30012025_22_32_35_9343.jpg
/home/pi/Desktop/images/30012025/22/32/image_30012025_22_32_45_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.5218501091003418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 22:32:42.746416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/31/image_30012025_22_31_55_10454.jpg', '/home/pi/Desktop/images/30012025/22/31/image_30012025_22_32_04_9347.jpg', '/home/pi/Desktop/images/30012025/22/32/image_30012025_22_32_15_10475.jpg', '/home/pi/Desktop/images/30012025/22/32/image_30012025_22_32_25_10358.jpg', '/home/pi/Desktop/images/30012025/22/32/image_30012025_22_32_35_9343.jpg', '/home/pi/Desktop/images/30012025/22/32/image_30012025_22_32_45_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/31/image_30012025_22_31_55_10454.jpg
/home/pi/Desktop/images/30012025/22/31/image_30012025_22_32_04_9347.jpg
/home/pi/Desktop/images/30012025/22/32/image_30012025_22_32_15_10475.jpg
/home/pi/Desktop/images/30012025/22/32/image_30012025_22_32_25_10358.jpg
/home/pi/Desktop/images/30012025/22/32/image_30012025_22_32_35_9343.jpg
/home/pi/Desktop/images/30012025/22/32/image_30012025_22_32_45_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":["1333113463","1333113454","1333113459","1333113447","1333113441","1333113467"],"photo_ids_order":["1333113441","1333113447","1333113454","1333113459","1333113463","1333113467"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b3a355767fdf3d012f77bb4d5c5bb1a8.jpg","text":"TemporaryFile(/tmp/multipartBody4155226679066067800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272823652,"filename":"image_30012025_22_32_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2956a35c833ea662e389beeff5dca005.jpg","text":"TemporaryFile(/tmp/multipartBody8027154714548464422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272823652,"filename":"image_30012025_22_32_15_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/30/e1ab36c89db62330db95f7c85f9d8f81.jpg","text":"TemporaryFile(/tmp/multipartBody7761437337512312955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272823652,"filename":"image_30012025_22_32_25_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e4166c90811081a3eb91c11eb9beb661.jpg","text":"TemporaryFile(/tmp/multipartBody8343561037570381571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272823652,"filename":"image_30012025_22_32_04_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b382bd80214fb6ecdf7489b7b5306c82.jpg","text":"TemporaryFile(/tmp/multipartBody5490092222975057704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272823652,"filename":"image_30012025_22_31_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/30/5b0ee2bafb9c0acb3ef38fa582bfaae9.jpg","text":"TemporaryFile(/tmp/multipartBody5400598469830660448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272823652,"filename":"image_30012025_22_32_45_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333113454","file1":"1333113447","file0":"1333113441","file4":"1333113463","file5":"1333113467","file3":"1333113459"},"map_files_photo_id_array":[{"photo_id":"1333113467","filename":"file5"},{"photo_id":"1333113454","filename":"file2"},{"photo_id":"1333113463","filename":"file4"},{"photo_id":"1333113447","filename":"file1"},{"photo_id":"1333113441","filename":"file0"},{"photo_id":"1333113459","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333113463":["hashtag1","hashtag2"]},{"1333113454":["hashtag1","hashtag2"]},{"1333113459":["hashtag1","hashtag2"]},{"1333113447":["hashtag1","hashtag2"]},{"1333113441":["hashtag1","hashtag2"]},{"1333113467":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333113463, 1333113454, 1333113459, 1333113447, 1333113441, 1333113467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.739686012268066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:33:33.057849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/32/image_30012025_22_32_55_10350.jpg', '/home/pi/Desktop/images/30012025/22/32/image_30012025_22_33_05_9336.jpg', '/home/pi/Desktop/images/30012025/22/33/image_30012025_22_33_15_10345.jpg', '/home/pi/Desktop/images/30012025/22/33/image_30012025_22_33_25_10362.jpg', '/home/pi/Desktop/images/30012025/22/33/image_30012025_22_33_35_9359.jpg', '/home/pi/Desktop/images/30012025/22/33/image_30012025_22_33_45_10448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/32/image_30012025_22_32_55_10350.jpg
/home/pi/Desktop/images/30012025/22/32/image_30012025_22_33_05_9336.jpg
/home/pi/Desktop/images/30012025/22/33/image_30012025_22_33_15_10345.jpg
/home/pi/Desktop/images/30012025/22/33/image_30012025_22_33_25_10362.jpg
/home/pi/Desktop/images/30012025/22/33/image_30012025_22_33_35_9359.jpg
/home/pi/Desktop/images/30012025/22/33/image_30012025_22_33_45_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":["1333113527","1333113486","1333113483","1333113531","1333113479","1333113488"],"photo_ids_order":["1333113479","1333113483","1333113486","1333113488","1333113527","1333113531"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1b469c038a4f11e080bb08fa93e95a2b.jpg","text":"TemporaryFile(/tmp/multipartBody311273414763509763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272874026,"filename":"image_30012025_22_33_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/30/512f466c23689bdda459ea0844b3c6c5.jpg","text":"TemporaryFile(/tmp/multipartBody6922528982673902869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272874026,"filename":"image_30012025_22_33_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/30/a5bbd852b9b401b2137ec1860e0be8f4.jpg","text":"TemporaryFile(/tmp/multipartBody1022629826571001264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272874026,"filename":"image_30012025_22_33_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/30/8bcf58bc86e945a6d0fdc28aa031a572.jpg","text":"TemporaryFile(/tmp/multipartBody6283516190156025078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272874026,"filename":"image_30012025_22_33_45_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0530d22d548d076b4e57878083eaa516.jpg","text":"TemporaryFile(/tmp/multipartBody201975131334200860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272874026,"filename":"image_30012025_22_32_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/30/1676567602bf8ee821319aa5405e2cb5.jpg","text":"TemporaryFile(/tmp/multipartBody1272105926781335818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272874026,"filename":"image_30012025_22_33_25_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333113486","file1":"1333113483","file0":"1333113479","file4":"1333113527","file5":"1333113531","file3":"1333113488"},"map_files_photo_id_array":[{"photo_id":"1333113531","filename":"file5"},{"photo_id":"1333113486","filename":"file2"},{"photo_id":"1333113527","filename":"file4"},{"photo_id":"1333113483","filename":"file1"},{"photo_id":"1333113479","filename":"file0"},{"photo_id":"1333113488","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333113527":["hashtag1","hashtag2"]},{"1333113486":["hashtag1","hashtag2"]},{"1333113483":["hashtag1","hashtag2"]},{"1333113531":["hashtag1","hashtag2"]},{"1333113479":["hashtag1","hashtag2"]},{"1333113488":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333113527, 1333113486, 1333113483, 1333113531, 1333113479, 1333113488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.870445013046265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:34:33.093882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/33/image_30012025_22_33_55_9341.jpg', '/home/pi/Desktop/images/30012025/22/33/image_30012025_22_34_05_10481.jpg', '/home/pi/Desktop/images/30012025/22/34/image_30012025_22_34_14_9431.jpg', '/home/pi/Desktop/images/30012025/22/34/image_30012025_22_34_25_10434.jpg', '/home/pi/Desktop/images/30012025/22/34/image_30012025_22_34_35_10346.jpg', '/home/pi/Desktop/images/30012025/22/34/image_30012025_22_34_45_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/33/image_30012025_22_33_55_9341.jpg
/home/pi/Desktop/images/30012025/22/33/image_30012025_22_34_05_10481.jpg
/home/pi/Desktop/images/30012025/22/34/image_30012025_22_34_14_9431.jpg
/home/pi/Desktop/images/30012025/22/34/image_30012025_22_34_25_10434.jpg
/home/pi/Desktop/images/30012025/22/34/image_30012025_22_34_35_10346.jpg
/home/pi/Desktop/images/30012025/22/34/image_30012025_22_34_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":["1333113539","1333113559","1333113544","1333113549","1333113564","1333113554"],"photo_ids_order":["1333113539","1333113544","1333113549","1333113554","1333113559","1333113564"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/724cddfcd3e586ad7c9e61bb399c7909.jpg","text":"TemporaryFile(/tmp/multipartBody4297326302300458973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272934023,"filename":"image_30012025_22_33_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/30/6954c250b537c32a2b1291ecd0af02ae.jpg","text":"TemporaryFile(/tmp/multipartBody7117122058842559285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272934023,"filename":"image_30012025_22_34_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/30/36385aaf9975d7fbb884a675393d160d.jpg","text":"TemporaryFile(/tmp/multipartBody8900424152966003626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272934023,"filename":"image_30012025_22_34_05_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d1187a3f7744b1cf16f9b2cb99ebcc61.jpg","text":"TemporaryFile(/tmp/multipartBody8549870370054078225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272934023,"filename":"image_30012025_22_34_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/30/f1aa97f6cb6b661f9903b0373e1a020d.jpg","text":"TemporaryFile(/tmp/multipartBody5247865687048895840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272934023,"filename":"image_30012025_22_34_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/30/9364c58b3bc4812fe7e590eff7700c13.jpg","text":"TemporaryFile(/tmp/multipartBody8227146392121658827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272934023,"filename":"image_30012025_22_34_25_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333113549","file1":"1333113544","file0":"1333113539","file4":"1333113559","file5":"1333113564","file3":"1333113554"},"map_files_photo_id_array":[{"photo_id":"1333113564","filename":"file5"},{"photo_id":"1333113549","filename":"file2"},{"photo_id":"1333113559","filename":"file4"},{"photo_id":"1333113544","filename":"file1"},{"photo_id":"1333113539","filename":"file0"},{"photo_id":"1333113554","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333113539":["hashtag1","hashtag2"]},{"1333113559":["hashtag1","hashtag2"]},{"1333113544":["hashtag1","hashtag2"]},{"1333113549":["hashtag1","hashtag2"]},{"1333113564":["hashtag1","hashtag2"]},{"1333113554":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333113539, 1333113559, 1333113544, 1333113549, 1333113564, 1333113554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.432252407073975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:35:32.410477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/34/image_30012025_22_34_55_10457.jpg', '/home/pi/Desktop/images/30012025/22/34/image_30012025_22_35_05_10348.jpg', '/home/pi/Desktop/images/30012025/22/35/image_30012025_22_35_15_9450.jpg', '/home/pi/Desktop/images/30012025/22/35/image_30012025_22_35_25_10361.jpg', '/home/pi/Desktop/images/30012025/22/35/image_30012025_22_35_35_9349.jpg', '/home/pi/Desktop/images/30012025/22/35/image_30012025_22_35_45_10495.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/34/image_30012025_22_34_55_10457.jpg
/home/pi/Desktop/images/30012025/22/34/image_30012025_22_35_05_10348.jpg
/home/pi/Desktop/images/30012025/22/35/image_30012025_22_35_15_9450.jpg
/home/pi/Desktop/images/30012025/22/35/image_30012025_22_35_25_10361.jpg
/home/pi/Desktop/images/30012025/22/35/image_30012025_22_35_35_9349.jpg
/home/pi/Desktop/images/30012025/22/35/image_30012025_22_35_45_10495.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333113608","1333113598","1333113603","1333113612","1333113615","1333113629"],"photo_ids_order":["1333113598","1333113603","1333113608","1333113612","1333113615","1333113629"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/35ad4e366479e6ab0c1cc6fdeec53539.jpg","text":"TemporaryFile(/tmp/multipartBody4017597256784739766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272993344,"filename":"image_30012025_22_35_15_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/30/8d9c31c2bd136892720372c18d926b9b.jpg","text":"TemporaryFile(/tmp/multipartBody8751548333894453595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272993344,"filename":"image_30012025_22_34_55_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ec3212a581c96e23b2cbd423378adabf.jpg","text":"TemporaryFile(/tmp/multipartBody7298279090384134150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272993344,"filename":"image_30012025_22_35_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/30/562d10464da88867cc85c478bcc50368.jpg","text":"TemporaryFile(/tmp/multipartBody7092049882139873037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272993344,"filename":"image_30012025_22_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/30/15c7dff4068b78b6836bca1c08c4d263.jpg","text":"TemporaryFile(/tmp/multipartBody1682459547929311881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272993344,"filename":"image_30012025_22_35_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/30/7debec306c3c9ddea36ab8659bb10752.jpg","text":"TemporaryFile(/tmp/multipartBody4987267085266729196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738272993344,"filename":"image_30012025_22_35_45_10495.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333113608","file1":"1333113603","file0":"1333113598","file4":"1333113615","file5":"1333113629","file3":"1333113612"},"map_files_photo_id_array":[{"photo_id":"1333113629","filename":"file5"},{"photo_id":"1333113608","filename":"file2"},{"photo_id":"1333113615","filename":"file4"},{"photo_id":"1333113603","filename":"file1"},{"photo_id":"1333113598","filename":"file0"},{"photo_id":"1333113612","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333113608":["hashtag1","hashtag2"]},{"1333113598":["hashtag1","hashtag2"]},{"1333113603":["hashtag1","hashtag2"]},{"1333113612":["hashtag1","hashtag2"]},{"1333113615":["hashtag1","hashtag2"]},{"1333113629":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333113608, 1333113598, 1333113603, 1333113612, 1333113615, 1333113629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.20395636558533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:36:32.610712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/35/image_30012025_22_35_55_10357.jpg', '/home/pi/Desktop/images/30012025/22/35/image_30012025_22_36_05_9367.jpg', '/home/pi/Desktop/images/30012025/22/36/image_30012025_22_36_15_10458.jpg', '/home/pi/Desktop/images/30012025/22/36/image_30012025_22_36_25_9345.jpg', '/home/pi/Desktop/images/30012025/22/36/image_30012025_22_36_34_9826.jpg', '/home/pi/Desktop/images/30012025/22/36/image_30012025_22_36_45_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/35/image_30012025_22_35_55_10357.jpg
/home/pi/Desktop/images/30012025/22/35/image_30012025_22_36_05_9367.jpg
/home/pi/Desktop/images/30012025/22/36/image_30012025_22_36_15_10458.jpg
/home/pi/Desktop/images/30012025/22/36/image_30012025_22_36_25_9345.jpg
/home/pi/Desktop/images/30012025/22/36/image_30012025_22_36_34_9826.jpg
/home/pi/Desktop/images/30012025/22/36/image_30012025_22_36_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":["1333113799","1333113780","1333113776","1333113791","1333113785","1333113773"],"photo_ids_order":["1333113773","1333113776","1333113780","1333113785","1333113791","1333113799"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fb6d4158ab56084102e1b070afba841c.jpg","text":"TemporaryFile(/tmp/multipartBody668387593048689119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273053551,"filename":"image_30012025_22_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/30/2b0115be27e82e90b7b76e694ceb408c.jpg","text":"TemporaryFile(/tmp/multipartBody267972879443643940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273053551,"filename":"image_30012025_22_36_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/30/3ec8ccba48929dfff0df41df8ccc2196.jpg","text":"TemporaryFile(/tmp/multipartBody7327575970018392004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273053551,"filename":"image_30012025_22_36_05_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6e8e79eeffc00aa0638c597b51d290b3.jpg","text":"TemporaryFile(/tmp/multipartBody7336264752976880936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273053551,"filename":"image_30012025_22_36_34_9826.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/08054ad8b578bd59321c5ee7e7eeedc7.jpg","text":"TemporaryFile(/tmp/multipartBody115575904150417997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273053551,"filename":"image_30012025_22_36_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/30/b5fbc5c62c40756d8f2d03ce7f0ccc68.jpg","text":"TemporaryFile(/tmp/multipartBody1418256547745012241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273053551,"filename":"image_30012025_22_35_55_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333113780","file1":"1333113776","file0":"1333113773","file4":"1333113791","file5":"1333113799","file3":"1333113785"},"map_files_photo_id_array":[{"photo_id":"1333113799","filename":"file5"},{"photo_id":"1333113780","filename":"file2"},{"photo_id":"1333113791","filename":"file4"},{"photo_id":"1333113776","filename":"file1"},{"photo_id":"1333113773","filename":"file0"},{"photo_id":"1333113785","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333113799":["hashtag1","hashtag2"]},{"1333113780":["hashtag1","hashtag2"]},{"1333113776":["hashtag1","hashtag2"]},{"1333113791":["hashtag1","hashtag2"]},{"1333113785":["hashtag1","hashtag2"]},{"1333113773":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333113799, 1333113780, 1333113776, 1333113791, 1333113785, 1333113773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.43002891540527 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:37:32.820052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/36/image_30012025_22_36_55_10442.jpg', '/home/pi/Desktop/images/30012025/22/36/image_30012025_22_37_05_9362.jpg', '/home/pi/Desktop/images/30012025/22/37/image_30012025_22_37_15_10430.jpg', '/home/pi/Desktop/images/30012025/22/37/image_30012025_22_37_25_10368.jpg', '/home/pi/Desktop/images/30012025/22/37/image_30012025_22_37_35_9344.jpg', '/home/pi/Desktop/images/30012025/22/37/image_30012025_22_37_45_10458.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/36/image_30012025_22_36_55_10442.jpg
/home/pi/Desktop/images/30012025/22/36/image_30012025_22_37_05_9362.jpg
/home/pi/Desktop/images/30012025/22/37/image_30012025_22_37_15_10430.jpg
/home/pi/Desktop/images/30012025/22/37/image_30012025_22_37_25_10368.jpg
/home/pi/Desktop/images/30012025/22/37/image_30012025_22_37_35_9344.jpg
/home/pi/Desktop/images/30012025/22/37/image_30012025_22_37_45_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":["1333113871","1333113862","1333113856","1333113867","1333113869","1333113872"],"photo_ids_order":["1333113856","1333113862","1333113867","1333113869","1333113871","1333113872"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7351f278bb148f7795462f851cbeba42.jpg","text":"TemporaryFile(/tmp/multipartBody4072583229686308814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273113764,"filename":"image_30012025_22_37_35_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f5162228c6017f0d0d5f33852b5ff45f.jpg","text":"TemporaryFile(/tmp/multipartBody7248346157674271947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273113764,"filename":"image_30012025_22_37_05_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f8a103bc263800a5471e85a4ba974c0e.jpg","text":"TemporaryFile(/tmp/multipartBody5944416377533668501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273113764,"filename":"image_30012025_22_36_55_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/30/7d6619b22de53b978cd22cfb7024d54f.jpg","text":"TemporaryFile(/tmp/multipartBody4980550301692700397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273113764,"filename":"image_30012025_22_37_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/30/3ca00f30a7c819309810e4581aeed98f.jpg","text":"TemporaryFile(/tmp/multipartBody3776766063267528569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273113764,"filename":"image_30012025_22_37_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/30/1e4e4117a6fdbe9d7f6c4df98791b8b8.jpg","text":"TemporaryFile(/tmp/multipartBody7990908848402288142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273113764,"filename":"image_30012025_22_37_45_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333113867","file1":"1333113862","file0":"1333113856","file4":"1333113871","file5":"1333113872","file3":"1333113869"},"map_files_photo_id_array":[{"photo_id":"1333113872","filename":"file5"},{"photo_id":"1333113867","filename":"file2"},{"photo_id":"1333113871","filename":"file4"},{"photo_id":"1333113862","filename":"file1"},{"photo_id":"1333113856","filename":"file0"},{"photo_id":"1333113869","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333113871":["hashtag1","hashtag2"]},{"1333113862":["hashtag1","hashtag2"]},{"1333113856":["hashtag1","hashtag2"]},{"1333113867":["hashtag1","hashtag2"]},{"1333113869":["hashtag1","hashtag2"]},{"1333113872":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333113871, 1333113862, 1333113856, 1333113867, 1333113869, 1333113872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.95945858955383 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:38:32.935399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/37/image_30012025_22_37_54_9346.jpg', '/home/pi/Desktop/images/30012025/22/37/image_30012025_22_38_05_10443.jpg', '/home/pi/Desktop/images/30012025/22/38/image_30012025_22_38_15_10335.jpg', '/home/pi/Desktop/images/30012025/22/38/image_30012025_22_38_25_9335.jpg', '/home/pi/Desktop/images/30012025/22/38/image_30012025_22_38_35_10364.jpg', '/home/pi/Desktop/images/30012025/22/38/image_30012025_22_38_45_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/37/image_30012025_22_37_54_9346.jpg
/home/pi/Desktop/images/30012025/22/37/image_30012025_22_38_05_10443.jpg
/home/pi/Desktop/images/30012025/22/38/image_30012025_22_38_15_10335.jpg
/home/pi/Desktop/images/30012025/22/38/image_30012025_22_38_25_9335.jpg
/home/pi/Desktop/images/30012025/22/38/image_30012025_22_38_35_10364.jpg
/home/pi/Desktop/images/30012025/22/38/image_30012025_22_38_45_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333113991","1333113955","1333114027","1333113993","1333114023","1333114031"],"photo_ids_order":["1333113955","1333113991","1333113993","1333114023","1333114027","1333114031"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dada5a7db0e266b38069daed244ceec7.jpg","text":"TemporaryFile(/tmp/multipartBody8878306011356053450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273173877,"filename":"image_30012025_22_38_05_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/30/ade964b9beacb3bc6aeddf18b6c76460.jpg","text":"TemporaryFile(/tmp/multipartBody8322477415781984543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273173877,"filename":"image_30012025_22_37_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/30/e238f54573ce3498f611adfeeb00eb5b.jpg","text":"TemporaryFile(/tmp/multipartBody5738242005425737690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273173877,"filename":"image_30012025_22_38_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b4da72d94c3977b137945049ef3d7916.jpg","text":"TemporaryFile(/tmp/multipartBody5822129637644196108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273173877,"filename":"image_30012025_22_38_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/30/8acfb84dfb54a9dc32f2c297f4a7d3d6.jpg","text":"TemporaryFile(/tmp/multipartBody3810530764013155875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273173877,"filename":"image_30012025_22_38_25_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/da14ef2ee4f9f5dd761592a668d2d87d.jpg","text":"TemporaryFile(/tmp/multipartBody3416437587032754632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273173877,"filename":"image_30012025_22_38_45_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333113993","file1":"1333113991","file0":"1333113955","file4":"1333114027","file5":"1333114031","file3":"1333114023"},"map_files_photo_id_array":[{"photo_id":"1333114031","filename":"file5"},{"photo_id":"1333113993","filename":"file2"},{"photo_id":"1333114027","filename":"file4"},{"photo_id":"1333113991","filename":"file1"},{"photo_id":"1333113955","filename":"file0"},{"photo_id":"1333114023","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333113991":["hashtag1","hashtag2"]},{"1333113955":["hashtag1","hashtag2"]},{"1333114027":["hashtag1","hashtag2"]},{"1333113993":["hashtag1","hashtag2"]},{"1333114023":["hashtag1","hashtag2"]},{"1333114031":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333113991, 1333113955, 1333114027, 1333113993, 1333114023, 1333114031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.143113136291504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:39:32.320461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/38/image_30012025_22_38_55_9340.jpg', '/home/pi/Desktop/images/30012025/22/38/image_30012025_22_39_05_10457.jpg', '/home/pi/Desktop/images/30012025/22/39/image_30012025_22_39_14_9323.jpg', '/home/pi/Desktop/images/30012025/22/39/image_30012025_22_39_25_10431.jpg', '/home/pi/Desktop/images/30012025/22/39/image_30012025_22_39_35_10383.jpg', '/home/pi/Desktop/images/30012025/22/39/image_30012025_22_39_45_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/38/image_30012025_22_38_55_9340.jpg
/home/pi/Desktop/images/30012025/22/38/image_30012025_22_39_05_10457.jpg
/home/pi/Desktop/images/30012025/22/39/image_30012025_22_39_14_9323.jpg
/home/pi/Desktop/images/30012025/22/39/image_30012025_22_39_25_10431.jpg
/home/pi/Desktop/images/30012025/22/39/image_30012025_22_39_35_10383.jpg
/home/pi/Desktop/images/30012025/22/39/image_30012025_22_39_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":["1333114126","1333115112","1333114767","1333114131","1333114427","1333115365"],"photo_ids_order":["1333114126","1333114131","1333114427","1333114767","1333115112","1333115365"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e1f0d1880643bc5cef51d9f8bfab2780.jpg","text":"TemporaryFile(/tmp/multipartBody4411704185312710358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273233264,"filename":"image_30012025_22_38_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/30/4b9bac71d8095b4f7020eeabc88f0f8f.jpg","text":"TemporaryFile(/tmp/multipartBody3134620721874282084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273233264,"filename":"image_30012025_22_39_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/30/6183c20bb47f12b30b240cf39eb34331.jpg","text":"TemporaryFile(/tmp/multipartBody90911332813219257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273233264,"filename":"image_30012025_22_39_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/30/0e7341e494d0ab1963774e9c212ebcfd.jpg","text":"TemporaryFile(/tmp/multipartBody2098864808510490349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273233264,"filename":"image_30012025_22_39_05_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/30/1aaab9c3584c03fc54dc582bb8bde4d4.jpg","text":"TemporaryFile(/tmp/multipartBody2886093362055787717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273233264,"filename":"image_30012025_22_39_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/30/1b979c6c4e5d200b592a58931f17066b.jpg","text":"TemporaryFile(/tmp/multipartBody8966075851782834436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273233264,"filename":"image_30012025_22_39_45_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333114427","file1":"1333114131","file0":"1333114126","file4":"1333115112","file5":"1333115365","file3":"1333114767"},"map_files_photo_id_array":[{"photo_id":"1333115365","filename":"file5"},{"photo_id":"1333114427","filename":"file2"},{"photo_id":"1333115112","filename":"file4"},{"photo_id":"1333114131","filename":"file1"},{"photo_id":"1333114126","filename":"file0"},{"photo_id":"1333114767","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333114126":["hashtag1","hashtag2"]},{"1333115112":["hashtag1","hashtag2"]},{"1333114767":["hashtag1","hashtag2"]},{"1333114131":["hashtag1","hashtag2"]},{"1333114427":["hashtag1","hashtag2"]},{"1333115365":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333114126, 1333115112, 1333114767, 1333114131, 1333114427, 1333115365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.955634355545044 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:40:32.491744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/39/image_30012025_22_39_55_10762.jpg', '/home/pi/Desktop/images/30012025/22/40/image_30012025_22_40_15_10403.jpg', '/home/pi/Desktop/images/30012025/22/40/image_30012025_22_40_24_9344.jpg', '/home/pi/Desktop/images/30012025/22/40/image_30012025_22_40_35_10395.jpg', '/home/pi/Desktop/images/30012025/22/40/image_30012025_22_40_45_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/39/image_30012025_22_39_55_10762.jpg
/home/pi/Desktop/images/30012025/22/40/image_30012025_22_40_15_10403.jpg
/home/pi/Desktop/images/30012025/22/40/image_30012025_22_40_24_9344.jpg
/home/pi/Desktop/images/30012025/22/40/image_30012025_22_40_35_10395.jpg
/home/pi/Desktop/images/30012025/22/40/image_30012025_22_40_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":["1333115388","1333115403","1333115666","1333115405","1333115398"],"photo_ids_order":["1333115388","1333115398","1333115403","1333115405","1333115666"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ef3c558c7693967316640b639edd819d.jpg","text":"TemporaryFile(/tmp/multipartBody5509826799855599382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273293429,"filename":"image_30012025_22_39_55_10762.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a54414bbdc89ef9db2daa50188941d22.jpg","text":"TemporaryFile(/tmp/multipartBody5744402683490777044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273293429,"filename":"image_30012025_22_40_24_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/30/fd7116668b58937fb07f24c92822f0b8.jpg","text":"TemporaryFile(/tmp/multipartBody7990996460658267213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273293429,"filename":"image_30012025_22_40_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/30/1db851d3e5dc2fbe157df322c6858a67.jpg","text":"TemporaryFile(/tmp/multipartBody5556789928797413623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273293429,"filename":"image_30012025_22_40_35_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/30/1386d34664f62e316db60ecf85b8a6ab.jpg","text":"TemporaryFile(/tmp/multipartBody3074869985613063828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273293429,"filename":"image_30012025_22_40_15_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333115403","file1":"1333115398","file0":"1333115388","file4":"1333115666","file3":"1333115405"},"map_files_photo_id_array":[{"photo_id":"1333115403","filename":"file2"},{"photo_id":"1333115666","filename":"file4"},{"photo_id":"1333115398","filename":"file1"},{"photo_id":"1333115388","filename":"file0"},{"photo_id":"1333115405","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333115388":["hashtag1","hashtag2"]},{"1333115403":["hashtag1","hashtag2"]},{"1333115666":["hashtag1","hashtag2"]},{"1333115405":["hashtag1","hashtag2"]},{"1333115398":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333115388, 1333115403, 1333115666, 1333115405, 1333115398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.29770851135254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:41:32.879438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/40/image_30012025_22_40_55_9392.jpg', '/home/pi/Desktop/images/30012025/22/40/image_30012025_22_41_05_10370.jpg', '/home/pi/Desktop/images/30012025/22/41/image_30012025_22_41_15_10341.jpg', '/home/pi/Desktop/images/30012025/22/41/image_30012025_22_41_25_9428.jpg', '/home/pi/Desktop/images/30012025/22/41/image_30012025_22_41_35_10363.jpg', '/home/pi/Desktop/images/30012025/22/41/image_30012025_22_41_44_9370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/40/image_30012025_22_40_55_9392.jpg
/home/pi/Desktop/images/30012025/22/40/image_30012025_22_41_05_10370.jpg
/home/pi/Desktop/images/30012025/22/41/image_30012025_22_41_15_10341.jpg
/home/pi/Desktop/images/30012025/22/41/image_30012025_22_41_25_9428.jpg
/home/pi/Desktop/images/30012025/22/41/image_30012025_22_41_35_10363.jpg
/home/pi/Desktop/images/30012025/22/41/image_30012025_22_41_44_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":["1333115948","1333115974","1333115971","1333115851","1333115932","1333115854"],"photo_ids_order":["1333115851","1333115854","1333115932","1333115948","1333115971","1333115974"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/dc1614e67c6c093a133903076a8aefcb.jpg","text":"TemporaryFile(/tmp/multipartBody1092297678606601354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273353796,"filename":"image_30012025_22_41_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/30/cf94ea090517bd1c7606ec77c88406fe.jpg","text":"TemporaryFile(/tmp/multipartBody9098620264746604057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273353796,"filename":"image_30012025_22_41_44_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/30/9b7329468d06f13cdb07eb46a2e84c6b.jpg","text":"TemporaryFile(/tmp/multipartBody8565519076120904576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273353796,"filename":"image_30012025_22_41_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/30/e188e2ccafa077c1ba91397e914e8ad9.jpg","text":"TemporaryFile(/tmp/multipartBody4885776285289381791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273353796,"filename":"image_30012025_22_40_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/30/73ad1435d8d06e6da9e2c260e177e7d0.jpg","text":"TemporaryFile(/tmp/multipartBody147091874305025961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273353796,"filename":"image_30012025_22_41_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/30/8e1214f77190bcf21edfc09b199905ee.jpg","text":"TemporaryFile(/tmp/multipartBody6347112619358351371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273353796,"filename":"image_30012025_22_41_05_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333115932","file1":"1333115854","file0":"1333115851","file4":"1333115971","file5":"1333115974","file3":"1333115948"},"map_files_photo_id_array":[{"photo_id":"1333115974","filename":"file5"},{"photo_id":"1333115932","filename":"file2"},{"photo_id":"1333115971","filename":"file4"},{"photo_id":"1333115854","filename":"file1"},{"photo_id":"1333115851","filename":"file0"},{"photo_id":"1333115948","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333115948":["hashtag1","hashtag2"]},{"1333115974":["hashtag1","hashtag2"]},{"1333115971":["hashtag1","hashtag2"]},{"1333115851":["hashtag1","hashtag2"]},{"1333115932":["hashtag1","hashtag2"]},{"1333115854":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333115948, 1333115974, 1333115971, 1333115851, 1333115932, 1333115854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07643723487854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:42:32.867190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/41/image_30012025_22_41_55_10472.jpg', '/home/pi/Desktop/images/30012025/22/41/image_30012025_22_42_05_10362.jpg', '/home/pi/Desktop/images/30012025/22/42/image_30012025_22_42_15_9341.jpg', '/home/pi/Desktop/images/30012025/22/42/image_30012025_22_42_25_10350.jpg', '/home/pi/Desktop/images/30012025/22/42/image_30012025_22_42_35_10343.jpg', '/home/pi/Desktop/images/30012025/22/42/image_30012025_22_42_45_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/41/image_30012025_22_41_55_10472.jpg
/home/pi/Desktop/images/30012025/22/41/image_30012025_22_42_05_10362.jpg
/home/pi/Desktop/images/30012025/22/42/image_30012025_22_42_15_9341.jpg
/home/pi/Desktop/images/30012025/22/42/image_30012025_22_42_25_10350.jpg
/home/pi/Desktop/images/30012025/22/42/image_30012025_22_42_35_10343.jpg
/home/pi/Desktop/images/30012025/22/42/image_30012025_22_42_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":["1333116048","1333116114","1333116111","1333116265","1333116259","1333116109"],"photo_ids_order":["1333116048","1333116109","1333116111","1333116114","1333116259","1333116265"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f507b6857cffea065a8364d5a88b28d2.jpg","text":"TemporaryFile(/tmp/multipartBody5985979908303215299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273413805,"filename":"image_30012025_22_41_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/30/a0d0374274920864c5f13ce68d6fdcce.jpg","text":"TemporaryFile(/tmp/multipartBody4836088912570319310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273413805,"filename":"image_30012025_22_42_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/30/91d4b4555b532f5c5b1b706c6aaca056.jpg","text":"TemporaryFile(/tmp/multipartBody8026962449145731177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273413805,"filename":"image_30012025_22_42_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/30/cd741579ae0438ab58c8a4e6758dd695.jpg","text":"TemporaryFile(/tmp/multipartBody895376246778133158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273413805,"filename":"image_30012025_22_42_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/30/8dbcc0918791b5ca4730a84c084fdf7d.jpg","text":"TemporaryFile(/tmp/multipartBody3629956257568744576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273413805,"filename":"image_30012025_22_42_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/30/a8699186d92bb89280cd8811c237086a.jpg","text":"TemporaryFile(/tmp/multipartBody6946832934166167234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273413805,"filename":"image_30012025_22_42_05_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333116111","file1":"1333116109","file0":"1333116048","file4":"1333116259","file5":"1333116265","file3":"1333116114"},"map_files_photo_id_array":[{"photo_id":"1333116265","filename":"file5"},{"photo_id":"1333116111","filename":"file2"},{"photo_id":"1333116259","filename":"file4"},{"photo_id":"1333116109","filename":"file1"},{"photo_id":"1333116048","filename":"file0"},{"photo_id":"1333116114","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333116048":["hashtag1","hashtag2"]},{"1333116114":["hashtag1","hashtag2"]},{"1333116111":["hashtag1","hashtag2"]},{"1333116265":["hashtag1","hashtag2"]},{"1333116259":["hashtag1","hashtag2"]},{"1333116109":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333116048, 1333116114, 1333116111, 1333116265, 1333116259, 1333116109)","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-30 22:43:33.042993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/42/image_30012025_22_42_55_10344.jpg', '/home/pi/Desktop/images/30012025/22/42/image_30012025_22_43_04_9349.jpg', '/home/pi/Desktop/images/30012025/22/43/image_30012025_22_43_15_10333.jpg', '/home/pi/Desktop/images/30012025/22/43/image_30012025_22_43_25_10442.jpg', '/home/pi/Desktop/images/30012025/22/43/image_30012025_22_43_34_9340.jpg', '/home/pi/Desktop/images/30012025/22/43/image_30012025_22_43_45_10418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/42/image_30012025_22_42_55_10344.jpg
/home/pi/Desktop/images/30012025/22/42/image_30012025_22_43_04_9349.jpg
/home/pi/Desktop/images/30012025/22/43/image_30012025_22_43_15_10333.jpg
/home/pi/Desktop/images/30012025/22/43/image_30012025_22_43_25_10442.jpg
/home/pi/Desktop/images/30012025/22/43/image_30012025_22_43_34_9340.jpg
/home/pi/Desktop/images/30012025/22/43/image_30012025_22_43_45_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333116455","1333116397","1333116463","1333116370","1333116460","1333116448"],"photo_ids_order":["1333116370","1333116397","1333116448","1333116455","1333116460","1333116463"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5e1d9f6e801195cf6763b1cc5db46998.jpg","text":"TemporaryFile(/tmp/multipartBody3154104622649861144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273473976,"filename":"image_30012025_22_43_25_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/30/6cf4bc11d619c14276dbaa9fdc0276a2.jpg","text":"TemporaryFile(/tmp/multipartBody2300095968018716070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273473976,"filename":"image_30012025_22_43_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/30/19823f0eb8944d1d800deca95e53675e.jpg","text":"TemporaryFile(/tmp/multipartBody6145361987459675297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273473976,"filename":"image_30012025_22_43_45_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/991e00ee2296ea43329b77123227553e.jpg","text":"TemporaryFile(/tmp/multipartBody2437437924508954557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273473976,"filename":"image_30012025_22_42_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/30/864e3c3a4cc00250b120c9bb268fe96b.jpg","text":"TemporaryFile(/tmp/multipartBody7673145022419541505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273473976,"filename":"image_30012025_22_43_34_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f0c30074ad690fbd4a8bbed16051a7a1.jpg","text":"TemporaryFile(/tmp/multipartBody6565905353491927081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273473976,"filename":"image_30012025_22_43_15_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333116448","file1":"1333116397","file0":"1333116370","file4":"1333116460","file5":"1333116463","file3":"1333116455"},"map_files_photo_id_array":[{"photo_id":"1333116463","filename":"file5"},{"photo_id":"1333116448","filename":"file2"},{"photo_id":"1333116460","filename":"file4"},{"photo_id":"1333116397","filename":"file1"},{"photo_id":"1333116370","filename":"file0"},{"photo_id":"1333116455","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333116455":["hashtag1","hashtag2"]},{"1333116397":["hashtag1","hashtag2"]},{"1333116463":["hashtag1","hashtag2"]},{"1333116370":["hashtag1","hashtag2"]},{"1333116460":["hashtag1","hashtag2"]},{"1333116448":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333116455, 1333116397, 1333116463, 1333116370, 1333116460, 1333116448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5677285194397 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:44:32.304110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/43/image_30012025_22_43_54_9474.jpg', '/home/pi/Desktop/images/30012025/22/43/image_30012025_22_44_05_10364.jpg', '/home/pi/Desktop/images/30012025/22/44/image_30012025_22_44_15_10441.jpg', '/home/pi/Desktop/images/30012025/22/44/image_30012025_22_44_25_9354.jpg', '/home/pi/Desktop/images/30012025/22/44/image_30012025_22_44_35_10393.jpg', '/home/pi/Desktop/images/30012025/22/44/image_30012025_22_44_45_10387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/43/image_30012025_22_43_54_9474.jpg
/home/pi/Desktop/images/30012025/22/43/image_30012025_22_44_05_10364.jpg
/home/pi/Desktop/images/30012025/22/44/image_30012025_22_44_15_10441.jpg
/home/pi/Desktop/images/30012025/22/44/image_30012025_22_44_25_9354.jpg
/home/pi/Desktop/images/30012025/22/44/image_30012025_22_44_35_10393.jpg
/home/pi/Desktop/images/30012025/22/44/image_30012025_22_44_45_10387.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5209825038909912 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 22:44:42.432802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/43/image_30012025_22_43_54_9474.jpg', '/home/pi/Desktop/images/30012025/22/43/image_30012025_22_44_05_10364.jpg', '/home/pi/Desktop/images/30012025/22/44/image_30012025_22_44_15_10441.jpg', '/home/pi/Desktop/images/30012025/22/44/image_30012025_22_44_25_9354.jpg', '/home/pi/Desktop/images/30012025/22/44/image_30012025_22_44_35_10393.jpg', '/home/pi/Desktop/images/30012025/22/44/image_30012025_22_44_45_10387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/43/image_30012025_22_43_54_9474.jpg
/home/pi/Desktop/images/30012025/22/43/image_30012025_22_44_05_10364.jpg
/home/pi/Desktop/images/30012025/22/44/image_30012025_22_44_15_10441.jpg
/home/pi/Desktop/images/30012025/22/44/image_30012025_22_44_25_9354.jpg
/home/pi/Desktop/images/30012025/22/44/image_30012025_22_44_35_10393.jpg
/home/pi/Desktop/images/30012025/22/44/image_30012025_22_44_45_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333116498","1333116501","1333116494","1333116506","1333116490","1333116484"],"photo_ids_order":["1333116484","1333116490","1333116494","1333116498","1333116501","1333116506"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/630fc80a100836b234bbfd3e2de8c47f.jpg","text":"TemporaryFile(/tmp/multipartBody869872555838983627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273543911,"filename":"image_30012025_22_44_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/30/36a78d0b2bf7978c61de63b3c023c611.jpg","text":"TemporaryFile(/tmp/multipartBody6174563478103626351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273543911,"filename":"image_30012025_22_44_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/30/9f5b565e823978951d261315cde93144.jpg","text":"TemporaryFile(/tmp/multipartBody3012224581131079264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273543911,"filename":"image_30012025_22_44_15_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/30/b0d5f1cf84d1b8c786944744f7001dcd.jpg","text":"TemporaryFile(/tmp/multipartBody6483215795515663106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273543911,"filename":"image_30012025_22_44_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/30/0499872595c75baa383335b51fcccb27.jpg","text":"TemporaryFile(/tmp/multipartBody8772255102112663672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273543911,"filename":"image_30012025_22_44_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/30/16c07f9a3c5c0a6d45ea0f149c9820ae.jpg","text":"TemporaryFile(/tmp/multipartBody3150874344809066383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273543911,"filename":"image_30012025_22_43_54_9474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333116494","file1":"1333116490","file0":"1333116484","file4":"1333116501","file5":"1333116506","file3":"1333116498"},"map_files_photo_id_array":[{"photo_id":"1333116506","filename":"file5"},{"photo_id":"1333116494","filename":"file2"},{"photo_id":"1333116501","filename":"file4"},{"photo_id":"1333116490","filename":"file1"},{"photo_id":"1333116484","filename":"file0"},{"photo_id":"1333116498","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333116498":["hashtag1","hashtag2"]},{"1333116501":["hashtag1","hashtag2"]},{"1333116494":["hashtag1","hashtag2"]},{"1333116506":["hashtag1","hashtag2"]},{"1333116490":["hashtag1","hashtag2"]},{"1333116484":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333116498, 1333116501, 1333116494, 1333116506, 1333116490, 1333116484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.975688457489014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:45:32.482106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/44/image_30012025_22_44_55_9340.jpg', '/home/pi/Desktop/images/30012025/22/44/image_30012025_22_45_05_10449.jpg', '/home/pi/Desktop/images/30012025/22/45/image_30012025_22_45_14_9356.jpg', '/home/pi/Desktop/images/30012025/22/45/image_30012025_22_45_25_10482.jpg', '/home/pi/Desktop/images/30012025/22/45/image_30012025_22_45_35_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/44/image_30012025_22_44_55_9340.jpg
/home/pi/Desktop/images/30012025/22/44/image_30012025_22_45_05_10449.jpg
/home/pi/Desktop/images/30012025/22/45/image_30012025_22_45_14_9356.jpg
/home/pi/Desktop/images/30012025/22/45/image_30012025_22_45_25_10482.jpg
/home/pi/Desktop/images/30012025/22/45/image_30012025_22_45_35_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":["1333116648","1333116639","1333116587","1333116579","1333116573"],"photo_ids_order":["1333116573","1333116579","1333116587","1333116639","1333116648"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ae594f57a6e837f02c288b6851f4b85a.jpg","text":"TemporaryFile(/tmp/multipartBody1782903025000879768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273593403,"filename":"image_30012025_22_45_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/30/297eef7562a0ae954264c783048afcd2.jpg","text":"TemporaryFile(/tmp/multipartBody1138060411735208532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273593403,"filename":"image_30012025_22_45_25_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/48b4165552a64859998897831eea9e9a.jpg","text":"TemporaryFile(/tmp/multipartBody1992413815389766956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273593403,"filename":"image_30012025_22_45_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/30/b192343103314f8abf1d8e5a971ecff8.jpg","text":"TemporaryFile(/tmp/multipartBody6120664765056613216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273593403,"filename":"image_30012025_22_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/30/bb0048ee6f94eb0dc7dc66a5783d63ea.jpg","text":"TemporaryFile(/tmp/multipartBody4091279292321439155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273593403,"filename":"image_30012025_22_44_55_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333116587","file1":"1333116579","file0":"1333116573","file4":"1333116648","file3":"1333116639"},"map_files_photo_id_array":[{"photo_id":"1333116587","filename":"file2"},{"photo_id":"1333116648","filename":"file4"},{"photo_id":"1333116579","filename":"file1"},{"photo_id":"1333116573","filename":"file0"},{"photo_id":"1333116639","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333116648":["hashtag1","hashtag2"]},{"1333116639":["hashtag1","hashtag2"]},{"1333116587":["hashtag1","hashtag2"]},{"1333116579":["hashtag1","hashtag2"]},{"1333116573":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333116648, 1333116639, 1333116587, 1333116579, 1333116573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.64377284049988 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:46:32.863690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/45/image_30012025_22_45_45_9358.jpg', '/home/pi/Desktop/images/30012025/22/45/image_30012025_22_46_04_9351.jpg', '/home/pi/Desktop/images/30012025/22/46/image_30012025_22_46_15_10452.jpg', '/home/pi/Desktop/images/30012025/22/46/image_30012025_22_46_25_10372.jpg', '/home/pi/Desktop/images/30012025/22/46/image_30012025_22_46_35_9364.jpg', '/home/pi/Desktop/images/30012025/22/46/image_30012025_22_46_45_10455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/45/image_30012025_22_45_45_9358.jpg
/home/pi/Desktop/images/30012025/22/45/image_30012025_22_46_04_9351.jpg
/home/pi/Desktop/images/30012025/22/46/image_30012025_22_46_15_10452.jpg
/home/pi/Desktop/images/30012025/22/46/image_30012025_22_46_25_10372.jpg
/home/pi/Desktop/images/30012025/22/46/image_30012025_22_46_35_9364.jpg
/home/pi/Desktop/images/30012025/22/46/image_30012025_22_46_45_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":["1333116695","1333116692","1333116707","1333116701","1333116704","1333116688"],"photo_ids_order":["1333116688","1333116692","1333116695","1333116701","1333116704","1333116707"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/008e08365ad4d5a8e6fe437caece2a68.jpg","text":"TemporaryFile(/tmp/multipartBody4376548601267834008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273653808,"filename":"image_30012025_22_46_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/30/349c565ce46a2398385e1282eeb4d086.jpg","text":"TemporaryFile(/tmp/multipartBody5047961569403438766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273653808,"filename":"image_30012025_22_46_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/30/efc31019c704227cec04202201f56c7d.jpg","text":"TemporaryFile(/tmp/multipartBody2870096895603295247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273653808,"filename":"image_30012025_22_46_45_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/30/14c3ceff0c97b493a7ee5bdb093dcccb.jpg","text":"TemporaryFile(/tmp/multipartBody911800676748323513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273653808,"filename":"image_30012025_22_46_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/70b9193241ee0199b9b2d332b1152907.jpg","text":"TemporaryFile(/tmp/multipartBody1757761881841108260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273653808,"filename":"image_30012025_22_46_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/30/a8d3d1e62edfe109e2637bdb9c3fa2f5.jpg","text":"TemporaryFile(/tmp/multipartBody7344685539051519963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273653808,"filename":"image_30012025_22_45_45_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333116695","file1":"1333116692","file0":"1333116688","file4":"1333116704","file5":"1333116707","file3":"1333116701"},"map_files_photo_id_array":[{"photo_id":"1333116707","filename":"file5"},{"photo_id":"1333116695","filename":"file2"},{"photo_id":"1333116704","filename":"file4"},{"photo_id":"1333116692","filename":"file1"},{"photo_id":"1333116688","filename":"file0"},{"photo_id":"1333116701","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333116695":["hashtag1","hashtag2"]},{"1333116692":["hashtag1","hashtag2"]},{"1333116707":["hashtag1","hashtag2"]},{"1333116701":["hashtag1","hashtag2"]},{"1333116704":["hashtag1","hashtag2"]},{"1333116688":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333116695, 1333116692, 1333116707, 1333116701, 1333116704, 1333116688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.687644958496094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:47:33.031890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/46/image_30012025_22_46_54_9361.jpg', '/home/pi/Desktop/images/30012025/22/46/image_30012025_22_47_05_10480.jpg', '/home/pi/Desktop/images/30012025/22/47/image_30012025_22_47_15_10356.jpg', '/home/pi/Desktop/images/30012025/22/47/image_30012025_22_47_25_9371.jpg', '/home/pi/Desktop/images/30012025/22/47/image_30012025_22_47_35_10470.jpg', '/home/pi/Desktop/images/30012025/22/47/image_30012025_22_47_44_9367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/46/image_30012025_22_46_54_9361.jpg
/home/pi/Desktop/images/30012025/22/46/image_30012025_22_47_05_10480.jpg
/home/pi/Desktop/images/30012025/22/47/image_30012025_22_47_15_10356.jpg
/home/pi/Desktop/images/30012025/22/47/image_30012025_22_47_25_9371.jpg
/home/pi/Desktop/images/30012025/22/47/image_30012025_22_47_35_10470.jpg
/home/pi/Desktop/images/30012025/22/47/image_30012025_22_47_44_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333117358","1333117352","1333117355","1333117349","1333117261","1333117059"],"photo_ids_order":["1333117059","1333117261","1333117349","1333117352","1333117355","1333117358"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/745db9690b0627bde9dd15e1a8415df0.jpg","text":"TemporaryFile(/tmp/multipartBody5374731417087184322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273713961,"filename":"image_30012025_22_47_44_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2467c200557cab611ce2820ab7bff51a.jpg","text":"TemporaryFile(/tmp/multipartBody8456254108719936687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273713961,"filename":"image_30012025_22_47_25_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/41686b3437a6d739f45fdc4a08ad5539.jpg","text":"TemporaryFile(/tmp/multipartBody5738615964334042534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273713961,"filename":"image_30012025_22_47_35_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/30/6b76d58e6ea90c77933acd53dca954d7.jpg","text":"TemporaryFile(/tmp/multipartBody2194240508008753290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273713961,"filename":"image_30012025_22_47_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/30/560bd9416116c1b1de7bd8bcc1b78c76.jpg","text":"TemporaryFile(/tmp/multipartBody8885060607187114803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273713961,"filename":"image_30012025_22_47_05_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/30/12d8a36d977be0c4f2cfbfa46490d601.jpg","text":"TemporaryFile(/tmp/multipartBody7442761070054741728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273713961,"filename":"image_30012025_22_46_54_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333117349","file1":"1333117261","file0":"1333117059","file4":"1333117355","file5":"1333117358","file3":"1333117352"},"map_files_photo_id_array":[{"photo_id":"1333117358","filename":"file5"},{"photo_id":"1333117349","filename":"file2"},{"photo_id":"1333117355","filename":"file4"},{"photo_id":"1333117261","filename":"file1"},{"photo_id":"1333117059","filename":"file0"},{"photo_id":"1333117352","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333117358":["hashtag1","hashtag2"]},{"1333117352":["hashtag1","hashtag2"]},{"1333117355":["hashtag1","hashtag2"]},{"1333117349":["hashtag1","hashtag2"]},{"1333117261":["hashtag1","hashtag2"]},{"1333117059":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333117358, 1333117352, 1333117355, 1333117349, 1333117261, 1333117059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.217528104782104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:48:32.384600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/47/image_30012025_22_47_55_10523.jpg', '/home/pi/Desktop/images/30012025/22/47/image_30012025_22_48_05_10352.jpg', '/home/pi/Desktop/images/30012025/22/48/image_30012025_22_48_15_9353.jpg', '/home/pi/Desktop/images/30012025/22/48/image_30012025_22_48_25_10367.jpg', '/home/pi/Desktop/images/30012025/22/48/image_30012025_22_48_34_9372.jpg', '/home/pi/Desktop/images/30012025/22/48/image_30012025_22_48_45_10425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/47/image_30012025_22_47_55_10523.jpg
/home/pi/Desktop/images/30012025/22/47/image_30012025_22_48_05_10352.jpg
/home/pi/Desktop/images/30012025/22/48/image_30012025_22_48_15_9353.jpg
/home/pi/Desktop/images/30012025/22/48/image_30012025_22_48_25_10367.jpg
/home/pi/Desktop/images/30012025/22/48/image_30012025_22_48_34_9372.jpg
/home/pi/Desktop/images/30012025/22/48/image_30012025_22_48_45_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":["1333117579","1333117576","1333117645","1333117563","1333117659","1333117557"],"photo_ids_order":["1333117557","1333117563","1333117576","1333117579","1333117645","1333117659"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/937abdfc66ce1bcd546fd48685abf9d6.jpg","text":"TemporaryFile(/tmp/multipartBody4422915477618502413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273773325,"filename":"image_30012025_22_48_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/30/bf4e5811334f235ddf81d2a868b8bcfa.jpg","text":"TemporaryFile(/tmp/multipartBody1383502384260653476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273773325,"filename":"image_30012025_22_48_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/30/c6be66c7d6f083f71435f8ae29b8682c.jpg","text":"TemporaryFile(/tmp/multipartBody788616610538706003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273773325,"filename":"image_30012025_22_48_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/30/948b91be0081c97a5db9c6c44f6e4949.jpg","text":"TemporaryFile(/tmp/multipartBody6592255939707736022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273773325,"filename":"image_30012025_22_48_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/be727abf4c3d71aac5bff0aecb70d7c1.jpg","text":"TemporaryFile(/tmp/multipartBody5804073644081062905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273773325,"filename":"image_30012025_22_48_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/30/491030044d9bf8a9f498b5f7bb46fb67.jpg","text":"TemporaryFile(/tmp/multipartBody3535653440679079809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273773325,"filename":"image_30012025_22_47_55_10523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333117576","file1":"1333117563","file0":"1333117557","file4":"1333117645","file5":"1333117659","file3":"1333117579"},"map_files_photo_id_array":[{"photo_id":"1333117659","filename":"file5"},{"photo_id":"1333117576","filename":"file2"},{"photo_id":"1333117645","filename":"file4"},{"photo_id":"1333117563","filename":"file1"},{"photo_id":"1333117557","filename":"file0"},{"photo_id":"1333117579","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333117579":["hashtag1","hashtag2"]},{"1333117576":["hashtag1","hashtag2"]},{"1333117645":["hashtag1","hashtag2"]},{"1333117563":["hashtag1","hashtag2"]},{"1333117659":["hashtag1","hashtag2"]},{"1333117557":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333117579, 1333117576, 1333117645, 1333117563, 1333117659, 1333117557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.09549617767334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:49:32.629690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/48/image_30012025_22_48_55_10446.jpg', '/home/pi/Desktop/images/30012025/22/48/image_30012025_22_49_05_9335.jpg', '/home/pi/Desktop/images/30012025/22/49/image_30012025_22_49_15_10357.jpg', '/home/pi/Desktop/images/30012025/22/49/image_30012025_22_49_24_9344.jpg', '/home/pi/Desktop/images/30012025/22/49/image_30012025_22_49_35_10363.jpg', '/home/pi/Desktop/images/30012025/22/49/image_30012025_22_49_45_10471.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/48/image_30012025_22_48_55_10446.jpg
/home/pi/Desktop/images/30012025/22/48/image_30012025_22_49_05_9335.jpg
/home/pi/Desktop/images/30012025/22/49/image_30012025_22_49_15_10357.jpg
/home/pi/Desktop/images/30012025/22/49/image_30012025_22_49_24_9344.jpg
/home/pi/Desktop/images/30012025/22/49/image_30012025_22_49_35_10363.jpg
/home/pi/Desktop/images/30012025/22/49/image_30012025_22_49_45_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":["1333117769","1333117760","1333117763","1333117757","1333117750","1333117753"],"photo_ids_order":["1333117750","1333117753","1333117757","1333117760","1333117763","1333117769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f9f8e2df19457654e3414e96f18c95e9.jpg","text":"TemporaryFile(/tmp/multipartBody4351080912953120476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273833558,"filename":"image_30012025_22_49_45_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/30/4a6e86d46daa41e3493af2084d7126aa.jpg","text":"TemporaryFile(/tmp/multipartBody6966273047917418841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273833558,"filename":"image_30012025_22_49_24_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/30/405fab789e8e5b0d32a74326d03e76a4.jpg","text":"TemporaryFile(/tmp/multipartBody5914687309531537568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273833558,"filename":"image_30012025_22_49_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/30/556c2fe1820510d511f1e678d459e60d.jpg","text":"TemporaryFile(/tmp/multipartBody297808603528737405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273833558,"filename":"image_30012025_22_49_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/30/3b792d2c06fe36cb69cb60c71ff7ddbd.jpg","text":"TemporaryFile(/tmp/multipartBody6024941554872653963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273833558,"filename":"image_30012025_22_48_55_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/76db1a10348b8ab56720d4a3caffc6b6.jpg","text":"TemporaryFile(/tmp/multipartBody1028224182508800111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273833558,"filename":"image_30012025_22_49_05_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333117757","file1":"1333117753","file0":"1333117750","file4":"1333117763","file5":"1333117769","file3":"1333117760"},"map_files_photo_id_array":[{"photo_id":"1333117769","filename":"file5"},{"photo_id":"1333117757","filename":"file2"},{"photo_id":"1333117763","filename":"file4"},{"photo_id":"1333117753","filename":"file1"},{"photo_id":"1333117750","filename":"file0"},{"photo_id":"1333117760","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333117769":["hashtag1","hashtag2"]},{"1333117760":["hashtag1","hashtag2"]},{"1333117763":["hashtag1","hashtag2"]},{"1333117757":["hashtag1","hashtag2"]},{"1333117750":["hashtag1","hashtag2"]},{"1333117753":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333117769, 1333117760, 1333117763, 1333117757, 1333117750, 1333117753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30293798446655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:50:32.827694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/49/image_30012025_22_49_55_9359.jpg', '/home/pi/Desktop/images/30012025/22/49/image_30012025_22_50_05_10454.jpg', '/home/pi/Desktop/images/30012025/22/50/image_30012025_22_50_15_10338.jpg', '/home/pi/Desktop/images/30012025/22/50/image_30012025_22_50_25_9341.jpg', '/home/pi/Desktop/images/30012025/22/50/image_30012025_22_50_35_10365.jpg', '/home/pi/Desktop/images/30012025/22/50/image_30012025_22_50_44_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/49/image_30012025_22_49_55_9359.jpg
/home/pi/Desktop/images/30012025/22/49/image_30012025_22_50_05_10454.jpg
/home/pi/Desktop/images/30012025/22/50/image_30012025_22_50_15_10338.jpg
/home/pi/Desktop/images/30012025/22/50/image_30012025_22_50_25_9341.jpg
/home/pi/Desktop/images/30012025/22/50/image_30012025_22_50_35_10365.jpg
/home/pi/Desktop/images/30012025/22/50/image_30012025_22_50_44_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":["1333117835","1333117823","1333117832","1333117828","1333117825","1333117839"],"photo_ids_order":["1333117823","1333117825","1333117828","1333117832","1333117835","1333117839"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a725e7019145a837c26bd3a530a0976c.jpg","text":"TemporaryFile(/tmp/multipartBody3185061777909703786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273893740,"filename":"image_30012025_22_50_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/30/8b632bc4c560970753ca7d8964fdbce3.jpg","text":"TemporaryFile(/tmp/multipartBody6172460202594362853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273893740,"filename":"image_30012025_22_49_55_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/07e4b3c9ea8766d9db6653c23aedd4af.jpg","text":"TemporaryFile(/tmp/multipartBody8381922826795056898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273893740,"filename":"image_30012025_22_50_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/30/426d52d9fa63436d1ef0c6e66f6cc308.jpg","text":"TemporaryFile(/tmp/multipartBody8635502958034373429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273893740,"filename":"image_30012025_22_50_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/30/4acd55112fb404ca71bff9359ffd210d.jpg","text":"TemporaryFile(/tmp/multipartBody2314051625512953604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273893740,"filename":"image_30012025_22_50_05_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/30/bbb69b0dc2cc767e0c8090767617f34b.jpg","text":"TemporaryFile(/tmp/multipartBody6706153950300389763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273893740,"filename":"image_30012025_22_50_44_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333117828","file1":"1333117825","file0":"1333117823","file4":"1333117835","file5":"1333117839","file3":"1333117832"},"map_files_photo_id_array":[{"photo_id":"1333117839","filename":"file5"},{"photo_id":"1333117828","filename":"file2"},{"photo_id":"1333117835","filename":"file4"},{"photo_id":"1333117825","filename":"file1"},{"photo_id":"1333117823","filename":"file0"},{"photo_id":"1333117832","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333117835":["hashtag1","hashtag2"]},{"1333117823":["hashtag1","hashtag2"]},{"1333117832":["hashtag1","hashtag2"]},{"1333117828":["hashtag1","hashtag2"]},{"1333117825":["hashtag1","hashtag2"]},{"1333117839":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333117835, 1333117823, 1333117832, 1333117828, 1333117825, 1333117839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.06412982940674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:51:32.901921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/50/image_30012025_22_50_55_10350.jpg', '/home/pi/Desktop/images/30012025/22/50/image_30012025_22_51_05_10373.jpg', '/home/pi/Desktop/images/30012025/22/51/image_30012025_22_51_14_9329.jpg', '/home/pi/Desktop/images/30012025/22/51/image_30012025_22_51_25_10468.jpg', '/home/pi/Desktop/images/30012025/22/51/image_30012025_22_51_35_10349.jpg', '/home/pi/Desktop/images/30012025/22/51/image_30012025_22_51_45_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/50/image_30012025_22_50_55_10350.jpg
/home/pi/Desktop/images/30012025/22/50/image_30012025_22_51_05_10373.jpg
/home/pi/Desktop/images/30012025/22/51/image_30012025_22_51_14_9329.jpg
/home/pi/Desktop/images/30012025/22/51/image_30012025_22_51_25_10468.jpg
/home/pi/Desktop/images/30012025/22/51/image_30012025_22_51_35_10349.jpg
/home/pi/Desktop/images/30012025/22/51/image_30012025_22_51_45_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":["1333117886","1333117880","1333117888","1333117890","1333117875","1333117884"],"photo_ids_order":["1333117875","1333117880","1333117884","1333117886","1333117888","1333117890"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/39c912562da2616114e026efc8e5375e.jpg","text":"TemporaryFile(/tmp/multipartBody7345594158632573768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273953836,"filename":"image_30012025_22_51_25_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/30/b6b52f67250d1088b47c62fa1e81706a.jpg","text":"TemporaryFile(/tmp/multipartBody707735039757379667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273953836,"filename":"image_30012025_22_51_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/82412c0dee9eafb89cddbefef8ee5a09.jpg","text":"TemporaryFile(/tmp/multipartBody1227244750962934072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273953836,"filename":"image_30012025_22_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/30/2e7a9c02f31ad562587b98f562030265.jpg","text":"TemporaryFile(/tmp/multipartBody6445136649839918785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273953836,"filename":"image_30012025_22_51_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/30/3cb3428a43afaefa15967c0cb869f1b9.jpg","text":"TemporaryFile(/tmp/multipartBody6513680465796972011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273953836,"filename":"image_30012025_22_50_55_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/17a64922c680deffa60518ae66d6b1a4.jpg","text":"TemporaryFile(/tmp/multipartBody7577749331261499213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738273953836,"filename":"image_30012025_22_51_14_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333117884","file1":"1333117880","file0":"1333117875","file4":"1333117888","file5":"1333117890","file3":"1333117886"},"map_files_photo_id_array":[{"photo_id":"1333117890","filename":"file5"},{"photo_id":"1333117884","filename":"file2"},{"photo_id":"1333117888","filename":"file4"},{"photo_id":"1333117880","filename":"file1"},{"photo_id":"1333117875","filename":"file0"},{"photo_id":"1333117886","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333117886":["hashtag1","hashtag2"]},{"1333117880":["hashtag1","hashtag2"]},{"1333117888":["hashtag1","hashtag2"]},{"1333117890":["hashtag1","hashtag2"]},{"1333117875":["hashtag1","hashtag2"]},{"1333117884":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333117886, 1333117880, 1333117888, 1333117890, 1333117875, 1333117884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.1099488735199 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:52:33.117475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/51/image_30012025_22_51_55_10367.jpg', '/home/pi/Desktop/images/30012025/22/51/image_30012025_22_52_04_9417.jpg', '/home/pi/Desktop/images/30012025/22/52/image_30012025_22_52_15_10430.jpg', '/home/pi/Desktop/images/30012025/22/52/image_30012025_22_52_25_10364.jpg', '/home/pi/Desktop/images/30012025/22/52/image_30012025_22_52_35_9340.jpg', '/home/pi/Desktop/images/30012025/22/52/image_30012025_22_52_45_10459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/51/image_30012025_22_51_55_10367.jpg
/home/pi/Desktop/images/30012025/22/51/image_30012025_22_52_04_9417.jpg
/home/pi/Desktop/images/30012025/22/52/image_30012025_22_52_15_10430.jpg
/home/pi/Desktop/images/30012025/22/52/image_30012025_22_52_25_10364.jpg
/home/pi/Desktop/images/30012025/22/52/image_30012025_22_52_35_9340.jpg
/home/pi/Desktop/images/30012025/22/52/image_30012025_22_52_45_10459.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5215420722961426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 22:52:43.054535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/51/image_30012025_22_51_55_10367.jpg', '/home/pi/Desktop/images/30012025/22/51/image_30012025_22_52_04_9417.jpg', '/home/pi/Desktop/images/30012025/22/52/image_30012025_22_52_15_10430.jpg', '/home/pi/Desktop/images/30012025/22/52/image_30012025_22_52_25_10364.jpg', '/home/pi/Desktop/images/30012025/22/52/image_30012025_22_52_35_9340.jpg', '/home/pi/Desktop/images/30012025/22/52/image_30012025_22_52_45_10459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/51/image_30012025_22_51_55_10367.jpg
/home/pi/Desktop/images/30012025/22/51/image_30012025_22_52_04_9417.jpg
/home/pi/Desktop/images/30012025/22/52/image_30012025_22_52_15_10430.jpg
/home/pi/Desktop/images/30012025/22/52/image_30012025_22_52_25_10364.jpg
/home/pi/Desktop/images/30012025/22/52/image_30012025_22_52_35_9340.jpg
/home/pi/Desktop/images/30012025/22/52/image_30012025_22_52_45_10459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333117920","1333117931","1333117907","1333117990","1333117927","1333117912"],"photo_ids_order":["1333117907","1333117912","1333117920","1333117927","1333117931","1333117990"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c58ce9803d69d9a6d6b4395b652f8153.jpg","text":"TemporaryFile(/tmp/multipartBody274139555490903997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274023985,"filename":"image_30012025_22_52_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/30/2c2c235f1d29069431858c966af89b55.jpg","text":"TemporaryFile(/tmp/multipartBody239530950504555071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274023985,"filename":"image_30012025_22_52_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/30/af535237bb8cc5ba59d170fd9dabe4e1.jpg","text":"TemporaryFile(/tmp/multipartBody4485861391394609293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274023985,"filename":"image_30012025_22_51_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/30/e9e2b56730320e794715929c30f90510.jpg","text":"TemporaryFile(/tmp/multipartBody6687149793866260722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274023985,"filename":"image_30012025_22_52_45_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/30/7182ece483b650407b3839f117381ab6.jpg","text":"TemporaryFile(/tmp/multipartBody12067955533605177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274023985,"filename":"image_30012025_22_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/30/e518c6ec4398b9db3f476b2ae508b402.jpg","text":"TemporaryFile(/tmp/multipartBody1584478521069862833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274023985,"filename":"image_30012025_22_52_04_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333117920","file1":"1333117912","file0":"1333117907","file4":"1333117931","file5":"1333117990","file3":"1333117927"},"map_files_photo_id_array":[{"photo_id":"1333117990","filename":"file5"},{"photo_id":"1333117920","filename":"file2"},{"photo_id":"1333117931","filename":"file4"},{"photo_id":"1333117912","filename":"file1"},{"photo_id":"1333117907","filename":"file0"},{"photo_id":"1333117927","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333117920":["hashtag1","hashtag2"]},{"1333117931":["hashtag1","hashtag2"]},{"1333117907":["hashtag1","hashtag2"]},{"1333117990":["hashtag1","hashtag2"]},{"1333117927":["hashtag1","hashtag2"]},{"1333117912":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333117920, 1333117931, 1333117907, 1333117990, 1333117927, 1333117912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.75264310836792 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:53:32.343846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/52/image_30012025_22_52_54_9399.jpg', '/home/pi/Desktop/images/30012025/22/52/image_30012025_22_53_05_10463.jpg', '/home/pi/Desktop/images/30012025/22/53/image_30012025_22_53_15_10348.jpg', '/home/pi/Desktop/images/30012025/22/53/image_30012025_22_53_25_9339.jpg', '/home/pi/Desktop/images/30012025/22/53/image_30012025_22_53_35_10438.jpg', '/home/pi/Desktop/images/30012025/22/53/image_30012025_22_53_45_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/52/image_30012025_22_52_54_9399.jpg
/home/pi/Desktop/images/30012025/22/52/image_30012025_22_53_05_10463.jpg
/home/pi/Desktop/images/30012025/22/53/image_30012025_22_53_15_10348.jpg
/home/pi/Desktop/images/30012025/22/53/image_30012025_22_53_25_9339.jpg
/home/pi/Desktop/images/30012025/22/53/image_30012025_22_53_35_10438.jpg
/home/pi/Desktop/images/30012025/22/53/image_30012025_22_53_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":["1333118087","1333118080","1333118044","1333118085","1333118076","1333118040"],"photo_ids_order":["1333118040","1333118044","1333118076","1333118080","1333118085","1333118087"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b25c8dabefd90eb50d1e9b05010f68e8.jpg","text":"TemporaryFile(/tmp/multipartBody8961577806770029083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274073268,"filename":"image_30012025_22_53_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/30/47201caa91365ab7e385482d1c48cf15.jpg","text":"TemporaryFile(/tmp/multipartBody890444930136939199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274073268,"filename":"image_30012025_22_53_25_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bec48b3a9efc068c5f658c9434c475ea.jpg","text":"TemporaryFile(/tmp/multipartBody6152034376687284397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274073268,"filename":"image_30012025_22_53_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/30/cf2d377a414062151c3a3e559e6be28b.jpg","text":"TemporaryFile(/tmp/multipartBody7844351647279562945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274073268,"filename":"image_30012025_22_53_35_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5c24ddf6776ab31b1f0c7b293077664e.jpg","text":"TemporaryFile(/tmp/multipartBody495077567729629249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274073268,"filename":"image_30012025_22_53_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/30/e7c87983b8eb9f92cb9bdbc8ef035353.jpg","text":"TemporaryFile(/tmp/multipartBody9134234318239643432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274073268,"filename":"image_30012025_22_52_54_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333118076","file1":"1333118044","file0":"1333118040","file4":"1333118085","file5":"1333118087","file3":"1333118080"},"map_files_photo_id_array":[{"photo_id":"1333118087","filename":"file5"},{"photo_id":"1333118076","filename":"file2"},{"photo_id":"1333118085","filename":"file4"},{"photo_id":"1333118044","filename":"file1"},{"photo_id":"1333118040","filename":"file0"},{"photo_id":"1333118080","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333118087":["hashtag1","hashtag2"]},{"1333118080":["hashtag1","hashtag2"]},{"1333118044":["hashtag1","hashtag2"]},{"1333118085":["hashtag1","hashtag2"]},{"1333118076":["hashtag1","hashtag2"]},{"1333118040":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333118087, 1333118080, 1333118044, 1333118085, 1333118076, 1333118040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.79742193222046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:54:32.381492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/53/image_30012025_22_53_55_9349.jpg', '/home/pi/Desktop/images/30012025/22/53/image_30012025_22_54_05_10349.jpg', '/home/pi/Desktop/images/30012025/22/54/image_30012025_22_54_14_9345.jpg', '/home/pi/Desktop/images/30012025/22/54/image_30012025_22_54_25_10441.jpg', '/home/pi/Desktop/images/30012025/22/54/image_30012025_22_54_35_10438.jpg', '/home/pi/Desktop/images/30012025/22/54/image_30012025_22_54_45_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/53/image_30012025_22_53_55_9349.jpg
/home/pi/Desktop/images/30012025/22/53/image_30012025_22_54_05_10349.jpg
/home/pi/Desktop/images/30012025/22/54/image_30012025_22_54_14_9345.jpg
/home/pi/Desktop/images/30012025/22/54/image_30012025_22_54_25_10441.jpg
/home/pi/Desktop/images/30012025/22/54/image_30012025_22_54_35_10438.jpg
/home/pi/Desktop/images/30012025/22/54/image_30012025_22_54_45_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":["1333118266","1333118329","1333118320","1333118332","1333118286","1333118282"],"photo_ids_order":["1333118266","1333118282","1333118286","1333118320","1333118329","1333118332"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e602e393979d85d3273958eeaa7e1f52.jpg","text":"TemporaryFile(/tmp/multipartBody6946764354071450765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274133301,"filename":"image_30012025_22_53_55_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/c21d5519beb5e0a4aac347a50011e7cb.jpg","text":"TemporaryFile(/tmp/multipartBody1524283277299490281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274133301,"filename":"image_30012025_22_54_35_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d5bcc389af09e87be7601fd781d8ad1a.jpg","text":"TemporaryFile(/tmp/multipartBody1059822703696804328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274133301,"filename":"image_30012025_22_54_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/30/3832c4c28ce620ef9431c82996c10641.jpg","text":"TemporaryFile(/tmp/multipartBody4778857556135071407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274133301,"filename":"image_30012025_22_54_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/30/da5437b124f0d2b9b60e5189a6ba32a1.jpg","text":"TemporaryFile(/tmp/multipartBody8974025932283763379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274133301,"filename":"image_30012025_22_54_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/30/fbbba4223835dec9ca2999a84c60cab5.jpg","text":"TemporaryFile(/tmp/multipartBody7634521383256675412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274133301,"filename":"image_30012025_22_54_05_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333118286","file1":"1333118282","file0":"1333118266","file4":"1333118329","file5":"1333118332","file3":"1333118320"},"map_files_photo_id_array":[{"photo_id":"1333118332","filename":"file5"},{"photo_id":"1333118286","filename":"file2"},{"photo_id":"1333118329","filename":"file4"},{"photo_id":"1333118282","filename":"file1"},{"photo_id":"1333118266","filename":"file0"},{"photo_id":"1333118320","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333118266":["hashtag1","hashtag2"]},{"1333118329":["hashtag1","hashtag2"]},{"1333118320":["hashtag1","hashtag2"]},{"1333118332":["hashtag1","hashtag2"]},{"1333118286":["hashtag1","hashtag2"]},{"1333118282":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333118266, 1333118329, 1333118320, 1333118332, 1333118286, 1333118282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.010045528411865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:55:32.899817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/54/image_30012025_22_54_55_10486.jpg', '/home/pi/Desktop/images/30012025/22/55/image_30012025_22_55_15_10465.jpg', '/home/pi/Desktop/images/30012025/22/55/image_30012025_22_55_25_10338.jpg', '/home/pi/Desktop/images/30012025/22/55/image_30012025_22_55_35_9434.jpg', '/home/pi/Desktop/images/30012025/22/55/image_30012025_22_55_45_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/54/image_30012025_22_54_55_10486.jpg
/home/pi/Desktop/images/30012025/22/55/image_30012025_22_55_15_10465.jpg
/home/pi/Desktop/images/30012025/22/55/image_30012025_22_55_25_10338.jpg
/home/pi/Desktop/images/30012025/22/55/image_30012025_22_55_35_9434.jpg
/home/pi/Desktop/images/30012025/22/55/image_30012025_22_55_45_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333118636","1333118501","1333118758","1333118446","1333118440"],"photo_ids_order":["1333118440","1333118446","1333118501","1333118636","1333118758"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5e91baecfc53e4ed86dd8dfecd8ff555.jpg","text":"TemporaryFile(/tmp/multipartBody3828527255229484449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274193793,"filename":"image_30012025_22_55_35_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/133f71a4427a1507197022204313c32c.jpg","text":"TemporaryFile(/tmp/multipartBody5561563206615943109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274193793,"filename":"image_30012025_22_55_25_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/beaa5520f2132d17deae015ae26fb8df.jpg","text":"TemporaryFile(/tmp/multipartBody2770877801751381873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274193793,"filename":"image_30012025_22_55_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/30/b2f31f4b4e3f20526d5f0d53d9720e9c.jpg","text":"TemporaryFile(/tmp/multipartBody5894574459280964348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274193793,"filename":"image_30012025_22_55_15_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/659446ea1fc3b90cd63ba02fa1bdae99.jpg","text":"TemporaryFile(/tmp/multipartBody3578296817867048352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274193793,"filename":"image_30012025_22_54_55_10486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333118501","file1":"1333118446","file0":"1333118440","file4":"1333118758","file3":"1333118636"},"map_files_photo_id_array":[{"photo_id":"1333118501","filename":"file2"},{"photo_id":"1333118758","filename":"file4"},{"photo_id":"1333118446","filename":"file1"},{"photo_id":"1333118440","filename":"file0"},{"photo_id":"1333118636","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333118636":["hashtag1","hashtag2"]},{"1333118501":["hashtag1","hashtag2"]},{"1333118758":["hashtag1","hashtag2"]},{"1333118446":["hashtag1","hashtag2"]},{"1333118440":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333118636, 1333118501, 1333118758, 1333118446, 1333118440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.851009368896484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:56:33.064786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/55/image_30012025_22_55_54_9345.jpg', '/home/pi/Desktop/images/30012025/22/55/image_30012025_22_56_05_10370.jpg', '/home/pi/Desktop/images/30012025/22/56/image_30012025_22_56_15_10425.jpg', '/home/pi/Desktop/images/30012025/22/56/image_30012025_22_56_25_9334.jpg', '/home/pi/Desktop/images/30012025/22/56/image_30012025_22_56_35_10359.jpg', '/home/pi/Desktop/images/30012025/22/56/image_30012025_22_56_45_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/55/image_30012025_22_55_54_9345.jpg
/home/pi/Desktop/images/30012025/22/55/image_30012025_22_56_05_10370.jpg
/home/pi/Desktop/images/30012025/22/56/image_30012025_22_56_15_10425.jpg
/home/pi/Desktop/images/30012025/22/56/image_30012025_22_56_25_9334.jpg
/home/pi/Desktop/images/30012025/22/56/image_30012025_22_56_35_10359.jpg
/home/pi/Desktop/images/30012025/22/56/image_30012025_22_56_45_10363.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5274536609649658 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 22:56:43.052811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/55/image_30012025_22_55_54_9345.jpg', '/home/pi/Desktop/images/30012025/22/55/image_30012025_22_56_05_10370.jpg', '/home/pi/Desktop/images/30012025/22/56/image_30012025_22_56_15_10425.jpg', '/home/pi/Desktop/images/30012025/22/56/image_30012025_22_56_25_9334.jpg', '/home/pi/Desktop/images/30012025/22/56/image_30012025_22_56_35_10359.jpg', '/home/pi/Desktop/images/30012025/22/56/image_30012025_22_56_45_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/55/image_30012025_22_55_54_9345.jpg
/home/pi/Desktop/images/30012025/22/55/image_30012025_22_56_05_10370.jpg
/home/pi/Desktop/images/30012025/22/56/image_30012025_22_56_15_10425.jpg
/home/pi/Desktop/images/30012025/22/56/image_30012025_22_56_25_9334.jpg
/home/pi/Desktop/images/30012025/22/56/image_30012025_22_56_35_10359.jpg
/home/pi/Desktop/images/30012025/22/56/image_30012025_22_56_45_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":["1333119529","1333119534","1333119537","1333119522","1333119551","1333119545"],"photo_ids_order":["1333119522","1333119529","1333119534","1333119537","1333119545","1333119551"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d01a72cfe9079ddabe60c8889f36c477.jpg","text":"TemporaryFile(/tmp/multipartBody6485862681683157837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274263997,"filename":"image_30012025_22_56_05_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a63ec12f78f24939f2bd269eb4e7ee83.jpg","text":"TemporaryFile(/tmp/multipartBody7755599070683185665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274263997,"filename":"image_30012025_22_56_15_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cf9156b28624a25667ebc2d7a12d5090.jpg","text":"TemporaryFile(/tmp/multipartBody7900480235776545819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274263997,"filename":"image_30012025_22_56_25_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/410525d5bb921c2a82b1d71be43a470d.jpg","text":"TemporaryFile(/tmp/multipartBody6732022607618078579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274263997,"filename":"image_30012025_22_55_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/30/faf7c2d9cf5521e63dfac4029bf50993.jpg","text":"TemporaryFile(/tmp/multipartBody5569510178953596489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274263997,"filename":"image_30012025_22_56_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/30/3983c852aa11a53567b3e7258b05a13c.jpg","text":"TemporaryFile(/tmp/multipartBody5274736347175798410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274263997,"filename":"image_30012025_22_56_35_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333119534","file1":"1333119529","file0":"1333119522","file4":"1333119545","file5":"1333119551","file3":"1333119537"},"map_files_photo_id_array":[{"photo_id":"1333119551","filename":"file5"},{"photo_id":"1333119534","filename":"file2"},{"photo_id":"1333119545","filename":"file4"},{"photo_id":"1333119529","filename":"file1"},{"photo_id":"1333119522","filename":"file0"},{"photo_id":"1333119537","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333119529":["hashtag1","hashtag2"]},{"1333119534":["hashtag1","hashtag2"]},{"1333119537":["hashtag1","hashtag2"]},{"1333119522":["hashtag1","hashtag2"]},{"1333119551":["hashtag1","hashtag2"]},{"1333119545":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333119529, 1333119534, 1333119537, 1333119522, 1333119551, 1333119545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.1646146774292 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 22:57:42.345703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/56/image_30012025_22_56_55_9333.jpg', '/home/pi/Desktop/images/30012025/22/57/image_30012025_22_57_14_9325.jpg', '/home/pi/Desktop/images/30012025/22/57/image_30012025_22_57_25_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/56/image_30012025_22_56_55_9333.jpg
/home/pi/Desktop/images/30012025/22/57/image_30012025_22_57_14_9325.jpg
/home/pi/Desktop/images/30012025/22/57/image_30012025_22_57_25_10369.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-30 22:59:04.283817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/56/image_30012025_22_56_55_9333.jpg', '/home/pi/Desktop/images/30012025/22/57/image_30012025_22_57_14_9325.jpg', '/home/pi/Desktop/images/30012025/22/57/image_30012025_22_57_25_10369.jpg', '/home/pi/Desktop/images/30012025/22/57/image_30012025_22_57_45_9347.jpg', '/home/pi/Desktop/images/30012025/22/57/image_30012025_22_58_05_10384.jpg', '/home/pi/Desktop/images/30012025/22/58/image_30012025_22_58_15_9320.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/56/image_30012025_22_56_55_9333.jpg
/home/pi/Desktop/images/30012025/22/57/image_30012025_22_57_14_9325.jpg
/home/pi/Desktop/images/30012025/22/57/image_30012025_22_57_25_10369.jpg
/home/pi/Desktop/images/30012025/22/57/image_30012025_22_57_45_9347.jpg
/home/pi/Desktop/images/30012025/22/57/image_30012025_22_58_05_10384.jpg
/home/pi/Desktop/images/30012025/22/58/image_30012025_22_58_15_9320.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.802936315536499 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 22:59:32.967766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/56/image_30012025_22_56_55_9333.jpg', '/home/pi/Desktop/images/30012025/22/57/image_30012025_22_57_14_9325.jpg', '/home/pi/Desktop/images/30012025/22/57/image_30012025_22_57_25_10369.jpg', '/home/pi/Desktop/images/30012025/22/57/image_30012025_22_57_45_9347.jpg', '/home/pi/Desktop/images/30012025/22/57/image_30012025_22_58_05_10384.jpg', '/home/pi/Desktop/images/30012025/22/58/image_30012025_22_58_15_9320.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/56/image_30012025_22_56_55_9333.jpg
/home/pi/Desktop/images/30012025/22/57/image_30012025_22_57_14_9325.jpg
/home/pi/Desktop/images/30012025/22/57/image_30012025_22_57_25_10369.jpg
/home/pi/Desktop/images/30012025/22/57/image_30012025_22_57_45_9347.jpg
/home/pi/Desktop/images/30012025/22/57/image_30012025_22_58_05_10384.jpg
/home/pi/Desktop/images/30012025/22/58/image_30012025_22_58_15_9320.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333120346","1333120421","1333120415","1333120304","1333120441","1333120434"],"photo_ids_order":["1333120304","1333120346","1333120415","1333120421","1333120434","1333120441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/28d58d2ce1647baabd1c3ca7aad23c7c.jpg","text":"TemporaryFile(/tmp/multipartBody2141501091718414423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274433878,"filename":"image_30012025_22_57_14_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/30/b4fb905664139a8c07454f440898959d.jpg","text":"TemporaryFile(/tmp/multipartBody5821717764856081058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274433878,"filename":"image_30012025_22_57_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/30/3767e3a5f5a728e71c4a746a51d6ea67.jpg","text":"TemporaryFile(/tmp/multipartBody3090828319387308117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274433878,"filename":"image_30012025_22_57_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/30/1688c28e34bbe337be967054e2f85bb5.jpg","text":"TemporaryFile(/tmp/multipartBody3865859458946285075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274433878,"filename":"image_30012025_22_56_55_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/30/7549a3b643d25ec43e2d4398e963cb59.jpg","text":"TemporaryFile(/tmp/multipartBody5780900732824304848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274433878,"filename":"image_30012025_22_58_15_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/30/5ce8c228dd82ec453d51715a3d06f011.jpg","text":"TemporaryFile(/tmp/multipartBody2995612351699596118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274433878,"filename":"image_30012025_22_58_05_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333120415","file1":"1333120346","file0":"1333120304","file4":"1333120434","file5":"1333120441","file3":"1333120421"},"map_files_photo_id_array":[{"photo_id":"1333120441","filename":"file5"},{"photo_id":"1333120415","filename":"file2"},{"photo_id":"1333120434","filename":"file4"},{"photo_id":"1333120346","filename":"file1"},{"photo_id":"1333120304","filename":"file0"},{"photo_id":"1333120421","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333120346":["hashtag1","hashtag2"]},{"1333120421":["hashtag1","hashtag2"]},{"1333120415":["hashtag1","hashtag2"]},{"1333120304":["hashtag1","hashtag2"]},{"1333120441":["hashtag1","hashtag2"]},{"1333120434":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333120346, 1333120421, 1333120415, 1333120304, 1333120441, 1333120434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25712323188782 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:00:32.307330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/58/image_30012025_22_58_25_10363.jpg', '/home/pi/Desktop/images/30012025/22/58/image_30012025_22_58_35_10338.jpg', '/home/pi/Desktop/images/30012025/22/58/image_30012025_22_58_45_9511.jpg', '/home/pi/Desktop/images/30012025/22/58/image_30012025_22_58_55_10358.jpg', '/home/pi/Desktop/images/30012025/22/58/image_30012025_22_59_05_9342.jpg', '/home/pi/Desktop/images/30012025/22/59/image_30012025_22_59_15_10472.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/58/image_30012025_22_58_25_10363.jpg
/home/pi/Desktop/images/30012025/22/58/image_30012025_22_58_35_10338.jpg
/home/pi/Desktop/images/30012025/22/58/image_30012025_22_58_45_9511.jpg
/home/pi/Desktop/images/30012025/22/58/image_30012025_22_58_55_10358.jpg
/home/pi/Desktop/images/30012025/22/58/image_30012025_22_59_05_9342.jpg
/home/pi/Desktop/images/30012025/22/59/image_30012025_22_59_15_10472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333120523","1333120531","1333120519","1333120527","1333120521","1333120518"],"photo_ids_order":["1333120518","1333120519","1333120521","1333120523","1333120527","1333120531"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4c3c3c8ef7e4b8bf2b5acab912854b66.jpg","text":"TemporaryFile(/tmp/multipartBody4917513078839891616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274493267,"filename":"image_30012025_22_58_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2edd1dbecf62866b29dba114c1bc5f9f.jpg","text":"TemporaryFile(/tmp/multipartBody4090891797341438345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274493267,"filename":"image_30012025_22_59_15_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4b40c566db05116554e2c71591276a59.jpg","text":"TemporaryFile(/tmp/multipartBody6488003690706952864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274493267,"filename":"image_30012025_22_58_35_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/df6ed2a65f206d5a121dd7b7c62bbdc2.jpg","text":"TemporaryFile(/tmp/multipartBody7634683623850408053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274493267,"filename":"image_30012025_22_59_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/30/cfa39ffab6acf3081b8281fa421a3938.jpg","text":"TemporaryFile(/tmp/multipartBody8063250887930206107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274493267,"filename":"image_30012025_22_58_45_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/30/5a3f1e6a56decee3afb96a11579bb3e7.jpg","text":"TemporaryFile(/tmp/multipartBody2086900056767505238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274493267,"filename":"image_30012025_22_58_25_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333120521","file1":"1333120519","file0":"1333120518","file4":"1333120527","file5":"1333120531","file3":"1333120523"},"map_files_photo_id_array":[{"photo_id":"1333120531","filename":"file5"},{"photo_id":"1333120521","filename":"file2"},{"photo_id":"1333120527","filename":"file4"},{"photo_id":"1333120519","filename":"file1"},{"photo_id":"1333120518","filename":"file0"},{"photo_id":"1333120523","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333120523":["hashtag1","hashtag2"]},{"1333120531":["hashtag1","hashtag2"]},{"1333120519":["hashtag1","hashtag2"]},{"1333120527":["hashtag1","hashtag2"]},{"1333120521":["hashtag1","hashtag2"]},{"1333120518":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333120523, 1333120531, 1333120519, 1333120527, 1333120521, 1333120518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9007031917572 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:01:32.419021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/22/59/image_30012025_22_59_24_9347.jpg', '/home/pi/Desktop/images/30012025/22/59/image_30012025_22_59_35_10411.jpg', '/home/pi/Desktop/images/30012025/22/59/image_30012025_22_59_45_10028.jpg', '/home/pi/Desktop/images/30012025/22/59/image_30012025_22_59_55_10361.jpg', '/home/pi/Desktop/images/30012025/23/00/image_30012025_23_00_26_10407.jpg', '/home/pi/Desktop/images/30012025/23/00/image_30012025_23_00_37_10513.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/22/59/image_30012025_22_59_24_9347.jpg
/home/pi/Desktop/images/30012025/22/59/image_30012025_22_59_35_10411.jpg
/home/pi/Desktop/images/30012025/22/59/image_30012025_22_59_45_10028.jpg
/home/pi/Desktop/images/30012025/22/59/image_30012025_22_59_55_10361.jpg
/home/pi/Desktop/images/30012025/23/00/image_30012025_23_00_26_10407.jpg
/home/pi/Desktop/images/30012025/23/00/image_30012025_23_00_37_10513.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333120568","1333120564","1333120572","1333120575","1333120560","1333120577"],"photo_ids_order":["1333120560","1333120564","1333120568","1333120572","1333120575","1333120577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f1a8b4a340bdad0da666c9e7309b8990.jpg","text":"TemporaryFile(/tmp/multipartBody5712410195190522937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274553604,"filename":"image_30012025_22_59_45_10028.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0e743b97eb584b301e2112f7bd5d9706.jpg","text":"TemporaryFile(/tmp/multipartBody4477619241659343409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274553604,"filename":"image_30012025_22_59_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/30/35659fe4c1f4936e71e3003dcf2ef3c3.jpg","text":"TemporaryFile(/tmp/multipartBody2278077287314058782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274553604,"filename":"image_30012025_22_59_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/30/f7ad517c4709f046ab1915e9cdcb0b8a.jpg","text":"TemporaryFile(/tmp/multipartBody61248482607267740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274553604,"filename":"image_30012025_23_00_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/30/debf3cb4d93bfc09139f34e3e13ede61.jpg","text":"TemporaryFile(/tmp/multipartBody4202219124891796375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274553604,"filename":"image_30012025_22_59_24_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/30/3f240aafdce40f703164becae5943acf.jpg","text":"TemporaryFile(/tmp/multipartBody6799270288104744800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274553604,"filename":"image_30012025_23_00_37_10513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333120568","file1":"1333120564","file0":"1333120560","file4":"1333120575","file5":"1333120577","file3":"1333120572"},"map_files_photo_id_array":[{"photo_id":"1333120577","filename":"file5"},{"photo_id":"1333120568","filename":"file2"},{"photo_id":"1333120575","filename":"file4"},{"photo_id":"1333120564","filename":"file1"},{"photo_id":"1333120560","filename":"file0"},{"photo_id":"1333120572","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333120568":["hashtag1","hashtag2"]},{"1333120564":["hashtag1","hashtag2"]},{"1333120572":["hashtag1","hashtag2"]},{"1333120575":["hashtag1","hashtag2"]},{"1333120560":["hashtag1","hashtag2"]},{"1333120577":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333120568, 1333120564, 1333120572, 1333120575, 1333120560, 1333120577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.11512494087219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:02:32.597421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/00/image_30012025_23_00_46_9420.jpg', '/home/pi/Desktop/images/30012025/23/00/image_30012025_23_00_57_10358.jpg', '/home/pi/Desktop/images/30012025/23/00/image_30012025_23_01_06_9350.jpg', '/home/pi/Desktop/images/30012025/23/01/image_30012025_23_01_16_10374.jpg', '/home/pi/Desktop/images/30012025/23/01/image_30012025_23_01_27_10365.jpg', '/home/pi/Desktop/images/30012025/23/01/image_30012025_23_01_36_9427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/00/image_30012025_23_00_46_9420.jpg
/home/pi/Desktop/images/30012025/23/00/image_30012025_23_00_57_10358.jpg
/home/pi/Desktop/images/30012025/23/00/image_30012025_23_01_06_9350.jpg
/home/pi/Desktop/images/30012025/23/01/image_30012025_23_01_16_10374.jpg
/home/pi/Desktop/images/30012025/23/01/image_30012025_23_01_27_10365.jpg
/home/pi/Desktop/images/30012025/23/01/image_30012025_23_01_36_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":["1333120801","1333120788","1333120797","1333120791","1333120779","1333120784"],"photo_ids_order":["1333120779","1333120784","1333120788","1333120791","1333120797","1333120801"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3f27b923996947d18781b8e45031e592.jpg","text":"TemporaryFile(/tmp/multipartBody8703209739840751922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274613509,"filename":"image_30012025_23_01_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/30/76e00781a8618be8b17054eb9f42967e.jpg","text":"TemporaryFile(/tmp/multipartBody3442707043598456928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274613509,"filename":"image_30012025_23_01_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/30/dcd4220f1d95801a71cb52fa0e3e006c.jpg","text":"TemporaryFile(/tmp/multipartBody7743091994223939286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274613509,"filename":"image_30012025_23_01_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/30/8684894fc344189e8371bc5d4608cc09.jpg","text":"TemporaryFile(/tmp/multipartBody2227747074581185750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274613509,"filename":"image_30012025_23_01_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/30/8a4a55a36f1733e0b485be413a560d86.jpg","text":"TemporaryFile(/tmp/multipartBody1726187616123929336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274613509,"filename":"image_30012025_23_00_46_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/30/5765022c4fce455adbcd0b7cdc0fa9ae.jpg","text":"TemporaryFile(/tmp/multipartBody9163092839856935271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274613509,"filename":"image_30012025_23_00_57_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333120788","file1":"1333120784","file0":"1333120779","file4":"1333120797","file5":"1333120801","file3":"1333120791"},"map_files_photo_id_array":[{"photo_id":"1333120801","filename":"file5"},{"photo_id":"1333120788","filename":"file2"},{"photo_id":"1333120797","filename":"file4"},{"photo_id":"1333120784","filename":"file1"},{"photo_id":"1333120779","filename":"file0"},{"photo_id":"1333120791","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333120801":["hashtag1","hashtag2"]},{"1333120788":["hashtag1","hashtag2"]},{"1333120797":["hashtag1","hashtag2"]},{"1333120791":["hashtag1","hashtag2"]},{"1333120779":["hashtag1","hashtag2"]},{"1333120784":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333120801, 1333120788, 1333120797, 1333120791, 1333120779, 1333120784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.762314558029175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:03:34.478444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/01/image_30012025_23_01_47_10347.jpg', '/home/pi/Desktop/images/30012025/23/01/image_30012025_23_01_56_9410.jpg', '/home/pi/Desktop/images/30012025/23/01/image_30012025_23_02_06_10340.jpg', '/home/pi/Desktop/images/30012025/23/02/image_30012025_23_02_17_10348.jpg', '/home/pi/Desktop/images/30012025/23/02/image_30012025_23_02_26_9451.jpg', '/home/pi/Desktop/images/30012025/23/02/image_30012025_23_02_36_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/01/image_30012025_23_01_47_10347.jpg
/home/pi/Desktop/images/30012025/23/01/image_30012025_23_01_56_9410.jpg
/home/pi/Desktop/images/30012025/23/01/image_30012025_23_02_06_10340.jpg
/home/pi/Desktop/images/30012025/23/02/image_30012025_23_02_17_10348.jpg
/home/pi/Desktop/images/30012025/23/02/image_30012025_23_02_26_9451.jpg
/home/pi/Desktop/images/30012025/23/02/image_30012025_23_02_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":["1333120873","1333120893","1333120896","1333120890","1333120878","1333120868"],"photo_ids_order":["1333120868","1333120873","1333120878","1333120890","1333120893","1333120896"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/729471b729a1d9f1e806664d21c4f729.jpg","text":"TemporaryFile(/tmp/multipartBody3553040190905663156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274675421,"filename":"image_30012025_23_01_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/30/a0b81ac2cc9c64c58589e3170b84f023.jpg","text":"TemporaryFile(/tmp/multipartBody5337687860246092128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274675421,"filename":"image_30012025_23_02_26_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/30/6b56cb27c045ae078bda7b43289fb962.jpg","text":"TemporaryFile(/tmp/multipartBody7436074883246298579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274675421,"filename":"image_30012025_23_02_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/30/cd1957905c38598a113cf26d2a4c30a8.jpg","text":"TemporaryFile(/tmp/multipartBody6276645829085811231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274675421,"filename":"image_30012025_23_02_17_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/26015927a6c5de45f2a2a99713cb09c0.jpg","text":"TemporaryFile(/tmp/multipartBody5013081462560199129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274675421,"filename":"image_30012025_23_02_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/30/58f5c22b7ccf94e87e333320c0f19514.jpg","text":"TemporaryFile(/tmp/multipartBody3662818813546134602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274675421,"filename":"image_30012025_23_01_47_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333120878","file1":"1333120873","file0":"1333120868","file4":"1333120893","file5":"1333120896","file3":"1333120890"},"map_files_photo_id_array":[{"photo_id":"1333120896","filename":"file5"},{"photo_id":"1333120878","filename":"file2"},{"photo_id":"1333120893","filename":"file4"},{"photo_id":"1333120873","filename":"file1"},{"photo_id":"1333120868","filename":"file0"},{"photo_id":"1333120890","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333120873":["hashtag1","hashtag2"]},{"1333120893":["hashtag1","hashtag2"]},{"1333120896":["hashtag1","hashtag2"]},{"1333120890":["hashtag1","hashtag2"]},{"1333120878":["hashtag1","hashtag2"]},{"1333120868":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333120873, 1333120893, 1333120896, 1333120890, 1333120878, 1333120868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.781877517700195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:04:33.037167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/02/image_30012025_23_02_46_9496.jpg', '/home/pi/Desktop/images/30012025/23/02/image_30012025_23_02_56_10358.jpg', '/home/pi/Desktop/images/30012025/23/02/image_30012025_23_03_07_10347.jpg', '/home/pi/Desktop/images/30012025/23/03/image_30012025_23_03_16_9434.jpg', '/home/pi/Desktop/images/30012025/23/03/image_30012025_23_03_27_10452.jpg', '/home/pi/Desktop/images/30012025/23/03/image_30012025_23_03_36_9383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/02/image_30012025_23_02_46_9496.jpg
/home/pi/Desktop/images/30012025/23/02/image_30012025_23_02_56_10358.jpg
/home/pi/Desktop/images/30012025/23/02/image_30012025_23_03_07_10347.jpg
/home/pi/Desktop/images/30012025/23/03/image_30012025_23_03_16_9434.jpg
/home/pi/Desktop/images/30012025/23/03/image_30012025_23_03_27_10452.jpg
/home/pi/Desktop/images/30012025/23/03/image_30012025_23_03_36_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.5251636505126953 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 23:04:43.065457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/02/image_30012025_23_02_46_9496.jpg', '/home/pi/Desktop/images/30012025/23/02/image_30012025_23_02_56_10358.jpg', '/home/pi/Desktop/images/30012025/23/02/image_30012025_23_03_07_10347.jpg', '/home/pi/Desktop/images/30012025/23/03/image_30012025_23_03_16_9434.jpg', '/home/pi/Desktop/images/30012025/23/03/image_30012025_23_03_27_10452.jpg', '/home/pi/Desktop/images/30012025/23/03/image_30012025_23_03_36_9383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/02/image_30012025_23_02_46_9496.jpg
/home/pi/Desktop/images/30012025/23/02/image_30012025_23_02_56_10358.jpg
/home/pi/Desktop/images/30012025/23/02/image_30012025_23_03_07_10347.jpg
/home/pi/Desktop/images/30012025/23/03/image_30012025_23_03_16_9434.jpg
/home/pi/Desktop/images/30012025/23/03/image_30012025_23_03_27_10452.jpg
/home/pi/Desktop/images/30012025/23/03/image_30012025_23_03_36_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":["1333120961","1333120990","1333120941","1333121009","1333120994","1333120973"],"photo_ids_order":["1333120941","1333120961","1333120973","1333120990","1333120994","1333121009"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ae3f17df5bbbff29313e777ac556a748.jpg","text":"TemporaryFile(/tmp/multipartBody6293036961111120988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274743981,"filename":"image_30012025_23_02_56_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a63297ab3a0f705e98b04604bfddb405.jpg","text":"TemporaryFile(/tmp/multipartBody7126352508124827902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274743981,"filename":"image_30012025_23_03_16_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/30/01d0f7ee4fff5f280b94305ffbc38fff.jpg","text":"TemporaryFile(/tmp/multipartBody6303575093808467735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274743981,"filename":"image_30012025_23_02_46_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/30/323757fdfe5792bf1ff9850511c23a3f.jpg","text":"TemporaryFile(/tmp/multipartBody328095196093201667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274743981,"filename":"image_30012025_23_03_36_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/30/0fe2b90c378a1466a1b4e870b1046a66.jpg","text":"TemporaryFile(/tmp/multipartBody334625694520659684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274743981,"filename":"image_30012025_23_03_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/30/f9994ed65a6c9b536bd969583424f2e9.jpg","text":"TemporaryFile(/tmp/multipartBody8144622763495605456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274743981,"filename":"image_30012025_23_03_07_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333120973","file1":"1333120961","file0":"1333120941","file4":"1333120994","file5":"1333121009","file3":"1333120990"},"map_files_photo_id_array":[{"photo_id":"1333121009","filename":"file5"},{"photo_id":"1333120973","filename":"file2"},{"photo_id":"1333120994","filename":"file4"},{"photo_id":"1333120961","filename":"file1"},{"photo_id":"1333120941","filename":"file0"},{"photo_id":"1333120990","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333120961":["hashtag1","hashtag2"]},{"1333120990":["hashtag1","hashtag2"]},{"1333120941":["hashtag1","hashtag2"]},{"1333121009":["hashtag1","hashtag2"]},{"1333120994":["hashtag1","hashtag2"]},{"1333120973":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333120961, 1333120990, 1333120941, 1333121009, 1333120994, 1333120973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.92290639877319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:05:32.361044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/03/image_30012025_23_03_46_10366.jpg', '/home/pi/Desktop/images/30012025/23/03/image_30012025_23_03_57_10370.jpg', '/home/pi/Desktop/images/30012025/23/03/image_30012025_23_04_06_9456.jpg', '/home/pi/Desktop/images/30012025/23/04/image_30012025_23_04_16_10332.jpg', '/home/pi/Desktop/images/30012025/23/04/image_30012025_23_04_47_10359.jpg', '/home/pi/Desktop/images/30012025/23/04/image_30012025_23_04_56_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/03/image_30012025_23_03_46_10366.jpg
/home/pi/Desktop/images/30012025/23/03/image_30012025_23_03_57_10370.jpg
/home/pi/Desktop/images/30012025/23/03/image_30012025_23_04_06_9456.jpg
/home/pi/Desktop/images/30012025/23/04/image_30012025_23_04_16_10332.jpg
/home/pi/Desktop/images/30012025/23/04/image_30012025_23_04_47_10359.jpg
/home/pi/Desktop/images/30012025/23/04/image_30012025_23_04_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":["1333121050","1333121047","1333121032","1333121040","1333121043","1333121036"],"photo_ids_order":["1333121032","1333121036","1333121040","1333121043","1333121047","1333121050"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1668741e0adbdff3958bc00966ad6dbf.jpg","text":"TemporaryFile(/tmp/multipartBody8736830887259430522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274793268,"filename":"image_30012025_23_04_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/30/532d7903b5dafae45b4278a9384a8651.jpg","text":"TemporaryFile(/tmp/multipartBody6076423088978024328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274793268,"filename":"image_30012025_23_04_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/30/6be4ecfeb79bf5a84cac35bbd8be10a4.jpg","text":"TemporaryFile(/tmp/multipartBody4001816861851827148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274793268,"filename":"image_30012025_23_03_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/30/2b1eade0b19cfe2a62c55ef75dd3a116.jpg","text":"TemporaryFile(/tmp/multipartBody1104055865580787721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274793268,"filename":"image_30012025_23_04_06_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/30/a96ae0ffd6267a753f3ca929883ad609.jpg","text":"TemporaryFile(/tmp/multipartBody5003649946696901005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274793268,"filename":"image_30012025_23_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/30/794b2965f085c175ddc22293eceb912e.jpg","text":"TemporaryFile(/tmp/multipartBody3429437896707873756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274793268,"filename":"image_30012025_23_03_57_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333121040","file1":"1333121036","file0":"1333121032","file4":"1333121047","file5":"1333121050","file3":"1333121043"},"map_files_photo_id_array":[{"photo_id":"1333121050","filename":"file5"},{"photo_id":"1333121040","filename":"file2"},{"photo_id":"1333121047","filename":"file4"},{"photo_id":"1333121036","filename":"file1"},{"photo_id":"1333121032","filename":"file0"},{"photo_id":"1333121043","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333121050":["hashtag1","hashtag2"]},{"1333121047":["hashtag1","hashtag2"]},{"1333121032":["hashtag1","hashtag2"]},{"1333121040":["hashtag1","hashtag2"]},{"1333121043":["hashtag1","hashtag2"]},{"1333121036":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333121050, 1333121047, 1333121032, 1333121040, 1333121043, 1333121036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.264995098114014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:06:32.620965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/04/image_30012025_23_05_06_10351.jpg', '/home/pi/Desktop/images/30012025/23/05/image_30012025_23_05_17_10532.jpg', '/home/pi/Desktop/images/30012025/23/05/image_30012025_23_05_26_9443.jpg', '/home/pi/Desktop/images/30012025/23/05/image_30012025_23_05_37_10342.jpg', '/home/pi/Desktop/images/30012025/23/05/image_30012025_23_05_46_9426.jpg', '/home/pi/Desktop/images/30012025/23/05/image_30012025_23_05_56_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/04/image_30012025_23_05_06_10351.jpg
/home/pi/Desktop/images/30012025/23/05/image_30012025_23_05_17_10532.jpg
/home/pi/Desktop/images/30012025/23/05/image_30012025_23_05_26_9443.jpg
/home/pi/Desktop/images/30012025/23/05/image_30012025_23_05_37_10342.jpg
/home/pi/Desktop/images/30012025/23/05/image_30012025_23_05_46_9426.jpg
/home/pi/Desktop/images/30012025/23/05/image_30012025_23_05_56_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":["1333121095","1333121071","1333121065","1333121148","1333121099","1333121090"],"photo_ids_order":["1333121065","1333121071","1333121090","1333121095","1333121099","1333121148"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/df469ed846a174d90f81c684b07aaa4b.jpg","text":"TemporaryFile(/tmp/multipartBody6463654394891089175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274853558,"filename":"image_30012025_23_05_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/30/0b44dd821533d124d4e1141008ce0673.jpg","text":"TemporaryFile(/tmp/multipartBody781270319841974534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274853558,"filename":"image_30012025_23_05_17_10532.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/64dcacc663e9b4698988583e456ae13c.jpg","text":"TemporaryFile(/tmp/multipartBody2151464058504413784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274853558,"filename":"image_30012025_23_05_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/30/e5ea621015cac4526792e0ec77d987c2.jpg","text":"TemporaryFile(/tmp/multipartBody2510818845767763211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274853558,"filename":"image_30012025_23_05_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/30/2e6ba146d87c58df80eed1ebb64b75c3.jpg","text":"TemporaryFile(/tmp/multipartBody154247357225178989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274853558,"filename":"image_30012025_23_05_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/30/3eaab0e752c4ad468acfd6c4cd19ce89.jpg","text":"TemporaryFile(/tmp/multipartBody1041835396814731129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274853558,"filename":"image_30012025_23_05_26_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333121090","file1":"1333121071","file0":"1333121065","file4":"1333121099","file5":"1333121148","file3":"1333121095"},"map_files_photo_id_array":[{"photo_id":"1333121148","filename":"file5"},{"photo_id":"1333121090","filename":"file2"},{"photo_id":"1333121099","filename":"file4"},{"photo_id":"1333121071","filename":"file1"},{"photo_id":"1333121065","filename":"file0"},{"photo_id":"1333121095","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333121095":["hashtag1","hashtag2"]},{"1333121071":["hashtag1","hashtag2"]},{"1333121065":["hashtag1","hashtag2"]},{"1333121148":["hashtag1","hashtag2"]},{"1333121099":["hashtag1","hashtag2"]},{"1333121090":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333121095, 1333121071, 1333121065, 1333121148, 1333121099, 1333121090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.99223256111145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:07:32.843521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/05/image_30012025_23_06_07_10472.jpg', '/home/pi/Desktop/images/30012025/23/06/image_30012025_23_06_16_9342.jpg', '/home/pi/Desktop/images/30012025/23/06/image_30012025_23_06_27_10412.jpg', '/home/pi/Desktop/images/30012025/23/06/image_30012025_23_06_36_9346.jpg', '/home/pi/Desktop/images/30012025/23/06/image_30012025_23_06_46_10351.jpg', '/home/pi/Desktop/images/30012025/23/06/image_30012025_23_06_57_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/05/image_30012025_23_06_07_10472.jpg
/home/pi/Desktop/images/30012025/23/06/image_30012025_23_06_16_9342.jpg
/home/pi/Desktop/images/30012025/23/06/image_30012025_23_06_27_10412.jpg
/home/pi/Desktop/images/30012025/23/06/image_30012025_23_06_36_9346.jpg
/home/pi/Desktop/images/30012025/23/06/image_30012025_23_06_46_10351.jpg
/home/pi/Desktop/images/30012025/23/06/image_30012025_23_06_57_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333121254","1333121341","1333121257","1333121239","1333121235","1333121301"],"photo_ids_order":["1333121235","1333121239","1333121254","1333121257","1333121301","1333121341"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/85a519b3adeca074b8c276beaf85df96.jpg","text":"TemporaryFile(/tmp/multipartBody4836266896174226377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274913788,"filename":"image_30012025_23_06_27_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/30/7ca21ce8c6b42b88a7d65be24012bf0e.jpg","text":"TemporaryFile(/tmp/multipartBody478294473279665640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274913788,"filename":"image_30012025_23_06_57_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6ea69cf3b98c10e4e2389d8564628555.jpg","text":"TemporaryFile(/tmp/multipartBody1368608814712402569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274913788,"filename":"image_30012025_23_06_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/30/b990d8acc0eb091e14eb60ca39ca45a0.jpg","text":"TemporaryFile(/tmp/multipartBody1163878081982602189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274913788,"filename":"image_30012025_23_06_16_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/96eeab711db4aff6f64262d9f0ed74b6.jpg","text":"TemporaryFile(/tmp/multipartBody1051811277342665630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274913788,"filename":"image_30012025_23_06_07_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/30/6907c1feeabc4be45a5438fefda5db35.jpg","text":"TemporaryFile(/tmp/multipartBody2740937895144896530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274913788,"filename":"image_30012025_23_06_46_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333121254","file1":"1333121239","file0":"1333121235","file4":"1333121301","file5":"1333121341","file3":"1333121257"},"map_files_photo_id_array":[{"photo_id":"1333121341","filename":"file5"},{"photo_id":"1333121254","filename":"file2"},{"photo_id":"1333121301","filename":"file4"},{"photo_id":"1333121239","filename":"file1"},{"photo_id":"1333121235","filename":"file0"},{"photo_id":"1333121257","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333121254":["hashtag1","hashtag2"]},{"1333121341":["hashtag1","hashtag2"]},{"1333121257":["hashtag1","hashtag2"]},{"1333121239":["hashtag1","hashtag2"]},{"1333121235":["hashtag1","hashtag2"]},{"1333121301":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333121254, 1333121341, 1333121257, 1333121239, 1333121235, 1333121301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.78495812416077 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:08:32.286135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/06/image_30012025_23_07_06_9395.jpg', '/home/pi/Desktop/images/30012025/23/07/image_30012025_23_07_16_10324.jpg', '/home/pi/Desktop/images/30012025/23/07/image_30012025_23_07_27_10354.jpg', '/home/pi/Desktop/images/30012025/23/07/image_30012025_23_07_36_9344.jpg', '/home/pi/Desktop/images/30012025/23/07/image_30012025_23_07_46_10342.jpg', '/home/pi/Desktop/images/30012025/23/07/image_30012025_23_07_57_10442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/06/image_30012025_23_07_06_9395.jpg
/home/pi/Desktop/images/30012025/23/07/image_30012025_23_07_16_10324.jpg
/home/pi/Desktop/images/30012025/23/07/image_30012025_23_07_27_10354.jpg
/home/pi/Desktop/images/30012025/23/07/image_30012025_23_07_36_9344.jpg
/home/pi/Desktop/images/30012025/23/07/image_30012025_23_07_46_10342.jpg
/home/pi/Desktop/images/30012025/23/07/image_30012025_23_07_57_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: 0.521125316619873 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 23:08:42.282376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/06/image_30012025_23_07_06_9395.jpg', '/home/pi/Desktop/images/30012025/23/07/image_30012025_23_07_16_10324.jpg', '/home/pi/Desktop/images/30012025/23/07/image_30012025_23_07_27_10354.jpg', '/home/pi/Desktop/images/30012025/23/07/image_30012025_23_07_36_9344.jpg', '/home/pi/Desktop/images/30012025/23/07/image_30012025_23_07_46_10342.jpg', '/home/pi/Desktop/images/30012025/23/07/image_30012025_23_07_57_10442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/06/image_30012025_23_07_06_9395.jpg
/home/pi/Desktop/images/30012025/23/07/image_30012025_23_07_16_10324.jpg
/home/pi/Desktop/images/30012025/23/07/image_30012025_23_07_27_10354.jpg
/home/pi/Desktop/images/30012025/23/07/image_30012025_23_07_36_9344.jpg
/home/pi/Desktop/images/30012025/23/07/image_30012025_23_07_46_10342.jpg
/home/pi/Desktop/images/30012025/23/07/image_30012025_23_07_57_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":["1333121389","1333121374","1333121385","1333121379","1333121370","1333121384"],"photo_ids_order":["1333121370","1333121374","1333121379","1333121384","1333121385","1333121389"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ffafcf59c31dda530d903a42a726037d.jpg","text":"TemporaryFile(/tmp/multipartBody1957509429491187652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274983193,"filename":"image_30012025_23_07_57_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9d1c86d72c582f13fea7fec704f8e6a3.jpg","text":"TemporaryFile(/tmp/multipartBody7623698522813400546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274983193,"filename":"image_30012025_23_07_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/30/7fa3972261c6891bb55e62521f64689a.jpg","text":"TemporaryFile(/tmp/multipartBody6744387291735683109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274983193,"filename":"image_30012025_23_07_46_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e53b3c3dc1558797796bab812a39515c.jpg","text":"TemporaryFile(/tmp/multipartBody8357026420313496034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274983193,"filename":"image_30012025_23_07_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/30/1d23617aaf7b26b6b4de1c1c33931e63.jpg","text":"TemporaryFile(/tmp/multipartBody6074071151360470444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274983193,"filename":"image_30012025_23_07_06_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/327f41d265c14460940020dde06d097a.jpg","text":"TemporaryFile(/tmp/multipartBody162285438807349076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738274983193,"filename":"image_30012025_23_07_36_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333121379","file1":"1333121374","file0":"1333121370","file4":"1333121385","file5":"1333121389","file3":"1333121384"},"map_files_photo_id_array":[{"photo_id":"1333121389","filename":"file5"},{"photo_id":"1333121379","filename":"file2"},{"photo_id":"1333121385","filename":"file4"},{"photo_id":"1333121374","filename":"file1"},{"photo_id":"1333121370","filename":"file0"},{"photo_id":"1333121384","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333121389":["hashtag1","hashtag2"]},{"1333121374":["hashtag1","hashtag2"]},{"1333121385":["hashtag1","hashtag2"]},{"1333121379":["hashtag1","hashtag2"]},{"1333121370":["hashtag1","hashtag2"]},{"1333121384":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333121389, 1333121374, 1333121385, 1333121379, 1333121370, 1333121384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.693312644958496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:09:32.484135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/07/image_30012025_23_08_06_9345.jpg', '/home/pi/Desktop/images/30012025/23/08/image_30012025_23_08_17_10453.jpg', '/home/pi/Desktop/images/30012025/23/08/image_30012025_23_08_26_9444.jpg', '/home/pi/Desktop/images/30012025/23/08/image_30012025_23_08_36_10356.jpg', '/home/pi/Desktop/images/30012025/23/08/image_30012025_23_08_47_10408.jpg', '/home/pi/Desktop/images/30012025/23/08/image_30012025_23_08_56_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/07/image_30012025_23_08_06_9345.jpg
/home/pi/Desktop/images/30012025/23/08/image_30012025_23_08_17_10453.jpg
/home/pi/Desktop/images/30012025/23/08/image_30012025_23_08_26_9444.jpg
/home/pi/Desktop/images/30012025/23/08/image_30012025_23_08_36_10356.jpg
/home/pi/Desktop/images/30012025/23/08/image_30012025_23_08_47_10408.jpg
/home/pi/Desktop/images/30012025/23/08/image_30012025_23_08_56_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":["1333122082","1333122109","1333122054","1333122059","1333122107","1333122073"],"photo_ids_order":["1333122054","1333122059","1333122073","1333122082","1333122107","1333122109"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3bb3de3f09cc681a388339aa67c5875e.jpg","text":"TemporaryFile(/tmp/multipartBody3444997102564825557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275033477,"filename":"image_30012025_23_08_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/30/1067ff147cb8a83c5f95ab7eede7bf44.jpg","text":"TemporaryFile(/tmp/multipartBody897158084227527696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275033477,"filename":"image_30012025_23_08_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/30/453b535e8fdf5acf78c3e0e238210546.jpg","text":"TemporaryFile(/tmp/multipartBody1868960646777437160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275033477,"filename":"image_30012025_23_08_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/30/4729f4f675d8cfe63112b2d78d96c2a5.jpg","text":"TemporaryFile(/tmp/multipartBody1909947778665679221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275033477,"filename":"image_30012025_23_08_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/30/1ded11f896965dabcf76e72a798ef924.jpg","text":"TemporaryFile(/tmp/multipartBody8093177165848726071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275033477,"filename":"image_30012025_23_08_47_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/30/2d24124abc30c7261a50059c208e7082.jpg","text":"TemporaryFile(/tmp/multipartBody3332766742771306120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275033477,"filename":"image_30012025_23_08_26_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333122073","file1":"1333122059","file0":"1333122054","file4":"1333122107","file5":"1333122109","file3":"1333122082"},"map_files_photo_id_array":[{"photo_id":"1333122109","filename":"file5"},{"photo_id":"1333122073","filename":"file2"},{"photo_id":"1333122107","filename":"file4"},{"photo_id":"1333122059","filename":"file1"},{"photo_id":"1333122054","filename":"file0"},{"photo_id":"1333122082","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333122082":["hashtag1","hashtag2"]},{"1333122109":["hashtag1","hashtag2"]},{"1333122054":["hashtag1","hashtag2"]},{"1333122059":["hashtag1","hashtag2"]},{"1333122107":["hashtag1","hashtag2"]},{"1333122073":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333122082, 1333122109, 1333122054, 1333122059, 1333122107, 1333122073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.80818223953247 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:10:32.800908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/08/image_30012025_23_09_07_10358.jpg', '/home/pi/Desktop/images/30012025/23/09/image_30012025_23_09_16_9430.jpg', '/home/pi/Desktop/images/30012025/23/09/image_30012025_23_09_26_10335.jpg', '/home/pi/Desktop/images/30012025/23/09/image_30012025_23_09_37_10357.jpg', '/home/pi/Desktop/images/30012025/23/09/image_30012025_23_09_46_9424.jpg', '/home/pi/Desktop/images/30012025/23/09/image_30012025_23_09_57_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/08/image_30012025_23_09_07_10358.jpg
/home/pi/Desktop/images/30012025/23/09/image_30012025_23_09_16_9430.jpg
/home/pi/Desktop/images/30012025/23/09/image_30012025_23_09_26_10335.jpg
/home/pi/Desktop/images/30012025/23/09/image_30012025_23_09_37_10357.jpg
/home/pi/Desktop/images/30012025/23/09/image_30012025_23_09_46_9424.jpg
/home/pi/Desktop/images/30012025/23/09/image_30012025_23_09_57_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":["1333122472","1333122498","1333122505","1333122491","1333122485","1333122503"],"photo_ids_order":["1333122472","1333122485","1333122491","1333122498","1333122503","1333122505"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9aa9071248222c9d67f36e7de9f2f439.jpg","text":"TemporaryFile(/tmp/multipartBody2145572319655803838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275093776,"filename":"image_30012025_23_09_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/30/97a48c65d9b2dcd05602d55aa38f1065.jpg","text":"TemporaryFile(/tmp/multipartBody151488924222144525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275093776,"filename":"image_30012025_23_09_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/30/76a403779a8a97c1aa7301cd1aa26e45.jpg","text":"TemporaryFile(/tmp/multipartBody1127612615297966910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275093776,"filename":"image_30012025_23_09_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/30/e0f0f0869ca90678c91e1982ac6007fb.jpg","text":"TemporaryFile(/tmp/multipartBody8787326606164014378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275093776,"filename":"image_30012025_23_09_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/30/f6c65d53f120296dec78ec4aa04a2d3b.jpg","text":"TemporaryFile(/tmp/multipartBody4693568595657475287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275093776,"filename":"image_30012025_23_09_16_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/30/0f97fc9f84b481aa880b8acbf73bb0fd.jpg","text":"TemporaryFile(/tmp/multipartBody379161851554100302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275093776,"filename":"image_30012025_23_09_46_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333122491","file1":"1333122485","file0":"1333122472","file4":"1333122503","file5":"1333122505","file3":"1333122498"},"map_files_photo_id_array":[{"photo_id":"1333122505","filename":"file5"},{"photo_id":"1333122491","filename":"file2"},{"photo_id":"1333122503","filename":"file4"},{"photo_id":"1333122485","filename":"file1"},{"photo_id":"1333122472","filename":"file0"},{"photo_id":"1333122498","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333122472":["hashtag1","hashtag2"]},{"1333122498":["hashtag1","hashtag2"]},{"1333122505":["hashtag1","hashtag2"]},{"1333122491":["hashtag1","hashtag2"]},{"1333122485":["hashtag1","hashtag2"]},{"1333122503":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333122472, 1333122498, 1333122505, 1333122491, 1333122485, 1333122503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9390664100647 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:11:33.115269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/09/image_30012025_23_10_06_9353.jpg', '/home/pi/Desktop/images/30012025/23/10/image_30012025_23_10_16_10444.jpg', '/home/pi/Desktop/images/30012025/23/10/image_30012025_23_10_27_10357.jpg', '/home/pi/Desktop/images/30012025/23/10/image_30012025_23_10_36_9432.jpg', '/home/pi/Desktop/images/30012025/23/10/image_30012025_23_10_47_10368.jpg', '/home/pi/Desktop/images/30012025/23/10/image_30012025_23_10_56_9387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/09/image_30012025_23_10_06_9353.jpg
/home/pi/Desktop/images/30012025/23/10/image_30012025_23_10_16_10444.jpg
/home/pi/Desktop/images/30012025/23/10/image_30012025_23_10_27_10357.jpg
/home/pi/Desktop/images/30012025/23/10/image_30012025_23_10_36_9432.jpg
/home/pi/Desktop/images/30012025/23/10/image_30012025_23_10_47_10368.jpg
/home/pi/Desktop/images/30012025/23/10/image_30012025_23_10_56_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":["1333122522","1333122546","1333122525","1333122528","1333122542","1333122518"],"photo_ids_order":["1333122518","1333122522","1333122525","1333122528","1333122542","1333122546"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/14c430c4a77dfa5521d82212bec1343c.jpg","text":"TemporaryFile(/tmp/multipartBody1406725906089106694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275154031,"filename":"image_30012025_23_10_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/30/f899a587f4c9cdfbe342f0c65091def3.jpg","text":"TemporaryFile(/tmp/multipartBody6973180441356641545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275154031,"filename":"image_30012025_23_10_56_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/30/e3bb96a4cdcfbe9f6bfd056b0615f6c6.jpg","text":"TemporaryFile(/tmp/multipartBody4246385146232315117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275154031,"filename":"image_30012025_23_10_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/30/9cb6d2b264556a5565700682c146805a.jpg","text":"TemporaryFile(/tmp/multipartBody3023230219419265755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275154031,"filename":"image_30012025_23_10_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/30/f63c7db2776b96468183fed6dff1446c.jpg","text":"TemporaryFile(/tmp/multipartBody459850283365836362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275154031,"filename":"image_30012025_23_10_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/30/e1ad127f49f8ae0e15bedf987296d4a1.jpg","text":"TemporaryFile(/tmp/multipartBody6943619250253865923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275154031,"filename":"image_30012025_23_10_06_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333122525","file1":"1333122522","file0":"1333122518","file4":"1333122542","file5":"1333122546","file3":"1333122528"},"map_files_photo_id_array":[{"photo_id":"1333122546","filename":"file5"},{"photo_id":"1333122525","filename":"file2"},{"photo_id":"1333122542","filename":"file4"},{"photo_id":"1333122522","filename":"file1"},{"photo_id":"1333122518","filename":"file0"},{"photo_id":"1333122528","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333122522":["hashtag1","hashtag2"]},{"1333122546":["hashtag1","hashtag2"]},{"1333122525":["hashtag1","hashtag2"]},{"1333122528":["hashtag1","hashtag2"]},{"1333122542":["hashtag1","hashtag2"]},{"1333122518":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333122522, 1333122546, 1333122525, 1333122528, 1333122542, 1333122518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83640480041504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:12:32.204120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/10/image_30012025_23_11_06_10372.jpg', '/home/pi/Desktop/images/30012025/23/11/image_30012025_23_11_17_10336.jpg', '/home/pi/Desktop/images/30012025/23/11/image_30012025_23_11_26_9420.jpg', '/home/pi/Desktop/images/30012025/23/11/image_30012025_23_11_36_10351.jpg', '/home/pi/Desktop/images/30012025/23/11/image_30012025_23_11_47_10354.jpg', '/home/pi/Desktop/images/30012025/23/11/image_30012025_23_11_56_9454.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/10/image_30012025_23_11_06_10372.jpg
/home/pi/Desktop/images/30012025/23/11/image_30012025_23_11_17_10336.jpg
/home/pi/Desktop/images/30012025/23/11/image_30012025_23_11_26_9420.jpg
/home/pi/Desktop/images/30012025/23/11/image_30012025_23_11_36_10351.jpg
/home/pi/Desktop/images/30012025/23/11/image_30012025_23_11_47_10354.jpg
/home/pi/Desktop/images/30012025/23/11/image_30012025_23_11_56_9454.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5574972629547119 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 23:12:42.178179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/10/image_30012025_23_11_06_10372.jpg', '/home/pi/Desktop/images/30012025/23/11/image_30012025_23_11_17_10336.jpg', '/home/pi/Desktop/images/30012025/23/11/image_30012025_23_11_26_9420.jpg', '/home/pi/Desktop/images/30012025/23/11/image_30012025_23_11_36_10351.jpg', '/home/pi/Desktop/images/30012025/23/11/image_30012025_23_11_47_10354.jpg', '/home/pi/Desktop/images/30012025/23/11/image_30012025_23_11_56_9454.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/10/image_30012025_23_11_06_10372.jpg
/home/pi/Desktop/images/30012025/23/11/image_30012025_23_11_17_10336.jpg
/home/pi/Desktop/images/30012025/23/11/image_30012025_23_11_26_9420.jpg
/home/pi/Desktop/images/30012025/23/11/image_30012025_23_11_36_10351.jpg
/home/pi/Desktop/images/30012025/23/11/image_30012025_23_11_47_10354.jpg
/home/pi/Desktop/images/30012025/23/11/image_30012025_23_11_56_9454.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333122604","1333122690","1333122687","1333122660","1333122599","1333122655"],"photo_ids_order":["1333122599","1333122604","1333122655","1333122660","1333122687","1333122690"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/400ee0fc248580236a275849d1576996.jpg","text":"TemporaryFile(/tmp/multipartBody7257378958286583335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275223091,"filename":"image_30012025_23_11_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/30/869de4b8768fdde379f9d63f5434b0cb.jpg","text":"TemporaryFile(/tmp/multipartBody8016661723376515055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275223091,"filename":"image_30012025_23_11_56_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/30/7bcbf66bb74b505e9ad3344f635526fd.jpg","text":"TemporaryFile(/tmp/multipartBody2098906607347561937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275223091,"filename":"image_30012025_23_11_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/30/0331ec97a42f226cbca5e4f1b23144ac.jpg","text":"TemporaryFile(/tmp/multipartBody5408442505214837729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275223091,"filename":"image_30012025_23_11_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/30/cae5d003f16a5b8090b1098d5f2f7d89.jpg","text":"TemporaryFile(/tmp/multipartBody6129427084427709328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275223091,"filename":"image_30012025_23_11_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/30/203d42bc2534e4b919877dc514d432bc.jpg","text":"TemporaryFile(/tmp/multipartBody4481627527227071093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275223091,"filename":"image_30012025_23_11_26_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333122655","file1":"1333122604","file0":"1333122599","file4":"1333122687","file5":"1333122690","file3":"1333122660"},"map_files_photo_id_array":[{"photo_id":"1333122690","filename":"file5"},{"photo_id":"1333122655","filename":"file2"},{"photo_id":"1333122687","filename":"file4"},{"photo_id":"1333122604","filename":"file1"},{"photo_id":"1333122599","filename":"file0"},{"photo_id":"1333122660","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333122604":["hashtag1","hashtag2"]},{"1333122690":["hashtag1","hashtag2"]},{"1333122687":["hashtag1","hashtag2"]},{"1333122660":["hashtag1","hashtag2"]},{"1333122599":["hashtag1","hashtag2"]},{"1333122655":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333122604, 1333122690, 1333122687, 1333122660, 1333122599, 1333122655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.705222368240356 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:13:32.366887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/11/image_30012025_23_12_07_10365.jpg', '/home/pi/Desktop/images/30012025/23/12/image_30012025_23_12_16_9454.jpg', '/home/pi/Desktop/images/30012025/23/12/image_30012025_23_12_46_9389.jpg', '/home/pi/Desktop/images/30012025/23/12/image_30012025_23_12_56_10350.jpg', '/home/pi/Desktop/images/30012025/23/12/image_30012025_23_13_06_9467.jpg', '/home/pi/Desktop/images/30012025/23/13/image_30012025_23_13_27_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/11/image_30012025_23_12_07_10365.jpg
/home/pi/Desktop/images/30012025/23/12/image_30012025_23_12_16_9454.jpg
/home/pi/Desktop/images/30012025/23/12/image_30012025_23_12_46_9389.jpg
/home/pi/Desktop/images/30012025/23/12/image_30012025_23_12_56_10350.jpg
/home/pi/Desktop/images/30012025/23/12/image_30012025_23_13_06_9467.jpg
/home/pi/Desktop/images/30012025/23/13/image_30012025_23_13_27_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":["1333122828","1333122807","1333122698","1333122866","1333122824","1333122719"],"photo_ids_order":["1333122698","1333122719","1333122807","1333122824","1333122828","1333122866"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/4beb157e4e77461e7bbf31d9500701ba.jpg","text":"TemporaryFile(/tmp/multipartBody7535835556753058686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275273291,"filename":"image_30012025_23_13_06_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/30/9b7d4619c3a634bf698c8f6ed71d0277.jpg","text":"TemporaryFile(/tmp/multipartBody376314230409011582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275273291,"filename":"image_30012025_23_12_46_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/30/bddd925a0dc919fa72747abda138ec5b.jpg","text":"TemporaryFile(/tmp/multipartBody8397113310953080431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275273291,"filename":"image_30012025_23_12_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/30/8f25198ad4a0ddfada1c63f016a2e503.jpg","text":"TemporaryFile(/tmp/multipartBody588357519698920242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275273291,"filename":"image_30012025_23_13_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/30/0284d655aca481a645ae2589afb59be2.jpg","text":"TemporaryFile(/tmp/multipartBody4530989171224429208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275273291,"filename":"image_30012025_23_12_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/30/a3ff07ea31927531b58fb7886c1d580d.jpg","text":"TemporaryFile(/tmp/multipartBody1472843413856250837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275273291,"filename":"image_30012025_23_12_16_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333122807","file1":"1333122719","file0":"1333122698","file4":"1333122828","file5":"1333122866","file3":"1333122824"},"map_files_photo_id_array":[{"photo_id":"1333122866","filename":"file5"},{"photo_id":"1333122807","filename":"file2"},{"photo_id":"1333122828","filename":"file4"},{"photo_id":"1333122719","filename":"file1"},{"photo_id":"1333122698","filename":"file0"},{"photo_id":"1333122824","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333122828":["hashtag1","hashtag2"]},{"1333122807":["hashtag1","hashtag2"]},{"1333122698":["hashtag1","hashtag2"]},{"1333122866":["hashtag1","hashtag2"]},{"1333122824":["hashtag1","hashtag2"]},{"1333122719":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333122828, 1333122807, 1333122698, 1333122866, 1333122824, 1333122719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.43348455429077 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:14:32.687930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/13/image_30012025_23_13_36_9441.jpg', '/home/pi/Desktop/images/30012025/23/13/image_30012025_23_13_46_10353.jpg', '/home/pi/Desktop/images/30012025/23/13/image_30012025_23_13_57_10400.jpg', '/home/pi/Desktop/images/30012025/23/13/image_30012025_23_14_06_9348.jpg', '/home/pi/Desktop/images/30012025/23/14/image_30012025_23_14_17_10334.jpg', '/home/pi/Desktop/images/30012025/23/14/image_30012025_23_14_26_9458.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/13/image_30012025_23_13_36_9441.jpg
/home/pi/Desktop/images/30012025/23/13/image_30012025_23_13_46_10353.jpg
/home/pi/Desktop/images/30012025/23/13/image_30012025_23_13_57_10400.jpg
/home/pi/Desktop/images/30012025/23/13/image_30012025_23_14_06_9348.jpg
/home/pi/Desktop/images/30012025/23/14/image_30012025_23_14_17_10334.jpg
/home/pi/Desktop/images/30012025/23/14/image_30012025_23_14_26_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":["1333122949","1333122940","1333122928","1333122943","1333122935","1333122946"],"photo_ids_order":["1333122928","1333122935","1333122940","1333122943","1333122946","1333122949"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/479a4775a77cab2001c4632d52636b14.jpg","text":"TemporaryFile(/tmp/multipartBody2836865058172400255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275333591,"filename":"image_30012025_23_14_26_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/65501c3e07d093d9a7ea3789f4e856b8.jpg","text":"TemporaryFile(/tmp/multipartBody2411045062311222624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275333591,"filename":"image_30012025_23_13_57_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/30/0b8051eefcdf02d41185382d6b49b716.jpg","text":"TemporaryFile(/tmp/multipartBody1655467098372070552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275333591,"filename":"image_30012025_23_13_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/30/9412cc6d7d5f1a5a0a050c1420ebdbb1.jpg","text":"TemporaryFile(/tmp/multipartBody3032066037028056990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275333591,"filename":"image_30012025_23_14_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/30/4d4af741f1a1d507cb55701272b5500f.jpg","text":"TemporaryFile(/tmp/multipartBody1038206258830839476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275333591,"filename":"image_30012025_23_13_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/30/efcd5c8461ef102afd428991e1dd0b10.jpg","text":"TemporaryFile(/tmp/multipartBody1410448449585770133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275333591,"filename":"image_30012025_23_14_17_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333122940","file1":"1333122935","file0":"1333122928","file4":"1333122946","file5":"1333122949","file3":"1333122943"},"map_files_photo_id_array":[{"photo_id":"1333122949","filename":"file5"},{"photo_id":"1333122940","filename":"file2"},{"photo_id":"1333122946","filename":"file4"},{"photo_id":"1333122935","filename":"file1"},{"photo_id":"1333122928","filename":"file0"},{"photo_id":"1333122943","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333122949":["hashtag1","hashtag2"]},{"1333122940":["hashtag1","hashtag2"]},{"1333122928":["hashtag1","hashtag2"]},{"1333122943":["hashtag1","hashtag2"]},{"1333122935":["hashtag1","hashtag2"]},{"1333122946":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333122949, 1333122940, 1333122928, 1333122943, 1333122935, 1333122946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74928617477417 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:15:32.822257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/14/image_30012025_23_14_36_10356.jpg', '/home/pi/Desktop/images/30012025/23/14/image_30012025_23_14_47_10345.jpg', '/home/pi/Desktop/images/30012025/23/14/image_30012025_23_14_56_9349.jpg', '/home/pi/Desktop/images/30012025/23/14/image_30012025_23_15_06_10361.jpg', '/home/pi/Desktop/images/30012025/23/15/image_30012025_23_15_26_9434.jpg', '/home/pi/Desktop/images/30012025/23/15/image_30012025_23_15_37_10405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/14/image_30012025_23_14_36_10356.jpg
/home/pi/Desktop/images/30012025/23/14/image_30012025_23_14_47_10345.jpg
/home/pi/Desktop/images/30012025/23/14/image_30012025_23_14_56_9349.jpg
/home/pi/Desktop/images/30012025/23/14/image_30012025_23_15_06_10361.jpg
/home/pi/Desktop/images/30012025/23/15/image_30012025_23_15_26_9434.jpg
/home/pi/Desktop/images/30012025/23/15/image_30012025_23_15_37_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":["1333122978","1333122974","1333122983","1333122965","1333122985","1333122970"],"photo_ids_order":["1333122965","1333122970","1333122974","1333122978","1333122983","1333122985"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/bc6361f418d2b26b8420191b4327fa0a.jpg","text":"TemporaryFile(/tmp/multipartBody234532633596714622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275393759,"filename":"image_30012025_23_15_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/30/4e7e1221e01a5be4199e80eaa2975635.jpg","text":"TemporaryFile(/tmp/multipartBody3782122953636114859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275393759,"filename":"image_30012025_23_14_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/30/f386f2b1d67c43716988c5d35e91f76c.jpg","text":"TemporaryFile(/tmp/multipartBody2894821433557686120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275393759,"filename":"image_30012025_23_15_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/30/da04f639eaa3906e62adbe2074e8ca38.jpg","text":"TemporaryFile(/tmp/multipartBody2657001911810624999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275393759,"filename":"image_30012025_23_14_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/30/4807a40ce68b7b568b4fe715e4e27d68.jpg","text":"TemporaryFile(/tmp/multipartBody5295066624591512274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275393759,"filename":"image_30012025_23_15_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/30/97735fe55fa5bfe4da146e8e2151617f.jpg","text":"TemporaryFile(/tmp/multipartBody8029364265361260997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275393759,"filename":"image_30012025_23_14_47_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333122974","file1":"1333122970","file0":"1333122965","file4":"1333122983","file5":"1333122985","file3":"1333122978"},"map_files_photo_id_array":[{"photo_id":"1333122985","filename":"file5"},{"photo_id":"1333122974","filename":"file2"},{"photo_id":"1333122983","filename":"file4"},{"photo_id":"1333122970","filename":"file1"},{"photo_id":"1333122965","filename":"file0"},{"photo_id":"1333122978","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333122978":["hashtag1","hashtag2"]},{"1333122974":["hashtag1","hashtag2"]},{"1333122983":["hashtag1","hashtag2"]},{"1333122965":["hashtag1","hashtag2"]},{"1333122985":["hashtag1","hashtag2"]},{"1333122970":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333122978, 1333122974, 1333122983, 1333122965, 1333122985, 1333122970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.2963650226593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:16:33.071717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/15/image_30012025_23_15_46_9420.jpg', '/home/pi/Desktop/images/30012025/23/16/image_30012025_23_16_16_9426.jpg', '/home/pi/Desktop/images/30012025/23/16/image_30012025_23_16_26_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/15/image_30012025_23_15_46_9420.jpg
/home/pi/Desktop/images/30012025/23/16/image_30012025_23_16_16_9426.jpg
/home/pi/Desktop/images/30012025/23/16/image_30012025_23_16_26_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":["1333123003","1333123008","1333123013"],"photo_ids_order":["1333123003","1333123008","1333123013"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e3a96629c3fe5fc56907b9ca5a3afc8c.jpg","text":"TemporaryFile(/tmp/multipartBody8473875751966402530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275453935,"filename":"image_30012025_23_15_46_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/30/ac2a9f5e93470b26bd5632ef3ea58cb6.jpg","text":"TemporaryFile(/tmp/multipartBody417925333389660538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275453935,"filename":"image_30012025_23_16_16_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/30/a84cb3cd920439623e0ebaea7c43e425.jpg","text":"TemporaryFile(/tmp/multipartBody5097813558361894694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275453935,"filename":"image_30012025_23_16_26_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333123013","file1":"1333123008","file0":"1333123003"},"map_files_photo_id_array":[{"photo_id":"1333123013","filename":"file2"},{"photo_id":"1333123008","filename":"file1"},{"photo_id":"1333123003","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333123003":["hashtag1","hashtag2"]},{"1333123008":["hashtag1","hashtag2"]},{"1333123013":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333123003, 1333123008, 1333123013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.91118550300598 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 23:17:03.868470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/44/image_28012025_21_44_25_9377.jpg', '/home/pi/Desktop/images/28012025/21/44/image_28012025_21_44_45_10420.jpg', '/home/pi/Desktop/images/28012025/21/44/image_28012025_21_44_55_9349.jpg', '/home/pi/Desktop/images/28012025/21/45/image_28012025_21_45_25_9424.jpg', '/home/pi/Desktop/images/28012025/21/45/image_28012025_21_45_35_10374.jpg', '/home/pi/Desktop/images/28012025/21/45/image_28012025_21_45_45_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/44/image_28012025_21_44_25_9377.jpg
/home/pi/Desktop/images/28012025/21/44/image_28012025_21_44_45_10420.jpg
/home/pi/Desktop/images/28012025/21/44/image_28012025_21_44_55_9349.jpg
/home/pi/Desktop/images/28012025/21/45/image_28012025_21_45_25_9424.jpg
/home/pi/Desktop/images/28012025/21/45/image_28012025_21_45_35_10374.jpg
/home/pi/Desktop/images/28012025/21/45/image_28012025_21_45_45_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":["1333123755","1333123748","1333123751","1333123745","1333123732","1333123726"],"photo_ids_order":["1333123726","1333123732","1333123745","1333123748","1333123751","1333123755"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/41c504b713a2cf988e51799ab2832bc3.jpg","text":"TemporaryFile(/tmp/multipartBody8122057687238867161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275485733,"filename":"image_28012025_21_45_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/30/8296eac3d8eadf0f19ef975f3bd566d2.jpg","text":"TemporaryFile(/tmp/multipartBody6743469161195412909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275485733,"filename":"image_28012025_21_45_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/30/05219588f53b0501f4b978b5a587d0ef.jpg","text":"TemporaryFile(/tmp/multipartBody4894579020283143799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275485733,"filename":"image_28012025_21_45_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/30/de181cb925d5f9f9efe29c0839e3f620.jpg","text":"TemporaryFile(/tmp/multipartBody8912902656051599329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275485733,"filename":"image_28012025_21_44_55_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b77342d5f631273f5e8d0d1874714b07.jpg","text":"TemporaryFile(/tmp/multipartBody4726875488718064633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275485733,"filename":"image_28012025_21_44_45_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3aad4d4870877da6294c44bebd237a10.jpg","text":"TemporaryFile(/tmp/multipartBody8313625742449712490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275485733,"filename":"image_28012025_21_44_25_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333123745","file1":"1333123732","file0":"1333123726","file4":"1333123751","file5":"1333123755","file3":"1333123748"},"map_files_photo_id_array":[{"photo_id":"1333123755","filename":"file5"},{"photo_id":"1333123745","filename":"file2"},{"photo_id":"1333123751","filename":"file4"},{"photo_id":"1333123732","filename":"file1"},{"photo_id":"1333123726","filename":"file0"},{"photo_id":"1333123748","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333123755":["hashtag1","hashtag2"]},{"1333123748":["hashtag1","hashtag2"]},{"1333123751":["hashtag1","hashtag2"]},{"1333123745":["hashtag1","hashtag2"]},{"1333123732":["hashtag1","hashtag2"]},{"1333123726":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333123755, 1333123748, 1333123751, 1333123745, 1333123732, 1333123726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9948194026947 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:17:52.398281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/16/image_30012025_23_16_36_9514.jpg', '/home/pi/Desktop/images/30012025/23/17/image_30012025_23_17_27_10403.jpg', '/home/pi/Desktop/images/30012025/23/17/image_30012025_23_17_36_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/16/image_30012025_23_16_36_9514.jpg
/home/pi/Desktop/images/30012025/23/17/image_30012025_23_17_27_10403.jpg
/home/pi/Desktop/images/30012025/23/17/image_30012025_23_17_36_9339.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333124084","1333124057","1333124054"],"photo_ids_order":["1333124054","1333124057","1333124084"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/954e90f519cce5b37dde40fc416a99ed.jpg","text":"TemporaryFile(/tmp/multipartBody3790244475301007205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275533268,"filename":"image_30012025_23_17_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/30/4640cc44176a4cbf94bde86080f33f76.jpg","text":"TemporaryFile(/tmp/multipartBody3729730100911078609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275533268,"filename":"image_30012025_23_17_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/30/ac6fccd0857d5beff889cd4c9d73f374.jpg","text":"TemporaryFile(/tmp/multipartBody3313856672089282308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275533268,"filename":"image_30012025_23_16_36_9514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333124084","file1":"1333124057","file0":"1333124054"},"map_files_photo_id_array":[{"photo_id":"1333124084","filename":"file2"},{"photo_id":"1333124057","filename":"file1"},{"photo_id":"1333124054","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333124084":["hashtag1","hashtag2"]},{"1333124057":["hashtag1","hashtag2"]},{"1333124054":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333124084, 1333124057, 1333124054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.141637325286865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:18:32.636924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/17/image_30012025_23_17_47_10364.jpg', '/home/pi/Desktop/images/30012025/23/17/image_30012025_23_18_06_10353.jpg', '/home/pi/Desktop/images/30012025/23/18/image_30012025_23_18_17_10346.jpg', '/home/pi/Desktop/images/30012025/23/18/image_30012025_23_18_36_10363.jpg', '/home/pi/Desktop/images/30012025/23/18/image_30012025_23_18_47_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/17/image_30012025_23_17_47_10364.jpg
/home/pi/Desktop/images/30012025/23/17/image_30012025_23_18_06_10353.jpg
/home/pi/Desktop/images/30012025/23/18/image_30012025_23_18_17_10346.jpg
/home/pi/Desktop/images/30012025/23/18/image_30012025_23_18_36_10363.jpg
/home/pi/Desktop/images/30012025/23/18/image_30012025_23_18_47_10415.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.514047384262085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 23:18:42.568794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/17/image_30012025_23_17_47_10364.jpg', '/home/pi/Desktop/images/30012025/23/17/image_30012025_23_18_06_10353.jpg', '/home/pi/Desktop/images/30012025/23/18/image_30012025_23_18_17_10346.jpg', '/home/pi/Desktop/images/30012025/23/18/image_30012025_23_18_36_10363.jpg', '/home/pi/Desktop/images/30012025/23/18/image_30012025_23_18_47_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/17/image_30012025_23_17_47_10364.jpg
/home/pi/Desktop/images/30012025/23/17/image_30012025_23_18_06_10353.jpg
/home/pi/Desktop/images/30012025/23/18/image_30012025_23_18_17_10346.jpg
/home/pi/Desktop/images/30012025/23/18/image_30012025_23_18_36_10363.jpg
/home/pi/Desktop/images/30012025/23/18/image_30012025_23_18_47_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":["1333124133","1333124139","1333124219","1333124146","1333124151"],"photo_ids_order":["1333124133","1333124139","1333124146","1333124151","1333124219"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e568b2d2bd91315112b9e1fa632b3622.jpg","text":"TemporaryFile(/tmp/multipartBody8138622041047824119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275583477,"filename":"image_30012025_23_17_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/30/e42f9c331b8c073e58f5d9ba1d15d19c.jpg","text":"TemporaryFile(/tmp/multipartBody250703759728194073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275583477,"filename":"image_30012025_23_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/30/490382f9556e91b852aeac63d10a1a15.jpg","text":"TemporaryFile(/tmp/multipartBody8445043603251388079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275583477,"filename":"image_30012025_23_18_47_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/30/3747802b8df23da7218439ca8f4468c2.jpg","text":"TemporaryFile(/tmp/multipartBody7934099710506313300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275583477,"filename":"image_30012025_23_18_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/30/9a3cec0cec7633ad5acca65267228f9f.jpg","text":"TemporaryFile(/tmp/multipartBody1660402766929826497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275583477,"filename":"image_30012025_23_18_36_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333124146","file1":"1333124139","file0":"1333124133","file4":"1333124219","file3":"1333124151"},"map_files_photo_id_array":[{"photo_id":"1333124146","filename":"file2"},{"photo_id":"1333124219","filename":"file4"},{"photo_id":"1333124139","filename":"file1"},{"photo_id":"1333124133","filename":"file0"},{"photo_id":"1333124151","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333124133":["hashtag1","hashtag2"]},{"1333124139":["hashtag1","hashtag2"]},{"1333124219":["hashtag1","hashtag2"]},{"1333124146":["hashtag1","hashtag2"]},{"1333124151":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333124133, 1333124139, 1333124219, 1333124146, 1333124151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.21094250679016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:19:32.987233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/18/image_30012025_23_18_56_9327.jpg', '/home/pi/Desktop/images/30012025/23/19/image_30012025_23_19_16_9427.jpg', '/home/pi/Desktop/images/30012025/23/19/image_30012025_23_19_26_10357.jpg', '/home/pi/Desktop/images/30012025/23/19/image_30012025_23_19_37_10365.jpg', '/home/pi/Desktop/images/30012025/23/19/image_30012025_23_19_46_9445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/18/image_30012025_23_18_56_9327.jpg
/home/pi/Desktop/images/30012025/23/19/image_30012025_23_19_16_9427.jpg
/home/pi/Desktop/images/30012025/23/19/image_30012025_23_19_26_10357.jpg
/home/pi/Desktop/images/30012025/23/19/image_30012025_23_19_37_10365.jpg
/home/pi/Desktop/images/30012025/23/19/image_30012025_23_19_46_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":["1333124253","1333124247","1333124267","1333124263","1333124257"],"photo_ids_order":["1333124247","1333124253","1333124257","1333124263","1333124267"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f62779f18ca50181013ccaa20f086785.jpg","text":"TemporaryFile(/tmp/multipartBody3437256206444629628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275633881,"filename":"image_30012025_23_19_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/30/49a9300f1cb6588a92c26b64ca372334.jpg","text":"TemporaryFile(/tmp/multipartBody600917523600851827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275633881,"filename":"image_30012025_23_18_56_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/30/d1f6b2177fa459de80edcd8a495fc7ab.jpg","text":"TemporaryFile(/tmp/multipartBody2326398945737190656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275633881,"filename":"image_30012025_23_19_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/30/f1dfa08c242fe453310c753d72c0dc9a.jpg","text":"TemporaryFile(/tmp/multipartBody871440418227199828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275633881,"filename":"image_30012025_23_19_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/30/b70414377a4fbadc89db909e32c59fbd.jpg","text":"TemporaryFile(/tmp/multipartBody1900725140635689635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275633881,"filename":"image_30012025_23_19_26_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333124257","file1":"1333124253","file0":"1333124247","file4":"1333124267","file3":"1333124263"},"map_files_photo_id_array":[{"photo_id":"1333124257","filename":"file2"},{"photo_id":"1333124267","filename":"file4"},{"photo_id":"1333124253","filename":"file1"},{"photo_id":"1333124247","filename":"file0"},{"photo_id":"1333124263","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333124253":["hashtag1","hashtag2"]},{"1333124247":["hashtag1","hashtag2"]},{"1333124267":["hashtag1","hashtag2"]},{"1333124263":["hashtag1","hashtag2"]},{"1333124257":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333124253, 1333124247, 1333124267, 1333124263, 1333124257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.43476390838623 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:20:33.067790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/19/image_30012025_23_19_56_10356.jpg', '/home/pi/Desktop/images/30012025/23/19/image_30012025_23_20_07_10402.jpg', '/home/pi/Desktop/images/30012025/23/20/image_30012025_23_20_16_9381.jpg', '/home/pi/Desktop/images/30012025/23/20/image_30012025_23_20_27_10359.jpg', '/home/pi/Desktop/images/30012025/23/20/image_30012025_23_20_36_9345.jpg', '/home/pi/Desktop/images/30012025/23/20/image_30012025_23_20_46_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/19/image_30012025_23_19_56_10356.jpg
/home/pi/Desktop/images/30012025/23/19/image_30012025_23_20_07_10402.jpg
/home/pi/Desktop/images/30012025/23/20/image_30012025_23_20_16_9381.jpg
/home/pi/Desktop/images/30012025/23/20/image_30012025_23_20_27_10359.jpg
/home/pi/Desktop/images/30012025/23/20/image_30012025_23_20_36_9345.jpg
/home/pi/Desktop/images/30012025/23/20/image_30012025_23_20_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":["1333124307","1333124302","1333124311","1333124314","1333124298","1333124292"],"photo_ids_order":["1333124292","1333124298","1333124302","1333124307","1333124311","1333124314"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a31f319f10698a3c129dd9bf68e9b4b4.jpg","text":"TemporaryFile(/tmp/multipartBody6653815041367080596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275693977,"filename":"image_30012025_23_20_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/30/9f0baead10ec9831198bc12a7dc02c8c.jpg","text":"TemporaryFile(/tmp/multipartBody2709173212854049317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275693977,"filename":"image_30012025_23_20_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/30/569e71fe3530a07d4fc8d7103f03c587.jpg","text":"TemporaryFile(/tmp/multipartBody726199623505192973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275693977,"filename":"image_30012025_23_20_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/30/786b3fdd9d685500335f760e82bbbdba.jpg","text":"TemporaryFile(/tmp/multipartBody6477147799542001059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275693977,"filename":"image_30012025_23_20_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/30/0376f865dd1562da44895bf7790584fb.jpg","text":"TemporaryFile(/tmp/multipartBody6390319766705972894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275693977,"filename":"image_30012025_23_20_07_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/30/ad7813124e3350c4cad90eb264c5a893.jpg","text":"TemporaryFile(/tmp/multipartBody1361906463858704740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275693977,"filename":"image_30012025_23_19_56_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333124302","file1":"1333124298","file0":"1333124292","file4":"1333124311","file5":"1333124314","file3":"1333124307"},"map_files_photo_id_array":[{"photo_id":"1333124314","filename":"file5"},{"photo_id":"1333124302","filename":"file2"},{"photo_id":"1333124311","filename":"file4"},{"photo_id":"1333124298","filename":"file1"},{"photo_id":"1333124292","filename":"file0"},{"photo_id":"1333124307","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333124307":["hashtag1","hashtag2"]},{"1333124302":["hashtag1","hashtag2"]},{"1333124311":["hashtag1","hashtag2"]},{"1333124314":["hashtag1","hashtag2"]},{"1333124298":["hashtag1","hashtag2"]},{"1333124292":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333124307, 1333124302, 1333124311, 1333124314, 1333124298, 1333124292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.97458291053772 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:21:32.295222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/20/image_30012025_23_20_57_10349.jpg', '/home/pi/Desktop/images/30012025/23/20/image_30012025_23_21_06_9428.jpg', '/home/pi/Desktop/images/30012025/23/21/image_30012025_23_21_16_10351.jpg', '/home/pi/Desktop/images/30012025/23/21/image_30012025_23_21_27_10442.jpg', '/home/pi/Desktop/images/30012025/23/21/image_30012025_23_21_36_9347.jpg', '/home/pi/Desktop/images/30012025/23/21/image_30012025_23_21_47_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/20/image_30012025_23_20_57_10349.jpg
/home/pi/Desktop/images/30012025/23/20/image_30012025_23_21_06_9428.jpg
/home/pi/Desktop/images/30012025/23/21/image_30012025_23_21_16_10351.jpg
/home/pi/Desktop/images/30012025/23/21/image_30012025_23_21_27_10442.jpg
/home/pi/Desktop/images/30012025/23/21/image_30012025_23_21_36_9347.jpg
/home/pi/Desktop/images/30012025/23/21/image_30012025_23_21_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":["1333124340","1333124334","1333124328","1333124337","1333124348","1333124344"],"photo_ids_order":["1333124328","1333124334","1333124337","1333124340","1333124344","1333124348"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8f08744bf699bd6fa03f7540962e7839.jpg","text":"TemporaryFile(/tmp/multipartBody6012918002558742954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275753221,"filename":"image_30012025_23_21_27_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/10ced4d933e60beedb325fd075eb3775.jpg","text":"TemporaryFile(/tmp/multipartBody837012937145522222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275753221,"filename":"image_30012025_23_21_06_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/30/95ff208b82fd68327289c4673960c335.jpg","text":"TemporaryFile(/tmp/multipartBody3462049485096421382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275753221,"filename":"image_30012025_23_20_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/30/ee92f78ed5f7f9bc96ae3da9d07a7547.jpg","text":"TemporaryFile(/tmp/multipartBody2819439459005303172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275753221,"filename":"image_30012025_23_21_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/30/a4b7f010d6b5effad0f53bda1f5bef8f.jpg","text":"TemporaryFile(/tmp/multipartBody5794227999029085986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275753221,"filename":"image_30012025_23_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/30/d998d471858e0771ca0faea09bbf516a.jpg","text":"TemporaryFile(/tmp/multipartBody543830522899230972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275753221,"filename":"image_30012025_23_21_36_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333124337","file1":"1333124334","file0":"1333124328","file4":"1333124344","file5":"1333124348","file3":"1333124340"},"map_files_photo_id_array":[{"photo_id":"1333124348","filename":"file5"},{"photo_id":"1333124337","filename":"file2"},{"photo_id":"1333124344","filename":"file4"},{"photo_id":"1333124334","filename":"file1"},{"photo_id":"1333124328","filename":"file0"},{"photo_id":"1333124340","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333124340":["hashtag1","hashtag2"]},{"1333124334":["hashtag1","hashtag2"]},{"1333124328":["hashtag1","hashtag2"]},{"1333124337":["hashtag1","hashtag2"]},{"1333124348":["hashtag1","hashtag2"]},{"1333124344":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333124340, 1333124334, 1333124328, 1333124337, 1333124348, 1333124344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.66051387786865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:22:32.459098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/21/image_30012025_23_21_56_9348.jpg', '/home/pi/Desktop/images/30012025/23/21/image_30012025_23_22_06_10389.jpg', '/home/pi/Desktop/images/30012025/23/22/image_30012025_23_22_17_10332.jpg', '/home/pi/Desktop/images/30012025/23/22/image_30012025_23_22_26_9363.jpg', '/home/pi/Desktop/images/30012025/23/22/image_30012025_23_22_36_10353.jpg', '/home/pi/Desktop/images/30012025/23/22/image_30012025_23_22_47_10378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/21/image_30012025_23_21_56_9348.jpg
/home/pi/Desktop/images/30012025/23/21/image_30012025_23_22_06_10389.jpg
/home/pi/Desktop/images/30012025/23/22/image_30012025_23_22_17_10332.jpg
/home/pi/Desktop/images/30012025/23/22/image_30012025_23_22_26_9363.jpg
/home/pi/Desktop/images/30012025/23/22/image_30012025_23_22_36_10353.jpg
/home/pi/Desktop/images/30012025/23/22/image_30012025_23_22_47_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":["1333124438","1333124432","1333124491","1333124428","1333124443","1333124425"],"photo_ids_order":["1333124425","1333124428","1333124432","1333124438","1333124443","1333124491"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/db5c3f56ad5d63e4ad97228bc9007791.jpg","text":"TemporaryFile(/tmp/multipartBody5192740745605706361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275813378,"filename":"image_30012025_23_22_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/30/621ac4b814fb4f30d480bd8ccdc85b0f.jpg","text":"TemporaryFile(/tmp/multipartBody1169723520099270847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275813378,"filename":"image_30012025_23_22_17_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2db9b2d895d17f6739554544cec4cb2a.jpg","text":"TemporaryFile(/tmp/multipartBody4877681280447579239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275813378,"filename":"image_30012025_23_22_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/30/e7213560cb0f27fe879b044facb75a51.jpg","text":"TemporaryFile(/tmp/multipartBody6182554105436491400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275813378,"filename":"image_30012025_23_22_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/30/ad85ce878c9c4276b605730cb9de163d.jpg","text":"TemporaryFile(/tmp/multipartBody829047215526584518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275813378,"filename":"image_30012025_23_22_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/30/333b409122e82bf69cca32ed4684fd10.jpg","text":"TemporaryFile(/tmp/multipartBody5431906597293201763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275813378,"filename":"image_30012025_23_21_56_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333124432","file1":"1333124428","file0":"1333124425","file4":"1333124443","file5":"1333124491","file3":"1333124438"},"map_files_photo_id_array":[{"photo_id":"1333124491","filename":"file5"},{"photo_id":"1333124432","filename":"file2"},{"photo_id":"1333124443","filename":"file4"},{"photo_id":"1333124428","filename":"file1"},{"photo_id":"1333124425","filename":"file0"},{"photo_id":"1333124438","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333124438":["hashtag1","hashtag2"]},{"1333124432":["hashtag1","hashtag2"]},{"1333124491":["hashtag1","hashtag2"]},{"1333124428":["hashtag1","hashtag2"]},{"1333124443":["hashtag1","hashtag2"]},{"1333124425":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333124438, 1333124432, 1333124491, 1333124428, 1333124443, 1333124425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.953214168548584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:23:32.628200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/22/image_30012025_23_22_56_9458.jpg', '/home/pi/Desktop/images/30012025/23/22/image_30012025_23_23_07_10354.jpg', '/home/pi/Desktop/images/30012025/23/23/image_30012025_23_23_16_9358.jpg', '/home/pi/Desktop/images/30012025/23/23/image_30012025_23_23_26_10354.jpg', '/home/pi/Desktop/images/30012025/23/23/image_30012025_23_23_37_10389.jpg', '/home/pi/Desktop/images/30012025/23/23/image_30012025_23_23_46_9450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/22/image_30012025_23_22_56_9458.jpg
/home/pi/Desktop/images/30012025/23/22/image_30012025_23_23_07_10354.jpg
/home/pi/Desktop/images/30012025/23/23/image_30012025_23_23_16_9358.jpg
/home/pi/Desktop/images/30012025/23/23/image_30012025_23_23_26_10354.jpg
/home/pi/Desktop/images/30012025/23/23/image_30012025_23_23_37_10389.jpg
/home/pi/Desktop/images/30012025/23/23/image_30012025_23_23_46_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":["1333124646","1333124651","1333124573","1333124567","1333124609","1333124611"],"photo_ids_order":["1333124567","1333124573","1333124609","1333124611","1333124646","1333124651"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/171f39f170967f166135e8d84c5715ce.jpg","text":"TemporaryFile(/tmp/multipartBody6395167075085009200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275873542,"filename":"image_30012025_23_23_37_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d7cfc074fefb3fdb6dae02ec1bc801d2.jpg","text":"TemporaryFile(/tmp/multipartBody121480112429582662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275873542,"filename":"image_30012025_23_23_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/30/a2e265b289286cdf901812d8ff1c9190.jpg","text":"TemporaryFile(/tmp/multipartBody4289512476708296187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275873542,"filename":"image_30012025_23_23_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/30/8bf0905e531e7068cac837769e1b85dc.jpg","text":"TemporaryFile(/tmp/multipartBody211017117991013104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275873542,"filename":"image_30012025_23_22_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/30/17b91337c62dd1d380bf289dad5788e2.jpg","text":"TemporaryFile(/tmp/multipartBody3479000563715907707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275873542,"filename":"image_30012025_23_23_16_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/30/1244d1187c8f99371bf09c1b1d362098.jpg","text":"TemporaryFile(/tmp/multipartBody7051184992464514431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275873542,"filename":"image_30012025_23_23_26_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333124609","file1":"1333124573","file0":"1333124567","file4":"1333124646","file5":"1333124651","file3":"1333124611"},"map_files_photo_id_array":[{"photo_id":"1333124651","filename":"file5"},{"photo_id":"1333124609","filename":"file2"},{"photo_id":"1333124646","filename":"file4"},{"photo_id":"1333124573","filename":"file1"},{"photo_id":"1333124567","filename":"file0"},{"photo_id":"1333124611","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333124646":["hashtag1","hashtag2"]},{"1333124651":["hashtag1","hashtag2"]},{"1333124573":["hashtag1","hashtag2"]},{"1333124567":["hashtag1","hashtag2"]},{"1333124609":["hashtag1","hashtag2"]},{"1333124611":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333124646, 1333124651, 1333124573, 1333124567, 1333124609, 1333124611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.68332815170288 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:24:32.933771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/23/image_30012025_23_23_56_10342.jpg', '/home/pi/Desktop/images/30012025/23/23/image_30012025_23_24_06_9475.jpg', '/home/pi/Desktop/images/30012025/23/24/image_30012025_23_24_16_10343.jpg', '/home/pi/Desktop/images/30012025/23/24/image_30012025_23_24_27_10348.jpg', '/home/pi/Desktop/images/30012025/23/24/image_30012025_23_24_36_9420.jpg', '/home/pi/Desktop/images/30012025/23/24/image_30012025_23_24_46_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/23/image_30012025_23_23_56_10342.jpg
/home/pi/Desktop/images/30012025/23/23/image_30012025_23_24_06_9475.jpg
/home/pi/Desktop/images/30012025/23/24/image_30012025_23_24_16_10343.jpg
/home/pi/Desktop/images/30012025/23/24/image_30012025_23_24_27_10348.jpg
/home/pi/Desktop/images/30012025/23/24/image_30012025_23_24_36_9420.jpg
/home/pi/Desktop/images/30012025/23/24/image_30012025_23_24_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":["1333124736","1333124795","1333124792","1333124782","1333124740","1333124787"],"photo_ids_order":["1333124736","1333124740","1333124782","1333124787","1333124792","1333124795"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/92c13d6cc582dbc1b24635400b7aa9df.jpg","text":"TemporaryFile(/tmp/multipartBody7471172454272998866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275933850,"filename":"image_30012025_23_23_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/30/be4a5df84064444d77c86d7d3a671506.jpg","text":"TemporaryFile(/tmp/multipartBody324214447789821983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275933850,"filename":"image_30012025_23_24_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/30/c6584f3d902fd19580b7c3bb59304d10.jpg","text":"TemporaryFile(/tmp/multipartBody3482868590860291715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275933850,"filename":"image_30012025_23_24_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/30/f933cf7d438ba45da093b2de588306e7.jpg","text":"TemporaryFile(/tmp/multipartBody7933300300708789915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275933850,"filename":"image_30012025_23_24_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/30/4015de0a68487d5d57aa8dabedb6952f.jpg","text":"TemporaryFile(/tmp/multipartBody5630251273071125560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275933850,"filename":"image_30012025_23_24_06_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/30/e35b7256d19be2a9a4d8616c295e2310.jpg","text":"TemporaryFile(/tmp/multipartBody4457588821206493267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275933850,"filename":"image_30012025_23_24_27_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333124782","file1":"1333124740","file0":"1333124736","file4":"1333124792","file5":"1333124795","file3":"1333124787"},"map_files_photo_id_array":[{"photo_id":"1333124795","filename":"file5"},{"photo_id":"1333124782","filename":"file2"},{"photo_id":"1333124792","filename":"file4"},{"photo_id":"1333124740","filename":"file1"},{"photo_id":"1333124736","filename":"file0"},{"photo_id":"1333124787","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333124736":["hashtag1","hashtag2"]},{"1333124795":["hashtag1","hashtag2"]},{"1333124792":["hashtag1","hashtag2"]},{"1333124782":["hashtag1","hashtag2"]},{"1333124740":["hashtag1","hashtag2"]},{"1333124787":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333124736, 1333124795, 1333124792, 1333124782, 1333124740, 1333124787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.614110708236694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:25:32.368393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/24/image_30012025_23_24_57_10346.jpg', '/home/pi/Desktop/images/30012025/23/24/image_30012025_23_25_06_9467.jpg', '/home/pi/Desktop/images/30012025/23/25/image_30012025_23_25_17_10331.jpg', '/home/pi/Desktop/images/30012025/23/25/image_30012025_23_25_26_9469.jpg', '/home/pi/Desktop/images/30012025/23/25/image_30012025_23_25_36_10368.jpg', '/home/pi/Desktop/images/30012025/23/25/image_30012025_23_25_47_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/24/image_30012025_23_24_57_10346.jpg
/home/pi/Desktop/images/30012025/23/24/image_30012025_23_25_06_9467.jpg
/home/pi/Desktop/images/30012025/23/25/image_30012025_23_25_17_10331.jpg
/home/pi/Desktop/images/30012025/23/25/image_30012025_23_25_26_9469.jpg
/home/pi/Desktop/images/30012025/23/25/image_30012025_23_25_36_10368.jpg
/home/pi/Desktop/images/30012025/23/25/image_30012025_23_25_47_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":["1333124826","1333124828","1333124813","1333124822","1333124818","1333124832"],"photo_ids_order":["1333124813","1333124818","1333124822","1333124826","1333124828","1333124832"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/fa03505b7f9a7b4cc5fadfe727f74336.jpg","text":"TemporaryFile(/tmp/multipartBody2551550895674478239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275993290,"filename":"image_30012025_23_25_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/30/086d863023c339a3c07f3c8ef24eb166.jpg","text":"TemporaryFile(/tmp/multipartBody4582388685199817116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275993290,"filename":"image_30012025_23_25_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/30/46b5006e3347aacb2353a5a71df89e98.jpg","text":"TemporaryFile(/tmp/multipartBody261171764984800896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275993290,"filename":"image_30012025_23_24_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/30/f086695130bc8acd6d95cc4caf1991a9.jpg","text":"TemporaryFile(/tmp/multipartBody5468193940666994948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275993290,"filename":"image_30012025_23_25_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/30/18ff1dccbc76787576bcfdc6eadd279d.jpg","text":"TemporaryFile(/tmp/multipartBody929572775907986233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275993290,"filename":"image_30012025_23_25_06_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/30/86e289bb83307d65e2b6f63fd6dcedae.jpg","text":"TemporaryFile(/tmp/multipartBody1004911550012240783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738275993290,"filename":"image_30012025_23_25_47_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333124822","file1":"1333124818","file0":"1333124813","file4":"1333124828","file5":"1333124832","file3":"1333124826"},"map_files_photo_id_array":[{"photo_id":"1333124832","filename":"file5"},{"photo_id":"1333124822","filename":"file2"},{"photo_id":"1333124828","filename":"file4"},{"photo_id":"1333124818","filename":"file1"},{"photo_id":"1333124813","filename":"file0"},{"photo_id":"1333124826","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333124826":["hashtag1","hashtag2"]},{"1333124828":["hashtag1","hashtag2"]},{"1333124813":["hashtag1","hashtag2"]},{"1333124822":["hashtag1","hashtag2"]},{"1333124818":["hashtag1","hashtag2"]},{"1333124832":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333124826, 1333124828, 1333124813, 1333124822, 1333124818, 1333124832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.30250263214111 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:26:32.477559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/25/image_30012025_23_25_56_9335.jpg', '/home/pi/Desktop/images/30012025/23/25/image_30012025_23_26_06_10353.jpg', '/home/pi/Desktop/images/30012025/23/26/image_30012025_23_26_17_10396.jpg', '/home/pi/Desktop/images/30012025/23/26/image_30012025_23_26_26_9416.jpg', '/home/pi/Desktop/images/30012025/23/26/image_30012025_23_26_37_10375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/25/image_30012025_23_25_56_9335.jpg
/home/pi/Desktop/images/30012025/23/25/image_30012025_23_26_06_10353.jpg
/home/pi/Desktop/images/30012025/23/26/image_30012025_23_26_17_10396.jpg
/home/pi/Desktop/images/30012025/23/26/image_30012025_23_26_26_9416.jpg
/home/pi/Desktop/images/30012025/23/26/image_30012025_23_26_37_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":["1333124864","1333124858","1333124854","1333124845","1333124850"],"photo_ids_order":["1333124845","1333124850","1333124854","1333124858","1333124864"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/28da5bafee468e4d55a2f824c4a0d4a1.jpg","text":"TemporaryFile(/tmp/multipartBody7999749478268374124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276053394,"filename":"image_30012025_23_26_37_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/30/b677b239aab82ceb5c88365accf46967.jpg","text":"TemporaryFile(/tmp/multipartBody3177997524985839017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276053394,"filename":"image_30012025_23_26_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/30/1d920061efd8a1034399fa35f5d1df3f.jpg","text":"TemporaryFile(/tmp/multipartBody9086402748086721863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276053394,"filename":"image_30012025_23_26_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/30/abfb522f2b396cff02f6ba4c00f0d88a.jpg","text":"TemporaryFile(/tmp/multipartBody5005609287242822565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276053394,"filename":"image_30012025_23_25_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/30/6b9217f621d9821fddbbdb436c18c77a.jpg","text":"TemporaryFile(/tmp/multipartBody1575162867428749945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276053394,"filename":"image_30012025_23_26_06_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333124854","file1":"1333124850","file0":"1333124845","file4":"1333124864","file3":"1333124858"},"map_files_photo_id_array":[{"photo_id":"1333124854","filename":"file2"},{"photo_id":"1333124864","filename":"file4"},{"photo_id":"1333124850","filename":"file1"},{"photo_id":"1333124845","filename":"file0"},{"photo_id":"1333124858","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333124864":["hashtag1","hashtag2"]},{"1333124858":["hashtag1","hashtag2"]},{"1333124854":["hashtag1","hashtag2"]},{"1333124845":["hashtag1","hashtag2"]},{"1333124850":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333124864, 1333124858, 1333124854, 1333124845, 1333124850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.3495671749115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:27:32.600341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/26/image_30012025_23_26_56_10400.jpg', '/home/pi/Desktop/images/30012025/23/27/image_30012025_23_27_16_10342.jpg', '/home/pi/Desktop/images/30012025/23/27/image_30012025_23_27_36_9474.jpg', '/home/pi/Desktop/images/30012025/23/27/image_30012025_23_27_46_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/26/image_30012025_23_26_56_10400.jpg
/home/pi/Desktop/images/30012025/23/27/image_30012025_23_27_16_10342.jpg
/home/pi/Desktop/images/30012025/23/27/image_30012025_23_27_36_9474.jpg
/home/pi/Desktop/images/30012025/23/27/image_30012025_23_27_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":["1333124888","1333124897","1333124893","1333124902"],"photo_ids_order":["1333124888","1333124893","1333124897","1333124902"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f66df48062b0f9bd7ceda8814d97b7c6.jpg","text":"TemporaryFile(/tmp/multipartBody5425610461930087633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276113497,"filename":"image_30012025_23_26_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/30/0b0129d05143cd1031128c017454ad42.jpg","text":"TemporaryFile(/tmp/multipartBody970717421551922377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276113497,"filename":"image_30012025_23_27_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/30/e89d559190b541eaaf3c73ef3b4f8996.jpg","text":"TemporaryFile(/tmp/multipartBody2332447465473454378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276113497,"filename":"image_30012025_23_27_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/30/28df662fbfb5f811b5efac069e109ff0.jpg","text":"TemporaryFile(/tmp/multipartBody2295478450764028618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276113497,"filename":"image_30012025_23_27_46_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333124897","file1":"1333124893","file0":"1333124888","file3":"1333124902"},"map_files_photo_id_array":[{"photo_id":"1333124897","filename":"file2"},{"photo_id":"1333124893","filename":"file1"},{"photo_id":"1333124888","filename":"file0"},{"photo_id":"1333124902","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333124888":["hashtag1","hashtag2"]},{"1333124897":["hashtag1","hashtag2"]},{"1333124893":["hashtag1","hashtag2"]},{"1333124902":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333124888, 1333124897, 1333124893, 1333124902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.835764169692993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:28:32.928926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/27/image_30012025_23_27_56_9487.jpg', '/home/pi/Desktop/images/30012025/23/27/image_30012025_23_28_06_10424.jpg', '/home/pi/Desktop/images/30012025/23/28/image_30012025_23_28_17_10338.jpg', '/home/pi/Desktop/images/30012025/23/28/image_30012025_23_28_36_10348.jpg', '/home/pi/Desktop/images/30012025/23/28/image_30012025_23_28_46_9455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/27/image_30012025_23_27_56_9487.jpg
/home/pi/Desktop/images/30012025/23/27/image_30012025_23_28_06_10424.jpg
/home/pi/Desktop/images/30012025/23/28/image_30012025_23_28_17_10338.jpg
/home/pi/Desktop/images/30012025/23/28/image_30012025_23_28_36_10348.jpg
/home/pi/Desktop/images/30012025/23/28/image_30012025_23_28_46_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":["1333125533","1333125131","1333125259","1333125472","1333125367"],"photo_ids_order":["1333125131","1333125259","1333125367","1333125472","1333125533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9f342f813850e16940439f7c85e562ae.jpg","text":"TemporaryFile(/tmp/multipartBody8833629788247249330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276173822,"filename":"image_30012025_23_28_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/30/d22de4b5dfb390c18dd5f5f083bd87da.jpg","text":"TemporaryFile(/tmp/multipartBody6258196090377127375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276173822,"filename":"image_30012025_23_27_56_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/30/7ba1a468471d72919332f35a34a477c4.jpg","text":"TemporaryFile(/tmp/multipartBody3950449065843141280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276173822,"filename":"image_30012025_23_28_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/30/fbc4cea8c66a1270b05f94e697a9a086.jpg","text":"TemporaryFile(/tmp/multipartBody6881412426207376011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276173822,"filename":"image_30012025_23_28_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/30/218f4d650672e5f77d7c0a1c293cae84.jpg","text":"TemporaryFile(/tmp/multipartBody56612705952311961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276173822,"filename":"image_30012025_23_28_17_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333125367","file1":"1333125259","file0":"1333125131","file4":"1333125533","file3":"1333125472"},"map_files_photo_id_array":[{"photo_id":"1333125367","filename":"file2"},{"photo_id":"1333125533","filename":"file4"},{"photo_id":"1333125259","filename":"file1"},{"photo_id":"1333125131","filename":"file0"},{"photo_id":"1333125472","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333125533":["hashtag1","hashtag2"]},{"1333125131":["hashtag1","hashtag2"]},{"1333125259":["hashtag1","hashtag2"]},{"1333125472":["hashtag1","hashtag2"]},{"1333125367":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333125533, 1333125131, 1333125259, 1333125472, 1333125367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.101588010787964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:29:32.341771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/28/image_30012025_23_28_56_10381.jpg', '/home/pi/Desktop/images/30012025/23/29/image_30012025_23_29_16_9331.jpg', '/home/pi/Desktop/images/30012025/23/29/image_30012025_23_29_26_10357.jpg', '/home/pi/Desktop/images/30012025/23/29/image_30012025_23_29_37_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/28/image_30012025_23_28_56_10381.jpg
/home/pi/Desktop/images/30012025/23/29/image_30012025_23_29_16_9331.jpg
/home/pi/Desktop/images/30012025/23/29/image_30012025_23_29_26_10357.jpg
/home/pi/Desktop/images/30012025/23/29/image_30012025_23_29_37_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":["1333125557","1333125569","1333125562","1333125637"],"photo_ids_order":["1333125557","1333125562","1333125569","1333125637"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a2b2fcaab7af3b1a7db9e725fbbc5622.jpg","text":"TemporaryFile(/tmp/multipartBody5704911180291384800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276233221,"filename":"image_30012025_23_28_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/30/831f3d9f302803c5050202138bf4337e.jpg","text":"TemporaryFile(/tmp/multipartBody7268753271451844529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276233221,"filename":"image_30012025_23_29_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/30/9338971ba1e938c26e906af0c24a60c2.jpg","text":"TemporaryFile(/tmp/multipartBody5141579717160484762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276233221,"filename":"image_30012025_23_29_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/30/3dd39def50cb827c7020cc0723779b41.jpg","text":"TemporaryFile(/tmp/multipartBody1796842197763284975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276233221,"filename":"image_30012025_23_29_37_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333125569","file1":"1333125562","file0":"1333125557","file3":"1333125637"},"map_files_photo_id_array":[{"photo_id":"1333125569","filename":"file2"},{"photo_id":"1333125562","filename":"file1"},{"photo_id":"1333125557","filename":"file0"},{"photo_id":"1333125637","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333125557":["hashtag1","hashtag2"]},{"1333125569":["hashtag1","hashtag2"]},{"1333125562":["hashtag1","hashtag2"]},{"1333125637":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333125557, 1333125569, 1333125562, 1333125637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.734220027923584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:30:32.552752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/29/image_30012025_23_29_46_9437.jpg', '/home/pi/Desktop/images/30012025/23/29/image_30012025_23_30_07_10446.jpg', '/home/pi/Desktop/images/30012025/23/30/image_30012025_23_30_27_10344.jpg', '/home/pi/Desktop/images/30012025/23/30/image_30012025_23_30_46_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/29/image_30012025_23_29_46_9437.jpg
/home/pi/Desktop/images/30012025/23/29/image_30012025_23_30_07_10446.jpg
/home/pi/Desktop/images/30012025/23/30/image_30012025_23_30_27_10344.jpg
/home/pi/Desktop/images/30012025/23/30/image_30012025_23_30_46_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":["1333125944","1333126350","1333126023","1333126166"],"photo_ids_order":["1333125944","1333126023","1333126166","1333126350"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/8cbef083ed631bdfa134a80e9dd0449e.jpg","text":"TemporaryFile(/tmp/multipartBody7632978535161911664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276293453,"filename":"image_30012025_23_29_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/30/217516b98ecb584f8b4245cb2b5b92cb.jpg","text":"TemporaryFile(/tmp/multipartBody6755330293284812746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276293453,"filename":"image_30012025_23_30_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/30/4640e21fd6afd1cac15b7a9c2d066248.jpg","text":"TemporaryFile(/tmp/multipartBody4712489380488841242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276293453,"filename":"image_30012025_23_30_07_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d473c83b84bb59e3b54260e1d4051b2e.jpg","text":"TemporaryFile(/tmp/multipartBody5167269992935567501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276293453,"filename":"image_30012025_23_30_27_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333126166","file1":"1333126023","file0":"1333125944","file3":"1333126350"},"map_files_photo_id_array":[{"photo_id":"1333126166","filename":"file2"},{"photo_id":"1333126023","filename":"file1"},{"photo_id":"1333125944","filename":"file0"},{"photo_id":"1333126350","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333125944":["hashtag1","hashtag2"]},{"1333126350":["hashtag1","hashtag2"]},{"1333126023":["hashtag1","hashtag2"]},{"1333126166":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333125944, 1333126350, 1333126023, 1333126166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.33101749420166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 23:31:04.501390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/45/image_28012025_21_45_55_10361.jpg', '/home/pi/Desktop/images/28012025/21/45/image_28012025_21_46_05_10391.jpg', '/home/pi/Desktop/images/28012025/21/46/image_28012025_21_46_15_9331.jpg', '/home/pi/Desktop/images/28012025/21/46/image_28012025_21_46_25_10492.jpg', '/home/pi/Desktop/images/28012025/21/46/image_28012025_21_46_35_9336.jpg', '/home/pi/Desktop/images/28012025/21/46/image_28012025_21_46_45_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/21/45/image_28012025_21_45_55_10361.jpg
/home/pi/Desktop/images/28012025/21/45/image_28012025_21_46_05_10391.jpg
/home/pi/Desktop/images/28012025/21/46/image_28012025_21_46_15_9331.jpg
/home/pi/Desktop/images/28012025/21/46/image_28012025_21_46_25_10492.jpg
/home/pi/Desktop/images/28012025/21/46/image_28012025_21_46_35_9336.jpg
/home/pi/Desktop/images/28012025/21/46/image_28012025_21_46_45_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333127408","1333126984","1333127206","1333126852","1333127103","1333127303"],"photo_ids_order":["1333126852","1333126984","1333127103","1333127206","1333127303","1333127408"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/baffbf26bc6347db0d573468efc3057f.jpg","text":"TemporaryFile(/tmp/multipartBody1095545008248605304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276326416,"filename":"image_28012025_21_46_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/30/9278266782e1cdce6a5ce378a4f2e6d7.jpg","text":"TemporaryFile(/tmp/multipartBody3777485964426138527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276326416,"filename":"image_28012025_21_46_05_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cc238f94842cfeed2311cd7ba9e9c331.jpg","text":"TemporaryFile(/tmp/multipartBody6699167700089199061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276326416,"filename":"image_28012025_21_46_25_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/30/ccc864b087f82712f970d339dea78c59.jpg","text":"TemporaryFile(/tmp/multipartBody931093403687279039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276326416,"filename":"image_28012025_21_45_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/30/148399c087cee5082da91eefe347141c.jpg","text":"TemporaryFile(/tmp/multipartBody1310874075204197099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276326416,"filename":"image_28012025_21_46_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/30/843b0bb1357b5041dcf28fbe9ba44cef.jpg","text":"TemporaryFile(/tmp/multipartBody1394493720039288057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276326416,"filename":"image_28012025_21_46_35_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333127103","file1":"1333126984","file0":"1333126852","file4":"1333127303","file5":"1333127408","file3":"1333127206"},"map_files_photo_id_array":[{"photo_id":"1333127408","filename":"file5"},{"photo_id":"1333127103","filename":"file2"},{"photo_id":"1333127303","filename":"file4"},{"photo_id":"1333126984","filename":"file1"},{"photo_id":"1333126852","filename":"file0"},{"photo_id":"1333127206","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333127408":["hashtag1","hashtag2"]},{"1333126984":["hashtag1","hashtag2"]},{"1333127206":["hashtag1","hashtag2"]},{"1333126852":["hashtag1","hashtag2"]},{"1333127103":["hashtag1","hashtag2"]},{"1333127303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333127408, 1333126984, 1333127206, 1333126852, 1333127103, 1333127303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.25945854187012 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:31:52.863442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/30/image_30012025_23_30_57_10403.jpg', '/home/pi/Desktop/images/30012025/23/30/image_30012025_23_31_06_9362.jpg', '/home/pi/Desktop/images/30012025/23/31/image_30012025_23_31_26_9383.jpg', '/home/pi/Desktop/images/30012025/23/31/image_30012025_23_31_36_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/30/image_30012025_23_30_57_10403.jpg
/home/pi/Desktop/images/30012025/23/30/image_30012025_23_31_06_9362.jpg
/home/pi/Desktop/images/30012025/23/31/image_30012025_23_31_26_9383.jpg
/home/pi/Desktop/images/30012025/23/31/image_30012025_23_31_36_10365.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333128168","1333128063","1333127793","1333127957"],"photo_ids_order":["1333127793","1333127957","1333128063","1333128168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cce35547673faa06af0e344f1974e71b.jpg","text":"TemporaryFile(/tmp/multipartBody7504568188424124256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276373745,"filename":"image_30012025_23_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/30/df459c4d497e21054d360fd5a4692926.jpg","text":"TemporaryFile(/tmp/multipartBody5031739256151292905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276373745,"filename":"image_30012025_23_31_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/30/5f8acde7a61b86673d18b5cff5feca92.jpg","text":"TemporaryFile(/tmp/multipartBody6248699526400879725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276373745,"filename":"image_30012025_23_30_57_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/30/1ffc5532ca77db99943d4407d70804f5.jpg","text":"TemporaryFile(/tmp/multipartBody769043006401862383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276373745,"filename":"image_30012025_23_31_06_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333128063","file1":"1333127957","file0":"1333127793","file3":"1333128168"},"map_files_photo_id_array":[{"photo_id":"1333128063","filename":"file2"},{"photo_id":"1333127957","filename":"file1"},{"photo_id":"1333127793","filename":"file0"},{"photo_id":"1333128168","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333128168":["hashtag1","hashtag2"]},{"1333128063":["hashtag1","hashtag2"]},{"1333127793":["hashtag1","hashtag2"]},{"1333127957":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333128168, 1333128063, 1333127793, 1333127957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 35.201916217803955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:32:32.998366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/31/image_30012025_23_31_47_10357.jpg', '/home/pi/Desktop/images/30012025/23/32/image_30012025_23_32_17_10487.jpg', '/home/pi/Desktop/images/30012025/23/32/image_30012025_23_32_26_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/31/image_30012025_23_31_47_10357.jpg
/home/pi/Desktop/images/30012025/23/32/image_30012025_23_32_17_10487.jpg
/home/pi/Desktop/images/30012025/23/32/image_30012025_23_32_26_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":["1333128186","1333128191","1333128182"],"photo_ids_order":["1333128182","1333128186","1333128191"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/18fdd123f21c21b8994d6071738c90c5.jpg","text":"TemporaryFile(/tmp/multipartBody5447622381058713104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276413862,"filename":"image_30012025_23_32_17_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/30/9be75c6a9d02824e26ced8f9ea2c8ab0.jpg","text":"TemporaryFile(/tmp/multipartBody1221876697071586106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276413862,"filename":"image_30012025_23_32_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/30/225d456026fe09fc31d90c7c8110cbc9.jpg","text":"TemporaryFile(/tmp/multipartBody6893604607617965985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276413862,"filename":"image_30012025_23_31_47_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333128191","file1":"1333128186","file0":"1333128182"},"map_files_photo_id_array":[{"photo_id":"1333128191","filename":"file2"},{"photo_id":"1333128186","filename":"file1"},{"photo_id":"1333128182","filename":"file0"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333128186":["hashtag1","hashtag2"]},{"1333128191":["hashtag1","hashtag2"]},{"1333128182":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333128186, 1333128191, 1333128182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.589479684829712 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 23:33:03.700032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT 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/21/47/image_28012025_21_47_15_10419.jpg', '/home/pi/Desktop/images/28012025/21/47/image_28012025_21_47_25_10356.jpg', '/home/pi/Desktop/images/28012025/21/47/image_28012025_21_47_35_9330.jpg', '/home/pi/Desktop/images/28012025/21/47/image_28012025_21_47_45_10427.jpg', '/home/pi/Desktop/images/28012025/21/47/image_28012025_21_47_56_10339.jpg', '/home/pi/Desktop/images/28012025/21/47/image_28012025_21_48_05_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/21/47/image_28012025_21_47_15_10419.jpg
/home/pi/Desktop/images/28012025/21/47/image_28012025_21_47_25_10356.jpg
/home/pi/Desktop/images/28012025/21/47/image_28012025_21_47_35_9330.jpg
/home/pi/Desktop/images/28012025/21/47/image_28012025_21_47_45_10427.jpg
/home/pi/Desktop/images/28012025/21/47/image_28012025_21_47_56_10339.jpg
/home/pi/Desktop/images/28012025/21/47/image_28012025_21_48_05_9336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333128214","1333128217","1333128210","1333128203","1333128206","1333128200"],"photo_ids_order":["1333128200","1333128203","1333128206","1333128210","1333128214","1333128217"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ef33190f4a13164fb8e5dc5662fb9265.jpg","text":"TemporaryFile(/tmp/multipartBody4487266369584960397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276447388,"filename":"image_28012025_21_47_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/30/01ca2b0e110996d71c63e9548bda1da0.jpg","text":"TemporaryFile(/tmp/multipartBody3038586602508984263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276447388,"filename":"image_28012025_21_48_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/30/2157b4581b77a428e8c244617db459b5.jpg","text":"TemporaryFile(/tmp/multipartBody3866629912178372095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276447388,"filename":"image_28012025_21_47_45_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/72e3ec0887875733b968a581e9cd2546.jpg","text":"TemporaryFile(/tmp/multipartBody5921573174583177058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276447388,"filename":"image_28012025_21_47_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/30/c2e9337e26dd3fdc62fb65f5bb81aab0.jpg","text":"TemporaryFile(/tmp/multipartBody2432434411580889866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276447388,"filename":"image_28012025_21_47_35_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/47319dfed6c25c92d6772dbc8e4f8de2.jpg","text":"TemporaryFile(/tmp/multipartBody8621216225568220116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276447388,"filename":"image_28012025_21_47_15_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333128206","file1":"1333128203","file0":"1333128200","file4":"1333128214","file5":"1333128217","file3":"1333128210"},"map_files_photo_id_array":[{"photo_id":"1333128217","filename":"file5"},{"photo_id":"1333128206","filename":"file2"},{"photo_id":"1333128214","filename":"file4"},{"photo_id":"1333128203","filename":"file1"},{"photo_id":"1333128200","filename":"file0"},{"photo_id":"1333128210","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333128214":["hashtag1","hashtag2"]},{"1333128217":["hashtag1","hashtag2"]},{"1333128210":["hashtag1","hashtag2"]},{"1333128203":["hashtag1","hashtag2"]},{"1333128206":["hashtag1","hashtag2"]},{"1333128200":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333128214, 1333128217, 1333128210, 1333128203, 1333128206, 1333128200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.13089609146118 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:33:52.222063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/32/image_30012025_23_32_37_10363.jpg', '/home/pi/Desktop/images/30012025/23/33/image_30012025_23_33_27_10414.jpg', '/home/pi/Desktop/images/30012025/23/33/image_30012025_23_33_36_9463.jpg', '/home/pi/Desktop/images/30012025/23/33/image_30012025_23_33_47_10701.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/32/image_30012025_23_32_37_10363.jpg
/home/pi/Desktop/images/30012025/23/33/image_30012025_23_33_27_10414.jpg
/home/pi/Desktop/images/30012025/23/33/image_30012025_23_33_36_9463.jpg
/home/pi/Desktop/images/30012025/23/33/image_30012025_23_33_47_10701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333128322","1333128453","1333128435","1333128450"],"photo_ids_order":["1333128322","1333128435","1333128450","1333128453"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f8f5ccceda6053204d874fb94371a548.jpg","text":"TemporaryFile(/tmp/multipartBody4812022157846824448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276493106,"filename":"image_30012025_23_32_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/30/5bf3f1ead112e14a141ddebb7a6071f2.jpg","text":"TemporaryFile(/tmp/multipartBody8002597791139520734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276493106,"filename":"image_30012025_23_33_47_10701.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/52228a5985cb81fbbcf0f9f8a9491152.jpg","text":"TemporaryFile(/tmp/multipartBody5494300069424272491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276493106,"filename":"image_30012025_23_33_27_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/30/391de8971870e0d7eb992a05c2e139a0.jpg","text":"TemporaryFile(/tmp/multipartBody6054068784005018408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276493106,"filename":"image_30012025_23_33_36_9463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333128450","file1":"1333128435","file0":"1333128322","file3":"1333128453"},"map_files_photo_id_array":[{"photo_id":"1333128450","filename":"file2"},{"photo_id":"1333128435","filename":"file1"},{"photo_id":"1333128322","filename":"file0"},{"photo_id":"1333128453","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333128322":["hashtag1","hashtag2"]},{"1333128453":["hashtag1","hashtag2"]},{"1333128435":["hashtag1","hashtag2"]},{"1333128450":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333128322, 1333128453, 1333128435, 1333128450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.490076303482056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:34:32.407024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/33/image_30012025_23_33_56_9410.jpg', '/home/pi/Desktop/images/30012025/23/33/image_30012025_23_34_07_10336.jpg', '/home/pi/Desktop/images/30012025/23/34/image_30012025_23_34_16_9438.jpg', '/home/pi/Desktop/images/30012025/23/34/image_30012025_23_34_26_10345.jpg', '/home/pi/Desktop/images/30012025/23/34/image_30012025_23_34_37_10347.jpg', '/home/pi/Desktop/images/30012025/23/34/image_30012025_23_34_46_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/33/image_30012025_23_33_56_9410.jpg
/home/pi/Desktop/images/30012025/23/33/image_30012025_23_34_07_10336.jpg
/home/pi/Desktop/images/30012025/23/34/image_30012025_23_34_16_9438.jpg
/home/pi/Desktop/images/30012025/23/34/image_30012025_23_34_26_10345.jpg
/home/pi/Desktop/images/30012025/23/34/image_30012025_23_34_37_10347.jpg
/home/pi/Desktop/images/30012025/23/34/image_30012025_23_34_46_9349.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5248961448669434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-30 23:34:42.379822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/33/image_30012025_23_33_56_9410.jpg', '/home/pi/Desktop/images/30012025/23/33/image_30012025_23_34_07_10336.jpg', '/home/pi/Desktop/images/30012025/23/34/image_30012025_23_34_16_9438.jpg', '/home/pi/Desktop/images/30012025/23/34/image_30012025_23_34_26_10345.jpg', '/home/pi/Desktop/images/30012025/23/34/image_30012025_23_34_37_10347.jpg', '/home/pi/Desktop/images/30012025/23/34/image_30012025_23_34_46_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/33/image_30012025_23_33_56_9410.jpg
/home/pi/Desktop/images/30012025/23/33/image_30012025_23_34_07_10336.jpg
/home/pi/Desktop/images/30012025/23/34/image_30012025_23_34_16_9438.jpg
/home/pi/Desktop/images/30012025/23/34/image_30012025_23_34_26_10345.jpg
/home/pi/Desktop/images/30012025/23/34/image_30012025_23_34_37_10347.jpg
/home/pi/Desktop/images/30012025/23/34/image_30012025_23_34_46_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333128702","1333128593","1333128656","1333128611","1333128533","1333128652"],"photo_ids_order":["1333128533","1333128593","1333128611","1333128652","1333128656","1333128702"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/2c4e06c996e15c125965663a61c032f8.jpg","text":"TemporaryFile(/tmp/multipartBody2005829059727697527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276543327,"filename":"image_30012025_23_34_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/30/e8814f9a5db5f5a61b58e973595309d3.jpg","text":"TemporaryFile(/tmp/multipartBody3409975178274038714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276543327,"filename":"image_30012025_23_34_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/30/691e0e2db59a3e64fb86cf9c1b6dca30.jpg","text":"TemporaryFile(/tmp/multipartBody4777423960151141169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276543327,"filename":"image_30012025_23_34_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/30/b89f1dda092eb3314614164ae17c0378.jpg","text":"TemporaryFile(/tmp/multipartBody3834007483794801757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276543327,"filename":"image_30012025_23_34_16_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e87a2d9af3458a45afd416732dab20e0.jpg","text":"TemporaryFile(/tmp/multipartBody3801998005851643628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276543327,"filename":"image_30012025_23_33_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/30/dcd1f3be216dd4e715d8a395f9850a3d.jpg","text":"TemporaryFile(/tmp/multipartBody8722456201675982733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276543327,"filename":"image_30012025_23_34_26_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333128611","file1":"1333128593","file0":"1333128533","file4":"1333128656","file5":"1333128702","file3":"1333128652"},"map_files_photo_id_array":[{"photo_id":"1333128702","filename":"file5"},{"photo_id":"1333128611","filename":"file2"},{"photo_id":"1333128656","filename":"file4"},{"photo_id":"1333128593","filename":"file1"},{"photo_id":"1333128533","filename":"file0"},{"photo_id":"1333128652","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333128702":["hashtag1","hashtag2"]},{"1333128593":["hashtag1","hashtag2"]},{"1333128656":["hashtag1","hashtag2"]},{"1333128611":["hashtag1","hashtag2"]},{"1333128533":["hashtag1","hashtag2"]},{"1333128652":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333128702, 1333128593, 1333128656, 1333128611, 1333128533, 1333128652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.66808271408081 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:35:32.535893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/34/image_30012025_23_34_56_10425.jpg', '/home/pi/Desktop/images/30012025/23/34/image_30012025_23_35_07_10462.jpg', '/home/pi/Desktop/images/30012025/23/35/image_30012025_23_35_16_9403.jpg', '/home/pi/Desktop/images/30012025/23/35/image_30012025_23_35_27_10363.jpg', '/home/pi/Desktop/images/30012025/23/35/image_30012025_23_35_36_9450.jpg', '/home/pi/Desktop/images/30012025/23/35/image_30012025_23_35_46_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/34/image_30012025_23_34_56_10425.jpg
/home/pi/Desktop/images/30012025/23/34/image_30012025_23_35_07_10462.jpg
/home/pi/Desktop/images/30012025/23/35/image_30012025_23_35_16_9403.jpg
/home/pi/Desktop/images/30012025/23/35/image_30012025_23_35_27_10363.jpg
/home/pi/Desktop/images/30012025/23/35/image_30012025_23_35_36_9450.jpg
/home/pi/Desktop/images/30012025/23/35/image_30012025_23_35_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":["1333128885","1333128879","1333128912","1333128834","1333128845","1333128874"],"photo_ids_order":["1333128834","1333128845","1333128874","1333128879","1333128885","1333128912"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/5bc80c208ddf4ccc911a021bdcf889d6.jpg","text":"TemporaryFile(/tmp/multipartBody1744358143168676251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276593444,"filename":"image_30012025_23_35_36_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/30/37f1bcd1069a14d76c00a54ec3e29ac7.jpg","text":"TemporaryFile(/tmp/multipartBody3083345658642446260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276593444,"filename":"image_30012025_23_35_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/30/dd0ac6b2ff7d97a02beb2669e41ad073.jpg","text":"TemporaryFile(/tmp/multipartBody5667016175119330459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276593444,"filename":"image_30012025_23_35_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/30/357b014fd6a1b257b9b9e5eeab5144be.jpg","text":"TemporaryFile(/tmp/multipartBody5784253786060451024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276593444,"filename":"image_30012025_23_34_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/30/8d74a3dfcb49fc84815313e34d54fd53.jpg","text":"TemporaryFile(/tmp/multipartBody1449482044934806852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276593444,"filename":"image_30012025_23_35_07_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/30/f21f728d84df5f721f78248e12fc3557.jpg","text":"TemporaryFile(/tmp/multipartBody3044901699061500726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276593444,"filename":"image_30012025_23_35_16_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333128874","file1":"1333128845","file0":"1333128834","file4":"1333128885","file5":"1333128912","file3":"1333128879"},"map_files_photo_id_array":[{"photo_id":"1333128912","filename":"file5"},{"photo_id":"1333128874","filename":"file2"},{"photo_id":"1333128885","filename":"file4"},{"photo_id":"1333128845","filename":"file1"},{"photo_id":"1333128834","filename":"file0"},{"photo_id":"1333128879","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333128885":["hashtag1","hashtag2"]},{"1333128879":["hashtag1","hashtag2"]},{"1333128912":["hashtag1","hashtag2"]},{"1333128834":["hashtag1","hashtag2"]},{"1333128845":["hashtag1","hashtag2"]},{"1333128874":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333128885, 1333128879, 1333128912, 1333128834, 1333128845, 1333128874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.568034648895264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:36:32.840304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/35/image_30012025_23_35_56_9464.jpg', '/home/pi/Desktop/images/30012025/23/35/image_30012025_23_36_06_10459.jpg', '/home/pi/Desktop/images/30012025/23/36/image_30012025_23_36_17_10342.jpg', '/home/pi/Desktop/images/30012025/23/36/image_30012025_23_36_26_9442.jpg', '/home/pi/Desktop/images/30012025/23/36/image_30012025_23_36_37_10362.jpg', '/home/pi/Desktop/images/30012025/23/36/image_30012025_23_36_47_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/35/image_30012025_23_35_56_9464.jpg
/home/pi/Desktop/images/30012025/23/35/image_30012025_23_36_06_10459.jpg
/home/pi/Desktop/images/30012025/23/36/image_30012025_23_36_17_10342.jpg
/home/pi/Desktop/images/30012025/23/36/image_30012025_23_36_26_9442.jpg
/home/pi/Desktop/images/30012025/23/36/image_30012025_23_36_37_10362.jpg
/home/pi/Desktop/images/30012025/23/36/image_30012025_23_36_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":["1333129102","1333129097","1333129148","1333129106","1333129150","1333129144"],"photo_ids_order":["1333129097","1333129102","1333129106","1333129144","1333129148","1333129150"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/07ccff0b40202cd51d689b3c524955bd.jpg","text":"TemporaryFile(/tmp/multipartBody8214153460557777792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276653757,"filename":"image_30012025_23_36_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/30/31e9b27fede047a14728b6c7d296725b.jpg","text":"TemporaryFile(/tmp/multipartBody891333313374021739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276653757,"filename":"image_30012025_23_35_56_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/30/43a6d21193d67cf9e7167be3908aecb9.jpg","text":"TemporaryFile(/tmp/multipartBody5082823178495043933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276653757,"filename":"image_30012025_23_36_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/30/19234419e575e3790223b9aca78ab657.jpg","text":"TemporaryFile(/tmp/multipartBody3131892822705829220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276653757,"filename":"image_30012025_23_36_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/30/1cd71688b168f6f5f3e0be8ee4602f06.jpg","text":"TemporaryFile(/tmp/multipartBody6091260162058773444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276653757,"filename":"image_30012025_23_36_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/30/da07eca8d3fadcbeca6629dbc4b96358.jpg","text":"TemporaryFile(/tmp/multipartBody9165578095691075508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276653757,"filename":"image_30012025_23_36_26_9442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333129106","file1":"1333129102","file0":"1333129097","file4":"1333129148","file5":"1333129150","file3":"1333129144"},"map_files_photo_id_array":[{"photo_id":"1333129150","filename":"file5"},{"photo_id":"1333129106","filename":"file2"},{"photo_id":"1333129148","filename":"file4"},{"photo_id":"1333129102","filename":"file1"},{"photo_id":"1333129097","filename":"file0"},{"photo_id":"1333129144","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333129102":["hashtag1","hashtag2"]},{"1333129097":["hashtag1","hashtag2"]},{"1333129148":["hashtag1","hashtag2"]},{"1333129106":["hashtag1","hashtag2"]},{"1333129150":["hashtag1","hashtag2"]},{"1333129144":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333129102, 1333129097, 1333129148, 1333129106, 1333129150, 1333129144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.281744718551636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:37:33.182223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/36/image_30012025_23_36_56_9335.jpg', '/home/pi/Desktop/images/30012025/23/36/image_30012025_23_37_07_10418.jpg', '/home/pi/Desktop/images/30012025/23/37/image_30012025_23_37_16_9341.jpg', '/home/pi/Desktop/images/30012025/23/37/image_30012025_23_37_26_10354.jpg', '/home/pi/Desktop/images/30012025/23/37/image_30012025_23_37_37_10344.jpg', '/home/pi/Desktop/images/30012025/23/37/image_30012025_23_37_46_9438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/36/image_30012025_23_36_56_9335.jpg
/home/pi/Desktop/images/30012025/23/36/image_30012025_23_37_07_10418.jpg
/home/pi/Desktop/images/30012025/23/37/image_30012025_23_37_16_9341.jpg
/home/pi/Desktop/images/30012025/23/37/image_30012025_23_37_26_10354.jpg
/home/pi/Desktop/images/30012025/23/37/image_30012025_23_37_37_10344.jpg
/home/pi/Desktop/images/30012025/23/37/image_30012025_23_37_46_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":["1333130515","1333130506","1333130511","1333130522","1333130519","1333130129"],"photo_ids_order":["1333130129","1333130506","1333130511","1333130515","1333130519","1333130522"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/457083e8b32dd269c99829929814a396.jpg","text":"TemporaryFile(/tmp/multipartBody9058020660453673028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276714107,"filename":"image_30012025_23_37_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/30/b929c79c5570f9f98237eb4c178527fe.jpg","text":"TemporaryFile(/tmp/multipartBody6319782798497136913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276714107,"filename":"image_30012025_23_37_07_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/30/647ae36b1b626dee10ca8b06739923c4.jpg","text":"TemporaryFile(/tmp/multipartBody4907076542561896974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276714107,"filename":"image_30012025_23_37_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/30/594fcd773a2afb1da86d01495a1de363.jpg","text":"TemporaryFile(/tmp/multipartBody5828355491955105114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276714107,"filename":"image_30012025_23_37_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/30/1e8b3e50ed0f8744d4507706049d4fb1.jpg","text":"TemporaryFile(/tmp/multipartBody660972221181089700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276714107,"filename":"image_30012025_23_37_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/30/4397ef171b9c5e3b3e0281e1340f67fc.jpg","text":"TemporaryFile(/tmp/multipartBody4438914787595830721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276714107,"filename":"image_30012025_23_36_56_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333130511","file1":"1333130506","file0":"1333130129","file4":"1333130519","file5":"1333130522","file3":"1333130515"},"map_files_photo_id_array":[{"photo_id":"1333130522","filename":"file5"},{"photo_id":"1333130511","filename":"file2"},{"photo_id":"1333130519","filename":"file4"},{"photo_id":"1333130506","filename":"file1"},{"photo_id":"1333130129","filename":"file0"},{"photo_id":"1333130515","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333130515":["hashtag1","hashtag2"]},{"1333130506":["hashtag1","hashtag2"]},{"1333130511":["hashtag1","hashtag2"]},{"1333130522":["hashtag1","hashtag2"]},{"1333130519":["hashtag1","hashtag2"]},{"1333130129":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333130515, 1333130506, 1333130511, 1333130522, 1333130519, 1333130129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.91789102554321 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:38:32.399093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/37/image_30012025_23_37_56_10331.jpg', '/home/pi/Desktop/images/30012025/23/37/image_30012025_23_38_07_10433.jpg', '/home/pi/Desktop/images/30012025/23/38/image_30012025_23_38_16_9387.jpg', '/home/pi/Desktop/images/30012025/23/38/image_30012025_23_38_27_10385.jpg', '/home/pi/Desktop/images/30012025/23/38/image_30012025_23_38_36_9441.jpg', '/home/pi/Desktop/images/30012025/23/38/image_30012025_23_38_46_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/37/image_30012025_23_37_56_10331.jpg
/home/pi/Desktop/images/30012025/23/37/image_30012025_23_38_07_10433.jpg
/home/pi/Desktop/images/30012025/23/38/image_30012025_23_38_16_9387.jpg
/home/pi/Desktop/images/30012025/23/38/image_30012025_23_38_27_10385.jpg
/home/pi/Desktop/images/30012025/23/38/image_30012025_23_38_36_9441.jpg
/home/pi/Desktop/images/30012025/23/38/image_30012025_23_38_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":["1333130653","1333131017","1333130969","1333130966","1333130951","1333130737"],"photo_ids_order":["1333130653","1333130737","1333130951","1333130966","1333130969","1333131017"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/05a6e84ec367c1992c5ac65aabfaeb30.jpg","text":"TemporaryFile(/tmp/multipartBody7373287315194019498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276773305,"filename":"image_30012025_23_37_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/30/5c01a22ab691c998dee32e5262efcfb6.jpg","text":"TemporaryFile(/tmp/multipartBody8391360244453536053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276773305,"filename":"image_30012025_23_38_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/30/2798b68a49d4d4a50f9f502f653917bc.jpg","text":"TemporaryFile(/tmp/multipartBody8727886674183529946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276773305,"filename":"image_30012025_23_38_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/30/b352a5d3d3064d46b07e6bebc02f54a2.jpg","text":"TemporaryFile(/tmp/multipartBody6483543143591662220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276773305,"filename":"image_30012025_23_38_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/30/b52877ff138807399a304338005acf2d.jpg","text":"TemporaryFile(/tmp/multipartBody5034310393665669139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276773305,"filename":"image_30012025_23_38_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/30/f6b3a3480e3d2a02d40cf04f7f6bdf07.jpg","text":"TemporaryFile(/tmp/multipartBody4576102678259060397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276773305,"filename":"image_30012025_23_38_07_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333130951","file1":"1333130737","file0":"1333130653","file4":"1333130969","file5":"1333131017","file3":"1333130966"},"map_files_photo_id_array":[{"photo_id":"1333131017","filename":"file5"},{"photo_id":"1333130951","filename":"file2"},{"photo_id":"1333130969","filename":"file4"},{"photo_id":"1333130737","filename":"file1"},{"photo_id":"1333130653","filename":"file0"},{"photo_id":"1333130966","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333130653":["hashtag1","hashtag2"]},{"1333131017":["hashtag1","hashtag2"]},{"1333130969":["hashtag1","hashtag2"]},{"1333130966":["hashtag1","hashtag2"]},{"1333130951":["hashtag1","hashtag2"]},{"1333130737":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333130653, 1333131017, 1333130969, 1333130966, 1333130951, 1333130737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.313647747039795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:39:32.460333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/38/image_30012025_23_38_56_9460.jpg', '/home/pi/Desktop/images/30012025/23/38/image_30012025_23_39_06_10419.jpg', '/home/pi/Desktop/images/30012025/23/39/image_30012025_23_39_17_10355.jpg', '/home/pi/Desktop/images/30012025/23/39/image_30012025_23_39_26_9459.jpg', '/home/pi/Desktop/images/30012025/23/39/image_30012025_23_39_37_10385.jpg', '/home/pi/Desktop/images/30012025/23/39/image_30012025_23_39_46_9379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/38/image_30012025_23_38_56_9460.jpg
/home/pi/Desktop/images/30012025/23/38/image_30012025_23_39_06_10419.jpg
/home/pi/Desktop/images/30012025/23/39/image_30012025_23_39_17_10355.jpg
/home/pi/Desktop/images/30012025/23/39/image_30012025_23_39_26_9459.jpg
/home/pi/Desktop/images/30012025/23/39/image_30012025_23_39_37_10385.jpg
/home/pi/Desktop/images/30012025/23/39/image_30012025_23_39_46_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":["1333131153","1333131149","1333131140","1333131143","1333131137","1333131146"],"photo_ids_order":["1333131137","1333131140","1333131143","1333131146","1333131149","1333131153"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/48dc6c8ee6fe7d0edf4a9ccdae766434.jpg","text":"TemporaryFile(/tmp/multipartBody4156467652427409657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276833380,"filename":"image_30012025_23_39_46_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/30/90ef6287acf9cb629cd59db95bc82d8b.jpg","text":"TemporaryFile(/tmp/multipartBody7425520229871938242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276833380,"filename":"image_30012025_23_39_37_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6f2ce950fcab694e2dccd9fe1708b040.jpg","text":"TemporaryFile(/tmp/multipartBody5025914163100378076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276833380,"filename":"image_30012025_23_39_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/30/17b7179cee8d0bdaa05767bf07394f42.jpg","text":"TemporaryFile(/tmp/multipartBody4259868166800947916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276833380,"filename":"image_30012025_23_39_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/30/6f972cbfe88541f68e27446221abbabc.jpg","text":"TemporaryFile(/tmp/multipartBody8284265441074304369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276833380,"filename":"image_30012025_23_38_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/30/3e0102923b999d1b9a20b254dcb99483.jpg","text":"TemporaryFile(/tmp/multipartBody8365373732083434162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276833380,"filename":"image_30012025_23_39_26_9459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333131143","file1":"1333131140","file0":"1333131137","file4":"1333131149","file5":"1333131153","file3":"1333131146"},"map_files_photo_id_array":[{"photo_id":"1333131153","filename":"file5"},{"photo_id":"1333131143","filename":"file2"},{"photo_id":"1333131149","filename":"file4"},{"photo_id":"1333131140","filename":"file1"},{"photo_id":"1333131137","filename":"file0"},{"photo_id":"1333131146","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333131153":["hashtag1","hashtag2"]},{"1333131149":["hashtag1","hashtag2"]},{"1333131140":["hashtag1","hashtag2"]},{"1333131143":["hashtag1","hashtag2"]},{"1333131137":["hashtag1","hashtag2"]},{"1333131146":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333131153, 1333131149, 1333131140, 1333131143, 1333131137, 1333131146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.484565019607544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:40:32.801512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/39/image_30012025_23_39_57_10923.jpg', '/home/pi/Desktop/images/30012025/23/39/image_30012025_23_40_06_9582.jpg', '/home/pi/Desktop/images/30012025/23/40/image_30012025_23_40_17_10385.jpg', '/home/pi/Desktop/images/30012025/23/40/image_30012025_23_40_26_9389.jpg', '/home/pi/Desktop/images/30012025/23/40/image_30012025_23_40_37_10385.jpg', '/home/pi/Desktop/images/30012025/23/40/image_30012025_23_40_46_9414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/39/image_30012025_23_39_57_10923.jpg
/home/pi/Desktop/images/30012025/23/39/image_30012025_23_40_06_9582.jpg
/home/pi/Desktop/images/30012025/23/40/image_30012025_23_40_17_10385.jpg
/home/pi/Desktop/images/30012025/23/40/image_30012025_23_40_26_9389.jpg
/home/pi/Desktop/images/30012025/23/40/image_30012025_23_40_37_10385.jpg
/home/pi/Desktop/images/30012025/23/40/image_30012025_23_40_46_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":["1333131300","1333131290","1333131266","1333131332","1333131344","1333131271"],"photo_ids_order":["1333131266","1333131271","1333131290","1333131300","1333131332","1333131344"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a59f0a6e96f04fe2d623d43afce95871.jpg","text":"TemporaryFile(/tmp/multipartBody4294197730308221900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276893720,"filename":"image_30012025_23_40_26_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/30/3779847a043e84abc41c3922516f7046.jpg","text":"TemporaryFile(/tmp/multipartBody6037350155661645676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276893720,"filename":"image_30012025_23_40_17_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/30/e496bfc8122369055fd9c79292691491.jpg","text":"TemporaryFile(/tmp/multipartBody2796018530473757422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276893720,"filename":"image_30012025_23_39_57_10923.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/28312854f237ed4b2b005da656eb02db.jpg","text":"TemporaryFile(/tmp/multipartBody8341812485565678113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276893720,"filename":"image_30012025_23_40_37_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0ed3c247998f2bd1eb4bfe5ce2be103b.jpg","text":"TemporaryFile(/tmp/multipartBody3855276424482037188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276893720,"filename":"image_30012025_23_40_46_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/33f3101adca4bcf8a83452c19281dffc.jpg","text":"TemporaryFile(/tmp/multipartBody8002228992486495945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276893720,"filename":"image_30012025_23_40_06_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333131290","file1":"1333131271","file0":"1333131266","file4":"1333131332","file5":"1333131344","file3":"1333131300"},"map_files_photo_id_array":[{"photo_id":"1333131344","filename":"file5"},{"photo_id":"1333131290","filename":"file2"},{"photo_id":"1333131332","filename":"file4"},{"photo_id":"1333131271","filename":"file1"},{"photo_id":"1333131266","filename":"file0"},{"photo_id":"1333131300","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333131300":["hashtag1","hashtag2"]},{"1333131290":["hashtag1","hashtag2"]},{"1333131266":["hashtag1","hashtag2"]},{"1333131332":["hashtag1","hashtag2"]},{"1333131344":["hashtag1","hashtag2"]},{"1333131271":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333131300, 1333131290, 1333131266, 1333131332, 1333131344, 1333131271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17666220664978 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:41:33.114236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/40/image_30012025_23_40_56_10397.jpg', '/home/pi/Desktop/images/30012025/23/40/image_30012025_23_41_07_10457.jpg', '/home/pi/Desktop/images/30012025/23/41/image_30012025_23_41_16_9333.jpg', '/home/pi/Desktop/images/30012025/23/41/image_30012025_23_41_27_10394.jpg', '/home/pi/Desktop/images/30012025/23/41/image_30012025_23_41_36_9375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/40/image_30012025_23_40_56_10397.jpg
/home/pi/Desktop/images/30012025/23/40/image_30012025_23_41_07_10457.jpg
/home/pi/Desktop/images/30012025/23/41/image_30012025_23_41_16_9333.jpg
/home/pi/Desktop/images/30012025/23/41/image_30012025_23_41_27_10394.jpg
/home/pi/Desktop/images/30012025/23/41/image_30012025_23_41_36_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":["1333131495","1333131447","1333131434","1333131490","1333131454"],"photo_ids_order":["1333131434","1333131447","1333131454","1333131490","1333131495"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/91283ddf7d2b1f77439b62fc5ad55ce6.jpg","text":"TemporaryFile(/tmp/multipartBody3360514265234459254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276954041,"filename":"image_30012025_23_41_36_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/30/372803fbd8abf148ac6a0328f72eccfb.jpg","text":"TemporaryFile(/tmp/multipartBody2321165839854875686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276954041,"filename":"image_30012025_23_41_07_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/30/769457e2931cdb6cb72599cfa79fb262.jpg","text":"TemporaryFile(/tmp/multipartBody189707388920378347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276954041,"filename":"image_30012025_23_40_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/30/dcd69d69a100f93a31ebad5912a3899b.jpg","text":"TemporaryFile(/tmp/multipartBody5588839919295505932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276954041,"filename":"image_30012025_23_41_27_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/30/93d22611c604c216df4865e660634cc0.jpg","text":"TemporaryFile(/tmp/multipartBody8157676050355237242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738276954041,"filename":"image_30012025_23_41_16_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333131454","file1":"1333131447","file0":"1333131434","file4":"1333131495","file3":"1333131490"},"map_files_photo_id_array":[{"photo_id":"1333131454","filename":"file2"},{"photo_id":"1333131495","filename":"file4"},{"photo_id":"1333131447","filename":"file1"},{"photo_id":"1333131434","filename":"file0"},{"photo_id":"1333131490","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333131495":["hashtag1","hashtag2"]},{"1333131447":["hashtag1","hashtag2"]},{"1333131434":["hashtag1","hashtag2"]},{"1333131490":["hashtag1","hashtag2"]},{"1333131454":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333131495, 1333131447, 1333131434, 1333131490, 1333131454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.881709814071655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:42:32.324231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/41/image_30012025_23_41_46_10404.jpg', '/home/pi/Desktop/images/30012025/23/41/image_30012025_23_42_06_9346.jpg', '/home/pi/Desktop/images/30012025/23/42/image_30012025_23_42_16_10371.jpg', '/home/pi/Desktop/images/30012025/23/42/image_30012025_23_42_27_10427.jpg', '/home/pi/Desktop/images/30012025/23/42/image_30012025_23_42_36_9347.jpg', '/home/pi/Desktop/images/30012025/23/42/image_30012025_23_42_47_10428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/41/image_30012025_23_41_46_10404.jpg
/home/pi/Desktop/images/30012025/23/41/image_30012025_23_42_06_9346.jpg
/home/pi/Desktop/images/30012025/23/42/image_30012025_23_42_16_10371.jpg
/home/pi/Desktop/images/30012025/23/42/image_30012025_23_42_27_10427.jpg
/home/pi/Desktop/images/30012025/23/42/image_30012025_23_42_36_9347.jpg
/home/pi/Desktop/images/30012025/23/42/image_30012025_23_42_47_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":["1333131599","1333131671","1333131638","1333131632","1333131673","1333131604"],"photo_ids_order":["1333131599","1333131604","1333131632","1333131638","1333131671","1333131673"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ce88221d493e2269ef23e702e1a588a0.jpg","text":"TemporaryFile(/tmp/multipartBody2937116652527602971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277013236,"filename":"image_30012025_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/30/d4051d945f09f4ec727d25000479dd9a.jpg","text":"TemporaryFile(/tmp/multipartBody5608870905718029656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277013236,"filename":"image_30012025_23_42_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/30/9c185f43dee9bfb36e13b73ac66ca4cd.jpg","text":"TemporaryFile(/tmp/multipartBody4278662071779059338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277013236,"filename":"image_30012025_23_42_27_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7d9d3d22d6f2349e4ba28776fe9aa2f3.jpg","text":"TemporaryFile(/tmp/multipartBody882104415537563503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277013236,"filename":"image_30012025_23_42_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/30/023a29cf0b87b752d8e302450443dc7f.jpg","text":"TemporaryFile(/tmp/multipartBody904831557775833955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277013236,"filename":"image_30012025_23_42_47_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/30/ec7bd5cd96f6c6984b6247d00b6c5a1d.jpg","text":"TemporaryFile(/tmp/multipartBody6243423250368222483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277013236,"filename":"image_30012025_23_42_06_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333131632","file1":"1333131604","file0":"1333131599","file4":"1333131671","file5":"1333131673","file3":"1333131638"},"map_files_photo_id_array":[{"photo_id":"1333131673","filename":"file5"},{"photo_id":"1333131632","filename":"file2"},{"photo_id":"1333131671","filename":"file4"},{"photo_id":"1333131604","filename":"file1"},{"photo_id":"1333131599","filename":"file0"},{"photo_id":"1333131638","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333131599":["hashtag1","hashtag2"]},{"1333131671":["hashtag1","hashtag2"]},{"1333131638":["hashtag1","hashtag2"]},{"1333131632":["hashtag1","hashtag2"]},{"1333131673":["hashtag1","hashtag2"]},{"1333131604":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333131599, 1333131671, 1333131638, 1333131632, 1333131673, 1333131604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.335394620895386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:43:32.438848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/42/image_30012025_23_42_56_9337.jpg', '/home/pi/Desktop/images/30012025/23/42/image_30012025_23_43_06_10353.jpg', '/home/pi/Desktop/images/30012025/23/43/image_30012025_23_43_17_10394.jpg', '/home/pi/Desktop/images/30012025/23/43/image_30012025_23_43_26_9395.jpg', '/home/pi/Desktop/images/30012025/23/43/image_30012025_23_43_37_10366.jpg', '/home/pi/Desktop/images/30012025/23/43/image_30012025_23_43_46_9467.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/42/image_30012025_23_42_56_9337.jpg
/home/pi/Desktop/images/30012025/23/42/image_30012025_23_43_06_10353.jpg
/home/pi/Desktop/images/30012025/23/43/image_30012025_23_43_17_10394.jpg
/home/pi/Desktop/images/30012025/23/43/image_30012025_23_43_26_9395.jpg
/home/pi/Desktop/images/30012025/23/43/image_30012025_23_43_37_10366.jpg
/home/pi/Desktop/images/30012025/23/43/image_30012025_23_43_46_9467.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333131714","1333131692","1333131755","1333131752","1333131719","1333131736"],"photo_ids_order":["1333131692","1333131714","1333131719","1333131736","1333131752","1333131755"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/9d9d8d23655976e90c0d52cdb7699675.jpg","text":"TemporaryFile(/tmp/multipartBody7733565416302772188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277073349,"filename":"image_30012025_23_43_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/30/df824b05b428e081a43a3c9bdd249c62.jpg","text":"TemporaryFile(/tmp/multipartBody5882720324743526538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277073349,"filename":"image_30012025_23_42_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/30/26d9206ee461b758527837ee3a4bffcd.jpg","text":"TemporaryFile(/tmp/multipartBody7862922884743384175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277073349,"filename":"image_30012025_23_43_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/30/2f45f5dc10adae1e6b6aa6892e823339.jpg","text":"TemporaryFile(/tmp/multipartBody5489775094211341303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277073349,"filename":"image_30012025_23_43_37_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f6e585a77661dff52fcbe4e74a98b2bf.jpg","text":"TemporaryFile(/tmp/multipartBody4940467673093107002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277073349,"filename":"image_30012025_23_43_17_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/30/614a117f73a3808f4dc8bd3b9cd8580c.jpg","text":"TemporaryFile(/tmp/multipartBody4920738251981088214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277073349,"filename":"image_30012025_23_43_26_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333131719","file1":"1333131714","file0":"1333131692","file4":"1333131752","file5":"1333131755","file3":"1333131736"},"map_files_photo_id_array":[{"photo_id":"1333131755","filename":"file5"},{"photo_id":"1333131719","filename":"file2"},{"photo_id":"1333131752","filename":"file4"},{"photo_id":"1333131714","filename":"file1"},{"photo_id":"1333131692","filename":"file0"},{"photo_id":"1333131736","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333131714":["hashtag1","hashtag2"]},{"1333131692":["hashtag1","hashtag2"]},{"1333131755":["hashtag1","hashtag2"]},{"1333131752":["hashtag1","hashtag2"]},{"1333131719":["hashtag1","hashtag2"]},{"1333131736":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333131714, 1333131692, 1333131755, 1333131752, 1333131719, 1333131736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.62559795379639 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:44:32.647958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/43/image_30012025_23_43_56_10403.jpg', '/home/pi/Desktop/images/30012025/23/43/image_30012025_23_44_07_10354.jpg', '/home/pi/Desktop/images/30012025/23/44/image_30012025_23_44_16_9405.jpg', '/home/pi/Desktop/images/30012025/23/44/image_30012025_23_44_26_10361.jpg', '/home/pi/Desktop/images/30012025/23/44/image_30012025_23_44_36_9422.jpg', '/home/pi/Desktop/images/30012025/23/44/image_30012025_23_44_46_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/43/image_30012025_23_43_56_10403.jpg
/home/pi/Desktop/images/30012025/23/43/image_30012025_23_44_07_10354.jpg
/home/pi/Desktop/images/30012025/23/44/image_30012025_23_44_16_9405.jpg
/home/pi/Desktop/images/30012025/23/44/image_30012025_23_44_26_10361.jpg
/home/pi/Desktop/images/30012025/23/44/image_30012025_23_44_36_9422.jpg
/home/pi/Desktop/images/30012025/23/44/image_30012025_23_44_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":["1333131876","1333131813","1333131875","1333131818","1333131809","1333131823"],"photo_ids_order":["1333131809","1333131813","1333131818","1333131823","1333131875","1333131876"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1ee3ffe3a2e68a31926fac22dbec80f7.jpg","text":"TemporaryFile(/tmp/multipartBody8430216076289750195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277133562,"filename":"image_30012025_23_44_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/30/be4664d95d15e31505eb15479c7f7e70.jpg","text":"TemporaryFile(/tmp/multipartBody8890792527938729428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277133562,"filename":"image_30012025_23_44_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/30/dd308a5897fbe198ac70d2874ff97f74.jpg","text":"TemporaryFile(/tmp/multipartBody1405000158911333563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277133562,"filename":"image_30012025_23_44_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/30/b1dd0190727448348dba829661752ae3.jpg","text":"TemporaryFile(/tmp/multipartBody1263610257299661420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277133562,"filename":"image_30012025_23_44_16_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/aa54afb1f18b99952383d1e665f984ef.jpg","text":"TemporaryFile(/tmp/multipartBody9119856776198889297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277133562,"filename":"image_30012025_23_43_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/30/dc3b93f787527846be0d46af1f6fe87e.jpg","text":"TemporaryFile(/tmp/multipartBody2277729405645052170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277133562,"filename":"image_30012025_23_44_26_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333131818","file1":"1333131813","file0":"1333131809","file4":"1333131875","file5":"1333131876","file3":"1333131823"},"map_files_photo_id_array":[{"photo_id":"1333131876","filename":"file5"},{"photo_id":"1333131818","filename":"file2"},{"photo_id":"1333131875","filename":"file4"},{"photo_id":"1333131813","filename":"file1"},{"photo_id":"1333131809","filename":"file0"},{"photo_id":"1333131823","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333131876":["hashtag1","hashtag2"]},{"1333131813":["hashtag1","hashtag2"]},{"1333131875":["hashtag1","hashtag2"]},{"1333131818":["hashtag1","hashtag2"]},{"1333131809":["hashtag1","hashtag2"]},{"1333131823":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333131876, 1333131813, 1333131875, 1333131818, 1333131809, 1333131823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.31002902984619 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:45:32.866643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/44/image_30012025_23_44_57_10348.jpg', '/home/pi/Desktop/images/30012025/23/44/image_30012025_23_45_06_9374.jpg', '/home/pi/Desktop/images/30012025/23/45/image_30012025_23_45_16_10338.jpg', '/home/pi/Desktop/images/30012025/23/45/image_30012025_23_45_27_10484.jpg', '/home/pi/Desktop/images/30012025/23/45/image_30012025_23_45_36_9350.jpg', '/home/pi/Desktop/images/30012025/23/45/image_30012025_23_45_47_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/44/image_30012025_23_44_57_10348.jpg
/home/pi/Desktop/images/30012025/23/44/image_30012025_23_45_06_9374.jpg
/home/pi/Desktop/images/30012025/23/45/image_30012025_23_45_16_10338.jpg
/home/pi/Desktop/images/30012025/23/45/image_30012025_23_45_27_10484.jpg
/home/pi/Desktop/images/30012025/23/45/image_30012025_23_45_36_9350.jpg
/home/pi/Desktop/images/30012025/23/45/image_30012025_23_45_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":["1333132133","1333131962","1333131964","1333131958","1333131967","1333131972"],"photo_ids_order":["1333131958","1333131962","1333131964","1333131967","1333131972","1333132133"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/1fab9ee4c57e9971c5a07b2a3b570c3e.jpg","text":"TemporaryFile(/tmp/multipartBody6261106169830624040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277193818,"filename":"image_30012025_23_45_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/30/acbef98b8b0ea8351ead02415753387a.jpg","text":"TemporaryFile(/tmp/multipartBody6745143875925805011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277193818,"filename":"image_30012025_23_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/30/f412250597ee0bd2af8a14fba41724c5.jpg","text":"TemporaryFile(/tmp/multipartBody6573252488965792114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277193818,"filename":"image_30012025_23_45_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/30/eecf0b9d28f8c97b305923d2705a9428.jpg","text":"TemporaryFile(/tmp/multipartBody6431838198558561129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277193818,"filename":"image_30012025_23_44_57_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/0dd585adb3598c2abdc5329de883683c.jpg","text":"TemporaryFile(/tmp/multipartBody3032999882035561476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277193818,"filename":"image_30012025_23_45_27_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/30/ea113fc8a21deded54aacc78ec24d238.jpg","text":"TemporaryFile(/tmp/multipartBody6027144394687471502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277193818,"filename":"image_30012025_23_45_36_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333131964","file1":"1333131962","file0":"1333131958","file4":"1333131972","file5":"1333132133","file3":"1333131967"},"map_files_photo_id_array":[{"photo_id":"1333132133","filename":"file5"},{"photo_id":"1333131964","filename":"file2"},{"photo_id":"1333131972","filename":"file4"},{"photo_id":"1333131962","filename":"file1"},{"photo_id":"1333131958","filename":"file0"},{"photo_id":"1333131967","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333132133":["hashtag1","hashtag2"]},{"1333131962":["hashtag1","hashtag2"]},{"1333131964":["hashtag1","hashtag2"]},{"1333131958":["hashtag1","hashtag2"]},{"1333131967":["hashtag1","hashtag2"]},{"1333131972":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333132133, 1333131962, 1333131964, 1333131958, 1333131967, 1333131972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.551568031311035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:46:33.023088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/45/image_30012025_23_45_56_9436.jpg', '/home/pi/Desktop/images/30012025/23/45/image_30012025_23_46_06_10369.jpg', '/home/pi/Desktop/images/30012025/23/46/image_30012025_23_46_17_10398.jpg', '/home/pi/Desktop/images/30012025/23/46/image_30012025_23_46_26_9352.jpg', '/home/pi/Desktop/images/30012025/23/46/image_30012025_23_46_36_10361.jpg', '/home/pi/Desktop/images/30012025/23/46/image_30012025_23_46_47_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/45/image_30012025_23_45_56_9436.jpg
/home/pi/Desktop/images/30012025/23/45/image_30012025_23_46_06_10369.jpg
/home/pi/Desktop/images/30012025/23/46/image_30012025_23_46_17_10398.jpg
/home/pi/Desktop/images/30012025/23/46/image_30012025_23_46_26_9352.jpg
/home/pi/Desktop/images/30012025/23/46/image_30012025_23_46_36_10361.jpg
/home/pi/Desktop/images/30012025/23/46/image_30012025_23_46_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":["1333132592","1333132586","1333132595","1333132589","1333132555","1333132531"],"photo_ids_order":["1333132531","1333132555","1333132586","1333132589","1333132592","1333132595"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/7abcf960d2286832a47d140c4294bba2.jpg","text":"TemporaryFile(/tmp/multipartBody4397073559705293130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277253935,"filename":"image_30012025_23_46_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/30/0223bbd8b40fc410aeffb0b3ff24aea5.jpg","text":"TemporaryFile(/tmp/multipartBody795068418016529536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277253935,"filename":"image_30012025_23_46_17_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/30/6e0b005905253238b780871017c4d9ec.jpg","text":"TemporaryFile(/tmp/multipartBody858440983428080615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277253935,"filename":"image_30012025_23_46_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/30/36c4671f9d83c4b829951857fe96d322.jpg","text":"TemporaryFile(/tmp/multipartBody2988473963723790040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277253935,"filename":"image_30012025_23_46_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/30/b6811b85592ecd41f66e67cc35970747.jpg","text":"TemporaryFile(/tmp/multipartBody4182064622076754298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277253935,"filename":"image_30012025_23_46_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/30/b3148b3997d24af209b4d88ab33425d3.jpg","text":"TemporaryFile(/tmp/multipartBody8118973480741374435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277253935,"filename":"image_30012025_23_45_56_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333132586","file1":"1333132555","file0":"1333132531","file4":"1333132592","file5":"1333132595","file3":"1333132589"},"map_files_photo_id_array":[{"photo_id":"1333132595","filename":"file5"},{"photo_id":"1333132586","filename":"file2"},{"photo_id":"1333132592","filename":"file4"},{"photo_id":"1333132555","filename":"file1"},{"photo_id":"1333132531","filename":"file0"},{"photo_id":"1333132589","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333132592":["hashtag1","hashtag2"]},{"1333132586":["hashtag1","hashtag2"]},{"1333132595":["hashtag1","hashtag2"]},{"1333132589":["hashtag1","hashtag2"]},{"1333132555":["hashtag1","hashtag2"]},{"1333132531":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333132592, 1333132586, 1333132595, 1333132589, 1333132555, 1333132531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.03999638557434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:47:32.299674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/46/image_30012025_23_46_56_9335.jpg', '/home/pi/Desktop/images/30012025/23/46/image_30012025_23_47_07_10430.jpg', '/home/pi/Desktop/images/30012025/23/47/image_30012025_23_47_16_9328.jpg', '/home/pi/Desktop/images/30012025/23/47/image_30012025_23_47_26_10384.jpg', '/home/pi/Desktop/images/30012025/23/47/image_30012025_23_47_37_10364.jpg', '/home/pi/Desktop/images/30012025/23/47/image_30012025_23_47_46_9432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/46/image_30012025_23_46_56_9335.jpg
/home/pi/Desktop/images/30012025/23/46/image_30012025_23_47_07_10430.jpg
/home/pi/Desktop/images/30012025/23/47/image_30012025_23_47_16_9328.jpg
/home/pi/Desktop/images/30012025/23/47/image_30012025_23_47_26_10384.jpg
/home/pi/Desktop/images/30012025/23/47/image_30012025_23_47_37_10364.jpg
/home/pi/Desktop/images/30012025/23/47/image_30012025_23_47_46_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":["1333132653","1333132626","1333132629","1333132615","1333132618","1333132623"],"photo_ids_order":["1333132615","1333132618","1333132623","1333132626","1333132629","1333132653"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/e09d12224684e73bab90e2840c57cc90.jpg","text":"TemporaryFile(/tmp/multipartBody3159750407052804281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277313214,"filename":"image_30012025_23_47_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/30/f5052212313cbd79f0063780ecb3728b.jpg","text":"TemporaryFile(/tmp/multipartBody6516449361131036719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277313214,"filename":"image_30012025_23_47_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/30/71b352c9a6d7f0c667b51ff7d657a7a9.jpg","text":"TemporaryFile(/tmp/multipartBody7755494544564036800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277313214,"filename":"image_30012025_23_47_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/30/a1e2b1daaae4622a5066dbc3efd93cca.jpg","text":"TemporaryFile(/tmp/multipartBody6342163978767164973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277313214,"filename":"image_30012025_23_46_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/30/0ba1f6aa1e9d07851767782567ed4cad.jpg","text":"TemporaryFile(/tmp/multipartBody4782278454463287078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277313214,"filename":"image_30012025_23_47_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/30/d1eea03101b041ce1701b0d26e5d5436.jpg","text":"TemporaryFile(/tmp/multipartBody5204384348546179797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277313214,"filename":"image_30012025_23_47_16_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333132623","file1":"1333132618","file0":"1333132615","file4":"1333132629","file5":"1333132653","file3":"1333132626"},"map_files_photo_id_array":[{"photo_id":"1333132653","filename":"file5"},{"photo_id":"1333132623","filename":"file2"},{"photo_id":"1333132629","filename":"file4"},{"photo_id":"1333132618","filename":"file1"},{"photo_id":"1333132615","filename":"file0"},{"photo_id":"1333132626","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333132653":["hashtag1","hashtag2"]},{"1333132626":["hashtag1","hashtag2"]},{"1333132629":["hashtag1","hashtag2"]},{"1333132615":["hashtag1","hashtag2"]},{"1333132618":["hashtag1","hashtag2"]},{"1333132623":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333132653, 1333132626, 1333132629, 1333132615, 1333132618, 1333132623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57423543930054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:48:32.462025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/47/image_30012025_23_47_57_10405.jpg', '/home/pi/Desktop/images/30012025/23/47/image_30012025_23_48_06_9361.jpg', '/home/pi/Desktop/images/30012025/23/48/image_30012025_23_48_16_10409.jpg', '/home/pi/Desktop/images/30012025/23/48/image_30012025_23_48_27_10337.jpg', '/home/pi/Desktop/images/30012025/23/48/image_30012025_23_48_36_9341.jpg', '/home/pi/Desktop/images/30012025/23/48/image_30012025_23_48_46_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/47/image_30012025_23_47_57_10405.jpg
/home/pi/Desktop/images/30012025/23/47/image_30012025_23_48_06_9361.jpg
/home/pi/Desktop/images/30012025/23/48/image_30012025_23_48_16_10409.jpg
/home/pi/Desktop/images/30012025/23/48/image_30012025_23_48_27_10337.jpg
/home/pi/Desktop/images/30012025/23/48/image_30012025_23_48_36_9341.jpg
/home/pi/Desktop/images/30012025/23/48/image_30012025_23_48_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":["1333132990","1333132987","1333132981","1333133032","1333132995","1333133034"],"photo_ids_order":["1333132981","1333132987","1333132990","1333132995","1333133032","1333133034"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ff01e61c69d0456d6af3ad3e29675d01.jpg","text":"TemporaryFile(/tmp/multipartBody2366578086623227179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277373389,"filename":"image_30012025_23_48_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/30/ff330fd4ca66e6242bc594bfa9f63773.jpg","text":"TemporaryFile(/tmp/multipartBody6654294118839162029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277373389,"filename":"image_30012025_23_48_06_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/30/738404181669133dff9a78252973cb27.jpg","text":"TemporaryFile(/tmp/multipartBody4374102972954393966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277373389,"filename":"image_30012025_23_47_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/30/46269295c670de4e08bfaeef7992be2c.jpg","text":"TemporaryFile(/tmp/multipartBody3281466259494337546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277373389,"filename":"image_30012025_23_48_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/30/65cfded7c4af603036d669aa49ee4e7b.jpg","text":"TemporaryFile(/tmp/multipartBody7091422390598981687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277373389,"filename":"image_30012025_23_48_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/30/a165a66949e77f0981951c0747d0dbc1.jpg","text":"TemporaryFile(/tmp/multipartBody2249263236462649522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277373389,"filename":"image_30012025_23_48_46_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333132990","file1":"1333132987","file0":"1333132981","file4":"1333133032","file5":"1333133034","file3":"1333132995"},"map_files_photo_id_array":[{"photo_id":"1333133034","filename":"file5"},{"photo_id":"1333132990","filename":"file2"},{"photo_id":"1333133032","filename":"file4"},{"photo_id":"1333132987","filename":"file1"},{"photo_id":"1333132981","filename":"file0"},{"photo_id":"1333132995","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333132990":["hashtag1","hashtag2"]},{"1333132987":["hashtag1","hashtag2"]},{"1333132981":["hashtag1","hashtag2"]},{"1333133032":["hashtag1","hashtag2"]},{"1333132995":["hashtag1","hashtag2"]},{"1333133034":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333132990, 1333132987, 1333132981, 1333133032, 1333132995, 1333133034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.28607630729675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:49:32.608324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/48/image_30012025_23_48_57_10346.jpg', '/home/pi/Desktop/images/30012025/23/48/image_30012025_23_49_06_9417.jpg', '/home/pi/Desktop/images/30012025/23/49/image_30012025_23_49_16_10326.jpg', '/home/pi/Desktop/images/30012025/23/49/image_30012025_23_49_26_9477.jpg', '/home/pi/Desktop/images/30012025/23/49/image_30012025_23_49_36_10361.jpg', '/home/pi/Desktop/images/30012025/23/49/image_30012025_23_49_47_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/48/image_30012025_23_48_57_10346.jpg
/home/pi/Desktop/images/30012025/23/48/image_30012025_23_49_06_9417.jpg
/home/pi/Desktop/images/30012025/23/49/image_30012025_23_49_16_10326.jpg
/home/pi/Desktop/images/30012025/23/49/image_30012025_23_49_26_9477.jpg
/home/pi/Desktop/images/30012025/23/49/image_30012025_23_49_36_10361.jpg
/home/pi/Desktop/images/30012025/23/49/image_30012025_23_49_47_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":["1333133075","1333133060","1333133063","1333133071","1333133068","1333133079"],"photo_ids_order":["1333133060","1333133063","1333133068","1333133071","1333133075","1333133079"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/333d37a8b8dfe3ee54ee5c6d1cf084f4.jpg","text":"TemporaryFile(/tmp/multipartBody6499732538190951256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277433554,"filename":"image_30012025_23_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/30/4793ddc6e73aa05fd9a7c59e28943564.jpg","text":"TemporaryFile(/tmp/multipartBody7437982395014088100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277433554,"filename":"image_30012025_23_48_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/30/64daca756ada05ce2c5ecdaaf908ce50.jpg","text":"TemporaryFile(/tmp/multipartBody4573870176280814758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277433554,"filename":"image_30012025_23_49_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/30/9f112217dec17d854f68d14d24b27ccc.jpg","text":"TemporaryFile(/tmp/multipartBody891129608276363726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277433554,"filename":"image_30012025_23_49_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/30/1f0467df6666c2037f2cd5cf883e991d.jpg","text":"TemporaryFile(/tmp/multipartBody6683057287179031523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277433554,"filename":"image_30012025_23_49_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/30/1a6f22759f852b44e64cdd6f43cefd4c.jpg","text":"TemporaryFile(/tmp/multipartBody4810702401574903419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277433554,"filename":"image_30012025_23_49_47_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333133068","file1":"1333133063","file0":"1333133060","file4":"1333133075","file5":"1333133079","file3":"1333133071"},"map_files_photo_id_array":[{"photo_id":"1333133079","filename":"file5"},{"photo_id":"1333133068","filename":"file2"},{"photo_id":"1333133075","filename":"file4"},{"photo_id":"1333133063","filename":"file1"},{"photo_id":"1333133060","filename":"file0"},{"photo_id":"1333133071","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333133075":["hashtag1","hashtag2"]},{"1333133060":["hashtag1","hashtag2"]},{"1333133063":["hashtag1","hashtag2"]},{"1333133071":["hashtag1","hashtag2"]},{"1333133068":["hashtag1","hashtag2"]},{"1333133079":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333133075, 1333133060, 1333133063, 1333133071, 1333133068, 1333133079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.873396158218384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:50:33.025334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/49/image_30012025_23_49_56_9435.jpg', '/home/pi/Desktop/images/30012025/23/49/image_30012025_23_50_06_10359.jpg', '/home/pi/Desktop/images/30012025/23/50/image_30012025_23_50_16_9477.jpg', '/home/pi/Desktop/images/30012025/23/50/image_30012025_23_50_26_10352.jpg', '/home/pi/Desktop/images/30012025/23/50/image_30012025_23_50_37_10455.jpg', '/home/pi/Desktop/images/30012025/23/50/image_30012025_23_50_46_9437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/49/image_30012025_23_49_56_9435.jpg
/home/pi/Desktop/images/30012025/23/49/image_30012025_23_50_06_10359.jpg
/home/pi/Desktop/images/30012025/23/50/image_30012025_23_50_16_9477.jpg
/home/pi/Desktop/images/30012025/23/50/image_30012025_23_50_26_10352.jpg
/home/pi/Desktop/images/30012025/23/50/image_30012025_23_50_37_10455.jpg
/home/pi/Desktop/images/30012025/23/50/image_30012025_23_50_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":["1333133105","1333133116","1333133097","1333133101","1333133121","1333133118"],"photo_ids_order":["1333133097","1333133101","1333133105","1333133116","1333133118","1333133121"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/cacb179ccb938121fb416e5cda1c7943.jpg","text":"TemporaryFile(/tmp/multipartBody5605147890222530460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277493947,"filename":"image_30012025_23_50_16_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/30/ac767e29ccc7564482ec168eb3d888e8.jpg","text":"TemporaryFile(/tmp/multipartBody6839867496638119056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277493947,"filename":"image_30012025_23_50_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/30/6c9119a89043b3b136aa25c36e801b07.jpg","text":"TemporaryFile(/tmp/multipartBody7842103022304811087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277493947,"filename":"image_30012025_23_49_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/30/cdeef103b65c3472406618996fcbffe0.jpg","text":"TemporaryFile(/tmp/multipartBody2299099170099801029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277493947,"filename":"image_30012025_23_50_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/30/c1ef6a265f994839433e694c7a3556e3.jpg","text":"TemporaryFile(/tmp/multipartBody4205269449537602859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277493947,"filename":"image_30012025_23_50_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/30/f3a7949b7d0b695056db71a74b7bf64a.jpg","text":"TemporaryFile(/tmp/multipartBody6845815082999611887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277493947,"filename":"image_30012025_23_50_37_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333133105","file1":"1333133101","file0":"1333133097","file4":"1333133118","file5":"1333133121","file3":"1333133116"},"map_files_photo_id_array":[{"photo_id":"1333133121","filename":"file5"},{"photo_id":"1333133105","filename":"file2"},{"photo_id":"1333133118","filename":"file4"},{"photo_id":"1333133101","filename":"file1"},{"photo_id":"1333133097","filename":"file0"},{"photo_id":"1333133116","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333133105":["hashtag1","hashtag2"]},{"1333133116":["hashtag1","hashtag2"]},{"1333133097":["hashtag1","hashtag2"]},{"1333133101":["hashtag1","hashtag2"]},{"1333133121":["hashtag1","hashtag2"]},{"1333133118":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333133105, 1333133116, 1333133097, 1333133101, 1333133121, 1333133118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.29024004936218 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:51:32.198895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/50/image_30012025_23_50_57_10360.jpg', '/home/pi/Desktop/images/30012025/23/50/image_30012025_23_51_06_9415.jpg', '/home/pi/Desktop/images/30012025/23/51/image_30012025_23_51_16_10338.jpg', '/home/pi/Desktop/images/30012025/23/51/image_30012025_23_51_27_10348.jpg', '/home/pi/Desktop/images/30012025/23/51/image_30012025_23_51_36_9355.jpg', '/home/pi/Desktop/images/30012025/23/51/image_30012025_23_51_46_10439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/50/image_30012025_23_50_57_10360.jpg
/home/pi/Desktop/images/30012025/23/50/image_30012025_23_51_06_9415.jpg
/home/pi/Desktop/images/30012025/23/51/image_30012025_23_51_16_10338.jpg
/home/pi/Desktop/images/30012025/23/51/image_30012025_23_51_27_10348.jpg
/home/pi/Desktop/images/30012025/23/51/image_30012025_23_51_36_9355.jpg
/home/pi/Desktop/images/30012025/23/51/image_30012025_23_51_46_10439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333133153","1333133149","1333133158","1333133143","1333133163","1333133166"],"photo_ids_order":["1333133143","1333133149","1333133153","1333133158","1333133163","1333133166"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ade91cb7760744352c9de4b54afefeb8.jpg","text":"TemporaryFile(/tmp/multipartBody4989211058734381717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277553143,"filename":"image_30012025_23_51_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/30/04e984e8f89997a2f8162016f63ef935.jpg","text":"TemporaryFile(/tmp/multipartBody1445788248534315544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277553143,"filename":"image_30012025_23_51_06_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/30/a4f1fa0e12e8f1c8a94aecd014d9dfa1.jpg","text":"TemporaryFile(/tmp/multipartBody4116022491220328503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277553143,"filename":"image_30012025_23_51_27_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/78a771f286ad50d74f028e39ee0ba291.jpg","text":"TemporaryFile(/tmp/multipartBody1437701777960554394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277553143,"filename":"image_30012025_23_50_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/30/7ecd8bcb07a66060e66a79766732a52c.jpg","text":"TemporaryFile(/tmp/multipartBody8342122361046386619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277553143,"filename":"image_30012025_23_51_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/30/1f1a1100320f2cf94cc715e85271e26b.jpg","text":"TemporaryFile(/tmp/multipartBody6615107964877245806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277553143,"filename":"image_30012025_23_51_46_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333133153","file1":"1333133149","file0":"1333133143","file4":"1333133163","file5":"1333133166","file3":"1333133158"},"map_files_photo_id_array":[{"photo_id":"1333133166","filename":"file5"},{"photo_id":"1333133153","filename":"file2"},{"photo_id":"1333133163","filename":"file4"},{"photo_id":"1333133149","filename":"file1"},{"photo_id":"1333133143","filename":"file0"},{"photo_id":"1333133158","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333133153":["hashtag1","hashtag2"]},{"1333133149":["hashtag1","hashtag2"]},{"1333133158":["hashtag1","hashtag2"]},{"1333133143":["hashtag1","hashtag2"]},{"1333133163":["hashtag1","hashtag2"]},{"1333133166":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333133153, 1333133149, 1333133158, 1333133143, 1333133163, 1333133166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.742311000823975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:52:32.452852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/51/image_30012025_23_51_57_10476.jpg', '/home/pi/Desktop/images/30012025/23/51/image_30012025_23_52_06_9346.jpg', '/home/pi/Desktop/images/30012025/23/52/image_30012025_23_52_17_10342.jpg', '/home/pi/Desktop/images/30012025/23/52/image_30012025_23_52_26_9350.jpg', '/home/pi/Desktop/images/30012025/23/52/image_30012025_23_52_36_10409.jpg', '/home/pi/Desktop/images/30012025/23/52/image_30012025_23_52_47_10387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/51/image_30012025_23_51_57_10476.jpg
/home/pi/Desktop/images/30012025/23/51/image_30012025_23_52_06_9346.jpg
/home/pi/Desktop/images/30012025/23/52/image_30012025_23_52_17_10342.jpg
/home/pi/Desktop/images/30012025/23/52/image_30012025_23_52_26_9350.jpg
/home/pi/Desktop/images/30012025/23/52/image_30012025_23_52_36_10409.jpg
/home/pi/Desktop/images/30012025/23/52/image_30012025_23_52_47_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":["1333133183","1333133252","1333133245","1333133248","1333133242","1333133187"],"photo_ids_order":["1333133183","1333133187","1333133242","1333133245","1333133248","1333133252"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/407a88f376c9c1f16a4c6ef7ccd25440.jpg","text":"TemporaryFile(/tmp/multipartBody1565545367297844647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277613362,"filename":"image_30012025_23_51_57_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/30/1494f72f85fa8d2be011fc880d7db752.jpg","text":"TemporaryFile(/tmp/multipartBody1821886133240759705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277613362,"filename":"image_30012025_23_52_47_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/30/0c004de02c9cdd4addc67d514b4c68cf.jpg","text":"TemporaryFile(/tmp/multipartBody653034602588821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277613362,"filename":"image_30012025_23_52_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/30/40174d81519e1a270ebdc6870b19edf0.jpg","text":"TemporaryFile(/tmp/multipartBody1160276518070983107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277613362,"filename":"image_30012025_23_52_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/30/3263fa62d490dbe84fdfe67163df1ba4.jpg","text":"TemporaryFile(/tmp/multipartBody6690159225027561848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277613362,"filename":"image_30012025_23_52_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/30/6b6900e02f31b00e99ce62a366387903.jpg","text":"TemporaryFile(/tmp/multipartBody6256673723409848918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277613362,"filename":"image_30012025_23_52_06_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333133242","file1":"1333133187","file0":"1333133183","file4":"1333133248","file5":"1333133252","file3":"1333133245"},"map_files_photo_id_array":[{"photo_id":"1333133252","filename":"file5"},{"photo_id":"1333133242","filename":"file2"},{"photo_id":"1333133248","filename":"file4"},{"photo_id":"1333133187","filename":"file1"},{"photo_id":"1333133183","filename":"file0"},{"photo_id":"1333133245","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333133183":["hashtag1","hashtag2"]},{"1333133252":["hashtag1","hashtag2"]},{"1333133245":["hashtag1","hashtag2"]},{"1333133248":["hashtag1","hashtag2"]},{"1333133242":["hashtag1","hashtag2"]},{"1333133187":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333133183, 1333133252, 1333133245, 1333133248, 1333133242, 1333133187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.23709559440613 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:53:32.814145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/52/image_30012025_23_52_56_9423.jpg', '/home/pi/Desktop/images/30012025/23/52/image_30012025_23_53_06_10333.jpg', '/home/pi/Desktop/images/30012025/23/53/image_30012025_23_53_17_10385.jpg', '/home/pi/Desktop/images/30012025/23/53/image_30012025_23_53_26_9339.jpg', '/home/pi/Desktop/images/30012025/23/53/image_30012025_23_53_37_10447.jpg', '/home/pi/Desktop/images/30012025/23/53/image_30012025_23_53_46_9474.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/52/image_30012025_23_52_56_9423.jpg
/home/pi/Desktop/images/30012025/23/52/image_30012025_23_53_06_10333.jpg
/home/pi/Desktop/images/30012025/23/53/image_30012025_23_53_17_10385.jpg
/home/pi/Desktop/images/30012025/23/53/image_30012025_23_53_26_9339.jpg
/home/pi/Desktop/images/30012025/23/53/image_30012025_23_53_37_10447.jpg
/home/pi/Desktop/images/30012025/23/53/image_30012025_23_53_46_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":["1333133357","1333133345","1333133467","1333133353","1333133455","1333133349"],"photo_ids_order":["1333133345","1333133349","1333133353","1333133357","1333133455","1333133467"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/3386b7f7c49f59c7727ec8b719e1d3c3.jpg","text":"TemporaryFile(/tmp/multipartBody5818417831342247919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277673727,"filename":"image_30012025_23_53_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/30/4f8c13a21f4f07bd09623b4c37c7423e.jpg","text":"TemporaryFile(/tmp/multipartBody1609542820590907153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277673727,"filename":"image_30012025_23_52_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/30/14a69dc4d2ae1acf5baabd50e546d4af.jpg","text":"TemporaryFile(/tmp/multipartBody3571282912474625819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277673727,"filename":"image_30012025_23_53_46_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/30/10f0c0e2d9fad346559c3f3d46d88bea.jpg","text":"TemporaryFile(/tmp/multipartBody4760550159586798577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277673727,"filename":"image_30012025_23_53_17_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/30/66aad5846b2f0c3074e27e47d741e37e.jpg","text":"TemporaryFile(/tmp/multipartBody2923388441932763154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277673727,"filename":"image_30012025_23_53_37_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/30/418af3559c542a822bc0baf334248236.jpg","text":"TemporaryFile(/tmp/multipartBody215685111166898834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277673727,"filename":"image_30012025_23_53_06_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333133353","file1":"1333133349","file0":"1333133345","file4":"1333133455","file5":"1333133467","file3":"1333133357"},"map_files_photo_id_array":[{"photo_id":"1333133467","filename":"file5"},{"photo_id":"1333133353","filename":"file2"},{"photo_id":"1333133455","filename":"file4"},{"photo_id":"1333133349","filename":"file1"},{"photo_id":"1333133345","filename":"file0"},{"photo_id":"1333133357","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333133357":["hashtag1","hashtag2"]},{"1333133345":["hashtag1","hashtag2"]},{"1333133467":["hashtag1","hashtag2"]},{"1333133353":["hashtag1","hashtag2"]},{"1333133455":["hashtag1","hashtag2"]},{"1333133349":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333133357, 1333133345, 1333133467, 1333133353, 1333133455, 1333133349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.53550696372986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:54:32.827756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/53/image_30012025_23_53_56_10345.jpg', '/home/pi/Desktop/images/30012025/23/53/image_30012025_23_54_07_10401.jpg', '/home/pi/Desktop/images/30012025/23/54/image_30012025_23_54_16_9355.jpg', '/home/pi/Desktop/images/30012025/23/54/image_30012025_23_54_36_9409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/53/image_30012025_23_53_56_10345.jpg
/home/pi/Desktop/images/30012025/23/53/image_30012025_23_54_07_10401.jpg
/home/pi/Desktop/images/30012025/23/54/image_30012025_23_54_16_9355.jpg
/home/pi/Desktop/images/30012025/23/54/image_30012025_23_54_36_9409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333133602","1333133607","1333133582","1333133576"],"photo_ids_order":["1333133576","1333133582","1333133602","1333133607"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/db73125cebf9dcb922cb267bfac1a796.jpg","text":"TemporaryFile(/tmp/multipartBody3690413331740043484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277733706,"filename":"image_30012025_23_54_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/30/45cc673fd4da23addc5b09e0c684ad61.jpg","text":"TemporaryFile(/tmp/multipartBody5249708888705497274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277733706,"filename":"image_30012025_23_54_36_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/30/d946667e0c64a38f4cd405ecee85be16.jpg","text":"TemporaryFile(/tmp/multipartBody4380951109360564852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277733706,"filename":"image_30012025_23_54_07_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/30/9f00561bc03a6f3764b23c1c1e913046.jpg","text":"TemporaryFile(/tmp/multipartBody7711909024958761365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277733706,"filename":"image_30012025_23_53_56_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333133602","file1":"1333133582","file0":"1333133576","file3":"1333133607"},"map_files_photo_id_array":[{"photo_id":"1333133602","filename":"file2"},{"photo_id":"1333133582","filename":"file1"},{"photo_id":"1333133576","filename":"file0"},{"photo_id":"1333133607","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333133602":["hashtag1","hashtag2"]},{"1333133607":["hashtag1","hashtag2"]},{"1333133582":["hashtag1","hashtag2"]},{"1333133576":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333133602, 1333133607, 1333133582, 1333133576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 33.98456072807312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:55:33.051026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/54/image_30012025_23_54_46_10422.jpg', '/home/pi/Desktop/images/30012025/23/54/image_30012025_23_55_06_9363.jpg', '/home/pi/Desktop/images/30012025/23/55/image_30012025_23_55_26_9431.jpg', '/home/pi/Desktop/images/30012025/23/55/image_30012025_23_55_36_10369.jpg', '/home/pi/Desktop/images/30012025/23/55/image_30012025_23_55_47_10454.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/54/image_30012025_23_54_46_10422.jpg
/home/pi/Desktop/images/30012025/23/54/image_30012025_23_55_06_9363.jpg
/home/pi/Desktop/images/30012025/23/55/image_30012025_23_55_26_9431.jpg
/home/pi/Desktop/images/30012025/23/55/image_30012025_23_55_36_10369.jpg
/home/pi/Desktop/images/30012025/23/55/image_30012025_23_55_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":["1333133641","1333133647","1333133634","1333133637","1333133631"],"photo_ids_order":["1333133631","1333133634","1333133637","1333133641","1333133647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/621517de42400fea41ab5d102de95540.jpg","text":"TemporaryFile(/tmp/multipartBody3904518574562698196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277793959,"filename":"image_30012025_23_55_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/30/3174e43d3e2eebdf40ef1f8b356d6ff5.jpg","text":"TemporaryFile(/tmp/multipartBody1676563009656027939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277793959,"filename":"image_30012025_23_55_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/30/c9cb9c9ff886c278a09ad703fe37e878.jpg","text":"TemporaryFile(/tmp/multipartBody8516718377293450197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277793959,"filename":"image_30012025_23_55_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/30/d8c8f55f6286826fd8b574c79e062b77.jpg","text":"TemporaryFile(/tmp/multipartBody3572440635434457153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277793959,"filename":"image_30012025_23_55_26_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/30/1fab43f681f0c3ab0a4ec617497cb865.jpg","text":"TemporaryFile(/tmp/multipartBody2133946157692875855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277793959,"filename":"image_30012025_23_54_46_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333133637","file1":"1333133634","file0":"1333133631","file4":"1333133647","file3":"1333133641"},"map_files_photo_id_array":[{"photo_id":"1333133637","filename":"file2"},{"photo_id":"1333133647","filename":"file4"},{"photo_id":"1333133634","filename":"file1"},{"photo_id":"1333133631","filename":"file0"},{"photo_id":"1333133641","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333133641":["hashtag1","hashtag2"]},{"1333133647":["hashtag1","hashtag2"]},{"1333133634":["hashtag1","hashtag2"]},{"1333133637":["hashtag1","hashtag2"]},{"1333133631":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333133641, 1333133647, 1333133634, 1333133637, 1333133631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.14460754394531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:56:32.433234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/55/image_30012025_23_55_56_9335.jpg', '/home/pi/Desktop/images/30012025/23/55/image_30012025_23_56_07_10393.jpg', '/home/pi/Desktop/images/30012025/23/56/image_30012025_23_56_16_9351.jpg', '/home/pi/Desktop/images/30012025/23/56/image_30012025_23_56_26_10358.jpg', '/home/pi/Desktop/images/30012025/23/56/image_30012025_23_56_37_10395.jpg', '/home/pi/Desktop/images/30012025/23/56/image_30012025_23_56_46_9411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/55/image_30012025_23_55_56_9335.jpg
/home/pi/Desktop/images/30012025/23/55/image_30012025_23_56_07_10393.jpg
/home/pi/Desktop/images/30012025/23/56/image_30012025_23_56_16_9351.jpg
/home/pi/Desktop/images/30012025/23/56/image_30012025_23_56_26_10358.jpg
/home/pi/Desktop/images/30012025/23/56/image_30012025_23_56_37_10395.jpg
/home/pi/Desktop/images/30012025/23/56/image_30012025_23_56_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":["1333133699","1333133687","1333133714","1333133705","1333133710","1333133693"],"photo_ids_order":["1333133687","1333133693","1333133699","1333133705","1333133710","1333133714"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/ea53a9469bacd315606ae27abeba2850.jpg","text":"TemporaryFile(/tmp/multipartBody7754053916381063162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277853371,"filename":"image_30012025_23_56_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/30/4136d60c993293fc9503635c7c80fca4.jpg","text":"TemporaryFile(/tmp/multipartBody8797839257085260945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277853371,"filename":"image_30012025_23_55_56_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/08e8e6dd1d53b49b4e241585db15323a.jpg","text":"TemporaryFile(/tmp/multipartBody8663135420792319974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277853371,"filename":"image_30012025_23_56_46_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/b25eb7d70d6b6ac2012c72186db2fb42.jpg","text":"TemporaryFile(/tmp/multipartBody7764159207228932206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277853371,"filename":"image_30012025_23_56_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/30/cbf1fce376f2ec95e045edbe43228df0.jpg","text":"TemporaryFile(/tmp/multipartBody5365956013432183092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277853371,"filename":"image_30012025_23_56_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/30/06168947cce93128bb5a73db819266d9.jpg","text":"TemporaryFile(/tmp/multipartBody5073665949925472450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738277853371,"filename":"image_30012025_23_56_07_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333133699","file1":"1333133693","file0":"1333133687","file4":"1333133710","file5":"1333133714","file3":"1333133705"},"map_files_photo_id_array":[{"photo_id":"1333133714","filename":"file5"},{"photo_id":"1333133699","filename":"file2"},{"photo_id":"1333133710","filename":"file4"},{"photo_id":"1333133693","filename":"file1"},{"photo_id":"1333133687","filename":"file0"},{"photo_id":"1333133705","filename":"file3"}],"portfolio_id":20052290,"hashtag_by_photo_ids":[{"1333133699":["hashtag1","hashtag2"]},{"1333133687":["hashtag1","hashtag2"]},{"1333133714":["hashtag1","hashtag2"]},{"1333133705":["hashtag1","hashtag2"]},{"1333133710":["hashtag1","hashtag2"]},{"1333133693":["hashtag1","hashtag2"]}],"comms":"Portfolio 20052290 used, photo_id : ArrayBuffer(1333133699, 1333133687, 1333133714, 1333133705, 1333133710, 1333133693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50027418136597 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-30 23:57:32.537553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250130 ORDER BY id_local ASC LIMIT 6;
  port_id : 20052290
  datou_current_id : 2527160
in upload_from_sqlite, uploading in 20052290
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30012025/23/56/image_30012025_23_56_56_10342.jpg', '/home/pi/Desktop/images/30012025/23/56/image_30012025_23_57_07_10440.jpg', '/home/pi/Desktop/images/30012025/23/57/image_30012025_23_57_16_9388.jpg', '/home/pi/Desktop/images/30012025/23/57/image_30012025_23_57_27_10352.jpg', '/home/pi/Desktop/images/30012025/23/57/image_30012025_23_57_36_9421.jpg', '/home/pi/Desktop/images/30012025/23/57/image_30012025_23_57_46_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2527160&datou=0
/home/pi/Desktop/images/30012025/23/56/image_30012025_23_56_56_10342.jpg
/home/pi/Desktop/images/30012025/23/56/image_30012025_23_57_07_10440.jpg
/home/pi/Desktop/images/30012025/23/57/image_30012025_23_57_16_9388.jpg
/home/pi/Desktop/images/30012025/23/57/image_30012025_23_57_27_10352.jpg
/home/pi/Desktop/images/30012025/23/57/image_30012025_23_57_36_9421.jpg
/home/pi/Desktop/images/30012025/23/57/image_30012025_23_57_46_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
